Name user object files after the defined type instance's name instead of the FQDN of the machine.

This commit is contained in:
Nick Chappell 2014-08-24 17:59:58 -07:00
parent c70857e802
commit 9ec7f5ca9c

View file

@ -22,7 +22,7 @@ define icinga2::object::user (
$types = [],
$states = [],
$target_dir = '/etc/icinga2/conf.d',
$target_file_name = "${fqdn}.conf",
$target_file_name = "${name}.conf",
$target_file_owner = 'root',
$target_file_group = 'root',
$target_file_mode = '644'