summaryrefslogtreecommitdiff
path: root/manifests/classes/websites.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-18 12:47:46 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-18 12:47:46 -0300
commit529cd5077e3d76c1d5b612bc146ab174d7143c30 (patch)
treeda86fdf7c5e9fa6ebf752ffdd6515400057757a8 /manifests/classes/websites.pp
downloaddebian-529cd5077e3d76c1d5b612bc146ab174d7143c30.tar.gz
debian-529cd5077e3d76c1d5b612bc146ab174d7143c30.tar.bz2
Squashed 'puppet/' content from commit bb2eae6
git-subtree-dir: puppet git-subtree-split: bb2eae6f3a1f44fef0a05000d79c298442fa24c7
Diffstat (limited to 'manifests/classes/websites.pp')
-rw-r--r--manifests/classes/websites.pp42
1 files changed, 42 insertions, 0 deletions
diff --git a/manifests/classes/websites.pp b/manifests/classes/websites.pp
new file mode 100644
index 0000000..35f27c6
--- /dev/null
+++ b/manifests/classes/websites.pp
@@ -0,0 +1,42 @@
+class 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',
+ }
+}
+
+class 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',
+ #}
+
+}