Skip to content

Commit

Permalink
Merge pull request #126 from apenney/stdlib
Browse files Browse the repository at this point in the history
Workaround for stdlib 3.2 in PE3.x.
  • Loading branch information
Ashley Penney committed Feb 14, 2014
2 parents aad0f1a + 7472dfe commit 90c5fcc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
class ntp::config inherits ntp {

if $keys_enable {
$directory = dirname($keys_file)
# Workaround for the lack of dirname() in stdlib 3.2.
$directory = inline_template('<%= File.dirname(keys_file) %>')
file { $directory:
ensure => directory,
owner => 0,
Expand Down

0 comments on commit 90c5fcc

Please sign in to comment.