Recommit for updates in build 122
This commit is contained in:
@@ -239,7 +239,7 @@ define confdroid_nagios::nagios::objects::add_contact (
|
|||||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||||
$ng_target_add_contact = $confdroid_nagios::params::ng_target_add_contact
|
$ng_target_add_contact = $confdroid_nagios::params::ng_target_add_contact
|
||||||
$ng_contacts_rule_erb = $confdroid_nagios::params::ng_contacts_rule_erb
|
$ng_contacts_rule_erb = $confdroid_nagios::params::ng_contacts_rule_erb
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $confdroid_nagios::params::fqdn
|
||||||
|
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
concat::fragment { $name:
|
concat::fragment { $name:
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ define confdroid_nagios::nagios::objects::add_contactgroups (
|
|||||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||||
$ng_tgt_contactgroup_add = $confdroid_nagios::params::ng_tgt_contactgroup_add
|
$ng_tgt_contactgroup_add = $confdroid_nagios::params::ng_tgt_contactgroup_add
|
||||||
$ng_cntctgrps_rule_erb = $confdroid_nagios::params::ng_cntctgrps_rule_erb
|
$ng_cntctgrps_rule_erb = $confdroid_nagios::params::ng_cntctgrps_rule_erb
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $confdroid_nagios::params::fqdn
|
||||||
|
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
concat::fragment { $name:
|
concat::fragment { $name:
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ define confdroid_nagios::nagios::objects::add_hostgroups (
|
|||||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||||
$ng_tgt_hostgroup_add = $confdroid_nagios::params::ng_tgt_hostgroup_add
|
$ng_tgt_hostgroup_add = $confdroid_nagios::params::ng_tgt_hostgroup_add
|
||||||
$ng_tgt_hostgrp_rule_erb = $confdroid_nagios::params::ng_tgt_hostgrp_rule_erb
|
$ng_tgt_hostgrp_rule_erb = $confdroid_nagios::params::ng_tgt_hostgrp_rule_erb
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $confdroid_nagios::params::fqdn
|
||||||
|
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
concat::fragment { $name:
|
concat::fragment { $name:
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ define confdroid_nagios::nagios::objects::add_servicegroups (
|
|||||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||||
$ng_tgt_servicegroup_add = $confdroid_nagios::params::ng_tgt_servicegroup_add
|
$ng_tgt_servicegroup_add = $confdroid_nagios::params::ng_tgt_servicegroup_add
|
||||||
$ng_tgt_svcgrp_rule_erb = $confdroid_nagios::params::ng_tgt_svcgrp_rule_erb
|
$ng_tgt_svcgrp_rule_erb = $confdroid_nagios::params::ng_tgt_svcgrp_rule_erb
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $confdroid_nagios::params::fqdn
|
||||||
|
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
concat::fragment { $name:
|
concat::fragment { $name:
|
||||||
|
|||||||
@@ -91,8 +91,8 @@ external Puppet rules.
|
|||||||
|
|
||||||
|
|
||||||
<pre class="example code"><code>confdroid_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
|
<pre class="example code"><code>confdroid_nagios::nagios::objects::add_timeperiods { 'example_timeperiod':
|
||||||
ng_timep_name => 'example_timeperiod',
|
ng_timep_name => 'example_timeperiod',
|
||||||
ng_timep_alias => 'Example timeperiod',
|
ng_timep_alias => 'Example timeperiod',
|
||||||
ng_timep_monday => '00:00-00:00',
|
ng_timep_monday => '00:00-00:00',
|
||||||
ng_timep_tuesday => '00:00-00:00',
|
ng_timep_tuesday => '00:00-00:00',
|
||||||
ng_timep_wednesday => '00:00-00:00',
|
ng_timep_wednesday => '00:00-00:00',
|
||||||
@@ -150,7 +150,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -168,7 +168,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -186,7 +186,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -204,7 +204,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -222,7 +222,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -240,7 +240,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -258,7 +258,7 @@ external Puppet rules.
|
|||||||
<span class='type'>(<tt>String</tt>)</span>
|
<span class='type'>(<tt>String</tt>)</span>
|
||||||
|
|
||||||
|
|
||||||
<em class="default">(defaults to: <tt>'00:00-00:00'</tt>)</em>
|
<em class="default">(defaults to: <tt>'00:00-24:00'</tt>)</em>
|
||||||
|
|
||||||
|
|
||||||
—
|
—
|
||||||
@@ -312,19 +312,19 @@ define confdroid_nagios::nagios::objects::add_timeperiods (
|
|||||||
|
|
||||||
Optional[String] $ng_timep_name = undef,
|
Optional[String] $ng_timep_name = undef,
|
||||||
Optional[String] $ng_timep_alias = undef,
|
Optional[String] $ng_timep_alias = undef,
|
||||||
String $ng_timep_monday = '00:00-00:00',
|
String $ng_timep_monday = '00:00-24:00',
|
||||||
String $ng_timep_tuesday = '00:00-00:00',
|
String $ng_timep_tuesday = '00:00-24:00',
|
||||||
String $ng_timep_wednesday = '00:00-00:00',
|
String $ng_timep_wednesday = '00:00-24:00',
|
||||||
String $ng_timep_thursday = '00:00-00:00',
|
String $ng_timep_thursday = '00:00-24:00',
|
||||||
String $ng_timep_friday = '00:00-00:00',
|
String $ng_timep_friday = '00:00-24:00',
|
||||||
String $ng_timep_saturday = '00:00-00:00',
|
String $ng_timep_saturday = '00:00-24:00',
|
||||||
String $ng_timep_sunday = '00:00-00:00',
|
String $ng_timep_sunday = '00:00-24:00',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
$ng_nagios_server = $confdroid_nagios::params::ng_nagios_server
|
||||||
$ng_tgt_timep_add = $confdroid_nagios::params::ng_tgt_timep_add
|
$ng_tgt_timep_add = $confdroid_nagios::params::ng_tgt_timep_add
|
||||||
$ng_tgt_timep_rule_erb = $confdroid_nagios::params::ng_tgt_timep_rule_erb
|
$ng_tgt_timep_rule_erb = $confdroid_nagios::params::ng_tgt_timep_rule_erb
|
||||||
$fqdn = $facts['network']['fqdn']
|
$fqdn = $confdroid_nagios::params::fqdn
|
||||||
|
|
||||||
if $ng_nagios_server == $fqdn {
|
if $ng_nagios_server == $fqdn {
|
||||||
concat::fragment { $name:
|
concat::fragment { $name:
|
||||||
|
|||||||
Reference in New Issue
Block a user