Actions
Bug #22186
closedDate format of published content view in yaml output changed on Rails 5.x and causes Puppet runs to fail
Description
Calling to_yaml on an instance of ActiveSupport::TimeWithZone gives different output on Rails 4.2 and 5.x (see the screenshots), which makes Puppet run fail. Katello adds a date of a published content view into the output of Host.info method. When Puppet tries to fetch the node definition and yaml contains a date in a new format, Puppet server fails to parse it.
Steps to reproduce:
1) set up a host with Puppet and published content view
2) try running puppet agent -t
3) observe the error
Files
Updated by Justin Sherrill over 6 years ago
- Category set to Hosts
- Assignee set to Jonathon Turel
- Priority changed from High to Immediate
- Translation missing: en.field_release set to 284
- Difficulty set to easy
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7174 added
Updated by Jonathon Turel over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ac81226e3da738fefefd47a8fc5daa5d029b18ba.
Actions