<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/puppet-dev</id>
  <title type="text">Puppet Developers Google Group</title>
  <subtitle type="text">
  Discussion of Puppet Development
  </subtitle>
  <link href="/group/puppet-dev/feed/atom_v1_0_msgs.xml" rel="self" title="Puppet Developers feed"/>
  <updated>2013-05-23T18:08:29Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Thomas Eichberger</name>
  <email>thomas.eichber...@gmail.com</email>
  </author>
  <updated>2013-05-23T10:32:12Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/1f5892f8af797241?show_docid=1f5892f8af797241</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/1f5892f8af797241?show_docid=1f5892f8af797241"/>
  <title type="text">Re: Announce: Puppet 3.2.1 Available</title>
  <summary type="html" xml:space="preserve">
  I like the new features in 3.2.1 very much. &lt;br&gt; &lt;p&gt;My suggestion for the lambda syntax is: &lt;br&gt; &lt;p&gt;*# Alternative 1: Parameters are inside the lambda block. [1,2,3].each { &lt;br&gt; &lt;p&gt;Then it&#39;s more like Ruby.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andy Parker</name>
  <email>a...@puppetlabs.com</email>
  </author>
  <updated>2013-05-23T18:08:29Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/a177fe92fb8e8775?show_docid=a177fe92fb8e8775</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/a177fe92fb8e8775?show_docid=a177fe92fb8e8775"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  Thanks for tracking it down to that. Charlie and I traced it a bit further &lt;br&gt; and found that inside webrick it loads webrick/config.rb which sets up a &lt;br&gt; hash that contains the servername that is determined by calling &lt;br&gt; WEBrick::Util.getservername which does these reverse lookups. That explains &lt;br&gt; the mystery of simply loading some code causing a DNS lookup to occur.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthaus Owens</name>
  <email>matth...@puppetlabs.com</email>
  </author>
  <updated>2013-05-23T00:08:42Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/3f96ea15cd3b59bf?show_docid=3f96ea15cd3b59bf</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/3f96ea15cd3b59bf?show_docid=3f96ea15cd3b59bf"/>
  <title type="text">Re: Announce: Puppet 3.2.1 Available</title>
  <summary type="html" xml:space="preserve">
  I neglected to mention in the announcement email, to support the &lt;br&gt; &amp;quot;Future&amp;quot; parser, we have added dependencies on ruby-rgen to our puppet &lt;br&gt; packages that support dependency resolution (gem, deb, rpm). It is &lt;br&gt; available as a gem &lt;br&gt; on rubygems.org and packaged as a library in our apt and yum &lt;br&gt; dependencies repos.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wil Cooley</name>
  <email>wcoo...@nakedape.cc</email>
  </author>
  <updated>2013-05-22T23:56:56Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/df4c38c3123a298b?show_docid=df4c38c3123a298b</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/df4c38c3123a298b?show_docid=df4c38c3123a298b"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  On Wed, May 22, 2013 at 10:10 AM, Charlie Sharpsteen &lt;br&gt; &lt;p&gt;Regardless of which state /etc/hosts is in, it always returns the &lt;br&gt; short name: &amp;quot;coolair&amp;quot;. &lt;br&gt; &lt;p&gt;Wil
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthaus Owens</name>
  <email>matth...@puppetlabs.com</email>
  </author>
  <updated>2013-05-22T23:30:48Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/a2cb371a77bdec39?show_docid=a2cb371a77bdec39</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/a2cb371a77bdec39?show_docid=a2cb371a77bdec39"/>
  <title type="text">Re: [Puppet Users] Re: Announce: Puppet 3.2.1 Available</title>
  <summary type="html" xml:space="preserve">
  Matt, &lt;br&gt; What platform are you on? Are you using a cache of some sort in front &lt;br&gt; of apt? We haven&#39;t been able to reproduce this problem. &lt;br&gt; &lt;p&gt;-- &lt;br&gt; Matthaus Owens &lt;br&gt; Release Manager, Puppet Labs &lt;br&gt; &lt;p&gt;Join us at PuppetConf 2013, August 22-23 in San Francisco - &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://bit.ly/pupconf13&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Register now and take advantage of the Early Bird discount - save 25%!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Chris Price</name>
  <email>ch...@puppetlabs.com</email>
  </author>
  <updated>2013-05-22T23:23:54Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/e8c9275f90e424e1/6c3a52c9335aebe3?show_docid=6c3a52c9335aebe3</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/e8c9275f90e424e1/6c3a52c9335aebe3?show_docid=6c3a52c9335aebe3"/>
  <title type="text">Announce: PuppetDB 1.3.1 Available</title>
  <summary type="html" xml:space="preserve">
  PuppetDB 1.3.1 is now available for download! This is a bug-fix release &lt;br&gt; for the 1.3 series of PuppetDB. &lt;br&gt; &lt;p&gt;============= &lt;br&gt; ============= &lt;br&gt; &lt;p&gt;Available in native package format at: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://yum.puppetlabs.com&quot;&gt;[link]&lt;/a&gt; and &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://apt.puppetlabs.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Puppet module: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://forge.puppetlabs.com/puppetlabs/puppetdb&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Matthaus Owens</name>
  <email>matth...@puppetlabs.com</email>
  </author>
  <updated>2013-05-22T19:54:00Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/6720bfe85f3f9c57?show_docid=6720bfe85f3f9c57</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/ede2b642cdd700b5/6720bfe85f3f9c57?show_docid=6720bfe85f3f9c57"/>
  <title type="text">Announce: Puppet 3.2.1 Available</title>
  <summary type="html" xml:space="preserve">
  Puppet 3.2.1 is a bugfix release for the 3.x series of Puppet. &lt;br&gt; &lt;p&gt;This release addresses two major issues that were uncovered in 3.2.0 &lt;br&gt; and caused us to pull that release (#20726 and #20742). It also &lt;br&gt; includes a fix for Solaris support (#19760). &lt;br&gt; &lt;p&gt;Downloads are available at: &lt;br&gt; * Source &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://downloads.puppetlabs.com/puppet/puppet-3.2.1.tar.gz&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Charlie Sharpsteen</name>
  <email>ch...@puppetlabs.com</email>
  </author>
  <updated>2013-05-22T17:10:44Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/c570dbf4897c9ac7?show_docid=c570dbf4897c9ac7</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/c570dbf4897c9ac7?show_docid=c570dbf4897c9ac7"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  Thanks a bunch for the info Wil! One additional question: What is the &lt;br&gt; hostname that Ruby is using to perform the lookup? I.E., what is the return &lt;br&gt; value of: &lt;br&gt; ruby -rsocket -e &#39;puts Socket.gethostname&#39; &lt;br&gt; -Charlie
  </summary>
  </entry>
  <entry>
  <author>
  <name>Josh Cooper</name>
  <email>j...@puppetlabs.com</email>
  </author>
  <updated>2013-05-22T16:53:49Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/89b17ae39804f2e7?show_docid=89b17ae39804f2e7</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/89b17ae39804f2e7?show_docid=89b17ae39804f2e7"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  I agree this should be restricted to code paths that actually use webrick &lt;br&gt; &lt;p&gt;In the case of the windows-specific monkey patches for openssl, there is no &lt;br&gt; difference putting them in lib/puppet/util/monkey_patches .rb or &lt;br&gt; lib/puppet/util/windows.rb, as both are always loaded via require &#39;puppet&#39;.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Brice Figureau</name>
  <email>brice-pup...@daysofwonder.com</email>
  </author>
  <updated>2013-05-22T13:28:29Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/ae514bd9650e46c9?show_docid=ae514bd9650e46c9</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/ae514bd9650e46c9?show_docid=ae514bd9650e46c9"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  [snip] &lt;br&gt; &lt;p&gt;Yes, I concur that it&#39;s a bad thing to load webrick on a command-line &lt;br&gt; puppet (or even the agent if it doesn&#39;t listen). Those monkey patches &lt;br&gt; should be splitted depending on the puppet use case. &lt;br&gt; &lt;p&gt;I suggest you file a redmine ticket about this issue (and I&#39;m sure &lt;br&gt; you&#39;ll certainly won&#39;t be the first to be hit by this dns resolution
  </summary>
  </entry>
  <entry>
  <author>
  <name>JE Fritz</name>
  <email>fr...@vcu.edu</email>
  </author>
  <updated>2013-05-22T00:49:26Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/641e142333386c48/35024406782cba48?show_docid=35024406782cba48</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/641e142333386c48/35024406782cba48?show_docid=35024406782cba48"/>
  <title type="text">Re: [Puppet-dev] Is Puppet::Provider::Package#query required?</title>
  <summary type="html" xml:space="preserve">
  Ah! Thanks. I&#39;d missed that query call. (After a fair amount of looking, &lt;br&gt; too! But, for that file, only with eyeballs, not grep. Ah well.) &lt;br&gt; &lt;p&gt;-Fritz
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wil Cooley</name>
  <email>wcoo...@nakedape.cc</email>
  </author>
  <updated>2013-05-21T22:03:28Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/f38860ace60c99e3?show_docid=f38860ace60c99e3</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/f38860ace60c99e3?show_docid=f38860ace60c99e3"/>
  <title type="text">Re: [Puppet-dev] Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  On Tue, May 21, 2013 at 9:53 AM, Charlie Sharpsteen &lt;br&gt; &lt;p&gt;Sure; in my /etc/hosts I had the following for my host-only vbox net: &lt;br&gt; &lt;p&gt;192.168.56.1 coolair.local coolair &lt;br&gt; &lt;p&gt;With that in place: &lt;br&gt; &lt;p&gt;$ time ruby -rsocket -e &amp;quot;Socket.gethostbyname(Socket.g ethostname)&amp;quot; &lt;br&gt; real 0m10.013s &lt;br&gt; &lt;p&gt;And when I change it to:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Adrien Thebo</name>
  <email>adr...@puppetlabs.com</email>
  </author>
  <updated>2013-05-21T17:38:41Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/641e142333386c48/89d07918ac8d3c78?show_docid=89d07918ac8d3c78</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/641e142333386c48/89d07918ac8d3c78?show_docid=89d07918ac8d3c78"/>
  <title type="text">Re: [Puppet-dev] Is Puppet::Provider::Package#query required?</title>
  <summary type="html" xml:space="preserve">
  It looks like PackageProvider#query is being called in the #properties &lt;br&gt; method at ( &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package.rb#L19&quot;&gt;[link]&lt;/a&gt;). &lt;br&gt; I deleted that method and ran the specs to see what blows up: &lt;br&gt; &lt;p&gt; 1) Package provider gem should be able to get a list of existing packages
  </summary>
  </entry>
  <entry>
  <author>
  <name>Charlie Sharpsteen</name>
  <email>ch...@puppetlabs.com</email>
  </author>
  <updated>2013-05-21T16:53:46Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/8de146bb88e61068?show_docid=8de146bb88e61068</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/8de146bb88e61068?show_docid=8de146bb88e61068"/>
  <title type="text">Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  Hi Wil, &lt;br&gt; Could you provide a bit more information on what the entry in your &lt;br&gt; /etc/hosts file looked like? It would be interesting to reproduce this &lt;br&gt; behavior and see if everything is functioning as intended. &lt;br&gt; Thanks! &lt;br&gt; -Charlie
  </summary>
  </entry>
  <entry>
  <author>
  <name>Wil Cooley</name>
  <email>wcoo...@nakedape.cc</email>
  </author>
  <updated>2013-05-21T06:21:48Z</updated>
  <id>http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/e5e3ba3845397df5?show_docid=e5e3ba3845397df5</id>
  <link href="http://groups.google.com/group/puppet-dev/browse_thread/thread/cf4f4d924d7cb511/e5e3ba3845397df5?show_docid=e5e3ba3845397df5"/>
  <title type="text">Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
  <summary type="html" xml:space="preserve">
  After realizing that even &#39;puppet --version&#39; took ~10s, I ran the ruby &lt;br&gt; profiler, noticed there were differences in the number of calls, extracted &lt;br&gt; &amp;amp; diff&#39;d those, noticed the addition of Socket#gethostbyname and &lt;br&gt; Socket#gethostname. Eventually I noticed that my /etc/hosts had &lt;br&gt; myhostname.local instead of just myhostname which (I presume) was causing a
  </summary>
  </entry>
</feed>
