aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet/websites.pp.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/puppet/websites.pp.erb')
-rw-r--r--templates/puppet/websites.pp.erb45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/puppet/websites.pp.erb b/templates/puppet/websites.pp.erb
new file mode 100644
index 0000000..75dcd0b
--- /dev/null
+++ b/templates/puppet/websites.pp.erb
@@ -0,0 +1,45 @@
+class websites::admin inherits websites::hosting::admin {
+ #apache::site { "admin":
+ # ticket => '64',
+ # docroot => "${apache_sites_folder}/admin/trac/htdocs",
+ # use => [ "Trac admin" ],
+ # redirect_match => "trac",
+ # mpm => false,
+ #}
+
+ #apache::site { "munin":
+ # ticket => '153',
+ # docroot => '/var/www/munin',
+ # owner => "munin",
+ # group => "munin",
+ # mpm => false,
+ #}
+
+ #apache::site { "nagios":
+ # source => true,
+ # docroot => '/usr/share/nagios3/htdocs',
+ # mpm => false,
+ #}
+}
+
+class websites inherits websites::hosting {
+ # Website definitions
+ #
+ # TODO:
+ #
+ # - Use virtual resources:
+ # - Tags by locations where the site can be hosted.
+ # - Possible integration with cache proxies.
+ #
+
+ #apache::site { "site":
+ # source => true,
+ # ticket => '001',
+ # docroot => '/var/www/site',
+ #}
+
+ #database::instance { "site":
+ # password => 'xxx',
+ #}
+
+}