----- Original Message ----- > From: "James Henderson" <[email protected]> > To: [email protected] > Sent: Friday, October 11, 2013 4:12:21 PM > Subject: [Puppet Users] Re: Rootless Puppet > > > > On Friday, October 11, 2013 9:28:44 AM UTC-4, jcbollinger wrote: > > > > > > > > On Thursday, October 10, 2013 4:17:31 PM UTC-5, James Henderson wrote: > >> > >> Hello, > >> > >> I am the guy who Spencer is talking about. Since I am brand new to > >> puppet, and puppet non-root is not well supported at this time, we have > >> decided to go with a more script based option. > >> > > > > > > You should use what works best for you, of course, but like R.I., I'm not > > sure what you mean by "not well supported". I'd estimate that Puppet > > non-root is not widely *used*, but that's because many of the resources > > that people want to manage cannot be modified by unprivileged users. > > That's not a problem that Puppet (or any other system) can solve. > > > > > > What I mean by "not well supported": > - installing puppet if you do not have root is a non-trivial exercise and > isn't documented anywhere that I could find. In my case we could probably > get the sys admins to install a version, but at my company it is definitely > better to do things yourself.
export GEM_HOME=~/.gem gem install puppet export PATH=$PATH:~/.gem/bin puppet --version > - most packages on puppetforge will not work out of the box as they do > assume that you have root access yes, packages are gonna require root. > - you need to write your puppet files in a special way in order to use > them without root not really, it just means you need to not try to do things only root can do past that nothing changes. > - when someone asked on ask.puppetlabs.com about this configuration, here > is the answer they got: > https://ask.puppetlabs.com/question/413/puppet-agent-running-as-unprivileged-user/ > - this answer does not show that this is a typical and supported option, > rather it is an option that you can make work if you write all of your > manifests in a very particular way. the agent just works if you start it as your user, you'll have instead of /var/lib/puppet ~/.puppet and everything else roughly stays the same. If you put the manifests in your homedir you can just use puppet apply and do not even need a master to fully manage everything your user can managed -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
