Did exactly that. Got:
r...@server19:~# puppetd --test --tags=bootstrap
info: Loading fact dmidecode
...
info: mount[modules]: Mounted
info: mount[plugins]: Mounted
err: Could not create apt-da...@puppet: user apt-dater doesn't exist
warning: Not using cache on failed catalog
warning: Configuration could not be instantiated: user apt-dater doesn't exist

If I untag the other modules (leaving just ldap-config, which has the
bootstrap tag) it runs fine.
Running ubuntu 0.24.8-2.

apt-da...@puppet is an ssh key entry:
        ssh_authorized_key { "apt-da...@puppet":
                ensure => present, type => "ssh-rsa", user => "aptdater",
                key => "foo",
                require => File ["/home/aptdater/.ssh"],
        }
(and associated entries to create the home directory and such if it
doesn't exist.)

Looks like its http://projects.reductivelabs.com/issues/1409

On Thu, Oct 29, 2009 at 6:45 AM, Thomas Bellman <bell...@nsc.liu.se> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to