Trevor Hemsley wrote:
> Brian Ferris wrote:
>> I'm using puppet to manage configs on machines where I don't have root
>> access.  Whenever I use a File resource where the source is a puppet://
>> resource, I get tons of warnings when I run puppet that look like:
>>
>> Cannot manage ownership unless running as root
>>
>> True enough, I'm not running as root, but I also didn't specifically
>> mention a "owner" parameter on my file resource.  This only seems to
>> happen to File resources that I populate using a "source" parameter.
>>
>> These warnings tend to pile up and make it difficult to see more
>> informative messages from puppet about what has actually changed when
>> updating.  Is there some way of disabling these messages?
>>   
> If you omit the owner and group parameters from the file resource then
> puppet helpfully tries to set them to the owner/group of the source file
> from your puppetmaster.
> 
> If you specify the owner/group to be the ones you are running puppetd as
> then I think the warnings should go away.

I think Brian is referring to the messages, when puppet is trying to 
configure its runtime environment (config files, logging). There is 
syntax to do as you recommend in the config file too, but I would think 
that this should work by default, without useless noise in the log.


Regards, DavidS

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