mkdir -p instead of just file ensure => directory
This commit is contained in:
parent
258f0b4343
commit
c5372149d8
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user