parent
a99dbab4d4
commit
e124a4254d
|
@ -17,15 +17,14 @@
|
|||
# }
|
||||
#
|
||||
# Provide configuration file '/etc/icinga2/constants.conf'
|
||||
# from 'puppet:///modules/icinga2_dev/etc/icinga2/constants.conf'
|
||||
# ('/path/to/puppet/modules/icinga2_dev/files/etc/icinga2/constants.conf')
|
||||
# from 'puppet:///modules/icinga2_dev/constants.conf'
|
||||
# ('/path/to/puppet/modules/icinga2_dev/files/constants.conf')
|
||||
#
|
||||
define icinga2::config ($source) {
|
||||
include icinga2
|
||||
|
||||
$path = "/etc/icinga2/${name}.conf"
|
||||
file { $path:
|
||||
source => "${source}${path}",
|
||||
file { "/etc/icinga2/${name}.conf":
|
||||
source => "${source}/${name}.conf",
|
||||
owner => 'icinga',
|
||||
group => 'icinga',
|
||||
require => Class['icinga2'],
|
||||
|
|
Loading…
Reference in New Issue