]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Managing theme makefiles
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 3 Feb 2012 19:14:02 +0000 (17:14 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 3 Feb 2012 19:14:02 +0000 (17:14 -0200)
manifests/init.pp

index aa5578d8b34d71c2b0498d77b615c33c42acd1c3..2ae41010e02b223ab2792f036bc2eef34ce32e62 100644 (file)
@@ -64,4 +64,24 @@ class drupal inherits pear {
     source  => "puppet:///modules/drupal/drupal7.make",
     require => File['/usr/local/share/drupal'],
   }
+
+  # Drupal 6 theme makefile
+  file { "/usr/local/share/drupal/theme6.make":
+    ensure  => present,
+    owner   => root,
+    group   => root,
+    mode    => 644,
+    source  => "puppet:///modules/drupal/theme6.make",
+    require => File['/usr/local/share/drupal'],
+  }
+
+  # Drupal 7 theme makefile
+  file { "/usr/local/share/drupal/theme7.make":
+    ensure  => present,
+    owner   => root,
+    group   => root,
+    mode    => 644,
+    source  => "puppet:///modules/drupal/theme7.make",
+    require => File['/usr/local/share/drupal'],
+  }
 }