Added a section to the readme about the usergroup defined type.

This commit is contained in:
Nick Chappell 2014-08-24 17:48:49 -07:00
parent 2c6d82895c
commit a1657b2d6d

View file

@ -206,6 +206,18 @@ If you would like to use an IPv6 address, make sure to set the `ipv6_address` pa
}
</pre>
####`icinga2::object::usergroup`
You can use this defined type to create user groups. Example:
<pre>
#Create an admins user group:
icinga2::object::hostgroup { 'admins':
display_name => 'admins',
target_dir => '/etc/icinga2/objects/usergroups',
}
</pre>
####`icinga2::object::apply_service_to_host`
The `apply_service_to_host` defined type can create `apply` objects to apply services to hosts: