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

2011-07-12 Thread treydock
That's what I was thinking would be the case, but since the
puppetmaster files are also installed in OS X, that must by why a
puppet user is required.  So is there a way to do a client only
install of Puppet in OS X?


On Jul 12, 1:47 am, Patrick kc7...@gmail.com wrote:
 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.



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

2011-07-12 Thread Nan Liu
On Tue, Jul 12, 2011 at 2:21 AM, treydock treyd...@gmail.com wrote:
 That's what I was thinking would be the case, but since the
 puppetmaster files are also installed in OS X, that must by why a
 puppet user is required.  So is there a way to do a client only
 install of Puppet in OS X?

Puppet 2.6+ is a single executable puppet command. The difference
between master and client is just some configuration files and whether
the master service is enabled. Client only is really just install
puppet, configure and enable agent only. You can see an example from
ubuntu natty puppetmaster package:

http://packages.ubuntu.com/natty/all/puppetmaster/filelist

Thanks,

Nan

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