Added a file resource for /etc/icinga2/icinga2.conf.
This commit is contained in:
parent
82a3cf983c
commit
5a6e78d47d
1 changed files with 10 additions and 1 deletions
|
@ -14,6 +14,7 @@
|
|||
class icinga2::server::config inherits icinga2::server {
|
||||
|
||||
include icinga2::params
|
||||
|
||||
#Directory resource for /etc/icinga2/
|
||||
file { '/etc/icinga2/':
|
||||
path => '/etc/icinga2/',
|
||||
|
@ -24,6 +25,14 @@ class icinga2::server::config inherits icinga2::server {
|
|||
#require => Package[$icinga2::params::icinga2_server_packages],
|
||||
}
|
||||
|
||||
|
||||
#File resource for /etc/icinga2/icinga2.conf:
|
||||
file { '/etc/icinga2/icinga2.conf':
|
||||
path => '/etc/icinga2/icinga2.conf',
|
||||
ensure => file,
|
||||
owner => $etc_icinga2_icinga2_conf_owner,
|
||||
group => $etc_icinga2_icinga2_conf_group,
|
||||
mode => $etc_icinga2_icinga2_conf_mode,
|
||||
content => template('icinga2/icinga2.conf.erb'),
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in a new issue