testing templates
This commit is contained in:
@@ -42,10 +42,16 @@ class cd_nagios::nagios::objects::template_rules (
|
|||||||
selrole => object_r,
|
selrole => object_r,
|
||||||
seltype => nagios_etc_t,
|
seltype => nagios_etc_t,
|
||||||
seluser => system_u,
|
seluser => system_u,
|
||||||
content => template[$ng_templates_head_erb],
|
|
||||||
notify => Service[$ng_service],
|
notify => Service[$ng_service],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
concat::fragment { 'header':
|
||||||
|
target => $ng_target_templates,
|
||||||
|
content => template($ng_templates_head_erb),
|
||||||
|
order => '000',
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# basic templates
|
# basic templates
|
||||||
cd_nagios::nagios::objects::templates { 'generic contact':
|
cd_nagios::nagios::objects::templates { 'generic contact':
|
||||||
ng_template_object => 'contact',
|
ng_template_object => 'contact',
|
||||||
|
|||||||
Reference in New Issue
Block a user