Skip to content
This repository was archived by the owner on Apr 16, 2018. It is now read-only.

Commit e109922

Browse files
committed
Fix syntax error in documentation
1 parent d655396 commit e109922

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,30 +1032,30 @@ Example usage:
10321032

10331033
<pre>
10341034
icinga2::object::service { 'example_service':
1035-
$template_to_import = 'generic-service',
1036-
$display_name = 'Example Service',
1037-
$host_name = $::fqdn,
1038-
$groups = ['example-servers', 'linux-servers'],
1039-
$vars = {
1040-
var1 = 'somevalue',
1041-
var2 = 'someothervalue',
1042-
},
1043-
$check_command = example-check,
1044-
$max_check_attempts = 5,
1045-
$check_interval = '10m',
1046-
$retry_interval = '1m',
1047-
$enable_notifications = true,
1048-
$enable_active_checks = true,
1049-
$enable_flapping = true,
1050-
$enable_perfdata = true,
1051-
$flapping_threshold = '50%',
1052-
$target_dir = '/etc/icinga2/objects/services',
1053-
$target_file_name = "${name}.conf",
1054-
$target_file_ensure = file,
1055-
$target_file_owner = 'root',
1056-
$target_file_group = 'root',
1057-
$target_file_mode = '0644',
1058-
$refresh_icinga2_service = true,
1035+
$template_to_import => 'generic-service',
1036+
$display_name => 'Example Service',
1037+
$host_name => $::fqdn,
1038+
$groups => ['example-servers', 'linux-servers'],
1039+
$vars => {
1040+
var1 => 'somevalue',
1041+
var2 => 'someothervalue',
1042+
},
1043+
$check_command => example-check,
1044+
$max_check_attempts => 5,
1045+
$check_interval => '10m',
1046+
$retry_interval => '1m',
1047+
$enable_notifications => true,
1048+
$enable_active_checks => true,
1049+
$enable_flapping => true,
1050+
$enable_perfdata => true,
1051+
$flapping_threshold => '50%',
1052+
$target_dir => '/etc/icinga2/objects/services',
1053+
$target_file_name => "${name}.conf",
1054+
$target_file_ensure => file,
1055+
$target_file_owner => 'root',
1056+
$target_file_group => 'root',
1057+
$target_file_mode => '0644',
1058+
$refresh_icinga2_service => true,
10591059
}
10601060

10611061
See [Service](http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/object-types#objecttype-service) on [docs.icinga.org](http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc) for a full list of parameters.

0 commit comments

Comments
 (0)