example42 / puppet-apache

Apache Puppet Module
http://www.example42.com
Other
41 stars 79 forks source link

Removing the symlink when $enable = absent #71

Closed lieutdan13 closed 10 years ago

lieutdan13 commented 10 years ago

When $enable = absent in vhost (which is a valid option in the class), puppet complains about not having a matching value in the selector. Whether $enable = false or absent, the symlink should be removed.

lieutdan13 commented 10 years ago

@example42 Without this fix, having $apache::vhost::enable = absent results in an error: "No matching value for selector param 'absent' at /etc/puppet/modules/apache/manifests/vhost.pp:241"