aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-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,
+ }
+}