Browse Source

Fix C/C++ style comments so they use # instead.

Nick Chappell 9 years ago
parent
commit
09d6a8c9d2

+ 1 - 1
manifests/object/checkcommand.pp

@@ -12,7 +12,7 @@
 define icinga2::object::checkcommand (
   $object_checkcommandname = $name,
   $template_to_import                    = 'plugin-check-command',
-/*  $methods                             = undef, */ /* Need to get more details about this attribute */
+  #$methods                             = undef, Need to get more details about this attribute
   $command                               = undef,
   $cmd_path                              = 'PluginDir',
   $arguments                             = {},

+ 1 - 1
manifests/object/eventcommand.pp

@@ -12,7 +12,7 @@
 define icinga2::object::eventcommand (
   $object_eventcommandname = $name,
   $template_to_import = 'plugin-event-command',
-/*  $methods           = undef, */ /* Need to get more details about this attribute */
+  #$methods           = undef Need to get more details about this attribute
   $command            = undef,
   $cmd_path           = 'PluginDir',
   $arguments          = {},

+ 8 - 10
manifests/object/notification.pp

@@ -51,17 +51,15 @@ define icinga2::object::notification (
     validate_string($period)
   }
   validate_array($types)
-/** Array concatenation not available,
-  if $types - ['DowntimeStart','DowntimeEnd','DowntimeRemoved','Custom','Acknowledgement','Problem','Recovery','FlappingStart','FlappingEnd'] != [] {
-    fail ('You are using unavailable notification type filter.')
-  }
-*/
+  #Array concatenation not available,
+  #if $types - ['DowntimeStart','DowntimeEnd','DowntimeRemoved','Custom','Acknowledgement','Problem','Recovery','FlappingStart','FlappingEnd'] != [] {
+  #  fail ('You are using unavailable notification type filter.')
+  #}
   validate_array($states)
-/** Array concatenation not available,
-  if $states - ['OK','Warning','Critical','Unknown','Up','Down'] != [] {
-    fail ('You are using unavailable state type filter.')
-  }
-*/
+  #Array concatenation not available,
+  #if $states - ['OK','Warning','Critical','Unknown','Up','Down'] != [] {
+  #  fail ('You are using unavailable state type filter.')
+  #}
   validate_string($target_dir)
   validate_string($target_file_name)
   validate_string($target_file_owner)

+ 1 - 1
manifests/object/notificationcommand.pp

@@ -12,7 +12,7 @@
 define icinga2::object::notificationcommand (
   $object_notificationcommandname = $name,
   $template_to_import = 'plugin-notification-command',
-/*  $methods           = undef, */ /* Need to get more details about this attribute */
+  #$methods           = undef, Need to get more details about this attribute
   $command            = undef,
   $cmd_path           = 'PluginDir',
   $arguments          = {},