From 3730114dbb3dffa0d496ff5aaf42c8d54bee8f80 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 29 Jun 2015 16:49:15 -0300 Subject: More changes for puppet 3.x --- modules/site_websites/manifests/admin.pp | 25 +++++++++++++++++++++++++ modules/site_websites/manifests/init.pp | 16 ++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 modules/site_websites/manifests/admin.pp create mode 100644 modules/site_websites/manifests/init.pp (limited to 'modules/site_websites') diff --git a/modules/site_websites/manifests/admin.pp b/modules/site_websites/manifests/admin.pp new file mode 100644 index 0000000..0be3a94 --- /dev/null +++ b/modules/site_websites/manifests/admin.pp @@ -0,0 +1,25 @@ +class site_websites::admin inherits websites::hosting::admin { + # An administrative Trac instance + #apache::site { "admin": + # docroot => "${apache::sites_folder}/admin/trac/htdocs", + # use => [ "Trac admin" ], + # redirect_match => "trac", + # mpm => false, + # tag => 'all', + #} + + apache::site { "munin": + docroot => '/var/www/munin', + owner => "munin", + group => "munin", + mpm => false, + tag => 'all', + } + + apache::site { "nagios": + source => true, + docroot => '/usr/share/nagios3/htdocs', + mpm => false, + tag => 'all', + } +} diff --git a/modules/site_websites/manifests/init.pp b/modules/site_websites/manifests/init.pp new file mode 100644 index 0000000..f9d900a --- /dev/null +++ b/modules/site_websites/manifests/init.pp @@ -0,0 +1,16 @@ +class site_websites inherits websites::hosting { + # Website definitions: always use tagged resources + + #apache::site { "site": + # source => true, + # ticket => '001', + # docroot => '/var/www/site', + # tag => 'all', + #} + + #database::instance { "site": + # password => 'xxx', + # tag => 'all', + #} + +} -- cgit v1.2.3