Yeah I suppose you could create a UNIX user instead of using exec to
create a Postgres role but either way the ordering issue is still
there.

In fact if you look at 
https://github.com/uggedal/puppet-module-postgresql/blob/master/manifests/user.pp
on line 11 you can see that the Exec resource requires the
postgres::server class but from the output I posted it seems to ignore
this require parameter.

On Oct 28, 3:33 am, Felix Frank <[email protected]>
wrote:
> Hi,
>
> On 10/27/2011 08:34 PM, Kabal458 wrote:
>
> > the Exec resource which creates the user wants to
> > execute before the postgres server is even installed.
>
> you typically don't want to create users using "exec", you'd want to use
> the "user" resource type instead.
>
> Either way, the resource that is responsible for the user account should
> "require" the class that installs the software.
>
> HTH,
> Felix

-- 
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