parent
a82bafc07b
commit
de4380e233
|
@ -36,6 +36,9 @@ define icinga2::config ($source) {
|
|||
owner => 'icinga',
|
||||
group => 'icinga',
|
||||
notify => Service['icinga2'],
|
||||
require => Exec[$cmd],
|
||||
require => [
|
||||
Exec[$cmd],
|
||||
User['icinga']
|
||||
],
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,4 +27,8 @@ class icinga2 {
|
|||
}
|
||||
|
||||
icinga2::feature { [ 'statusdata', 'command', 'compatlog' ]: }
|
||||
|
||||
user { 'icinga':
|
||||
ensure => present,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue