This should get reported as a bug though. We should probably only accept absolute paths for the 'path' parameter, and "false" should get interpreted as the boolean.
On Tue, Apr 24, 2012 at 6:38 AM, Peter Bukowinski <pmb...@gmail.com> wrote: > Glad you got it sorted. You've discovered the importance of quoting and > *not* quoting. The best practice is to single quote any string that does > not contain a variable. If you're using a variable, use double quotes so it > gets interpreted properly. Quotes should *not* be used around any of > puppet's native values, e.g. true/running, false/stopped, present, absent, > file, directory, link latest, absent, purged, etc. > > -- > Peter > > On Apr 24, 2012, at 9:21 AM, Sans wrote: > > Thanks Peter! Got it now! > > You were absolutely right - I had *path => 'false' *for filebucket (in > the site.pp). > But I thought, Puppet recommends to quote around everything (apart from > variables). That's not true, I see. Cheers!! > > > > On Tuesday, April 24, 2012 2:12:02 PM UTC+1, Sans wrote: >> >> I don't know what exactly you mean: I don't have any path defined with >> "false" in it. >> Just figured out that whenever the content of a file is being modified, >> the "*false*" directory is being created with the old file (as >> "content") in it. So, looks like it's actually not modifying the file (in >> question) at all but replacing with the new one and keeping the old (i.e. >> original) one in the "*false*" directory. Am I making any sense here at >> all? Cheers!! >> >> >> >> >> On Tuesday, April 24, 2012 1:39:16 PM UTC+1, pmbuko wrote: >>> >>> Looks like you have an error in your filebucket definition. Did you, >>> perhaps, put quotes around "false" when you defined the path? >>> >>> -- Peter >>> >>> On Apr 24, 2012, at 8:13 AM, Sans <r.santanu....@gmail.com> wrote: >>> >>> Dear all, >>> >>> Since last night, Puppet is started creating a directory, named *false*in >>> the present working directory, if I run >>> *puppetd -t* manually on the puppet agent. The directory contents are >>> like this: >>> >>> 8/3/e/5/8/6/5/9/**83e586594432759eb7aed007e888a1**72/contents >>>> 8/3/e/5/8/6/5/9/**83e586594432759eb7aed007e888a1**72/path >>>> >>> >>> >>> does any one know what are these and why they are being created? >>> Cheers!! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Puppet Users" group. >>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/puppet-users/-/**nKerekDGmcoJ<https://groups.google.com/d/msg/puppet-users/-/nKerekDGmcoJ> >>> . >>> To post to this group, send email to puppet-users@googlegroups.com. >>> To unsubscribe from this group, send email to puppet-users+unsubscribe@* >>> *googlegroups.com <puppet-users+unsubscr...@googlegroups.com>. >>> For more options, visit this group at http://groups.google.com/** >>> group/puppet-users?hl=en<http://groups.google.com/group/puppet-users?hl=en> >>> . >>> >>> > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/puppet-users/-/M9LXUDvJXtYJ. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > > -- > Peter > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.