On Tuesday, December 9, 2014 3:04:39 PM UTC-6, chris smith wrote: > > Just posting a follow up. > > On 04/12/14 01:31, jcbollinger wrote: > > Or if you have multiple environments defined, and for some reason the > > affected server is occasionally assigned to the wrong one, then you > > might get a different declaration. There are many other possibilities. > > This was the case. I had other environments where it was declared as > just 'present' rather than 'file' and it was switching to one of those. > Since I've updated the other environments, it hasn't happened again. > > Thanks for the help and ideas. > >
Thanks for the followup. This is still strange, however: ensuring 'present' should never modify a file or directory that is in fact initially present. It certainly should not convert a file to a directory, for if neither file nor directory nor symlink is initially present, then ensuring 'present' creates an empty *file*. In any case, I'm glad the issue is resolved. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/2795d824-ceb0-4fa9-98ee-387b98af3c37%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.