Rename `icingaweb2::config' to `icingaweb2::config::general'
refs #6842
This commit is contained in:
parent
930416b0dc
commit
260ec95771
|
@ -1,4 +1,4 @@
|
|||
define icingaweb2::config ($source, $replace = true) {
|
||||
define icingaweb2::config::general ($source, $replace = true) {
|
||||
$path = "/etc/icingaweb/${name}.ini"
|
||||
file { $path:
|
||||
source => "${source}${path}",
|
|
@ -1,5 +1,5 @@
|
|||
define icingaweb2::config::module ($source, $module = 'monitoring', $replace = true) {
|
||||
icingaweb2::config { "modules/${module}/${name}":
|
||||
icingaweb2::config::general { "modules/${module}/${name}":
|
||||
source => $source,
|
||||
replace => $replace,
|
||||
}
|
||||
|
|
|
@ -44,11 +44,11 @@ class icingaweb2_dev {
|
|||
group => 'apache',
|
||||
}
|
||||
|
||||
icingaweb2::config { 'authentication':
|
||||
icingaweb2::config::general { 'authentication':
|
||||
source => 'puppet:///modules/icingaweb2_dev',
|
||||
}
|
||||
|
||||
icingaweb2::config { [ 'resources', 'config' ]:
|
||||
icingaweb2::config::general { [ 'resources', 'config' ]:
|
||||
source => 'puppet:///modules/icingaweb2_dev',
|
||||
replace => false,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue