On Mon, Oct 22, 2012 at 03:05:40PM -0700, jcbollinger wrote: > I'm not sure why that inherently means you don't have root, but whatever. > > So, supposing the issue is with > File["/home/user/rabbitmq-server-generic-unix-2.8.7.tar.gz"], it's not > immediately clear to me whether Puppet's behavior is correct here. It > seems to be defaulting the target group to 0 (since you don't specify a > group, that has to be coming in as a default). That's not documented > behavior, but it may still be intentional. On the other hand, it is usual > for the agent to run as root, which would mask this behavior. I would > suggest that you file a ticket. >
If you do not specify owner/group/mode and you don't have a global default and the file needs to be created, it will be created with owner/group/mode of the source file. This can of course fail if the agent is not run as root. FWIW there was a discussion about the current behaviour quite a while ago, but the last comment is over a year old now: http://projects.puppetlabs.com/issues/5240 -Stefan -- 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.