mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
parent
6a2dfb4b17
commit
d45f729ce5
@ -23,12 +23,12 @@ define icinga2::feature ($source = undef) {
|
||||
}
|
||||
}
|
||||
|
||||
parent_dirs { $path: }
|
||||
|
||||
file { $path:
|
||||
parent_dirs { $path:
|
||||
require => File['icinga2cfgDir'],
|
||||
}
|
||||
-> file { $path:
|
||||
ensure => link,
|
||||
target => "${cfgpath}/${target}.conf",
|
||||
require => Parent_dirs[$path],
|
||||
notify => Service['icinga2'],
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user