Hi Milind,
The critical difference here is that subscribe =>
File[$old_launch_agent_path] does NOT tell Puppet to watch for changes in
that file on disk.
Instead it will run that exec if Puppet itself is managing that resource
and makes changes to that resource. In other words,
File[$old_launch_a
*Background*
Puppet Newbie, trying to maintain some old puppet version on a box. The aim
is to unload an old program using it's old plist file and start new one.
*Problem*
I have following code in .pp file
$old_launch_agent_path =
"${home}/Library/LaunchAgents/com.company.program.plist"