Yes. The file is executable by everyone. Plus this worked prior to installing Ruby 1.8.7 and Puppet 2.6.4.
On Feb 28, 3:40 pm, Nan Liu <[email protected]> wrote: > On Mon, Feb 28, 2011 at 3:36 PM, cyrus <[email protected]> wrote: > > I recently moved to Puppet 2.6.4. Prior to this I was using the > > available RPMS for RHEL which were 2.6.3. The reason I moved to the > > source 2.6.4 is that I wanted to update to Ruby 1.8.7 to see if that > > corrected the errors I was getting when trying to use Store Configs. > > > Anyways, I compiled Ruby 1.8.7 from source into /usr/local/bin. I then > > installed Facter and Puppet into the same prefix. > > > However now I can not get external nodes to work. On the client it > > gives: > > > err: Could not retrieve catalog from remote server: Error 400 on > > SERVER: Could not find node 'lv00052p.encana.com'; cannot compile > > > From the log I see: > > > Feb 28 15:29:55 ls1313p puppet-master[20112]: Executing '/usr/bin/ > > cobbler-ext-nodes lv00052p.encana.com' > > Feb 28 15:29:55 ls1313p puppet-master[20112]: Failed to find > > lv00052p.encana.com via exec: Execution of '/usr/bin/cobbler-ext-nodes > > lv00052p.encana.com' returned 1: > > Feb 28 15:29:55 ls1313p puppet-master[20112]: Could not find node > > 'lv00052p.encana.com'; cannot compile > > > However, if I run > > > /usr/bin/cobbler-ext-nodes lv00052p.encana.com > > Can you execute this as the puppet user? If you run passenger, the > owner of the config.ru file? > > Thanks, > > Nan > > > By hand it returns error code 0 and the following results: > > > classes: [dev_wes] > > parameters: {env: dev, from_cobbler: 1, media_path: /ks/dist/dev-ks- > > rhel-x86_64-server-5-u5, > > org: 1, passwd_mode: compat, redhat_management_type: 'off', stype: > > wes} > > > This all worked prior to upgrading to 2.6.4. > > > Also, my config is: > > > [main] > > # The Puppet log directory. > > # The default value is '$vardir/log'. > > logdir = /var/log/puppet > > > # Where Puppet PID files are kept. > > # The default value is '$vardir/run'. > > rundir = /var/run/puppet > > > # Where SSL certificates are kept. > > # The default value is '$confdir/ssl'. > > ssldir = $vardir/ssl > > > [agent] > > # The file in which puppetd stores a list of the classes > > # associated with the retrieved configuratiion. Can be loaded in > > # the separate ``puppet`` executable using the ``--loadclasses`` > > # option. > > # The default value is '$confdir/classes.txt'. > > classfile = $vardir/classes.txt > > > # Where puppetd caches the local configuration. An > > # extension indicating the cache format is added automatically. > > # The default value is '$confdir/localconfig'. > > localconfig = $vardir/localconfig > > > [master] > > # The main Puppet configuration directory. The default for this > > # parameter is calculated based on the user. > > confdir = /puppet/production > > > # Where Puppet stores dynamic and growing data. The default for > > this > > # parameter is calculated specially, like confdir. > > # The default value is '/var/lib/puppet'. > > vardir = /var/lib/puppet > > > # external node lookup via cobbler > > external_nodes = /usr/bin/cobbler-ext-nodes > > node_terminus = exec > > > reports = tagmail > > tagmap = $confdir/tagmail.conf > > > # enable store configs > > #storeconfigs = true > > # use Postgres for store configs > > #dbadapter = postgresql > > #dbuser = puppet > > #dbpassword = puppet > > #dbserver = ls00034p > > > [development] > > manifest = $confdir/manifests/dev_site.pp > > > [tqa] > > manifest = $confdir/manifests/tqa_site.pp > > > Any help would be appreciated. > > > Thanks > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" 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 > > athttp://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
