Issue #12397 has been updated by Daniel Pittman.

Alex Jurkiewicz wrote:
> Sorry, it seems this is another bug. I downloaded puppet-2.7.3.tar.gz 
> official package and installed it (after removing all puppet.* packages from 
> my system). Same test results.

Was that update on the agent, or on the master?  All the output is from the 
agent, so it isn't entirely clear.

Assuming that was the master, can you give a couple more details:
 * do you use `import` anywhere in your manifests?
 * how is the master run (eg: webrick, Apache/Passenger, ...?)

----------------------------------------
Bug #12397: Puppet doesn't work initially after touch'ing any .pp source file
https://projects.puppetlabs.com/issues/12397

Author: Alex Jurkiewicz
Status: Re-opened
Priority: Normal
Assignee: 
Category: compiler
Target version: 
Affected Puppet version: 2.7.1
Keywords: 
Branch: 


Hi, we recently upgraded to 2.7.1 (from 2.6.x) and are seeing a strange 
problem. If we touch any *.pp file on the master the next puppet client run 
will fail, but all subsequent runs succeed.

An example of running Puppet on our puppetmaster itself:
<pre>
$ sudo puppetd -t                                    
notice: Ignoring --listen on onetime run
info: Caching catalog for puppet.fqdn
[...]
notice: Finished catalog run in 25.01 seconds
$ sudo touch /home/puppet/main/manifests/site.pp
$ sudo puppetd -t
notice: Ignoring --listen on onetime run
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not find class ssh::auth for puppet.fqdn at 
/home/puppet/main/manifests/roles/soe.pp:34 on node puppet.fqdn
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Time:
         Last run: 1328226675
$
</pre>

The ssh::auth mentioned line is the first non-top level module included by 
every node:
<pre>
$ cat /home/puppet/main/manifests/roles/soe.pp
class soe {
    $servername = $puppet_server
    include common
    include hosts
    include resolver
    include cron
    include sysctl
    include misc
    package { "bsd-mailx": ensure => installed }
    package { "sysstat": ensure => installed }
    include ssh::auth
[...]
</pre>

What's going on here?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to