Skip to content

Commit

Permalink
(MAINT) Do not manage the keys_file's parent when it would be inappro…
Browse files Browse the repository at this point in the history
…priate to do so
  • Loading branch information
DavidS committed Aug 27, 2015
1 parent f3907ff commit d93595f
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions manifests/config.pp
Expand Up @@ -3,11 +3,16 @@

if $ntp::keys_enable {
$directory = dirname($ntp::keys_file)
file { $directory:
ensure => directory,
owner => 0,
group => 0,
mode => '0755',
case $directory {
'/', '/etc': {}
default: {
file { $directory:
ensure => directory,
owner => 0,
group => 0,
mode => '0755',
}
}
}
}

Expand Down

0 comments on commit d93595f

Please sign in to comment.