/[adm]/puppet/deployment/websites/manifests/maintenance.pp
ViewVC logotype

Contents of /puppet/deployment/websites/manifests/maintenance.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3073 - (show annotations) (download)
Sat May 4 13:51:46 2013 UTC (11 years, 2 months ago) by boklm
File size: 563 byte(s)
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