Parent Directory | Revision Log
Add websites::maintenance
1 | class websites::maintenance { |
2 | $vhostdir = "$websites::base::webdatadir/maintenance" |
3 | |
4 | file {$vhostdir: |
5 | ensure => 'directory', |
6 | mode => '0755', |
7 | owner => 'root', |
8 | group => 'root', |
9 | } |
10 | |
11 | file {"$vhostdir/index.html": |
12 | ensure => 'present', |
13 | mode => '0644', |
14 | owner => 'root', |
15 | group => 'root', |
16 | source => 'puppet:///deployment/websites/maintenance.html', |
17 | } |
18 | |
19 | apache::vhost::other_app { "maintenance.$::domain": |
20 | vhost_file => 'websites/vhost_maintenance.conf', |
21 | } |
22 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |