Issue #4505 has been updated by James Turnbull. Status changed from Unreviewed to Accepted
---------------------------------------- Bug #4505: puppetrun with --class doesn't work http://projects.puppetlabs.com/issues/4505 Author: Mohit Chawla Status: Accepted Priority: Normal Assigned to: Category: LDAP Target version: Affected version: 0.25.5 Keywords: puppetrun, ldap, class argument Branch: I am experiencing the behavior reported in another bug report (http://projects.puppetlabs.com/issues/1006) in version 0.25.5, that is: puppetrun --host xyz.def.com --class apache --debug --trace gives this: >You must be using LDAP to specify host classes My puppet.conf looks like this: [main] logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/facter templatedir=$confdir/templates [puppetmasterd] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY reports=log,foreman node_terminus=ldap ldapserver=192.168.1.214 ldapbase=ou=Hosts,dc=abc,dc=com ldapuser=cn=admin,dc=abc,dc=com ldappassword=secret And a sample node entry like this: dn: cn=xyz.def.com,ou=Hosts,dc=abc,dc=com objectClass: device objectClass: ipHost objectClass: puppetClient objectClass: top cn: xyz.def.com ipHostNumber: 192.168.1.158 puppetClass: dovecot puppetClass: apache puppetClass: imapproxy environment: production The above behavior is see only when mentioning a class explicitly,. Without the --class argument, it works. -- 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.
