Ignoring my inability to authenticate for the time being, if I define classes in
LDAP, it seems that doesn''t work:
# ubuntu5.ttinet, Hosts, ttinet.local
dn: cn=ubuntu5.ttinet,ou=Hosts,dc=ttinet,dc=local
objectClass: device
objectClass: top
objectClass: puppetClient
objectClass: ipHost
ipHostNumber: 10.1.1.13
environment: production
cn: ubuntu5.ttinet
parentNode: baseclass
puppetClass: etc
puppetClass: apt
puppetClass: apt::get_update
puppetClass: subversion
puppetClass: mongodb
puppetClass: gems::passenger
puppetClass: apache::service
puppetClass: apache::install
puppetClass: prerequisite::apache
puppetClass: prerequisite::compiler
puppetClass: prerequisite::compression
puppetClass: prerequisite::ssl
and a puppet apply comand on this client spits out...
info: Applying configuration version ''1310682102''
err: /Stage[main]/Mongodb::Service/Service[mongodb]: Could not evaluate: Could
not find init script for ''mongodb''
err: /Stage[main]/Apache::Service/Service[apache2]: Could not evaluate: Could
not find init script for ''apache2''
notice: Finished catalog run in 0.43 seconds
It seems to completely ignore ''require'' items - for example,
apache2 and mongodb init scripts are not there because the package needs to be
installed before the service is run (obviously)
but the ''require'' functions work fine if I comment out the
enc/ldap setup and go back to my flat file configuration and don''t
change a single manifest file...
(from nodes.pp)
node ''ubuntu5.ttinet'' {
  include baseclass
  include everyone_but_puppetmaster
  include mongodb
  include nginx_server
}
(from templates.pp)
class nginx_server {
  include gems::passenger
  include prerequisite::compiler
  include prerequisite::compression
  include prerequisite::ssl
}
class everyone_but_puppetmaster {
  include etc
  include mod_puppet
  include apt::updates
}
info: Applying configuration version ''1310682488''
notice: /Stage[main]/Nginx::Install/File[/etc/init.d/nginx]/ensure: defined
content as ''{md5}a0a5d4b2974a6903f62b417d313f25b8''
info: /Stage[main]/Nginx::Install/File[/etc/init.d/nginx]: Scheduling refresh of
Service[nginx]
notice: /Stage[main]/Nginx::Install/Exec[Installing nginx via
passenger]/returns: executed successfully
notice: /Stage[main]/Nginx::Install/File[/opt/nginx/sites]/ensure: created
notice:
/Stage[main]//Node[ubuntu5.ttinet]/Nginx::Vhost[test5.ttinet]/File[/opt/nginx/sites/11-test5.ttinet]/ensure:
defined content as ''{md5}dd8587e4c99f91c5857ec6f9b8e31e83''
info:
/Stage[main]//Node[ubuntu5.ttinet]/Nginx::Vhost[test5.ttinet]/File[/opt/nginx/sites/11-test5.ttinet]:
Scheduling refresh of Service[nginx]
notice: /Stage[main]/Nginx::Service/Service[nginx]/ensure: ensure changed
''stopped'' to ''running''
notice: /Stage[main]/Nginx::Service/Service[nginx]: Triggered
''refresh'' from 2 events
notice: /Stage[main]/Mongodb::Install/Package[mongodb-10gen]/ensure: ensure
changed ''purged'' to ''present''
info: /Stage[main]/Mongodb::Install/Package[mongodb-10gen]: Scheduling refresh
of Service[mongodb]
notice: /Stage[main]/Mongodb::Service/Service[mongodb]/enable: enable changed
''false'' to ''true''
notice: /Stage[main]/Mongodb::Service/Service[mongodb]: Triggered
''refresh'' from 1 events
notice: Finished catalog run in 5.89 seconds
I''m on puppet 2.6.8 and by all readings of the web site and Pro Puppet,
I should not be having these problems with ENC on LDAP
I gave up on trying to ''chain'' using parentnode in LDAP
because that simply hasn''t worked and tried to simplify things but
still...
-- 
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  craig.white@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com 
Need help communicating between generations at work to achieve your desired
success? Let us help!
-- 
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.