]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Drupal 7 makefile
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 4 Feb 2011 21:50:12 +0000 (19:50 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 4 Feb 2011 21:50:12 +0000 (19:50 -0200)
manifests/init.pp

index 5ddd1c968a67e228fb2bad1e4136a641bd6ead6b..176b352971ef8a99262a604fd4e9a2c80e6491a1 100644 (file)
@@ -41,7 +41,7 @@ class drupal inherits pear {
     mode    => 755,
   }
 
-  # Drupal makefile
+  # Drupal makefile
   file { "/usr/local/share/drupal/drupal6.make":
     ensure  => present,
     owner   => root,
@@ -50,4 +50,14 @@ class drupal inherits pear {
     source  => "puppet:///modules/drupal/drupal6.make",
     require => File['/usr/local/share/drupal'],
   }
+
+  # Drupal 7 makefile
+  file { "/usr/local/share/drupal/drupal7.make":
+    ensure  => present,
+    owner   => root,
+    group   => root,
+    mode    => 644,
+    source  => "puppet:///modules/drupal/drupal7.make",
+    require => File['/usr/local/share/drupal'],
+  }
 }