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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Tue, Jul 12, 2011 at 2:21 AM, treydock <treydock@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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.