Let's say I have a conditional like:
exec { "run this command":
unless => "test -f /var/run/somefile",
...
}
When the puppet master compiles the catalog for the agent, is the conditional evaluated by the master or the agent?
That is -- does the master tell the agent "run this command unless this value is true", or does the master say "hey agent, is the value true?" and the agent says "yes" so the master doesn't tell it about the command.
↧