search for: running_inside_vmware

Displaying 1 result from an estimated 1 matches for "running_inside_vmware".

2007 Feb 06
3
Question on case statements...
...e and went to the facter recipe for VMware. (http://reductivelabs.com/trac/puppet/wiki/IsVmwareGuestRecipe) If you look at the bottom, the author states that they were unable to get case statements to match as a regex. case $macaddress { "00:0C:29:*":{ file{ "/etc/running_inside_vmware": ensure => present } } } Is there a way to do regex matching in a case statement or is this solely the realm of facter? Thanks, --Robert