Hello, I have recently attempted to automatically restart my network interfaces when I update my network configuration files. During this process it seems that one out of every three or so runs will cause the state.yaml file to become corrupt. The next run of puppet will respond with messages similar to "can''t find object :nil". Deleting the state.yaml file and running puppet does fix this problem but I do not know how I would do this on a fully automated remote system. Is there some option in puppet to make it check the state file and delete it if it is corrupted or not able to be parsed? Thank you, -- Rob -- ____________________________________________________________________________________ Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://videogames.yahoo.com/platform?platform=120121 _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Feb 9, 2007, at 9:12 AM, Robert Mombro wrote:> Hello, > > I have recently attempted to automatically restart my network > interfaces when I update my network configuration files. During > this process it seems that one out of every three or so runs will > cause the state.yaml file to become corrupt. The next run of > puppet will respond with messages similar to "can''t find > object :nil". Deleting the state.yaml file and running puppet does > fix this problem but I do not know how I would do this on a fully > automated remote system. > > Is there some option in puppet to make it check the state file and > delete it if it is corrupted or not able to be parsed?That''s actually what it''s supposed to be doing now. The state file is a bad solution anyway, so I''ve been kind of neglecting it, but please file this as a bug. -- You''ve achieved success in your field when you don''t know whether what you''re doing is work or play. -- Warren Beatty --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
Possibly Parallel Threads
- Is there a limit on the size of a template?
- Assistance Requested
- mounting using "xm block-attach" does not work; "special device /dev/xvda1 does not exist." error
- Connect a Skype adapter to TDM400P
- Can Asterisk hear on two IP addresses? And can I do routing for calls from private to public or public to private IP addresses