<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.sysutils.puppet.devel">
    <title>gmane.comp.sysutils.puppet.devel</title>
    <link>http://blog.gmane.org/gmane.comp.sysutils.puppet.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24103"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24102"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24100"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24099"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24097"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24096"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24095"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24094"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24093"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24091"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24090"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24089"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24088"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24087"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24086"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24085"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24084"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24083"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24082"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24081"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24103">
    <title>Re: Performance regression between 3.2.1-rc1 and 3.1.1?</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24103</link>
    <description>&lt;pre&gt;

After realizing that even 'puppet --version' took ~10s, I ran the ruby
profiler, noticed there were differences in the number of  calls, extracted
&amp;amp; diff'd those, noticed the addition of Socket#gethostbyname and
Socket#gethostname. Eventually I noticed that my /etc/hosts had
myhostname.local instead of just myhostname which (I presume) was causing a
DNS/mDNS lookup.

So unless anyone else has this problem, forget I said anything.

Wil

&lt;/pre&gt;</description>
    <dc:creator>Wil Cooley</dc:creator>
    <dc:date>2013-05-21T06:21:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24102">
    <title>Performance regression between 3.2.1-rc1 and 3.1.1?</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24102</link>
    <description>&lt;pre&gt;I am noticing a ~10s slow down with 3.2.1-rc1 running 'puppet apply' with a
manifest that is a single notice() function. I think I noticed it first
w/'puppet resource' and maybe also with other sub-commands. This slow down
might be just statistical noise in runs with a non-trivial manifest, but
it's intrusive while doing development.

I can provide the outputs of the 'puppet apply' below, but the pause seems
to happen before any output starts and all of the times that are reported
look normal (0.00s for a bunch of built-in automatic resources), with
catalog runs ending with "Finished catalog run in 0.0[56] seconds".

In fact, it almost looks like someone put in a sleep(10) somewhere while
debugging and forgot to take it out.

This is on Mac OS X 10.7.5.

$ uname -a
Darwin coolair 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT
2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

$ ruby --version
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin11.0]

$ facter --version
1.7.1

$ shasum puppet-3.{1,2}*.dmg
2a35e1f2c77049a9cacb5446be1417fa4c69a082  puppet-3.1.1.dmg
995f48bae1d86b6195d2beff30848af1eecf41ff  puppet-3.2.1-rc1.dmg

$ cat test.pp
# Test manifest that does nothing but a little output
notice("This is here.")

`time` outputs:
$ puppet apply --color=false --evaltrace --debug --verbose test.pp
# 3.1.1
real 0m3.392s
user 0m1.580s
sys 0m1.033s

# 3.2.1-rc1
real 0m13.064s
user 0m1.576s
sys 0m0.947s

Wil

&lt;/pre&gt;</description>
    <dc:creator>Wil Cooley</dc:creator>
    <dc:date>2013-05-21T05:22:26</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24100">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24100</link>
    <description>&lt;pre&gt;
There are features in ARM-3 (Puppet Templates) that will help with 
several of the issues. One such feature is the ability to pass 
parameters to the template, and that a template can nest other templates.

https://github.com/puppetlabs/armatures/blob/master/arm-3.puppet_templates/puppet_templates.md#passing-arguments-to-the-template

The ARM-8 (Data in Modules) is also important and work is underway to 
define a successor to Hiera ("Hiera 2") with a more general binding scheme.

Puppet Templates is implemented and can be tried out (information in the 
ARM).

regards
- henrik


&lt;/pre&gt;</description>
    <dc:creator>Henrik Lindberg</dc:creator>
    <dc:date>2013-05-18T16:40:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24099">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24099</link>
    <description>&lt;pre&gt;A $content variable works great in certain instances, but there are others 
where this particular abstraction falls apart and I've been unable to 
determine a better one without a sane mechanism for template 
specialization. For example, if you're creating a defined type that 
contains a file resource, and you want the template to use variables of 
that defined type instance (such as $name/$title, for example) this isn't 
an easy thing to accomplish if you're calling template() from within a 
different scope in order to pass in content. In the case of this particular 
problem, the only semi-sane way to approach it is to create a wrapper 
defined type, which has a really bad code smell to me. And even then, you'd 
better hope you only need the variables actually passed into the type, and 
not any derived variables ($whatever_real, etc.).

