search for: a_file_destructor

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

2006 Nov 16
7
Negating or removing classes
...ey with the service. What might be cool are class destructors where if a class with a suffix eg "_destructor" exists then every node that does not include the main class has the destructor run. Something like: class a_file { file { "/a_file": ensure => present } } class a_file_destructor { file { "/a_file": ensure => absent } } node with_a_file { include a_file } node without_a_file { } Matt Collins