Hi,
is it possible to use the service resource type with a specific user ?
So that the service is started with that given user instead of the puppet
user starting it...
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this disc
- Original Message -
> Hi,
>
>
> is it possible to use the service resource type with a specific user
> ?
> So that the service is started with that given user instead of the
> puppet user starting it...
puppet runs as root, your rc script should do the right thing and run
the service
On Sep 23, 5:42 pm, Brian Gupta wrote:
> Over the years many shops have come to start running puppet via cron to
> address memory leaks in earlier versions of Ruby, but the official position
> was that puppet was meant to be run as a continually running service.
>
> I am wondering if the officia
Thanks for the reply.
I modified the rc script to run as a user.
But now I'm facing the following problem:
I have to include some nasty puppet code for adding the service before i can
use the service resource type.
And the service resource type returns ok, but the service is in fact not
started.
- Original Message -
> Thanks for the reply.
>
>
> I modified the rc script to run as a user.
> But now I'm facing the following problem:
> I have to include some nasty puppet code for adding the service
> before i can use the service resource type.
> And the service resource type retur
Take a look at
http://www.yolinux.com/TUTORIALS/LinuxTutorialInitProcess.html
I forget exactly the usage of the daemon but you need to include the
functions, which is shown at the init script example. If you read that
functions file it will give you an idea of how to use it to start up a
service a
Hello,
with debian, provided you added backports.debian.org to your
sources.list, you can install some fresher packages (say iceweasel)
with the command
apt-get install -t squeeze-backports iceweasel
Is there anyway to do this using puppet ?
Or maybe should I specify the required version of ice
On Sat, Sep 24, 2011 at 04:02:22PM +0100, R.I.Pienaar wrote:
>
>
> - Original Message -
> > Thanks for the reply.
> >
> >
> > I modified the rc script to run as a user.
> > But now I'm facing the following problem:
> > I have to include some nasty puppet code for adding the service
> >
Hi all,
I am trying to get a simple example going with one master and one
puppet. I am on Debian and used apt-get install puppetmaster for the
master and apt-get install puppet for the puppet. I was able to get
the cert signed and imported to the master from the puppet. Now I am
just trying to g
I've been tasked at my workplace to upgrade our puppet installation to
a more modern version. Currently all the environments run a RubyGem
version of puppet 0.25.4 on mostly RHEL/Centos 5.3 - 5.5 (there are,
like most environments, a few laggards running RHEL4 or new machines
running CentOS 6).
Th
Hi,
I'm trying to add my first custom type to puppet largely copying
examples whilst working with puppet-2.6.6.
My error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not render to pson: you must specify title patterns when
there are two or more key attributes
W
Thank you all for the replies.
I will certainly look into it..
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/4uAfGv7esQsJ.
To post to this group, send ema
Hello,
I have a CentOS 6.0 Virtualbox VM to package as a Vagrant box for testing
Puppet manifests.
The problem i'm having is with the user resource type not working with
CentOS.
I keep having an error message when setting the password for a user.
Provider useradd does not support features manag
I thought I read in some documentation somewhere that for array variables
you had a means of setting up a conditional for "last element".
For instance
class foo {
$hosts=['hosta','hostb','hostc']
file { some-config :
path=>"/s/ome/path/2[image: Call phone]/ In
Run puppetd with the -v flag for verbose and see any errors printed.
On Sep 24, 2011 12:16 PM, "mlove" wrote:
> Hi all,
>
> I am trying to get a simple example going with one master and one
> puppet. I am on Debian and used apt-get install puppetmaster for the
> master and apt-get install puppet f
Peter, I'm not sure about your specific question but there is a much
easier way of doing what you are trying to do.
<%= hosts.join(',') %>
That will replace your entire example template. :)
On Sep 24, 2:33 pm, Peter Berghold wrote:
> I thought I read in some documentation somewhere that for ar
Peter, are you using run stages? Your cyclical reference is probably
related to the fact that every single file resource that installs a
root-owned file has an implicit dependency on the root user. If
you've got any root-owned files installed by stages that happen before
the stage where you decla
Hi,
The options available to you are:
* Try an exec that installs the package
* try pinning the resource and push that to your apt config
* try specifying version in the config
To be honest I have not done any of these myself on debian style hosts.
Cheers
Den
On 24/09/2011, at 8:06, Sébast
Hmmm looks suspiciously Perl-ish. ;)
On Sep 24, 2011 4:19 PM, "Steve Snodgrass" wrote:
Peter, I'm not sure about your specific question but there is a much
easier way of doing what you are trying to do.
<%= hosts.join(',') %>
That will replace your entire example template. :)
On Sep 24
You must be new to Ruby.
On Sep 24, 2011 3:30 PM, "Peter Berghold" wrote:
> Hmmm looks suspiciously Perl-ish. ;)
>
> On Sep 24, 2011 4:19 PM, "Steve Snodgrass" wrote:
>
> Peter, I'm not sure about your specific question but there is a much
> easier way of doing what you are trying to do.
>
>
We had frequent inexplicable daemon crashes on Solaris, but not on RHEL5 (at
least not yet) . Given known issues with memory leakage in older Ruby
releases Cron seemed more likely to be reliable. We stuck a random wait in
the Cron job to spread load on the master and so far it works well.
On Se
21 matches
Mail list logo