I'm not sure I buy the point about the wide variety of paths to be searched 
making this a very difficult problem -- this is exactly what we're doing 
today with Hiera, and it *is* making it explicit what is searched. There 
are two components to template specialization that need to be handled 
separately:

1. Global lookup (defined by site administrators)
2. Local lookup (defined by module authors, like Hiera data in ARM-8)

Site administrators and module authors can then use whatever lookup orders 
they want ad have them coexist happily.

On Friday, May 17, 2013 3:50:52 PM UTC-4, Trevor Vaughan wrote:

&lt;/pre&gt;</description>
    <dc:creator>Jeff Goldschrafe</dc:creator>
    <dc:date>2013-05-18T15:34:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24097">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24097</link>
    <description>&lt;pre&gt;
I was thinking of either of these two when I said concatenation:

    $one = template(...)
    $two = template(...)
    notice("${one}${two}")  # concat!

    $three = concat($one, $two)  # with the obvious implementation

...but, yeah, the module also satisfies. :)

Basically, the language already allows you to do string pasting
without too much hardship.  Might as well do that the same way you do
other string pasting.

--
Daniel Pittman
⎋ Puppet Labs Developer – http://puppetlabs.com
♲ Made with 100 percent post-consumer electrons

&lt;/pre&gt;</description>
    <dc:creator>Daniel Pittman</dc:creator>
    <dc:date>2013-05-17T21:02:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24096">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24096</link>
    <description>&lt;pre&gt;

For what it's worth, this is something I would like to see.  I found the
concatenation to be more of a pain than anything else, especially since the
concat module came about.  Selecting the first entry would be an overall
improvement.

&lt;/pre&gt;</description>
    <dc:creator>Ashley Penney</dc:creator>
    <dc:date>2013-05-17T20:56:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24095">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24095</link>
    <description>&lt;pre&gt;On Fri, May 17, 2013 at 8:23 AM, Jeff Goldschrafe
&amp;lt;jeff&amp;lt; at &amp;gt;holyhandgrenade.org&amp;gt; wrote:

[...]


I think the best solution would be to change the `template` function
to select the first entry, rather than concatenate, and allow users to
manually concatenate multiple `template` calls if they wanted it.

I understand the attraction of having an automatic, rather than
manual, model for searching.  I don't think it is a realistic goal,
however, because of the wide variety of "search paths" that could be
desired.  Explicitly spelling out what is searched seems like the best
balance of flexibility and extensibility to me.

--
Daniel Pittman
⎋ Puppet Labs Developer – http://puppetlabs.com
♲ Made with 100 percent post-consumer electrons

&lt;/pre&gt;</description>
    <dc:creator>Daniel Pittman</dc:creator>
    <dc:date>2013-05-17T20:08:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24094">
    <title>Re: Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24094</link>
    <description>&lt;pre&gt;In this particular scenario, I tend to lean toward having a 'content'
variable in my class or define.

class foo (  $content =&amp;gt; template('foo/awesome.erb') ) { ... }

Someone wants to override that:

class { 'foo':
  content =&amp;gt; template('bar/my_awesome.erb')
}

I'm not sure if that covers 100% of the cases that you're concerned with,
but it tends to work well for me as a pattern.

Looking at many of the Forge modules, the main issue appears to me to be
that the authors are solving problem X and don't want to create a module
that handles X^Y configuration options due to time, cost, and manpower
issues (all of which are completely understandable). Also, the effort
required to understand and extend an elegant module may be more than people
are willing to put in to solve what is, otherwise, a 30 minute problem.

Finally, you run into the situation where someone did take the time to
create a completely awesome module but it's so granular that using quite a
few of them like that trends toward compiled graph bloat and code
complexity.

Hope this helps.

Trevor


On Fri, May 17, 2013 at 11:23 AM, Jeff Goldschrafe &amp;lt;jeff&amp;lt; at &amp;gt;holyhandgrenade.org




&lt;/pre&gt;</description>
    <dc:creator>Trevor Vaughan</dc:creator>
    <dc:date>2013-05-17T19:50:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24093">
    <title>Defining a standard mechanism for template specialization</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24093</link>
    <description>&lt;pre&gt;There are a few tickets floating around, like #7635, that deal with the 
