Issue #12397 has been updated by Alex Jurkiewicz.
We're using a single server here -- it's acting as both agent or master.
* We use import somewhat extensively in our manifests. Our site.pp looks like
this:
<pre>import "sites/*.pp"
import "roles/*.pp"
import "roles/db_server/*.pp"
import "roles/mail_server/*.pp"
import "roles/web_server/*.pp"
import "nodes/*.pp"
import "users/*.pp"
# General settings for standard types
Exec { path => "/bin:/sbin:/usr/bin:/usr/sbin" }</pre>
There are further imports beyond those.
* The master is run as a standalone daemon: /usr/bin/ruby1.8 /usr/bin/puppet
master --masterport=8140
----------------------------------------
Bug #12397: Puppet doesn't work initially after touch'ing any .pp source file
https://projects.puppetlabs.com/issues/12397#change-54248
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.