Is it possible to use regex to ensure directories are deleted.....

I want to be able to do something like:

file { '/var/directory[1-9]':
  ensure => absent,
}

Would also be nice to use regex to ensure directories are present...

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/ReHmba9K8z0J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to