so it would be preferrable to be able to install root elsewhere
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.
However I am very interested in the future of puppet and I am willing to provide input, testing and development help as time permits.
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.
However I am very interested in the future of puppet and I am willing to provide input, testing and development help as time permits.
How about starting by describing some of the features you think Puppet should have to support non-root use well?
John
I know of several who have managed servers, but want to use Puppet to roll manage the applications they install, and whatelse they have been allowed to manage - but that will never be able to run puppet as root, since the OS is not their responsibility.
Also - some of those, the managers of the server use puppet (as root) to set them up - but again - they can't share puppet repo.. so it would be preferrable to be able to install root elsewhere (they build their own patched version of puppet, to make it support installing under /opt - not something puppet supports very well currently). They are also using puppet on a lot of diff. unix OS'es - so they have to compile it for several themselves, and since they want thing uniform (and none-intrusive) - they choose to install under /opt on all.
--
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 puppet-users...@googlegroups.com.
To post to this group, send email to puppet...@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.
export GEM_HOME=~/.gem
gem install puppet
export PATH=$PATH:~/.gem/bin
puppet --version
> >
> > 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