Skip to content

Commit

Permalink
Merge pull request redhat-openstack#276 from jonnytpuppet/config_fix
Browse files Browse the repository at this point in the history
Ensure the log file is created before the service is started/configured.
  • Loading branch information
DavidS committed Jun 23, 2015
2 parents e02640f + 5df8cf3 commit cb1af28
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,13 @@
content => template($ntp::config_template),
}

if $ntp::logfile {
file { $ntp::logfile:
ensure => 'file',
owner => 'ntp',
group => 'ntp',
mode => '0664',
}
}

}

0 comments on commit cb1af28

Please sign in to comment.