-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add support for Debian #46
base: master
Are you sure you want to change the base?
Conversation
control_cmd was not used, now it is add control_setup_cmd as Puppet now requires it to be an absolute path (I put in commands without paths for FreeBSD/OpenBSD that will need to be updated)
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.
Thanks! Better stick to one PR per issue for your future work: this allows more readable changelog (we generate them with the PR titles).
A few things to check: I added in-line comments.
nsd::service_name: 'nsd' | ||
nsd::owner: 'nsd' | ||
nsd::group: 'nsd' | ||
nsd::control_cmd: '/usr/bin/echo /usr/sbin/nsd-control' |
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.
echo
? Really?
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.
nsd::control_cmd: '/usr/bin/echo /usr/sbin/nsd-control' | |
nsd::control_cmd: '/usr/sbin/nsd-control' |
@@ -8,6 +8,7 @@ | |||
String $service_name, | |||
Variant[String,Undef] $package_name, | |||
String $control_cmd, | |||
String $control_setup_cmd, |
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.
If an empty string is not valid (I guess it is not), better use:
String $control_setup_cmd, | |
String[1] $control_setup_cmd, |
We can also use the type form stdlib if the full path is required:
String $control_setup_cmd, | |
Stdlib::Absolutepath $control_setup_cmd, |
Oh, and if it works on Debian, we can add it to |
Co-authored-by: Romain Tartière <[email protected]>
Co-authored-by: Romain Tartière <[email protected]>
@davidc any plans to revisit this? |
Pull Request (PR) description
This Pull Request (PR) fixes the following issues