[Puppet Users] Re: $lsbdistcodename stays the same after dist-upgrade
Just in case someone stumbles upon this. The cause is this bug: https://projects.puppetlabs.com/issues/9109 The solution is to update the puppetmaster to =2.7.8. Best regards, Mate 2012. április 18., szerda 14:50:59 UTC+2 időpontban ScOut3R a következőt írta: Dear List, i was running a few natty systems and upgraded one of them to oneiric. Facter shows the right lsbdistcodename, lsbdistrelease, etc. parameters, but when i'm running puppet agent the modules has access to the previous (natty, etc.) values. As i see on puppetmaster in /var/ lib/puppet/yaml/{facts,node} the output from facter and the agent is cached and won't update (even after 24 hours). How could i update these values so my templates will have the right values from the parameters? Best regards, Mate -- 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/-/MRWTOE9IvnUJ. 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.
[Puppet Users] $lsbdistcodename stays the same after dist-upgrade
Dear List, i was running a few natty systems and upgraded one of them to oneiric. Facter shows the right lsbdistcodename, lsbdistrelease, etc. parameters, but when i'm running puppet agent the modules has access to the previous (natty, etc.) values. As i see on puppetmaster in /var/ lib/puppet/yaml/{facts,node} the output from facter and the agent is cached and won't update (even after 24 hours). How could i update these values so my templates will have the right values from the parameters? Best regards, Mate -- 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.
[Puppet Users] pluginsync - custom fact with 0 size
Dear List, i'm running Puppet version 2.7.1 (Natty backport) on both sides. I have a custom fact in [module]/lib/facter/customfact.rb and i have enabled pluginsync on both the server and client side. When i'm running the agent it shows the following output: puppetd --test --noop info: Retrieving plugin notice: /File[/var/lib/puppet/lib/facter/customfact.rb]/content: content changed '{md5}d41d8cd98f00b204e9800998ecf8427e' to '{md5} e57687d165dc489c3738d481583c1062' info: Loading downloaded plugin /var/lib/puppet/lib/facter/ latestkernel.rb info: Loading facts in latestkernel info: Loading facts in latestkernel info: Caching catalog for some.domain.tld info: Applying configuration version '1334569173' notice: /Stage...module stuff notice: Finished catalog run in 1.67 seconds But the plugin on the client is an empty file: ls -l /var/lib/puppet/lib/facter/ total 0 -rw-rw-r-- 1 root root 0 Apr 16 11:43 customfact.rb I've tried to find a solution for this but as you see i'm lost. Do you have any idea what might causing this? Best regards, Mate -- 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.
[Puppet Users] Re: nested variables workaround in templates
Dear Jeff, I'm using Benoit Cattie's nginx module (https://github.com/ BenoitCattie/puppet-nginx) as a base. I've modified it just a bit. Here is the module: http://pastebin.com/peymguuw This is the template: http://pastebin.com/YAxChxKC And this is the node: http://pastebin.com/ndb5g5Ep I'd like to achieve to have more location part in the template with different values. As You can see I'm using subdomains now. Best regards, Mate On Jan 21, 12:07 am, Jeff McCune j...@puppetlabs.com wrote: On Thu, Jan 20, 2011 at 1:52 AM, ScOut3R mailingl...@modernbiztonsag.org wrote: Dear List, I consider myself a newbie and i'd like to ask the gurus how they would approach the problem i'll describe here. I have a template and inside it i'd like to configure more than one identical blocks. My idea was to create a nested hash inside an array but the templating system cannot understand this. The template is generated through a define and a nested define for the blocks is also out of the question if i'm correct. Is there an elegant way to do this? Best regards, Mate Could you post the example of what you tried? This information will help us modify the non-working example into something that does work. -Jeff -- 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.
[Puppet Users] nested variables workaround in templates
Dear List, I consider myself a newbie and i'd like to ask the gurus how they would approach the problem i'll describe here. I have a template and inside it i'd like to configure more than one identical blocks. My idea was to create a nested hash inside an array but the templating system cannot understand this. The template is generated through a define and a nested define for the blocks is also out of the question if i'm correct. Is there an elegant way to do this? Best regards, Mate -- 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.