Skip to content

Commit

Permalink
Merge pull request #803 from Mylezeem/ensure_default_vhost_false_scope
Browse files Browse the repository at this point in the history
vhost: Create the $logroot only when necessary.
  • Loading branch information
igalic committed Jul 31, 2014
2 parents 7b33ee2 + 1db1e47 commit 068e56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/vhost.pp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
}

# Same as above, but for logroot
if ! defined(File[$logroot]) {
if ! defined(File[$logroot]) and $ensure == 'present' {
file { $logroot:
ensure => directory,
mode => $logroot_mode,
Expand Down

0 comments on commit 068e56e

Please sign in to comment.