diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-27 14:44:40 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-27 14:44:40 -0200 |
commit | 273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79 (patch) | |
tree | 13ee0efe0a172f35b4e747f00c2d73859580280c /manifests/init.pp | |
parent | 9aae89a4a3ab2fd7e0e95ba683590a23609a736b (diff) | |
download | puppet-drupal-273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79.tar.gz puppet-drupal-273d9ec6d4d3e4969fafa0f6df2e5c6c3fbf4e79.tar.bz2 |
Adding drupal makefile
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 850f253..ceeea07 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -32,4 +32,22 @@ class drupal inherits pear { ensure => present, require => File['/usr/local/sbin/drupal'], } + + # Drupal shared folder + file { "/usr/local/share/drupal": + ensure => directory, + owner => root, + group => root, + mode => 755, + } + + # Drupal makefile + file { "/usr/share/drupal/drupal.make": + ensure => present, + owner => root, + group => root, + mode => 755, + source => "puppet:///modules/drupal/drupal.make", + require => File['/usr/local/share/drupal'], + } } |