diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 17:20:01 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-02-11 17:20:01 +0000 |
commit | b3aa611aea913cacae53aa547beac0954bd45308 (patch) | |
tree | a2cd4b26a4fa4504abef476adf8aae84d1e775d8 /deployment | |
parent | 2af1155dd86746d3481e28acaa07487807f5e038 (diff) | |
download | puppet-b3aa611aea913cacae53aa547beac0954bd45308.tar puppet-b3aa611aea913cacae53aa547beac0954bd45308.tar.gz puppet-b3aa611aea913cacae53aa547beac0954bd45308.tar.bz2 puppet-b3aa611aea913cacae53aa547beac0954bd45308.tar.xz puppet-b3aa611aea913cacae53aa547beac0954bd45308.zip |
deploy static files in g directory
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/websites/manifests/init.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/deployment/websites/manifests/init.pp b/deployment/websites/manifests/init.pp index dbc09c0e..b104b85c 100644 --- a/deployment/websites/manifests/init.pp +++ b/deployment/websites/manifests/init.pp @@ -26,7 +26,12 @@ class websites { vhost_file => 'websites/vhost_static.conf', } - subversion::snapshot { $vhostdir: + file { $vhostdir: + ensure => directory, + mode => 655, + } + + subversion::snapshot { "$vhostdir/g": source => $svn_location } } |