diff --git a/manifests/init.pp b/manifests/init.pp index 4f9f1f1..954990a 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -7,7 +7,6 @@ Boolean $manage_package = true, Array[String[1]] $syslogng_modules = [], Boolean $use_hiera = false, - Boolean $_manage_top_dirs = true, Boolean $test_before_deploy = true ) { # package @@ -15,15 +14,6 @@ ensure_resource ( 'package', $package_name, { 'ensure' => 'installed' }) } ensure_resource ( 'file', $temp_dir, { ensure => directory }) - if $_manage_top_dirs { - ensure_resource ( 'file', "${base_dir}/etc", { ensure => 'directory' }) - ensure_resource ( 'file', "${base_dir}/var", { ensure => 'directory' }) - ensure_resource ( 'file', "${base_dir}/var/lib", { ensure => 'directory' }) - } - ensure_resource ( - 'file', "${base_dir}/etc/syslog-ng", - { ensure => 'directory' } - ) ensure_resource ( 'file', "${base_dir}/var/lib/syslog-ng", { ensure => 'directory' }