inability to specialize templates in standard Puppet. Among other things, 
this is a limitation that makes it somewhat difficult for Forge module 
authors to distribute truly reusable modules without providing a cadre of 
non-interoperable custom functions to address this concern (see: 
multi_source_template). These tickets propose very specific solutions in 
terms of semantics. I'd like to open a broader feature discussion about how 
templates can/should be specialized in Puppet manifests, if people think 
they should be specialized at all. (I'm primarily concerned with templates, 
but there's probably no reason this discussion couldn't also apply to 
sourced files as well.)

I'm focused on the following three stories that I've seen come up on 
lists/IRC from time to time:

   - As a user, I want to provide different versions of a template 
   depending on some characteristic of the system so I don't need to encode 
   this differentiation logic into every manifest individually.
   - As a module author, I want users to be able to specialize their own 
   templates without having to modify my module.
   - As a Puppet administrator in an environment where templates/data are 
   change-controlled differently than manifest code, I want to provide users 
   the ability to produce new templates so they can make necessary changes 
   without altering any manifest logic.
   
--

As an example/starting point, here is a brief summary of my ideal 
implementation of this in Puppet:

Most web servers provide a content-negotiation implementation where 
different filenames are evaluated based on some characteristic of the 
request/requestor. Typically, this is done using the Accept-Language 
header, where the browser has specified that they would like a 
representation of the content specific to their language, if that 
representation is available. If the browser requests index.html and 
specifies Accept-Language: fr, the web server can reply with index.html.fr 
if that specific version is available, or index.html if it is not. Many 
people are already using this model manually with file sources, providing 
["puppet:///modules/mymodule/myfile.${osfamily}", 
"puppet:///modules/mymodule/myfile"]. I'd love to see a less verbose 
alternative that a) does this automatically based on configuration data 
rather than code, and that b) works for templates.

At the same time, Puppet already provides hierarchical lookup features for 
other forms of data via Hiera. Though Hiera can be used (somewhat 
verbosely) for roughly this purpose, it seems natural to provide a similar 
capability for template specialization as well.

Implementation discussions may tie into ARM-8 (Data in Modules) hierarchy 
specification and the discussion on that ARM should be kept in mind.

Thoughts?

&lt;/pre&gt;</description>
    <dc:creator>Jeff Goldschrafe</dc:creator>
    <dc:date>2013-05-17T15:23:59</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24091">
    <title>Re: Could not retrieve ipaddress on Windows2003</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24091</link>
    <description>&lt;pre&gt;this must be your agent box's hostname contain some invalid characters.

 --puppet option will load sys/ruby/lib/ruby/1.8/ipaddr.rb on windows, and 
this will override IPSocket.getaddres method. it will check the hostname
and the hostname must match [-A-Za-z\d._]+  pattern.

On Wednesday, March 27, 2013 4:38:49 PM UTC+8, windops wrote:

&lt;/pre&gt;</description>
    <dc:creator>txworking&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2013-05-17T02:56:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24090">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24090</link>
    <description>&lt;pre&gt;

On Thursday, May 16, 2013 3:31:09 AM UTC+10, Jeff Weiss wrote:

Fair enough, but if you're going to keep this approach in the code and 
willing to pay the price of calling facter, then it would be trivial to 
have it just work the same way on all platforms - after all you may end up 
with a paying customer who just happens to have some old AIX5.2 lying 
around or legacy Solaris.

&lt;/pre&gt;</description>
    <dc:creator>Alex Harvey</dc:creator>
    <dc:date>2013-05-16T06:01:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24089">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24089</link>
    <description>&lt;pre&gt;

The pull request that Andy mentioned and that Chris merged is to provide an
adequate default diffargs on all of our commercially supported platforms.
Diff is off by default. If one goes into puppet.conf to enable diff, then
on our commercially support platforms it will just work. On anything
outside our commercially support platforms (as is the case for HP-UX and
legacy Solaris), one is in puppet.conf anyway to turn on diff and can
therefore set diffargs to something reasonable on the unsupported platform.

&lt;/pre&gt;</description>
    <dc:creator>Jeff Weiss</dc:creator>
    <dc:date>2013-05-15T17:31:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24088">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24088</link>
    <description>&lt;pre&gt;Andy,

Sorry, for some reason when I was reviewing that pull request I was
thinking it was targeted at our AIX branch. I probably should have checked
with your team before merging it.  If you guys decide that we should back
that out and solve the problem a different way, we will be happy to work
with you on that.


