Renamed objects:: class to object:: since each defined type is for a single object type.

This commit is contained in:
Nick Chappell 2014-07-26 17:07:03 -07:00
parent 1927d0377e
commit bf8cde0053
3 changed files with 7 additions and 5 deletions

View file

@ -1,11 +1,13 @@
# == Class: icinga2::params
#
# This class is purposefully empty. It just serves as a container class for other
# icinga2::objects:: classes.
# This class is intentionally empty. It just serves as a container class for other
# icinga2::object:: classes to make the module's file layout cleaner (all object defined types
# can be put into an objects/ subdirectory)
#
# === Parameters
#
# See the inline comments.
# None. See inline comments for parameters on the individual object type manifests for
# more details.
#
class icinga2::objects { }

View file

@ -7,7 +7,7 @@
# See the inline comments.
#
define icinga2::objects::host (
define icinga2::object::host (
$object_hostname = $name,
$display_name = $fqdn,
$ipv4_address = $ipaddress_eth0,

View file

@ -6,7 +6,7 @@
# See the inline comments.
#
define icinga2::objects::hostgroup (
define icinga2::object::hostgroup (
$object_hostgroup_name = $name,
$display_name = $name,
$template_to_import = undef,