aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2009-12-29 15:46:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2009-12-29 15:46:23 -0200
commite2a75915f76409cdc75f1b330c635be58f1950cc (patch)
tree188931365ebe6c38b01d1c6df50f7515f48b4764 /manifests
downloadpuppet-drupal-e2a75915f76409cdc75f1b330c635be58f1950cc.tar.gz
puppet-drupal-e2a75915f76409cdc75f1b330c635be58f1950cc.tar.bz2
Initial import
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..8c928ff
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,20 @@
+class drupal inherits pear {
+ # We use drupal source from upstream
+ package { "drupal6":
+ ensure => absent,
+ }
+
+ # Drupal shell
+ package { "drush":
+ ensure => installed,
+ }
+
+ # Drush update
+ file { "/usr/local/bin/drush-update.sh":
+ ensure => present,
+ content => template('drupal/drush-update.sh'),
+ user => root,
+ group => root,
+ mode => 755,
+ }
+}