commit | ebbfaa04e8e145221c1a639f13f1d84c1c6dd656 | [log] [tgz] |
---|---|---|
author | justinc <justinc@buildingiq.com> | Thu May 25 21:35:30 2017 +1000 |
committer | justinc <justinc@buildingiq.com> | Thu May 25 21:35:30 2017 +1000 |
tree | 16a2fb9ccf3f51402ccb3aa355d796e21bf3e588 | |
parent | 954cdd82a587efc0bce2df056fc9dd677a93063b [diff] |
Fix another assumed fact.
diff --git a/manifests/client.pp b/manifests/client.pp index 44f7ca1..37b25c2 100644 --- a/manifests/client.pp +++ b/manifests/client.pp
@@ -361,7 +361,7 @@ $sudo_commands_noexec = $sudo_command_noexec } - if ! empty($sudo_commands) { + if $facts['sudo_commands'] != undef { file { '/etc/sudoers.d/backuppc': ensure => $ensure, owner => 'root',