I organize the root user in the first stage (before apt-get update!) and then 
everything else in a subsequent stage.

Later I found out that puppet will write files as root:root, 0644 in the 
default configuration. That meant I could remove many owner, group, mode 
attributes from my file declarations. It removed many implicit dependencies 
upon the root user resource and sped up my puppet runs a great deal.

On Thu, Jun 14, 2012 at 12:24:40PM -0700, Jo Rhett wrote:
>    How do you deal with dependency cycles around things like the root user?
>     I'm ending up defining files with uid=>0,gid=>0 rather than root, root
>    just to avoid dependancy cycles.
>    -- 
>    Jo Rhett
>    Net Consonance : net philanthropy to improve open source and internet
>    projects.
> 
>    --
>    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.

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