On Wed, May 15, 2013 at 9:35 AM, Andy Parker &amp;lt;andy&amp;lt; at &amp;gt;puppetlabs.com&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Chris Price</dc:creator>
    <dc:date>2013-05-15T16:44:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24087">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24087</link>
    <description>&lt;pre&gt;
Right, I hadn't noticed at first that AIX was not part of the original
report. I had read the issue after it had been updated to say AIX and
had missed the HP-UX part.


My problem with all of these solutions is that they all increase the
startup time for everything. The one that was submitted calls facter
on startup, and your solution would execute diff (and presents other
issues related to getting what the diff program is since that is
configurable). That doesn't seem ideal, and granted, it also isn't
ideal that puppet can't run with the default settings on some
platforms.


I would be interested in seeing the proposal, but I almost get the
sense that the installation process should really just be laying down
the right default puppet.conf.




--
Andrew Parker
andy&amp;lt; at &amp;gt;puppetlabs.com
Freenode: zaphod42
Twitter: &amp;lt; at &amp;gt;aparker42
Software Developer

Join us at PuppetConf 2013, August 22-23 in San Francisco -
http://bit.ly/pupconf13
Register now and take advantage of the Early Bird discount - save 25%!

&lt;/pre&gt;</description>
    <dc:creator>Andy Parker</dc:creator>
    <dc:date>2013-05-15T16:35:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24086">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24086</link>
    <description>&lt;pre&gt;

On Wednesday, May 15, 2013 4:54:33 AM UTC+10, Andy Parker wrote:

I have two objections to that solution.

Firstly, AIX5.3 isn't the only operating system not supporting diff -u - 
it's a problem on all HP-UX, as well as on some legacy Solaris.

Secondly, if diff -u isn't available it may make sense to try diff -c 
instead.  The output from that is I think more readable.

If we were making Puppet smarter, perhaps the thing to do is make an 
additional call to 'diff' to see if it supports the default args - if it 
doesn't it will return exit code 2.

I suppose I could submit a patch that does this if the solution sounds 
good.  That said, I think being able to configure the diff_args in 
puppet.conf is also an adequate solution.

&lt;/pre&gt;</description>
    <dc:creator>Alex Harvey</dc:creator>
    <dc:date>2013-05-15T04:30:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24085">
    <title>Facter 1.7.x branch deletion</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24085</link>
    <description>&lt;pre&gt;Hello,

With the release of Facter 1.7.1[1], we'd like to delete the `1.7.x` branch 
in
an effort to streamline the contribution process to Facter by using 
statically
named branches, `stable` and `master`. Moving forward, any bug fix that 
would
have gone into `1.7.x`, should instead be targeted at `stable`, while new
features and functionality should be targeted at `master`.

Fortunately, there are no open PRs against Facter `1.7.x`, so this process 
should
be painless.

If you have any questions or concerns, please let us know on the mailing 
list
or #puppet-dev on irc.freenode.net.

Thanks,
Josh

[1] https://groups.google.com/d/topic/puppet-users/pwo1YgHeqEA/discussion

&lt;/pre&gt;</description>
    <dc:creator>Josh Cooper</dc:creator>
    <dc:date>2013-05-14T19:50:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24084">
    <title>Re: #18393 - diff args</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24084</link>
    <description>&lt;pre&gt;It looks like the PE team hit this problem for AIX and created a fix
where they change the default diff_args based on the platform:
https://github.com/puppetlabs/puppet/pull/1637

So it looks like puppet is going to try and be smart by default.

On Fri, May 3, 2013 at 10:32 PM, Alex Harvey &amp;lt;alexharv074&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Andy Parker</dc:creator>
    <dc:date>2013-05-14T18:54:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24083">
    <title>Re: Puppet 3 considerably slower than Puppet 2.6</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24083</link>
    <description>&lt;pre&gt;Hi Erik

The 2.6 master uses mongrel with an apache loadbalancer in front, 3.1 uses 
passenger (switching between passenger and webrick has no effect on the 
evaluation speed)

The masters are in the same physical location. I even switch a 2.6 client 
between masters and experience the slowness only on the 3.1 master.

Does the evaluation time include time to retrieve metadata from the master? 
It seems unlikely that the client is establishing an SSL connection and 
doing the md5 comparison in 0.02 seconds (2.6 master). Maybe when talking 
to the 3.1 master it has to establish a new SSL connection everytime?

