aboutsummaryrefslogtreecommitdiffstats
path: root/modules/planet/manifests
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-17 12:37:19 +0000
committerDamien Lallement <dams@mageia.org>2011-02-17 12:37:19 +0000
commit08de7e2567962c01ff9152ba6ae8b5cf251ce9b6 (patch)
tree85c3509bd1c6457ac5e8f03211f81b8f83a358d6 /modules/planet/manifests
parenta16160dd2ef4f6c90c8a08c4ddc5f10e2c5b9e0b (diff)
downloadpuppet-08de7e2567962c01ff9152ba6ae8b5cf251ce9b6.tar
puppet-08de7e2567962c01ff9152ba6ae8b5cf251ce9b6.tar.gz
puppet-08de7e2567962c01ff9152ba6ae8b5cf251ce9b6.tar.bz2
puppet-08de7e2567962c01ff9152ba6ae8b5cf251ce9b6.tar.xz
puppet-08de7e2567962c01ff9152ba6ae8b5cf251ce9b6.zip
update path to planet and add the deployment of scrip via puppet
Diffstat (limited to 'modules/planet/manifests')
-rw-r--r--modules/planet/manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/planet/manifests/init.pp b/modules/planet/manifests/init.pp
index dd7345e6..89239f69 100644
--- a/modules/planet/manifests/init.pp
+++ b/modules/planet/manifests/init.pp
@@ -18,6 +18,15 @@ class planet {
content => template('planet/planet_vhosts.conf')
}
+ file { "deploy_new-planet":
+ path => "/usr/local/bin/deploy_new-planet.sh",
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 755,
+ content => template("planet/deploy_new-planet.sh")
+ }
+
file { "/var/www/html/planet.$domain":
ensure => directory,
owner => planet,