puppet-standalone-mashup/shared/modules/mkdir_p/manifests/init.pp

8 lines
111 B
ObjectPascal
Raw Normal View History

2012-01-18 17:29:05 +00:00
define mkdir_p($path) {
exec { "mkdir -p ${name}":
path => $path,
unless => "test -d ${name}"
}
}