Hi all,
i want to create a network and customer parentnodes to store network
and/or customer specific attributes only at one place.
Therefore i created following puppet client an parentnodes within
LDAP:
Network specific parentnode:
dn: cn=192_168_100_0,ou=profile,dc=zz,dc=example,dc=com
objectClass: top
objectClass: DUAConfigProfile
objectClass: puppetClient
objectClass: TSYSConfigProfile
defaultServerList: 192.168.100.101
defaultSearchBase: dc=zz,dc=example,dc=com
authenticationMethod: simple
followReferrals: TRUE
defaultSearchScope: sub
searchTimeLimit: 30
profileTTL: 43200
credentialLevel: proxy
bindTimeLimit: 10
HostEntry: 100.101.110.111:first.entry.from.zz.profile
HostEntry: 200.202.220.222:second.entry.from.zz.profile
cn: 192_168_100_0
Customer specific parentnode:
dn: cn=zzbasenode,ou=HostConfig,dc=zz,dc=example,dc=com
objectClass: top
objectClass: device
objectClass: puppetClient
description: Puppet Base Node ZZ
puppetclass: base3
cn: zzbasenode
parentnode: 192_168_100_0
and the Client:
dn: cn=puppetc2,ou=HostConfig,dc=zz,dc=example,dc=com
objectClass: top
objectClass: device
objectClass: puppetClient
objectClass: TSYSjumpsta
objectClass: ieee802Device
objectClass: iphost
description: Puppet Client 2
ipHostNumber: 192.168.100.111
cn: puppetc2
parentnode: zzbasenode
puppetclass: base1
HostEntry: 1.2.3.4:first.entry.from.hostconfig
HostEntry: 2.3.4.5:second.entry.from.hostconfig
And now, most attributes from LDAP are stored in the client catalog.
But not all...
You can see, that only the HostEntry Attribute from the PuppetClient
"puppetc2" is stored in the yaml file, an not the HostEntry attrbiutes
from the network specific parentnode "192_168_100_0":
var/puppet/yaml/node$ cat puppetc2.zz.example.com.yaml
--- !ruby/object:Puppet::Node
classes:
- base1
- base3
environment: production
expiration: 2010-08-23 14:41:45.603264 +02:00
name: puppetc2.zz.example.com
parameters:
:_timestamp: Mon Aug 23 14:11:45 +0200 2010
kernel: SunOS
netmask: 255.255.255.0
cn: puppetc2
operatingsystemrelease: "5.10"
fqdn: puppetc2.zz.example.com
uniqueid: 0c3a86a6
parentnode: zzbasenode
is_virtual: "false"
virtual: zone
ipaddress: 192.168.100.111
clientversion: 0.25.4
defaultServerList: 192.168.100.101
defaultSearchScope: sub
kernelrelease: "5.10"
rubysitedir: /opt/puppet/ruby/lib/ruby/site_ruby/1.8
ps: ps -ef
hardwaremodel: i86pc
netmask_e1000g1_3: 255.255.255.0
HostEntry:
- 1.2.3.4:first.entry.from.hostconfig
- 2.3.4.5:second.entry.from.hostconfig
domain: zz.example.com
netmask_lo0_3: 255.0.0.0
defaultSearchBase: dc=zz,dc=example,dc=com
timezone: CEST
id: root
authenticationMethod: simple
objectClass:
- top
- device
- puppetClient
- TSYSjumpstart
- ieee802Device
- iphost
hardwareisa: i386
interfaces: lo0_3,e1000g1_3
searchTimeLimit: "30"
puppetclass: base1
ipHostNumber: 192.168.100.111
kernelversion: Generic_141445-09
ipaddress_e1000g1_3: 192.168.100.111
path: /usr/sbin:/usr/bin:/usr/sfw/bin:/opt/puppet/ruby/bin:/sbin
profileTTL: "43200"
uptime: 51 min
ipaddress_lo0_3: 127.0.0.1
network_e1000g1_3: 192.168.100.0
hostname: puppetc2
puppetversion: 0.25.4
environment: production
credentialLevel: proxy
bindTimeLimit: "10"
description: Puppet Client 2
network_lo0_3: 127.0.0.0
sshrsakey: AAAB3...h2OWo+yi8=
kernelmajversion: Generic_141445-09
facterversion: 1.5.7
operatingsystem: Solaris
followReferrals: "TRUE"
rubyversion: 1.8.7
sshdsakey: AAAAB3NzaC1kc3MAAACBA...JCNw==
dn: cn=puppetc2,ou=HostConfig,dc=zz,dc=example,dc=com
time: 2010-08-23 14:11:45.601912 +02:00
But i want to put any "HostEntry" attribute into the catalog of
puppetc2.zz.example.com
Does anybody has an idea?
regads
puppetplayer
--
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.