Disconnect top-posted thus: > ISTR trying that and having the same problems. > > User depends on class ldap-users. (So in theory, anything that needs a > user will require that.) Puppetd bails after grabbing the config with > "cannot find user joe" because ldap isn't set up. (Same using tags.) > Users may be a special bug though..
I don't quite follow you. If I have the following manifest: class ldap-setup { tag "bootstrap" ... } node default { include ldap-setup file { "/tmp/gazonk.del": ensure => file, content => "XYZZY\n", owner => "ldap-user", group => "ldap-group"; } } and run it with # puppet --tags=bootstrap foo.pp it will only try to implement the resources in the 'ldap-setup' class. The file resource will be ignored, and I won't get any error saying that "ldap-user" or "ldap-group" doesn't exist. I just tried it, and it works (although I didn't actually configure LDAP in my ldap-setup class, but I could definitely verify that I didn't get any errors about missing users or groups). I suspect you made some error when trying. Please try again! :-) /Bellman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---