Module `icinga2': add user `icinga'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-10 17:02:36 +02:00
parent a82bafc07b
commit de4380e233
2 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,9 @@ define icinga2::config ($source) {
owner => 'icinga',
group => 'icinga',
notify => Service['icinga2'],
require => Exec[$cmd],
require => [
Exec[$cmd],
User['icinga']
],
}
}

View File

@ -27,4 +27,8 @@ class icinga2 {
}
icinga2::feature { [ 'statusdata', 'command', 'compatlog' ]: }
user { 'icinga':
ensure => present,
}
}