From 2e36521d577d67a8d71e5f4d26d615e657dfe6dd Mon Sep 17 00:00:00 2001 From: Ciaby Date: Thu, 28 May 2015 15:43:26 -0500 Subject: [PATCH] Install Icinga2 by default --- modules/rhizo_base/manifests/icinga.pp | 20 ++++++++++++++++++++ modules/rhizo_base/manifests/init.pp | 1 + 2 files changed, 21 insertions(+) create mode 100644 modules/rhizo_base/manifests/icinga.pp diff --git a/modules/rhizo_base/manifests/icinga.pp b/modules/rhizo_base/manifests/icinga.pp new file mode 100644 index 0000000..061c55d --- /dev/null +++ b/modules/rhizo_base/manifests/icinga.pp @@ -0,0 +1,20 @@ +# Class: rhizo_base::icinga +# +# This module manages Icinga2 +# +# Parameters: none +# +# Actions: +# +# Requires: see Modulefile +# +# Sample Usage: +# +class rhizo_base::icinga { + + package { 'icinga2': + ensure => '2.3.4~precise', + require => Class['rhizo_base::apt'], + } + + } \ No newline at end of file diff --git a/modules/rhizo_base/manifests/init.pp b/modules/rhizo_base/manifests/init.pp index 7477c21..70ee804 100644 --- a/modules/rhizo_base/manifests/init.pp +++ b/modules/rhizo_base/manifests/init.pp @@ -112,6 +112,7 @@ class rhizo_base { include rhizo_base::lcr include rhizo_base::sudo include rhizo_base::users + include rhizo_base::icinga #Rizhomatica scripts