Regards,
Allan

On Tuesday, 14 May 2013 12:23:49 UTC+1, Erik Dalén wrote:

&lt;/pre&gt;</description>
    <dc:creator>Allan Yung</dc:creator>
    <dc:date>2013-05-14T14:39:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24082">
    <title>Re: Puppet 3 considerably slower than Puppet 2.6</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24082</link>
    <description>&lt;pre&gt;Do you have the exact same apache and passenger settings on both masters?

Having too few workers for example would lead it to waiting a lot for every
file metadata lookup.

It is also quite sensitive to network latency for similar reasons, are all
these hosts located at the same physical location?


On 14 May 2013 11:13, Allan Yung &amp;lt;allanyung&amp;lt; at &amp;gt;gmail.com&amp;gt; wrote:




&lt;/pre&gt;</description>
    <dc:creator>Erik Dalén</dc:creator>
    <dc:date>2013-05-14T11:23:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24081">
    <title>Re: Puppet 3 considerably slower than Puppet 2.6</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24081</link>
    <description>&lt;pre&gt;Hi Andrew,

That was from the 3.1 agent talking to the 3.1 master.

If I point a 2.6 agent to the 3.1 master I get the same slow behaviour. 
Pointing the 2.6 agent back to the 2.6 master gives the fast performance as 
before.

As part of moving to puppet3/hiera etc the modules have been refactored, so 
there are differences in the class and method names. They essentially 
perform the same tasks though.

Here is a trace from a 2.6 agent running against the 2.6 master. As you can 
see the evaluations happen in a fraction of the time:

