aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
blob: 1a8334a1dbc31293ab25239e8e7ea3b9251c8eb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class drupal inherits pear {
  # We use drupal source from upstream 
  package { "drupal6":
      ensure => absent,
  }

  # Drupal shell
  package { "drush":
      ensure => installed,
  }

  # Drupal management script
  file { "/usr/local/sbin/drupal":
    ensure  => present,
    content => template('drupal/drupal.sh.erb'),
    owner   => root,
    group   => root,
    mode    => 755,
  }
}