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, } }