Fix C/C++ style comments so they use # instead.
This commit is contained in:
parent
ec23b00b12
commit
09d6a8c9d2
4 changed files with 11 additions and 13 deletions
|
@ -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 = {},
|
||||
|
|
|
@ -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 = {},
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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 = {},
|
||||
|
|
Loading…
Reference in a new issue