diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-08 20:25:06 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-08 20:25:06 +0000 |
commit | 9069208922bd02f233556eb0d2936a9c62d863e0 (patch) | |
tree | da5e5845ce235cb6bbe991adc32978573c2c0342 /deployment/websites/manifests/static.pp | |
parent | 75428aced2ec67b0e69a92c01e6ae2529325c2cf (diff) | |
download | puppet-9069208922bd02f233556eb0d2936a9c62d863e0.tar puppet-9069208922bd02f233556eb0d2936a9c62d863e0.tar.gz puppet-9069208922bd02f233556eb0d2936a9c62d863e0.tar.bz2 puppet-9069208922bd02f233556eb0d2936a9c62d863e0.tar.xz puppet-9069208922bd02f233556eb0d2936a9c62d863e0.zip |
split websites module in smaller pieces
Diffstat (limited to 'deployment/websites/manifests/static.pp')
-rw-r--r-- | deployment/websites/manifests/static.pp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/deployment/websites/manifests/static.pp b/deployment/websites/manifests/static.pp new file mode 100644 index 00000000..0883d779 --- /dev/null +++ b/deployment/websites/manifests/static.pp @@ -0,0 +1,17 @@ +class websites { + class static inherits base { + $vhostdir = "$webdatadir/static.$domain" + + apache::vhost_other_app { "static.$domain": + vhost_file => 'websites/vhost_static.conf', + } + + file { $vhostdir: + ensure => directory, + } + + subversion::snapshot { "$vhostdir/g": + source => "svn://svn.$domain/svn/web/www/trunk/g/", + } + } +} |