mkdir -p instead of just file ensure => directory

This commit is contained in:
John Bintz 2012-05-23 09:10:47 -04:00
parent 258f0b4343
commit c5372149d8

View File

@ -9,8 +9,8 @@ class squid($version, $user, $config_template, $error_template) {
$config_dir = config_path($name) $config_dir = config_path($name)
$config = "${config_dir}/squid.conf" $config = "${config_dir}/squid.conf"
file { [ $log_dir, $data_dir, $config_dir ]: mkdir_p { [ $log_dir, $data_dir, $config_dir ]:
ensure => directory path => $base::path
} }
build_and_install { $name: build_and_install { $name: