Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests by adding missing operatingsystem fact #557

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

alexjfisher
Copy link
Member

Fixes

Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass

camptocamp::systemd recently got journald support. Since it now manages
the service, not having an operatingsystem fact was causing
https://github.com/puppetlabs/puppet/blob/55d2f844203b391bc6d3bc07bd92ca9b7cdb9aa2/lib/puppet/provider/service/init.rb#L24
to explode.

Fixes
```
Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
```

camptocamp::systemd recently got journald support.  Since it now manages
the service, not having an `operatingsystem` fact was causing
https://github.com/puppetlabs/puppet/blob/55d2f844203b391bc6d3bc07bd92ca9b7cdb9aa2/lib/puppet/provider/service/init.rb#L24
to explode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants