package { "drupal6": ensure => present }
Looks like Drupal 6 is in universe for Ubuntu 10 already. That's better than installing PHP from source yourself. I'm guessing they already patched around the minor issues with Drupal 6 on PHP 5.3.
From looking at the dependencies, I'd decide if I wanted mysql or postgresql and do one of:
package {
"php5-mysql":
ensure => present;
"mysql-client":
ensure => present;
"drupal6":
ensure => present,
require => [
Package["php5-mysql"],
Package["mysql-client"]
];
}
Or:
package {
"php5-pgsql":
ensure => present;
"postgresql-client":
ensure => present;
"drupal6":
ensure => present,
require => [
Package["php5-pgsql"],
Package["postgresql-client"]
];
}
Otherwise the "or" dependencies could pull in the wrong database library stuff. You may also want the appropriate database server stuff, additional php5 components and various drupal modules, of course ...