diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/puppet/websites.pp.erb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/templates/puppet/websites.pp.erb b/templates/puppet/websites.pp.erb index 75dcd0b..b1a82a2 100644 --- a/templates/puppet/websites.pp.erb +++ b/templates/puppet/websites.pp.erb @@ -5,6 +5,7 @@ class websites::admin inherits websites::hosting::admin { # use => [ "Trac admin" ], # redirect_match => "trac", # mpm => false, + # tag => 'all', #} #apache::site { "munin": @@ -13,33 +14,30 @@ class websites::admin inherits websites::hosting::admin { # 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 - # - # TODO: - # - # - Use virtual resources: - # - Tags by locations where the site can be hosted. - # - Possible integration with cache proxies. - # + # Website definitions: always use virtual resources - #apache::site { "site": + #@apache::site { "site": # source => true, # ticket => '001', # docroot => '/var/www/site', + # tag => 'all', #} - #database::instance { "site": + #@database::instance { "site": # password => 'xxx', + # tag => 'all', #} } |