Rename `icingaweb2::config' to `icingaweb2::config::general'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-10 11:21:29 +02:00
parent 930416b0dc
commit 260ec95771
3 changed files with 4 additions and 4 deletions

View File

@ -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}",

View File

@ -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,
}

View File

@ -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,
}