Why is Puppet trying to ensure present a file with date appended?
I've got my systems almost completed in Puppetcode. I run puppet agent -t environment <branchname> --noop on an agent, and it gives no errors, so I peel off --noop and now get a bunch of similar errors:
Error: Could not set 'present' on ensure: No such file or directory - /path/to/file/filename.ext20140802-18682-wu50st.lock at 10:/etc/puppetlabs/puppet/environments/branchname/modulename/modulename/manifests/profile/myclass.pp
What's with the date and lock file appended to the name of the file I'm trying to ensure? Suggestions how to fix it would be most appreciated.