-
Notifications
You must be signed in to change notification settings - Fork 17
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
Restarting DBus before install certmonger #20
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
# Class: certmonger | ||
class certmonger { | ||
class certmonger( | ||
$manage_dbus_service = false | ||
) { | ||
# DBus package update from 7.4 to 7.5 breaks | ||
# The certmonger service, so dbus must get a | ||
# restart prior to start certmonger. | ||
# The official solution for dbus is either | ||
# restart the service, or reboot the machine | ||
if $manage_dbus_service { | ||
service { 'dbus': | ||
ensure => running, | ||
enable => true, | ||
restart => '', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not really usefuly to set this, according to the doc: "Specify a restart command manually. If left unspecified, the service will be stopped and then started" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What options to we have for this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. well, you can actually define the proper restart command if you want. But such a service, there's no use doing so I guess. |
||
} | ||
} | ||
|
||
package { 'certmonger': | ||
ensure => 'present', | ||
|
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might be good to properly define the dbus service - for example, there's this module available on the puppet forge, and the service definition:
https://github.com/bodgit/puppet-dbus/blob/master/manifests/service.pp