Hi All,

I'm new to puppet, I just recently setup it on my servers, using puppet 0.25.4 
with ldap external node and mongrel+nginx as frontend. Pretty much happy about 
it, except by the fact that I can't get puppetrun to work as expected.

"puppetrun --host fqdn" works well, but that's all.

"puppetrun --debug --foreground --all" only returned "Finished", no action 
done, and no information for me to get it fixed.

"puppetrun --debug --foreground --all --class classname" gave me "You must be 
using LDAP to specify host classes". What's the meaning of host classes here? 
Is it puppetClass ldap attribute, or something else?

This is a part of my puppet.conf:

[puppetmasterd]
templatedir=/var/lib/puppet/templates
ssl_client_header = HTTP_X_SSL_SUBJECT
certname = puppet
node_terminus = ldap 
ldapserver = 127.0.0.1
ldapbase = ou=Hosts,dc=mydomain,dc=com
ldapuser = cn=guest,ou=People,dc=mydomain,dc=com
ldappassword = _password_
storeconfigs = true
thin_storedconfigs = true
dbadapter = mysql 
dbserver = localhost
dbuser = puppet
dbpassword = _password_

And this is one of node definition in ldap:

dn: cn=sigi,ou=Hosts,dc=mydomain,dc=com
objectClass: top
objectClass: ipHost
objectClass: device
objectClass: puppetClient
cn: sigi
cn: sigi.mydomain.com
ipHostNumber: 192.168.7.3
environment: production
puppetClass: general
puppetClass: pacemaker
puppetClass: lighttpd
puppetClass: php
puppetVar: web_role=dynamic

And another strange thing when I try to install puppet-dashboard.

/tmp/puppet-dashboard$ rake --version
rake, version 0.8.7
/tmp/puppet-dashboard$ rake install
(in /tmp/puppet-dashboard)
Missing these required gems:
  rake  >= 0.8.3

You're running:
  ruby 1.8.7.72 at /usr/bin/ruby1.8
  rubygems 1.2.0 at /var/lib/gems/1.8

Why is that?

Thanks in advance for any hint, and if my questions is not clear enough, please 
blame it on my sloppy english :)

-jamal-

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to