Tag Info

New answers tagged

2

The allowable syntax for the expansion can be seen in the message_expand function in LimitsOld.pm. As far as I can tell it doesn't implement enough control structures to do what you want. Alternative approach would be to pass the notifications through an intermediary (Nagios for example or a script of your own devising) and apply logic/reformatting there.


0

Full path should be placed in the key name, unless you're using path parameter. For example: file { '/full/path': ensure => directory, recurse => true, } or: file { 'my name': path => "/full/path", ensure => directory, recurse => true, } If you're using variable, make sure it's defined. If it's in different class, use standard ...



Top 50 recent answers are included