1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
== site == include "classes/*" include "nodes/*" == classes/a == { exec {"touch-foo": } == classes/b == { file {"/etc/config.txt": ensure => "present", content => "somestuff", notify => Exec["touch-foo"], # Could not find dependent Exec["touch-foo"] # notify => a::Exec["touch-foo"], # Syntax error at '::Exec'; expected '}' } } } == host01 == node ""host01" { include a include b } |

