Ask Your Question

Revision history [back]

I believe inherits could solve your problem like create a base apache node and inherits for the others

node base-apache {
apache::vhost {"baseapache":
  setenv => ["APP_ENVIRONMENT DEVELOPMENT"],
}
and then use the inherits.
node machinename inherits base-apache {

}

the code wasn't tested , maybe need some adjust.