Re: [Puppet Users] Running puppet client on OS X

2011-07-12 Thread Patrick

On Jul 11, 2011, at 7:51 PM, treydock wrote:

 What is the preferred method for running the puppet client in OS X?
 So far all methods I've tried seem to default to running the client as
 the root user.  Should this be changed to run as a puppet user?
 
 Should I explicitly define puppet as the user in puppet.conf?
 
 As a test I ran puppetd --test --debug -v and successfully had it
 check my puppetmaster while the OS X directories (/etc/puppet, /var/
 lib/puppet/*) were owned by root, and it still worked.

Usually the puppet client is run as root because this allows it to change 
things in the system.  For instance, you can't install packages or change most 
files in /etc if you are not root.

You can run the puppet client as a non-root user.  It's just not as common.

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



[Puppet Users] Running puppet client on OS X

2011-07-11 Thread treydock
What is the preferred method for running the puppet client in OS X?
So far all methods I've tried seem to default to running the client as
the root user.  Should this be changed to run as a puppet user?

Should I explicitly define puppet as the user in puppet.conf?

As a test I ran puppetd --test --debug -v and successfully had it
check my puppetmaster while the OS X directories (/etc/puppet, /var/
lib/puppet/*) were owned by root, and it still worked.

Additionally, is the puppetmasterd process / configuration necessary
to run only the client on OS X?  Using Puppet's provided spec file for
CentOS I can create a client only RPM, but can not seem to do this
from source or using the provided shell script in conf/osx.

Thanks
- Trey

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