-
Notifications
You must be signed in to change notification settings - Fork 136
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
use a configurable root_group for things owned by root #353
Conversation
|
@@ -55,7 +56,7 @@ class { 'letsencrypt': | |||
is_expected.to contain_file("#{pathprefix}/etc/letsencrypt/dns-rfc2136.ini"). | |||
with_ensure('file'). | |||
with_owner('root'). | |||
with_group('root'). | |||
with_group("#{rootgroup}"). |
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.
you can directly use the variable
with_group("#{rootgroup}"). | |
with_group(rootgroup). |
# | ||
class letsencrypt::scripts () { | ||
class letsencrypt::scripts ( | ||
String[1] $root_group = $letsencrypt::root_group, |
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.
we don't need so much indent:
String[1] $root_group = $letsencrypt::root_group, | |
String[1] $root_group = $letsencrypt::root_group, |
Pull Request (PR) description
Change existing
_group
parameter toroot_group
and use it everywheregroup => 'root'
is stated.I did not make the change backward compatible, the old parameter is renamed.
This Pull Request (PR) fixes the following issues
I took feedback on #231 . Since there is no
root
group, this fixes the module on FreeBSD and probably OpenBSD.