Hi,
I'm  trying to puppet kick with class option.

Pupper Master: puppetmaster.example.com
Puppet Client1: host1.example.net
Puppet Client2: host2.example.net

But I get this error.

---
[root@puppetmaster ~]# puppet kick --class test --debug
test: host1.example.net.example.com, host2.example.net.example.com
Triggering host1.example.net.example.com,
host2.example.net.example.com
Host host1.example.net.example.com failed: getaddrinfo: Name or
service not known
host1.example.net.example.com finished with exit code 2
Triggering host2.example.net.example.com
Host host2.example.net.example.com failed: getaddrinfo: Name or
service not known
host2.example.net.example.com finished with exit code 2
Failed: host1.example.net.example.com, host2.example.net.example.com
---

Maybe Puppetmaster was loaded "cn=host1.example.net" and
"dc=example,dc=com".


Puppetmaster and LDAP Server Config,

puppet.conf
---
[main]
        node_terminus = ldap
        ldapserver = 192.168.0.101
        ldapport = 389
        ldapbase   = ou=Servers,dc=puppet,dc=sf
        ldapstring = (&(objectclass=puppetClient)(cn=%s))
        ldapuser=cn=Manager,dc=example,dc=com
        ldappassword=*******
---


host1.ldif
---
dn: cn=host1.example.net, ou=servers, dc=example, dc=com
objectClass: device
objectClass: puppetClient
objectClass: top
cn: host1.example.net
puppetClass: test
---

host2.ldif
---
dn: cn=host2.example.net, ou=servers, dc=example, dc=com
objectClass: device
objectClass: puppetClient
objectClass: top
cn: host2.example.net
puppetClass: test
---

---
PuppetMaster Server:
OS: CentOS 5.7 64bit
Puppet Version: puppet-2.6.13-2.el5, puppet-server-2.6.13-2.el5, ruby-
ldap-0.9.7-3.el5

LDAP Server:
OS: CentOS 5.2 64bit
LDAP Version: openldap-servers-2.3.27-8.el5_2.4

Puppet Client1:
OS: CentOS 5.7 64bit
Puppet Version: puppet-2.6.13-2.el5

Puppet Client2:
OS: CentOS 5.7 64bit
Puppet Version: puppet-2.6.13-2.el5
---


Is there a way to solve problem?

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 at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to