Fix the target_file_dir parameters so they're consistent with the other object defined types.
This commit is contained in:
parent
1f92973f8c
commit
13e1100d0c
6 changed files with 6 additions and 6 deletions
|
@ -37,7 +37,7 @@ define icinga2::object::host (
|
|||
$action_url = undef,
|
||||
$icon_image = undef,
|
||||
$icon_image_alt = undef,
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${fqdn}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
|
@ -14,7 +14,7 @@ define icinga2::object::hostgroup (
|
|||
$display_name = $name,
|
||||
$template_to_import = undef,
|
||||
$groups = [],
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${name}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
|
@ -14,7 +14,7 @@ define icinga2::object::servicegroup (
|
|||
$display_name = $name,
|
||||
$template_to_import = undef,
|
||||
$groups = [],
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${name}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
define icinga2::object::sysloglogger (
|
||||
$object_name = $name,
|
||||
$severity = 'warning',
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${name}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
|
@ -20,7 +20,7 @@ define icinga2::object::user (
|
|||
$period = undef,
|
||||
$types = [],
|
||||
$states = [],
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${name}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
|
@ -14,7 +14,7 @@ define icinga2::object::usergroup (
|
|||
$display_name = $name,
|
||||
$template_to_import = undef,
|
||||
$groups = [],
|
||||
$target_dir = '/etc/icinga2/conf.d',
|
||||
$target_dir = '/etc/icinga2/objects',
|
||||
$target_file_name = "${name}.conf",
|
||||
$target_file_ensure = file,
|
||||
$target_file_owner = 'root',
|
||||
|
|
Loading…
Reference in a new issue