We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please add either an option or a parameter in params.pp to purge unmanaged remctl configuration and acl files:
diff --git a/modules/remctl/manifests/params.pp b/modules/remctl/manifests/params.pp index 71acca9..fc0f039 100644 --- a/modules/remctl/manifests/params.pp +++ b/modules/remctl/manifests/params.pp @@ -15,6 +15,8 @@ class remctl::params { $client_package_name = $server_package_name $krb5_keytab = '/etc/krb5.keytab' $server_bin = '/usr/sbin/remctld' + $purge_acls = true + $purge_confs = true } 'Debian': { @@ -26,6 +28,8 @@ class remctl::params { $client_package_name = 'remctl-client' $krb5_keytab = '/etc/krb5.keytab' $server_bin = '/usr/sbin/remctld' + $purge_acls = true + $purge_confs = true } default: {
diff --git a/modules/remctl/manifests/server.pp b/modules/remctl/manifests/server.pp index 7e6f129..c094889 100644 --- a/modules/remctl/manifests/server.pp +++ b/modules/remctl/manifests/server.pp @@ -14,6 +14,8 @@ class remctl::server ( $only_from = [ '0.0.0.0' ], $no_access = [], $bind = undef, + $purge_acls = $remctl::params::purge_acls, + $purge_confs = $remctl::params::purge_confs, $package_name = $remctl::params::server_package_name, @@ -141,19 +143,25 @@ class remctl::server ( -> file { $remctl::params::confdir: - ensure => $_directories_ensure, - mode => '0750', - owner => $user, - group => $group + ensure => $_directories_ensure, + mode => '0750', + owner => $user, + group => $group, + purge => $purge_confs, + recurse => $purge_confs, + force => $purge_confs, } -> file { $remctl::params::acldir: - ensure => $_directories_ensure, - mode => '0750', - owner => $user, - group => $group + ensure => $_directories_ensure, + mode => '0750', + owner => $user, + group => $group, + purge => $purge_acls, + recurse => $purge_acls, + force => $purge_acls, }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please add either an option or a parameter in params.pp to purge unmanaged remctl configuration and acl files:
The text was updated successfully, but these errors were encountered: