edited README and parameter documentation

This commit is contained in:
Arne Teuke
2017-07-28 12:27:58 +01:00
parent fec775ad45
commit 960c34b9ed
3 changed files with 7 additions and 3 deletions

View File

@@ -20,8 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary Class manages /etc/nagios/conf.d/nagios_add_contact.cfg through
# concat.
# @example
# cd_nagios::nagios::objects::add_contact { 'example_user':
# @example cd_nagios::nagios::objects::add_contact { 'example_user':
# ng_contact_name => 'example_user',
# ng_contact_alias => 'Example User',
# ng_contact_groups => 'admins',

View File

@@ -25,6 +25,11 @@
# ng_servicegroup_name => 'example_servicegroup',
# ng_servicegroup_alias => 'Example servicegroup',
# }
# @param [string] ng_servicegroup_name Specify the servicegroup short name
# @param [string] ng_servicegroup_name Specify the servicegroup alias
# (long name).
# @param [string] ng_servicegroup_register Whether you want to register the
# servicegroup
###############################################################################
define cd_nagios::nagios::objects::add_servicegroups (

View File

@@ -20,7 +20,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary Class manages /etc/nagios_conf.d/nagios_timeperiods_add.cfg and
# add. hostgroups through external Puppet rules via define.
# cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
# @example cd_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
# ng_timep_name => 'example_timeperiod',
# ng_timep_alias => 'Example timeperiod',
# ng_timep_monday => '00:00-00:00',