diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | files/drupal.make | 89 | ||||
-rw-r--r-- | manifests/init.pp | 18 |
3 files changed, 108 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9568ca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*swp diff --git a/files/drupal.make b/files/drupal.make new file mode 100644 index 0000000..b811cfa --- /dev/null +++ b/files/drupal.make @@ -0,0 +1,89 @@ +; +; Standard makefile for puppet-drupal. +; + +; core +core = 6.x +;projects[] = drupal + +; api +api = 2 + +; essential +projects[] = views +projects[] = cck + +; administration +projects[] = admin +projects[] = rubik +projects[] = tao +projects[] = views_bulk_operations +projects[] = util +projects[] = advanced_help + +; development +projects[] = devel +projects[] = coder +projects[] = taxonomy_export +projects[] = variable_dump +projects[] = node_import + +; email +projects[] = simplenews + +; misc +projects[] = activism +projects[] = bueditor +projects[] = cck +projects[] = dhtml_menu +projects[] = flashnode +projects[] = icecast +projects[] = imagefield +projects[] = markdowneditor +projects[] = notify +projects[] = petition_node +projects[] = simplenews +projects[] = swftools +projects[] = taxonomy_menu +projects[] = tribune +projects[] = admin_menu +projects[] = captcha +projects[] = contemplate +projects[] = email +projects[] = flashvideo +projects[] = image +projects[] = jquery_ui +projects[] = mm_exif +projects[] = og +projects[] = poormanscron +projects[] = sitemenu +projects[] = syndication +projects[] = tinymce +projects[] = views +projects[] = advuser +projects[] = captcha_pack +projects[] = ctools +projects[] = fckeditor +projects[] = getid3 +projects[] = imageapi +projects[] = lightbox2 +projects[] = nice_menus +projects[] = pathauto +projects[] = riddler +projects[] = spam +projects[] = tagadelic +projects[] = token +projects[] = wysiwyg +projects[] = audio +projects[] = casetracker +projects[] = date +projects[] = filefield +projects[] = http_request_fail_reset +projects[] = imagecache +projects[] = link +projects[] = nodeaccess +projects[] = petition +projects[] = shoutbox +projects[] = subscriptions +projects[] = taxonomy_block +projects[] = tooltips 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'], + } } |