added template concat

This commit is contained in:
Arne Teuke
2017-07-25 16:39:28 +01:00
parent f5657930f6
commit 53e7b9d0b2
3 changed files with 20 additions and 1 deletions

View File

@@ -19,6 +19,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# @summary Class manages /etc/nagios/conf.d/templates.cfg through concat.
# @example cd_nagios::objects::templates { $name:
# ng_template_object => 'service',
# }
################################################################################
class cd_nagios::nagios::objects::template_rules (
@@ -41,5 +44,10 @@ class cd_nagios::nagios::objects::template_rules (
content => template[$ng_templates_head_erb]
notify => Service[$ng_service],
}
# example rule
cd_nagios::objects::templates { $name:
ng_template_object => 'service',
}
}
}