aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-29 16:32:29 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-29 16:32:29 -0200
commit1d663359337b4c5074bb5605851fce0c73ea4445 (patch)
treeb62bc28e010155b77248c50e40f039c3ea176ac9 /manifests
parente2a75915f76409cdc75f1b330c635be58f1950cc (diff)
downloadpuppet-drupal-1d663359337b4c5074bb5605851fce0c73ea4445.tar.gz
puppet-drupal-1d663359337b4c5074bb5605851fce0c73ea4445.tar.bz2
New management scripts
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp22
1 files changed, 20 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 8c928ff..a501b0c 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -9,12 +9,30 @@ class drupal inherits pear {
ensure => installed,
}
- # Drush update
- file { "/usr/local/bin/drush-update.sh":
+ # Drupal update script
+ file { "/usr/local/bin/drupal-update.sh":
ensure => present,
content => template('drupal/drush-update.sh'),
user => root,
group => root,
mode => 755,
}
+
+ # Drupal upgrade script
+ file { "/usr/local/bin/drupal-upgrade.sh":
+ ensure => present,
+ content => template('drupal/drush-upgrade.sh'),
+ user => root,
+ group => root,
+ mode => 755,
+ }
+
+ # Drupal deployment script
+ file { "/usr/local/bin/drupal-deploy.sh":
+ ensure => present,
+ content => template('drupal/drupal-deploy.sh'),
+ user => root,
+ group => root,
+ mode => 755,
+ }
}