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 (
|
define icinga2::object::checkcommand (
|
||||||
$object_checkcommandname = $name,
|
$object_checkcommandname = $name,
|
||||||
$template_to_import = 'plugin-check-command',
|
$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,
|
$command = undef,
|
||||||
$cmd_path = 'PluginDir',
|
$cmd_path = 'PluginDir',
|
||||||
$arguments = {},
|
$arguments = {},
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
define icinga2::object::eventcommand (
|
define icinga2::object::eventcommand (
|
||||||
$object_eventcommandname = $name,
|
$object_eventcommandname = $name,
|
||||||
$template_to_import = 'plugin-event-command',
|
$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,
|
$command = undef,
|
||||||
$cmd_path = 'PluginDir',
|
$cmd_path = 'PluginDir',
|
||||||
$arguments = {},
|
$arguments = {},
|
||||||
|
|
|
@ -51,17 +51,15 @@ define icinga2::object::notification (
|
||||||
validate_string($period)
|
validate_string($period)
|
||||||
}
|
}
|
||||||
validate_array($types)
|
validate_array($types)
|
||||||
/** Array concatenation not available,
|
#Array concatenation not available,
|
||||||
if $types - ['DowntimeStart','DowntimeEnd','DowntimeRemoved','Custom','Acknowledgement','Problem','Recovery','FlappingStart','FlappingEnd'] != [] {
|
#if $types - ['DowntimeStart','DowntimeEnd','DowntimeRemoved','Custom','Acknowledgement','Problem','Recovery','FlappingStart','FlappingEnd'] != [] {
|
||||||
fail ('You are using unavailable notification type filter.')
|
# fail ('You are using unavailable notification type filter.')
|
||||||
}
|
#}
|
||||||
*/
|
|
||||||
validate_array($states)
|
validate_array($states)
|
||||||
/** Array concatenation not available,
|
#Array concatenation not available,
|
||||||
if $states - ['OK','Warning','Critical','Unknown','Up','Down'] != [] {
|
#if $states - ['OK','Warning','Critical','Unknown','Up','Down'] != [] {
|
||||||
fail ('You are using unavailable state type filter.')
|
# fail ('You are using unavailable state type filter.')
|
||||||
}
|
#}
|
||||||
*/
|
|
||||||
validate_string($target_dir)
|
validate_string($target_dir)
|
||||||
validate_string($target_file_name)
|
validate_string($target_file_name)
|
||||||
validate_string($target_file_owner)
|
validate_string($target_file_owner)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
define icinga2::object::notificationcommand (
|
define icinga2::object::notificationcommand (
|
||||||
$object_notificationcommandname = $name,
|
$object_notificationcommandname = $name,
|
||||||
$template_to_import = 'plugin-notification-command',
|
$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,
|
$command = undef,
|
||||||
$cmd_path = 'PluginDir',
|
$cmd_path = 'PluginDir',
|
||||||
$arguments = {},
|
$arguments = {},
|
||||||
|
|
Loading…
Reference in a new issue