On Wed, Jan 26, 2011 at 22:52, Johan Sunnerstig
wrote:
> I'm trying to make puppet disable and stop some services on a bunch of
> Debian boxes, but I'm running into some problems.
> The puppet server is running 2.6.4, downloaded from puppetlabs.com, the Deb5
> clients do as well, while the Deb6 c
On Wed, 2011-01-26 at 13:56 -0800, Jason Wright wrote:
> On Wed, Jan 26, 2011 at 1:17 PM, Daniel Pittman wrote:
> > For what it is worth I have been looking at this quietly in the
> > background, and come to the conclusion that to progress further I am
> > going to have to either reproduce this my
On Thu, 2011-01-27 at 10:31 +0100, Brice Figureau wrote:
> On Wed, 2011-01-26 at 13:56 -0800, Jason Wright wrote:
> > On Wed, Jan 26, 2011 at 1:17 PM, Daniel Pittman
> > wrote:
> > > For what it is worth I have been looking at this quietly in the
> > > background, and come to the conclusion that
On Wed, 2011-01-26 at 14:36 -0800, Daniel Pittman wrote:
> On Wed, Jan 26, 2011 at 13:56, Jason Wright wrote:
> > On Wed, Jan 26, 2011 at 1:17 PM, Daniel Pittman
> > wrote:
> >
> >> For what it is worth I have been looking at this quietly in the
> >> background, and come to the conclusion that t
>> Are there many templates or use of the file() function?
>
> Yes, there are quite a few. I'm not really sure the best way to count
> them. I have 288 'source => "$fileserver"' lines in my
Those don't hurt compilation.
> manifests. Another ~160 of them in various modules. As far as templates
>
Hello All,
I can't get puppetmaster to run at all...
I normally use the init.d script but that would come back with a false
OK- a simple "ps aux" showed no puppetmaster!
So I tried this as root:
/usr/sbin/puppetmasterd --logdest syslog --storeconfigs --no-daemon
--debug --trace --config=/etc
On 01/27/2011 01:11 PM, Dave Augustus wrote:
> Hello All,
>
> I can't get puppetmaster to run at all...
> Could not run: Could not create PID file: /var/lib/puppet/run/master.pid
Does /var/lib/puppet/run/ exist? Is it writable?
>
> My puppetmaster system:
>
> Setup:
> puppet 2.6.4 (compiled
> ...because a whole bunch of init scripts on Debian didn't provide a
> functional 'status' method, which meant that puppet would fail in a
> whole other exciting way. :(
So I guess the best way to solve it on my end would be to simply specify
hasstatus and such per service I guess?
> We alrea
On Jan 23, 2011, at 4:48 PM, Nigel Kersten wrote:
> It's particularly difficult to understand what's going on with a given
> bug report when the log/manifest/terminal output is all being
> mis-interpreted as Markdown text.
If it’s being treated as Markdown, indenting such sections 4 or more space
Hello,
I finally found the problem, there were two reasons:
- in the client there was the file /etc/puppet.conf, removing it made
the client dowloading the right configuraition
- after I was installing the complete manifests site and classes
through an rpm which copied all the files to the new pupp
On Jan 26, 2011, at 9:15 AM, Howard Jones wrote:
> I have a couple of applications (backup, Cacti, Asset Tracking) where I want
> a node to have some package and config installed, and once that is done, some
> config to be done on another system to register the client with a central
> server. I
I have a file that is part of a software I am installing via puppet...
the file is constructed from a template, as it has a couple of fields
I wanna be able to change in the future.
The file is updated by the app itself, upon restart, which changes
just one field, in a key=val line...the result is
STRICTLY PRIVATE, CONFIDENTIAL AND PRIVILEGED COMMUNICATION.
This message (including attachments) may contain information that is
privileged, confidential or protected from disclosure. They are intended
solely for the use of the intended recipient. If you are not the
intended recipient, you are h
Not really. There are a couple ways to handle this:
1) Make use of includes. Have the puppet-managed file include the app-managed
file. Of course, this requires the app to be friendly to this kind of setup.
2) Add "replace=>false" so that Puppet will create the file but never update it
if it e
Not really. There are a couple ways to handle this:
1) Make use of includes. Have the puppet-managed file include the app-managed
file. Of course, this requires the app to be friendly to this kind of setup.
2) Add "replace=>false" so that Puppet will create the file but never update it
if it e
On Thu, Jan 27, 2011 at 8:32 AM, Jakub Pastuszek wrote:
> It would be probably better if Puppet initialized providers on demand (lazy).
> This way I would require that this package is installed before using the
> resource.
Yes. I'll try and find the bug, but that's definitely where we're going
On Jan 27, 2011 4:58 AM, "Johan Sunnerstig"
wrote:
>
> > ...because a whole bunch of init scripts on Debian didn't provide a
> > functional 'status' method, which meant that puppet would fail in a
> > whole other exciting way. :(
>
> So I guess the best way to solve it on my end would be to simply
Nigel Kersten a écrit :
All puppet changes are applied with explicit and manual "puppetd -t"
All interactions with puppet are manual and CLI based. Admin should manual
valid that changes that are being applied are ok.
This is the kind of use of puppet that I think it rarely speak about here ;)
Thanks Brian...
Looks like 2 and 3 are my options
2) Add "replace=>false" so that Puppet will create the file but never
update it if it exists. Of course, that breaks when you have updates
that you really do need puppet to apply.
When I need to force the update, I would simply comment out th
Hello,
Anyone wrote or uses augeas to manage splunk config files and care to
share them?
Thanks a lot.
Mohamed.
--
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
I have a few settings that change based on the network that a system is
in, and I have a heterogeneous collection of networks (a few /24s, some
/25s, a /29 and a couple /27s, and hey look a /16 in rfc1918 space
and...). So I can't do simple regex matches on dotted-quad IP notation
and expect to ge
On Thu, Jan 27, 2011 at 1:42 AM, Brice Figureau
wrote:
> Which make me think that either you still have 0.24.x clients or I
> missed some 0.25 client feature that uses XMLRPC file serving.
All of our OS teams upgraded to 0.25.x clients months ago. I don't
even think our manifests compile for 0.2
Either comment it out for the one run or delete the target file manually.
Neither solution is really good.
On Jan 27, 2011, at 10:34 AM, Mohamed Lrhazi wrote:
> Thanks Brian...
> Looks like 2 and 3 are my options
>
> 2) Add "replace=>false" so that Puppet will create the file but never
> u
Not sure if this would help you, but:
I needed to generate a config file where some value
(netbackup_media_server) depended on the ip of the client (ipaddress
fact), so I did the following inside the template:
# MANAGED BY PUPPET
<%
table="
10.212.3.0/24nbmedia2-503.example.com
I guess my answer was: you can use ruby's library ipaddr inside
templates, not sure about manifests.
On Thu, Jan 27, 2011 at 2:36 PM, Nick Moffitt wrote:
> I have a few settings that change based on the network that a system is
> in, and I have a heterogeneous collection of networks (a few /24s,
I am using augeas to update the PAM configuration (ie: to LDAP enable my
systems).
Here is a snippet of what I am doing to add required modules, etc.
"auth-pam_succeed":
context => "/files/etc/pam.d/system-auth",
On Jan 27, 2011, at 3:16 PM, Matthew Ceroni wrote:
> I am using augeas to update the PAM configuration (ie: to LDAP enable my
> systems).
>
> …
>
> My question is, is there a simpler way to do what I am doing. Meaning can I
> combine all these seperate calls into one?
You didn’t say what OS t
In puppetmaster behind apache/passenger setup, Can I move
/etc/puppet/rack/ to /var/www/puppet for example?
It seems that when I try, I get access denied errors, in apache log file:
Could not prepare for execution: Got 1 failure(s) while initializing:
change from absent to file failed: Could not
Mohamed Lrhazi:
> I guess my answer was: you can use ruby's library ipaddr inside
> templates, not sure about manifests.
That is an interesting approach, and suggests possible inline_template()
hacks. I note that of course Puppet itself can do CIDR tests in various
conf file settings, so clearly
On 27/01/11 20:40, Jason Wright wrote:
> On Thu, Jan 27, 2011 at 1:42 AM, Brice Figureau
> wrote:
>> Which make me think that either you still have 0.24.x clients or I
>> missed some 0.25 client feature that uses XMLRPC file serving.
>
> All of our OS teams upgraded to 0.25.x clients months ago.
James,
Thanks! That was the trick..I had a bad line in my config.ru (after
looking at the diff, it was obvious that I had to remove the require
'puppet')
Oh! I read the release notes, and noticed the security fix included in
2.6.4, so thanks for that. I've gone ahead and updated puppet.
On Wed, J
I'm setting up puppet on one of my hosts and it seems that when I run
puppetd, it will run it initially but won't remain in the background:
[root@ps-prod-util1 /]# /usr/sbin/puppetd --verbose --debug --
server=ps-puppet
warning: You have configuration parameter $localconfig specified in
[puppetd],
The entries like
'You have configuration parameter $localconfig specified in
[puppetd], which is a deprecated section. I'm assuming you meant
[agent]'
suggest you've upgraded puppet from an old version or you're using a
puppet.conf from an older version.
I've recently upgraded and had a number o
FYI, I think the URL listed above has changed. I just found this one:
https://github.com/plathrop/puppet-module-supervisor
--
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 u
On Thu, Jan 27, 2011 at 1:16 PM, Mohamed Lrhazi wrote:
> In puppetmaster behind apache/passenger setup, Can I move
> /etc/puppet/rack/ to /var/www/puppet for example?
Sure. You just need to be aware of file permissions.
> It seems that when I try, I get access denied errors, in apache log file:
On Thu, Jan 27, 2011 at 1:46 PM, Brice Figureau
wrote:
> Regarding the first stacktrace you posted in your first e-mail, I'm sure
> this is the writelock multiprocess issue we fixed in 2.6 and that I
> referred to in a previous e-mail. This is a single (ok maybe 2) line fix
> that is safe for you
Hi!
When I issue
$ puppetmasterd --no-daemonize --verbose
I get very neat and clear log to STDIN. But I can't figure out how to
get this log when I start puppetmasterd without --no-daemonize option.
Is it possible?
--
You received this message because you are subscribed to the Google Groups "
On Thu, Jan 27, 2011 at 16:17, Sergey V. Arlashin
wrote:
> When I issue
> $ puppetmasterd --no-daemonize --verbose
>
> I get very neat and clear log to STDIN. But I can't figure out how to get
> this log when I start puppetmasterd without --no-daemonize option. Is it
> possible?
To STDOUT? You
On 28 January 2011 11:17, Sergey V. Arlashin
wrote:
> Hi!
> When I issue
> $ puppetmasterd --no-daemonize --verbose
>
> I get very neat and clear log to STDIN. But I can't figure out how to get
> this log when I start puppetmasterd without --no-daemonize option. Is it
> possible?
>
You can log to
On this topic, I was searching earlier how to add the --verbose to the
puppet.conf, so that when puppet is running as a service the log in
/var/log/puppet are more verbosy...
On 28 January 2011 01:43, John Warburton wrote:
> On 28 January 2011 11:17, Sergey V. Arlashin > wrote:
>
>> Hi!
>> When
Excellent. Thanks a lot for the explanation.
On Thu, Jan 27, 2011 at 6:23 PM, Jeff McCune wrote:
> On Thu, Jan 27, 2011 at 1:16 PM, Mohamed Lrhazi wrote:
>> In puppetmaster behind apache/passenger setup, Can I move
>> /etc/puppet/rack/ to /var/www/puppet for example?
>
> Sure. You just need t
On 01/27/2011 06:54 AM, Felix Frank wrote:
On 01/27/2011 01:11 PM, Dave Augustus wrote:
Hello All,
I can't get puppetmaster to run at all...
I feel foolish... the partition was full
time to install nagios!
Dave
--
You received this message because you are subscribed to the Google Group
We have a lot of includes in our code so it takes some digging around to find
the resultant set of classes that apply to a puppet clients. I was thinking of
somehow copying classes.txt file from the client to the server for easier
analysis. Anyone have any art on how to go about doing that? I'd
Forgot to mention that we're running 2.6.4 on the server and in the process of
migrating all clients from 0.25.5 to 2.6.4.
From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On
Behalf Of Sukh Khehra
Sent: Thursday, January 27, 2011 6:33 PM
To: puppet-users@googlegroups.co
Interestingly enough, I wrote a custom fact to do that. In my case, I have
and sshd_config.erb where I want to set the AllowGroups stanza based on all
the classes applied to a node. With 2.6.1 I could achieve that effect
simply by moving adding a class to the "post" stage (which is run after
main
I think you can just add "verbose=true" in the master section of
/etc/puppet/puppet.conf
On Jan 27, 2011, at 5:14 PM, Romain Pelisse wrote:
> On this topic, I was searching earlier how to add the --verbose to the
> puppet.conf, so that when puppet is running as a service the log in
> /var/log/
46 matches
Mail list logo