May 14 10:05:55 host1 puppet-agent[9526]: Starting Puppet client version 
2.6.6
May 14 10:05:55 host1 puppet-agent[9526]: Retrieving plugin
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_esd_env
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in 
configured_ipaddress
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_env_group
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_vlan
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in 
get_env_group_espoo
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in cdpr_parent
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_esd_env
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in 
configured_ipaddress
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_env_group
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in get_vlan
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in 
get_env_group_espoo
May 14 10:05:56 host1 puppet-agent[9526]: Loading facts in cdpr_parent
May 14 10:05:58 host1 puppet-agent[9526]: Caching catalog for 
host1.brislabs.com
May 14 10:06:01 host1 puppet-agent[9526]: Applying configuration version 
'1368517682'
May 14 10:06:01 host1 puppet-agent[9526]: (/Schedule[weekly]) Evaluated in 
0.03 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Schedule[hourly]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Filebucket[puppet]) Evaluated 
in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Schedule[never]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Schedule[monthly]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos/File[/etc/yum.repos.d]) Evaluated in 0.02 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos/File[/etc/yum.repos.d/redhat.repo]) Evaluated in 0.00 
seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[updates]/File[updates]) Evaluated in 0.00 
seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[base]/File[base]) Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[optional]/File[optional]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[ovimusic]/File[ovimusic]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[supplementary]/File[supplementary]) 
Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Yumrepos_espoo/Repo[oviinfra]/File[oviinfra]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[pre]/Resolver_espoo/Resolver::Resolv_conf[scmbasenode]/File[/etc/resolv.conf]) 
Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Schedule[puppet]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Whit[Resolver]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/pam_ldap.conf]) Evaluated in 0.07 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Vmware::Tools/Package[vmware-tools-esx-kmods]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]//File[/etc/yum.conf]) Evaluated in 0.02 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/pam.d/password-auth-ac]) Evaluated in 0.02 
seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Whit[host1.domain.com]) 
Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[MySQL-shared-compat]) Evaluated in 0.00 
seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new::Client/Package[libpcap]) Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Whit[Esdparams]) Evaluated in 
0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Whit[host1.brislabs.com]) 
Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[perl-Digest-SHA1]) Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Whit[scm_basenoderhel61]) 
Evaluated in 0.00 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/ldap.conf]) Evaluated in 0.02 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/nsswitch.conf]) Evaluated in 0.02 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/pam.d/system-auth-ac]) Evaluated in 0.02 
seconds
May 14 10:06:01 host1 puppet-agent[9526]: (/Stage[main]/Cups/Service[cups]) 
Evaluated in 0.05 seconds
May 14 10:06:01 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new::Client/Package[ladvd]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new::Client/Service[ladvd]) Evaluated in 0.05 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Scmbasenode/Ntp::Conf[scmbasenode]/File[/etc/ntp.conf]) 
Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Scmbasenode/Ntp::Conf[scmbasenode]/Service[ntpd]) Evaluated 
in 0.05 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Whit[Settings]) Evaluated in 
0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Dmt-ssh/File[/root/.ssh]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Dmt-ssh/File[/root/.ssh/authorized_keys]) Evaluated in 0.00 
seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Scmbasenode/Sshd_authorized_key[DMT]/Line[ssh_authorized_key/DMT]/Exec[echo 
'ssh-dss LONG_SSH_KEY_HERE The key for DMT' &amp;gt;&amp;gt; 
'/root/.ssh/authorized_keys']) Evaluated in 0.07 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[bc]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/File[/etc/nslcd.conf]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Ldap_new/Service[nslcd]) Evaluated in 0.05 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[perl-Digest-HMAC]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Jdk::Jdk7/Package[jdk]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Jdk/File[/usr/java/truststore]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Dmt-ssh/File[/etc/ssh/sshd_config]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Dmt-ssh/Service[sshd]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Whit[Vmware]) Evaluated in 0.00 
seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Vmware::Tools/Package[vmware-tools-esx-nox]) Evaluated in 
0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Stage[main]/Sudo/Package[sudo]) 
Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Sudo/File[/etc/sudoers]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Stage[main]/Nscd/Service[nscd]) 
Evaluated in 0.05 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Stage[main]/Ntp/Package[ntp]) 
Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Scmbasenode/Ntp::Conf[scmbasenode]/File[/etc/ntp/step-tickers]) 
Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[perl-Crypt-DES]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[fping]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[perl-Socket6]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[nrpe]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[nagios-plugins]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/local/nagios/]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/local/nagios/libexec/]) Evaluated in 0.00 
seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/lib64/nagios/plugins/check_mem.pl]) 
Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/lib64/nagios/plugins/check_jboss.pl]) 
Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/lib64/nagios/plugins/check_cpu.sh]) 
Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/usr/lib64/nagios/plugins/check_openmanage]) 
Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/File[/etc/nagios/nrpe.cfg]) Evaluated in 0.02 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Service[nrpe]) Evaluated in 0.04 seconds
May 14 10:06:02 host1 puppet-agent[9526]: 
(/Stage[main]/Nrpe_new/Package[perl-Net-SNMP]) Evaluated in 0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Whit[post]) Evaluated in 0.01 
seconds
May 14 10:06:02 host1 puppet-agent[9526]: (/Schedule[daily]) Evaluated in 
0.00 seconds
May 14 10:06:02 host1 puppet-agent[9526]: Finished catalog run in 3.31 
seconds

Technically this run actually does more than the previous trace (JDK and 
setting up some yum repos) yet finishes in under 4 seconds.

Regards,
Allan

On Monday, 13 May 2013 19:55:47 UTC+1, Andy Parker wrote:

&lt;/pre&gt;</description>
    <dc:creator>Allan Yung</dc:creator>
    <dc:date>2013-05-14T09:13:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24080">
    <title>Re: Question about COMMITTERS.md</title>
    <link>http://permalink.gmane.org/gmane.comp.sysutils.puppet.devel/24080</link>
    <description>&lt;pre&gt;Got it, yeah I have been operating under the assumption the two methods
yield equivalent results, and the merge-up variation feels somehow cleaner
to me personally, so that's what I've been doing as a matter of preference.

As an FYI, the team has a meeting tomorrow morning so we'll hopefully be on
the same page tomorrow afternoon and can talk more on the dev list then.

For the time being I whipped up a pull request that contins the difference
in the example process and how the history looks as a result of the
difference in the process.  This PR is a request for comments and not
necessarily what we're going to merge:
https://github.com/puppetlabs/puppet/pull/1645


On Mon, May 13, 2013 at 8:57 AM, Andy Parker &amp;lt;andy&amp;lt; at &amp;gt;puppetlabs.com&amp;gt; wrote:



&lt;/pre&gt;</description>
    <dc:creator>Jeff McCune</dc:creator>
    <dc:date>2013-05-14T03:50:18</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.sysutils.puppet.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.sysutils.puppet.devel</link>
  </textinput>
</rdf:RDF>
