Skip to content

Commit

Permalink
Ensure the log file is created before the service is started/configured.
Browse files Browse the repository at this point in the history
  • Loading branch information
farvour authored and jonnytdevops committed Jun 23, 2015
1 parent e02640f commit 5df8cf3
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 5df8cf3

Please sign in to comment.