Hi I have some manifests that pretty much just send config files to a host when a ''service puppet once'' gets run on that client. i have noticed that sometimes the files seem to get truncated so that some of it is missing. Has anyone ever seen this or know why it might occur?? thanks --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 24, 2009, at 2:29 PM, Tom Brown wrote:> > Hi > > I have some manifests that pretty much just send config files to a > host > when a ''service puppet once'' gets run on that client. > > i have noticed that sometimes the files seem to get truncated so that > some of it is missing. Has anyone ever seen this or know why it might > occur??We saw some corrupt files in the 0.24.1 or so timeframe, but I''ve never seen truncated files. Can you provide info on the Puppet release, platform, etc.? -- Neonle will continue to be rude, and will nretend that you had a small stroke which makes you unable to say or see the letter "n". Stunid nractical joke, if you ask me. Bunch of noon-heads, huh? -- Fred Barling, Humorscope --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
> > We saw some corrupt files in the 0.24.1 or so timeframe, but I''ve > never seen truncated files. > > Can you provide info on the Puppet release, platform, etc.? > >$ rpm -qa | grep puppet puppet-0.24.7-4.el4 puppet-server-0.24.7-4.el4 clients are # rpm -qa | grep puppet puppet-0.24.7-4.el5 thanks --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
> $ rpm -qa | grep puppet > puppet-0.24.7-4.el4 > puppet-server-0.24.7-4.el4 > > clients are > > # rpm -qa | grep puppet > puppet-0.24.7-4.el5 > > thanks > >OK the problem seems to be around this SOME_URL = {\ ''URL1'' : ''http://url-1.com'', \ ''URL2'' : ''http://url-2.com/'', \ ''URL3'' : ''http://url-3.com/'', \ ''URL4'' : ''http://url-4.com/'' \ } this gets deployed fine but seemingly a few lines down the configuration that this is part of it gets randomly cut off and truncated. If i remove this all works fine?? Is there anything within the above that looks unusual in some way that could cause puppet to trip up? thanks --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Just out of curiosity, what happens when you ''\'' escape your curly braces? Trevor On Mon, Mar 30, 2009 at 05:20, Tom Brown <tom@ng23.net> wrote:> > >> $ rpm -qa | grep puppet >> puppet-0.24.7-4.el4 >> puppet-server-0.24.7-4.el4 >> >> clients are >> >> # rpm -qa | grep puppet >> puppet-0.24.7-4.el5 >> >> thanks >> >> > > > OK the problem seems to be around this > > SOME_URL = {\ > ''URL1'' : ''http://url-1.com'', \ > ''URL2'' : ''http://url-2.com/'', \ > ''URL3'' : ''http://url-3.com/'', \ > ''URL4'' : ''http://url-4.com/'' \ > } > > > this gets deployed fine but seemingly a few lines down the configuration > that this is part of it gets randomly cut off and truncated. If i remove > this all works fine?? > > Is there anything within the above that looks unusual in some way that > could cause puppet to trip up? > > thanks > > > >--~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
> Just out of curiosity, what happens when you ''\'' escape your curly braces? > >same issue - random truncates although this was highlighted to me http://projects.reductivelabs.com/issues/889 and so although i had the latest ruby for rhel4 i rebuilt the latest src.rpm and got that installed and this issues _appears_ to have gone away. thanks --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 30, 2009, at 4:20 AM, Tom Brown wrote:> > >> $ rpm -qa | grep puppet >> puppet-0.24.7-4.el4 >> puppet-server-0.24.7-4.el4 >> >> clients are >> >> # rpm -qa | grep puppet >> puppet-0.24.7-4.el5 >> >> thanks >> >> > > > OK the problem seems to be around this > > SOME_URL = {\ > ''URL1'' : ''http://url-1.com'', \ > ''URL2'' : ''http://url-2.com/'', \ > ''URL3'' : ''http://url-3.com/'', \ > ''URL4'' : ''http://url-4.com/'' \ > } > > > this gets deployed fine but seemingly a few lines down the > configuration > that this is part of it gets randomly cut off and truncated. If i > remove > this all works fine?? > > Is there anything within the above that looks unusual in some way that > could cause puppet to trip up?It could be that the YAML or Marshal decoder/encoder is getting confused. I would think that YAML is smart enough to be able to handle strings with YAML in them, but, well. Check your source YAML file (the clientconfig.yaml file, I think) and see how it looks. Is your original file complete there? If so, it''s probably an encoding problem, which would be, um, bad. -- Sabbagh''s Second Law: The biggest problem with communication is the illusion that it has occurred. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---