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…
Reference in New Issue