mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-08-21 09:48:12 +02:00
9 lines
261 B
Puppet
9 lines
261 B
Puppet
# TODO(el): Remove this. It's always executed and hackish
|
|
define parent_dirs ($user = 'root') {
|
|
exec { "parent_dirs-${name}":
|
|
command => "mkdir -p \"\$(dirname \"\$(readlink -m '${name}')\")\"",
|
|
path => '/bin:/usr/bin',
|
|
user => $user,
|
|
}
|
|
}
|