Fixed whitespace alignment in the icinga2::server::config class.

This commit is contained in:
Nick Chappell 2015-01-10 17:34:45 -08:00
parent 2a3a2c5d0f
commit 8a8bf24400

View file

@ -29,18 +29,18 @@ class icinga2::server::config inherits icinga2::server {
#Directory resource for /etc/icinga2/: #Directory resource for /etc/icinga2/:
file { '/etc/icinga2/': file { '/etc/icinga2/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/', path => '/etc/icinga2/',
owner => $etc_icinga2_owner, owner => $etc_icinga2_owner,
group => $etc_icinga2_group, group => $etc_icinga2_group,
mode => $etc_icinga2_mode, mode => $etc_icinga2_mode,
#require => Package[$icinga2::params::icinga2_server_packages], #require => Package[$icinga2::params::icinga2_server_packages],
} }
#File resource for /etc/icinga2/icinga2.conf: #File resource for /etc/icinga2/icinga2.conf:
file { '/etc/icinga2/icinga2.conf': file { '/etc/icinga2/icinga2.conf':
ensure => file, ensure => file,
path => '/etc/icinga2/icinga2.conf', path => '/etc/icinga2/icinga2.conf',
owner => $etc_icinga2_icinga2_conf_owner, owner => $etc_icinga2_icinga2_conf_owner,
group => $etc_icinga2_icinga2_conf_group, group => $etc_icinga2_icinga2_conf_group,
mode => $etc_icinga2_icinga2_conf_mode, mode => $etc_icinga2_icinga2_conf_mode,
@ -49,56 +49,56 @@ class icinga2::server::config inherits icinga2::server {
#Directory resource for /etc/icinga2/conf.d/: #Directory resource for /etc/icinga2/conf.d/:
file { '/etc/icinga2/conf.d/': file { '/etc/icinga2/conf.d/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/conf.d/', path => '/etc/icinga2/conf.d/',
owner => $etc_icinga2_confd_owner, owner => $etc_icinga2_confd_owner,
group => $etc_icinga2_confd_group, group => $etc_icinga2_confd_group,
mode => $etc_icinga2_confd_mode, mode => $etc_icinga2_confd_mode,
} }
#Directory resource for /etc/icinga2/features-available/: #Directory resource for /etc/icinga2/features-available/:
file { '/etc/icinga2/features-available/': file { '/etc/icinga2/features-available/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/features-available/', path => '/etc/icinga2/features-available/',
owner => $etc_icinga2_features_available_owner, owner => $etc_icinga2_features_available_owner,
group => $etc_icinga2_features_available_group, group => $etc_icinga2_features_available_group,
mode => $etc_icinga2_features_available_mode, mode => $etc_icinga2_features_available_mode,
} }
#Directory resource for /etc/icinga2/features-enabled/: #Directory resource for /etc/icinga2/features-enabled/:
file { '/etc/icinga2/features-enabled/': file { '/etc/icinga2/features-enabled/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/features-enabled/', path => '/etc/icinga2/features-enabled/',
owner => $etc_icinga2_features_enabled_owner, owner => $etc_icinga2_features_enabled_owner,
group => $etc_icinga2_features_enabled_group, group => $etc_icinga2_features_enabled_group,
mode => $etc_icinga2_features_enabled_mode, mode => $etc_icinga2_features_enabled_mode,
} }
#Directory resource for /etc/icinga2/pki/: #Directory resource for /etc/icinga2/pki/:
file { '/etc/icinga2/pki/': file { '/etc/icinga2/pki/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/pki/', path => '/etc/icinga2/pki/',
owner => $etc_icinga2_pki_owner, owner => $etc_icinga2_pki_owner,
group => $etc_icinga2_pki_group, group => $etc_icinga2_pki_group,
mode => $etc_icinga2_pki_mode, mode => $etc_icinga2_pki_mode,
} }
#Directory resource for /etc/icinga2/scripts/: #Directory resource for /etc/icinga2/scripts/:
file { '/etc/icinga2/scripts/': file { '/etc/icinga2/scripts/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/scripts/', path => '/etc/icinga2/scripts/',
owner => $etc_icinga2_scripts_owner, owner => $etc_icinga2_scripts_owner,
group => $etc_icinga2_scripts_group, group => $etc_icinga2_scripts_group,
mode => $etc_icinga2_scripts_mode, mode => $etc_icinga2_scripts_mode,
} }
#Directory resource for /etc/icinga2/zones.d/: #Directory resource for /etc/icinga2/zones.d/:
file { '/etc/icinga2/zones.d/': file { '/etc/icinga2/zones.d/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/zones.d/', path => '/etc/icinga2/zones.d/',
owner => $etc_icinga2_zonesd_owner, owner => $etc_icinga2_zonesd_owner,
group => $etc_icinga2_zonesd_group, group => $etc_icinga2_zonesd_group,
mode => $etc_icinga2_zonesd_mode, mode => $etc_icinga2_zonesd_mode,
} }
#File and directory resources for the object directories that can be used to hold different #File and directory resources for the object directories that can be used to hold different
@ -118,272 +118,272 @@ class icinga2::server::config inherits icinga2::server {
#Directory resource for /etc/icinga2/objects/hosts/: #Directory resource for /etc/icinga2/objects/hosts/:
file { '/etc/icinga2/objects/hosts/': file { '/etc/icinga2/objects/hosts/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/hosts/', path => '/etc/icinga2/objects/hosts/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/hostgroups/: #Directory resource for /etc/icinga2/objects/hostgroups/:
file { '/etc/icinga2/objects/hostgroups/': file { '/etc/icinga2/objects/hostgroups/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/hostgroups/', path => '/etc/icinga2/objects/hostgroups/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/services/: #Directory resource for /etc/icinga2/objects/services/:
file { '/etc/icinga2/objects/services/': file { '/etc/icinga2/objects/services/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/services/', path => '/etc/icinga2/objects/services/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/servicegroups/: #Directory resource for /etc/icinga2/objects/servicegroups/:
file { '/etc/icinga2/objects/servicegroups/': file { '/etc/icinga2/objects/servicegroups/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/servicegroups/', path => '/etc/icinga2/objects/servicegroups/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/users/: #Directory resource for /etc/icinga2/objects/users/:
file { '/etc/icinga2/objects/users/': file { '/etc/icinga2/objects/users/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/users/', path => '/etc/icinga2/objects/users/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/usergroups/: #Directory resource for /etc/icinga2/objects/usergroups/:
file { '/etc/icinga2/objects/usergroups/': file { '/etc/icinga2/objects/usergroups/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/usergroups/', path => '/etc/icinga2/objects/usergroups/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/checkcommands/: #Directory resource for /etc/icinga2/objects/checkcommands/:
file { '/etc/icinga2/objects/checkcommands/': file { '/etc/icinga2/objects/checkcommands/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/checkcommands/', path => '/etc/icinga2/objects/checkcommands/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/notificationcommands/: #Directory resource for /etc/icinga2/objects/notificationcommands/:
file { '/etc/icinga2/objects/notificationcommands/': file { '/etc/icinga2/objects/notificationcommands/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/notificationcommands/', path => '/etc/icinga2/objects/notificationcommands/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/eventcommands/: #Directory resource for /etc/icinga2/objects/eventcommands/:
file { '/etc/icinga2/objects/eventcommands/': file { '/etc/icinga2/objects/eventcommands/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/eventcommands/', path => '/etc/icinga2/objects/eventcommands/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/notifications/: #Directory resource for /etc/icinga2/objects/notifications/:
file { '/etc/icinga2/objects/notifications/': file { '/etc/icinga2/objects/notifications/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/notifications/', path => '/etc/icinga2/objects/notifications/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/timeperiods/: #Directory resource for /etc/icinga2/objects/timeperiods/:
file { '/etc/icinga2/objects/timeperiods/': file { '/etc/icinga2/objects/timeperiods/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/timeperiods/', path => '/etc/icinga2/objects/timeperiods/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/scheduleddowntimes/: #Directory resource for /etc/icinga2/objects/scheduleddowntimes/:
file { '/etc/icinga2/objects/scheduleddowntimes/': file { '/etc/icinga2/objects/scheduleddowntimes/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/scheduleddowntimes/', path => '/etc/icinga2/objects/scheduleddowntimes/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/dependencies/: #Directory resource for /etc/icinga2/objects/dependencies/:
file { '/etc/icinga2/objects/dependencies/': file { '/etc/icinga2/objects/dependencies/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/dependencies/', path => '/etc/icinga2/objects/dependencies/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/perfdatawriters/: #Directory resource for /etc/icinga2/objects/perfdatawriters/:
file { '/etc/icinga2/objects/perfdatawriters/': file { '/etc/icinga2/objects/perfdatawriters/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/perfdatawriters/', path => '/etc/icinga2/objects/perfdatawriters/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/graphitewriters/: #Directory resource for /etc/icinga2/objects/graphitewriters/:
file { '/etc/icinga2/objects/graphitewriters/': file { '/etc/icinga2/objects/graphitewriters/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/graphitewriters/', path => '/etc/icinga2/objects/graphitewriters/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/idomysqlconnections/: #Directory resource for /etc/icinga2/objects/idomysqlconnections/:
file { '/etc/icinga2/objects/idomysqlconnections/': file { '/etc/icinga2/objects/idomysqlconnections/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/idomysqlconnections/', path => '/etc/icinga2/objects/idomysqlconnections/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/idopgsqlconnections/: #Directory resource for /etc/icinga2/objects/idopgsqlconnections/:
file { '/etc/icinga2/objects/idopgsqlconnections/': file { '/etc/icinga2/objects/idopgsqlconnections/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/idopgsqlconnections/', path => '/etc/icinga2/objects/idopgsqlconnections/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/livestatuslisteners/: #Directory resource for /etc/icinga2/objects/livestatuslisteners/:
file { '/etc/icinga2/objects/livestatuslisteners/': file { '/etc/icinga2/objects/livestatuslisteners/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/livestatuslisteners/', path => '/etc/icinga2/objects/livestatuslisteners/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/statusdatawriters/: #Directory resource for /etc/icinga2/objects/statusdatawriters/:
file { '/etc/icinga2/objects/statusdatawriters/': file { '/etc/icinga2/objects/statusdatawriters/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/statusdatawriters/', path => '/etc/icinga2/objects/statusdatawriters/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/externalcommandlisteners/: #Directory resource for /etc/icinga2/objects/externalcommandlisteners/:
file { '/etc/icinga2/objects/externalcommandlisteners/': file { '/etc/icinga2/objects/externalcommandlisteners/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/externalcommandlisteners/', path => '/etc/icinga2/objects/externalcommandlisteners/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/compatloggers/: #Directory resource for /etc/icinga2/objects/compatloggers/:
file { '/etc/icinga2/objects/compatloggers/': file { '/etc/icinga2/objects/compatloggers/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/compatloggers/', path => '/etc/icinga2/objects/compatloggers/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/checkresultreaders/: #Directory resource for /etc/icinga2/objects/checkresultreaders/:
file { '/etc/icinga2/objects/checkresultreaders/': file { '/etc/icinga2/objects/checkresultreaders/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/checkresultreaders/', path => '/etc/icinga2/objects/checkresultreaders/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/checkercomponents/: #Directory resource for /etc/icinga2/objects/checkercomponents/:
file { '/etc/icinga2/objects/checkercomponents/': file { '/etc/icinga2/objects/checkercomponents/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/checkercomponents/', path => '/etc/icinga2/objects/checkercomponents/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/notificationcomponents/: #Directory resource for /etc/icinga2/objects/notificationcomponents/:
file { '/etc/icinga2/objects/notificationcomponents/': file { '/etc/icinga2/objects/notificationcomponents/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/notificationcomponents/', path => '/etc/icinga2/objects/notificationcomponents/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/fileloggers/: #Directory resource for /etc/icinga2/objects/fileloggers/:
file { '/etc/icinga2/objects/fileloggers/': file { '/etc/icinga2/objects/fileloggers/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/fileloggers/', path => '/etc/icinga2/objects/fileloggers/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/syslogloggers/: #Directory resource for /etc/icinga2/objects/syslogloggers/:
file { '/etc/icinga2/objects/syslogloggers/': file { '/etc/icinga2/objects/syslogloggers/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/syslogloggers/', path => '/etc/icinga2/objects/syslogloggers/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/icingastatuswriters/: #Directory resource for /etc/icinga2/objects/icingastatuswriters/:
file { '/etc/icinga2/objects/icingastatuswriters/': file { '/etc/icinga2/objects/icingastatuswriters/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/icingastatuswriters/', path => '/etc/icinga2/objects/icingastatuswriters/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/apilisteners/: #Directory resource for /etc/icinga2/objects/apilisteners/:
file { '/etc/icinga2/objects/apilisteners/': file { '/etc/icinga2/objects/apilisteners/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/apilisteners/', path => '/etc/icinga2/objects/apilisteners/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/endpoints/: #Directory resource for /etc/icinga2/objects/endpoints/:
file { '/etc/icinga2/objects/endpoints/': file { '/etc/icinga2/objects/endpoints/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/endpoints/', path => '/etc/icinga2/objects/endpoints/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/zones/: #Directory resource for /etc/icinga2/objects/zones/:
file { '/etc/icinga2/objects/zones/': file { '/etc/icinga2/objects/zones/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/zones/', path => '/etc/icinga2/objects/zones/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/applys/ #Directory resource for /etc/icinga2/objects/applys/
@ -392,30 +392,30 @@ class icinga2::server::config inherits icinga2::server {
#See the following link for more info: #See the following link for more info:
# http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#apply # http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#!/icinga2/latest/doc/module/icinga2/chapter/configuring-icinga2#apply
file { '/etc/icinga2/objects/applys/': file { '/etc/icinga2/objects/applys/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/applys/', path => '/etc/icinga2/objects/applys/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/templates/: #Directory resource for /etc/icinga2/objects/templates/:
file { '/etc/icinga2/objects/templates/': file { '/etc/icinga2/objects/templates/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/templates/', path => '/etc/icinga2/objects/templates/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
#Directory resource for /etc/icinga2/objects/constants/: #Directory resource for /etc/icinga2/objects/constants/:
file { '/etc/icinga2/objects/constants/': file { '/etc/icinga2/objects/constants/':
ensure => directory, ensure => directory,
path => '/etc/icinga2/objects/constants/', path => '/etc/icinga2/objects/constants/',
owner => $etc_icinga2_obejcts_sub_dir_owner, owner => $etc_icinga2_obejcts_sub_dir_owner,
group => $etc_icinga2_obejcts_sub_dir_group, group => $etc_icinga2_obejcts_sub_dir_group,
mode => $etc_icinga2_obejcts_sub_dir_mode, mode => $etc_icinga2_obejcts_sub_dir_mode,
} }
} }