diff options
author | drebs <drebs@riseup.net> | 2011-03-11 14:53:39 -0300 |
---|---|---|
committer | drebs <drebs@riseup.net> | 2011-03-11 14:53:39 -0300 |
commit | 01b2048dbf02ac726dabde5e846b9d6ac9aff0e6 (patch) | |
tree | 28f13f07a483a73ffcbfb25e4aba0c40f3d656bb /templates/puppet/websites.pp.erb | |
download | puppet-bootstrap-01b2048dbf02ac726dabde5e846b9d6ac9aff0e6.tar.gz puppet-bootstrap-01b2048dbf02ac726dabde5e846b9d6ac9aff0e6.tar.bz2 |
initial recommit
Diffstat (limited to 'templates/puppet/websites.pp.erb')
-rw-r--r-- | templates/puppet/websites.pp.erb | 45 |
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', + #} + +} |