]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Using drupal6.make
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 27 Nov 2010 16:49:23 +0000 (14:49 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 27 Nov 2010 16:49:23 +0000 (14:49 -0200)
files/drupal6.make [moved from files/drupal.make with 100% similarity]
manifests/init.pp

similarity index 100%
rename from files/drupal.make
rename to files/drupal6.make
index ceeea07ee4ca1bb754ef6a9c1027b6ab632f006a..5333d9b4c1367d9c8400832a5d2050020404ef02 100644 (file)
@@ -42,12 +42,19 @@ class drupal inherits pear {
   }
 
   # Drupal makefile
+  # TODO: remove in the long run
   file { "/usr/share/drupal/drupal.make":
+    ensure  => absent,
+    require => File['/usr/local/share/drupal'],
+  }
+
+  # Drupal makefile
+  file { "/usr/share/drupal/drupal6.make":
     ensure  => present,
     owner   => root,
     group   => root,
     mode    => 755,
-    source  => "puppet:///modules/drupal/drupal.make",
+    source  => "puppet:///modules/drupal/drupal6.make",
     require => File['/usr/local/share/drupal'],
   }
 }