Provides an mkdir -p
implementation in pure puppet code, no functions.
Some examples:
mkdir::p { '/this/is/a/dir': }
mkdir::p { 'important dir':
path => '/this/is/a/dir',
}
mkdir::p { '/this/is/a/dir':
owner => 'me',
mode => '0700',
}
mkdir::p { '/this/is/a/dir':
declare_file => true,
}
# now auto-require works ...
file { '/this/is/a/dir/and_a_file':
ensure => 'present',
content => 'I can be sure that this works now :)',
}