Ivan Lysov
2014-May-10 14:18 UTC
Re: [Puppet Users] Abridged summary of puppet-users@googlegroups.com - 34 updates in 12 topics
\\ On May 9, 2014 3:13 PM, <puppet-users@googlegroups.com> wrote:> Today's topic summary > > Group: http://groups.google.com/group/puppet-users/topics > > - Error 400 on SERVER: no 'environments' in > {:root_environment=>#<Puppet::Node::Environment:0x7f784c700668 > @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", > @modulepath=[]> <#145e0b01e6cda58e_group_thread_0> [5 Updates] > - Serious performance issues with Puppet 3.5.x when using Directory > Environments <#145e0b01e6cda58e_group_thread_1> [1 Update] > - using ruby dsl in puppet manifest <#145e0b01e6cda58e_group_thread_2>[4 Updates] > - SSL error connecting to https://forge.puppetlab.com on fresh install<#145e0b01e6cda58e_group_thread_3>[3 Updates] > - augeas for setting URIEncoding variable in tomcat, server.xml file.<#145e0b01e6cda58e_group_thread_4>[3 Updates] > - http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm<#145e0b01e6cda58e_group_thread_5>[2 Updates] > - Hiera.yaml not interpolate variables<#145e0b01e6cda58e_group_thread_6>[4 Updates] > - "puppet apply --noop -e" and overiding facter values for testing<#145e0b01e6cda58e_group_thread_7>[1 Update] > - rspec testing and viewing the catalogue it is testing<#145e0b01e6cda58e_group_thread_8>[2 Updates] > - "locking" puppet runs <#145e0b01e6cda58e_group_thread_9> [3 Updates] > - Puppetdb 2 does not startup <#145e0b01e6cda58e_group_thread_10> [4 > Updates] > - package resource with pkgutil can not resolv dependencies<#145e0b01e6cda58e_group_thread_11>[2 Updates] > > Error 400 on SERVER: no 'environments' in > {:root_environment=>#<Puppet::Node::Environment:0x7f784c700668 > @name=:"*root*", @manifest="/usr/share/puppet/rack/puppetmasterd", > @modulepath=[]><http://groups.google.com/group/puppet-users/t/c6aeedfcb4375d27> > > Luca Mazzaferro <luca.mazzaferro@gmail.com> May 08 08:38AM -0700 > > Hi to Everybody, > I'm working with puppet since some months. > I'm managing a medium environment with some hundreds of nodes. > > I installed passenger and everything worked fine following this ...more<http://groups.google.com/group/puppet-users/msg/18e7e9c20b295fc7> > > Back to top <#145e0b01e6cda58e_digest_top> > > > twm139@gmail.com May 08 11:03AM -0700 > > I have this exact same problem with a fresh install and passenger. I > am > kinda happy someone else has seen this issue, though I wish I knew why > it > was. > > ]# curl -k -H ...more<http://groups.google.com/group/puppet-users/msg/1a1da7e0b812adab> > > Back to top <#145e0b01e6cda58e_digest_top> > > > twm139@gmail.com May 08 11:45AM -0700 > > Check your config.ru and make sure it is correct and in the right > location. > I had an old one from Foreman there and that was breaking the system > apparently. > ...more<http://groups.google.com/group/puppet-users/msg/a292af4005dc9640> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Luca Mazzaferro <luca.mazzaferro@gmail.com> May 09 12:51AM -0700 > > Hi, > thank you for this suggestion. > Probably you are right, indeed; the problem should be there. > Actually the Puppet-Passenger system is working again what I did on my > SL6 > is: > ...more<http://groups.google.com/group/puppet-users/msg/89c36d3abcf195bb> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Luca Mazzaferro <luca.mazzaferro@gmail.com> May 09 02:27AM -0700 > > Hi again, > problem solved. > I re-installed also the puppet-dashboard following official > information > here: > > > http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-from-git > ...more<http://groups.google.com/group/puppet-users/msg/9967ba3e649dc88> > > Back to top <#145e0b01e6cda58e_digest_top> > > Serious performance issues with Puppet 3.5.x when using Directory > Environments<http://groups.google.com/group/puppet-users/t/c33cbc34f59abaee> > > Antoine Cotten <tonio.cotten@gmail.com> May 09 01:56AM -0700 > > Hi Josh, > > I will test it today and tell you what I observe. > > Regarding performances: > > - the increase in CPU consumption is hard to quantify precisely. I can > only tell the load average ...more<http://groups.google.com/group/puppet-users/msg/daaa1e1ad7b00217> > > Back to top <#145e0b01e6cda58e_digest_top> > > using ruby dsl in puppet manifest<http://groups.google.com/group/puppet-users/t/de50f5b42859409c> > > Ritesh Nanda <riteshnanda09@gmail.com> May 08 10:03AM -0700 > > Hello , > > I would like to use ruby dsl in my manifest . Online doc for this > topic is > very limited , i am stuck at a place where i want to use ruby DIr > class to > find a particular file in a ...more<http://groups.google.com/group/puppet-users/msg/20a39f3fa4fc0a10> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Henrik Lindberg <henrik.lindberg@cloudsmith.com> May 08 07:16PM +0200 > > On 2014-08-05 19:03, Ritesh Nanda wrote: > > class to find a particular file in a directory and then run > operation on > > it . > > Is it possible to use ruby dsl for puppet in this way. > ...more<http://groups.google.com/group/puppet-users/msg/dff256326844c34f> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Ritesh Nanda <riteshnanda09@gmail.com> May 08 11:36AM -0600 > > Thanks Henrik , > > I would like to find a file and parse it , so that would be on the > agent > , creating a puppet function would not work , as master will not be > able > to access those files. ...more<http://groups.google.com/group/puppet-users/msg/1a9abd233663bfbe> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Henrik Lindberg <henrik.lindberg@cloudsmith.com> May 09 03:17AM +0200 > > On 2014-08-05 19:36, Ritesh Nanda wrote: > > You said Can be done with Resources , how can i include a ruby block > in > > my manifest , i know using exec resource i can run a ruby script , > but ...more<http://groups.google.com/group/puppet-users/msg/1fcaf4ae9aa29094> > > Back to top <#145e0b01e6cda58e_digest_top> > > SSL error connecting to https://forge.puppetlab.com on fresh install<http://groups.google.com/group/puppet-users/t/29b3a77039e2b153> > > Patrick Auld <patrick@patrickauld.com> May 08 12:50PM -0700 > > I installed Puppet 3.5.1 on Windows 7 from the MSI. I've run a few > 'puppet > apply' commands and things appear to be working. We are not using a > master > node for our current use case so I haven't set ...more<http://groups.google.com/group/puppet-users/msg/2cecaead14daf31d> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Josh Cooper <josh@puppetlabs.com> May 08 04:32PM -0700 > > Hi Patrick, > > ...more<http://groups.google.com/group/puppet-users/msg/b2fe66e40f1e4b83> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Patrick Auld <patrick@patrickauld.com> May 08 05:16PM -0700 > > That did it. Thanks for the quick reply. > > On Thursday, May 8, 2014 4:32:57 PM UTC-7, Josh Cooper wrote: > ...more<http://groups.google.com/group/puppet-users/msg/5759669686425fb6> > > Back to top <#145e0b01e6cda58e_digest_top> > > augeas for setting URIEncoding variable in tomcat, server.xml file.<http://groups.google.com/group/puppet-users/t/f61e498d66693983> > > Kenton Brede <kbrede@gmail.com> May 08 11:25AM -0500 > > Try something like this: > > augeas { 'update_server.xml': > lens => 'Xml.lns', > context => ...more<http://groups.google.com/group/puppet-users/msg/1308ef1b10ee6399> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Pradeep Reddy <pradeep.narsing@gmail.com> May 08 06:29PM +0200 > > Thx Kent. > ...more<http://groups.google.com/group/puppet-users/msg/8bbbe7b003d88e40> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Kenton Brede <kbrede@gmail.com> May 08 11:52AM -0500 > > And that's not going to work so hot because you're going to keep > getting > this on every run: > > Error: /Stage[main]/Test_module/Augeas[update_server.xml]: Could not > evaluate: Saving failed, see debug ...more<http://groups.google.com/group/puppet-users/msg/80166fae89a3b31f> > > Back to top <#145e0b01e6cda58e_digest_top> > > http://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm<http://groups.google.com/group/puppet-users/t/d55b2142c6fb5eea> > > jcbollinger <John.Bollinger@stJude.org> May 08 06:39AM -0700 > > On Wednesday, May 7, 2014 6:19:57 PM UTC-5, Colin Leavett-Brown wrote: > > results in "Error: Could not find class mysql::python". Apparently, > this > > manifest has been moved to a subdirectory ...more<http://groups.google.com/group/puppet-users/msg/6bedabf4c68f84ca> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Colin Leavett-Brown <colin.leavettbrown@gmail.com> May 08 09:25AM > -0700 > > Hi John, That makes complete sense, and thank you. I had scripted the > install of the repository and modules and forgot the important parts > of the > script, namely: > > wget -O /tmp/havana.zip ...more<http://groups.google.com/group/puppet-users/msg/81cbb7aae5ba8d14> > > Back to top <#145e0b01e6cda58e_digest_top> > > Hiera.yaml not interpolate variables<http://groups.google.com/group/puppet-users/t/deeb7406e9ed502> > > Israel Calvete <icalvete@gmail.com> May 08 08:21AM -0700 > > Hi, > > This is my hiera config. > > *---* > *:backends: - yaml* > *:hierarchy: - %{::environment}* > * - common* > *:yaml:* > * :datadir: ...more<http://groups.google.com/group/puppet-users/msg/8aa9511a137291d7> > > Back to top <#145e0b01e6cda58e_digest_top> > > > "Brendan O'Bra" <brendan@obrafamily.org> May 08 09:15AM -0700 > > Where is your hiera.yaml located? Default for puppet is > /etc/puppet/hiera.yaml > > > > -- > GVoice: 707.410.0371 > LinkedIn: http://www.linkedin.com/in/brendanobra > ...more<http://groups.google.com/group/puppet-users/msg/2ca6c12a0202d331> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Israel Calvete <icalvete@gmail.com> May 08 09:21AM -0700 > > Yes, hiera file is in /etc/puppet/hiera.yaml > > On Thursday, May 8, 2014 6:15:34 PM UTC+2, Brendan O'Bra wrote: > ...more<http://groups.google.com/group/puppet-users/msg/a9c702ab4b383c64> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Jeff Adams <jeff.adams@bancvue.com> May 08 11:23AM -0500 > > Pretty sure I ran across this same issue. Try pulling the :: out of > the > variable name. e.g. %{environment} > > - Jeff > > On 05/08/2014 11:21 AM, Israel Calvete wrote: > ...more<http://groups.google.com/group/puppet-users/msg/f80615c00bc39059> > > Back to top <#145e0b01e6cda58e_digest_top> > > "puppet apply --noop -e" and overiding facter values for testing<http://groups.google.com/group/puppet-users/t/250f4cd04b042ff3> > > "José Luis Ledesma" <joseluis.ledesma@gmail.com> May 08 04:54PM +0200 > > Hi Peter, > > I have been following this thread, but I always readed it with the > mobile, so sorry for the late answer. The solution is: > > # sh -c "$(cat test_values | tr '\n' ' ' ) puppet apply ...more<http://groups.google.com/group/puppet-users/msg/aaeeb525065b8496> > > Back to top <#145e0b01e6cda58e_digest_top> > > rspec testing and viewing the catalogue it is testing<http://groups.google.com/group/puppet-users/t/621dad188e0d0d3a> > > choffee <choffee@gmail.com> May 08 07:33AM -0700 > > That seems to be it. Thanks. I thought I had tried that yesterday but > it > gave no more output. > > john > On Wednesday, 7 May 2014 23:21:06 UTC+1, denmat wrote: > ...more<http://groups.google.com/group/puppet-users/msg/7968003fd8a9ef46> > > Back to top <#145e0b01e6cda58e_digest_top> > > > choffee <choffee@gmail.com> May 08 07:44AM -0700 > > Hi Felix, > > I think I have this sorted now with the log level stuff that denmat > suggested. > > Basically it was a typo in my test but my point was I could not get to > see the catalogue that my test ...more<http://groups.google.com/group/puppet-users/msg/ea69a7f77753637d> > > Back to top <#145e0b01e6cda58e_digest_top> > > "locking" puppet runs<http://groups.google.com/group/puppet-users/t/2c2efccacb9e10e3> > > Jonathan Gazeley <Jonathan.Gazeley@bristol.ac.uk> May 08 02:34PM +0100 > > > We run our puppet agents as daemons with runinterval set to 30m. This > works fine for the mostpart, but recently we took on three MariaDB > Galera cluster nodes. In order for the cluster to survive, ...more<http://groups.google.com/group/puppet-users/msg/6b2dd2b280135582> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Felix Frank <felix.frank@alumni.tu-berlin.de> May 08 03:40PM +0200 > > On 05/08/2014 03:34 PM, Jonathan Gazeley wrote: > > ideas from you all :) > > > Cheers, > > Jonathan > > Hi, > > for this and other reasons, I have found cron to be more powerful than > the background ...more<http://groups.google.com/group/puppet-users/msg/d88e3cf9eaf5b7e8> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Dirk Heinrichs <dhs@recommind.com> May 08 03:58PM +0200 > > Am 08.05.2014 15:34, schrieb Jonathan Gazeley: > > > to each of the nodes and forcing a puppet run, and breaking the > cluster. > > > Has anyone done anything like this before? Hope to have some ...more<http://groups.google.com/group/puppet-users/msg/b76b55c40b1122e> > > Back to top <#145e0b01e6cda58e_digest_top> > > Puppetdb 2 does not startup<http://groups.google.com/group/puppet-users/t/ceae21f5e67b7eb5> > > Brent Clark <brentgclarklist@gmail.com> May 08 02:42PM +0200 > > Hiya > > I was forced to downgrade my puppetdb as version 2 was giving the the > following: > Anyone have a clue as to what is going wrong? > > root@puppet01 /etc/puppet # puppetdb foreground ...more<http://groups.google.com/group/puppet-users/msg/df824457f957805> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Ryan Senior <ryan.senior@puppetlabs.com> May 08 07:46AM -0500 > > Hi Brent, > > Check the release notes here: > > https://github.com/puppetlabs/puppetdb/blob/stable/documentation/release_notes.markdown > . > We've changed the log file config location, which I think is the > ...more<http://groups.google.com/group/puppet-users/msg/aff97f95bf322ad6> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Ken Barber <ken@puppetlabs.com> May 08 01:46PM +0100 > > Take a look at this ticket for the full explanation: > > https://tickets.puppetlabs.com/browse/PDB-656 > > But basically its because your package manager didn't update your > config.ini forcefully - ...more<http://groups.google.com/group/puppet-users/msg/535e4bfc670e869c> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Brent Clark <brentgclarklist@gmail.com> May 08 03:15PM +0200 > > Good days Guys > > Thank you *ever* so much. > > The issue is resolved. > > Kind Regards > Brent Clark > > On 08/05/2014 14:46, Ryan Senior wrote: > ...more<http://groups.google.com/group/puppet-users/msg/dd78a0413de5966> > > Back to top <#145e0b01e6cda58e_digest_top> > > package resource with pkgutil can not resolv dependencies<http://groups.google.com/group/puppet-users/t/3c9f2ba57bf3cef5> > > Frederik Wagner <fnerdwq@gmail.com> May 08 01:56PM +0200 > > Hi Andreas, > > the 'pkgutil' provider does not support the 'install_options' > Parameter. > > So it 's not a problem of puppet here but about the underlying pkgutil > configuration. The -N option is ...more<http://groups.google.com/group/puppet-users/msg/ea45e7364d75c74d> > > Back to top <#145e0b01e6cda58e_digest_top> > > > Andreas Dvorak <andreas.dvorak@gmail.com> May 08 05:35AM -0700 > > Hi Frederik, > > my solution is to install all packages separatly. > This time is was not to much work, but with a package with more > dependencies is is bad. > > Best regards, > Andreas > ...more<http://groups.google.com/group/puppet-users/msg/3962753058a7f578> > > Back to top <#145e0b01e6cda58e_digest_top> > > -- > 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+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/20cf301af8b7aef84104f8f5af9d%40google.com<https://groups.google.com/d/msgid/puppet-users/20cf301af8b7aef84104f8f5af9d%40google.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. >-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFsEXtbiY8AoPnRymLNbekiGZqw-3Vnt%3DtWRwS0VCx8RjAZh3w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.