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

This commit is contained in:
Nick Chappell 2015-01-10 17:04:43 -08:00
parent ec23b00b12
commit 09d6a8c9d2
4 changed files with 11 additions and 13 deletions

View file

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

View file

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

View file

@ -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)

View file

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