Browse Source

Add a target_file_ensure parameter to the ApiListener object defined type.

Nick Chappell 9 years ago
parent
commit
73c91649e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      manifests/object/apilistener.pp

+ 1 - 0
manifests/object/apilistener.pp

@@ -22,6 +22,7 @@ define icinga2::object::apilistener (
   $accept_commands         = false,  
   $target_dir              = '/etc/icinga2/objects/apilisteners',
   $target_file_name        = "${name}.conf",
+  $target_file_ensure      = file,
   $target_file_owner       = 'root',
   $target_file_group       = 'root',
   $target_file_mode        = '0644',