n.b.: I copied this from puppetlabs/apache - so you may want to apply the same kind of scrutiny to that module ;)