Douglas Garstang writes:
> On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop
> wrote:
> > If you don't see a use, don't use the feature. However, when you have
> > an issue and people suggest external nodes is the answer, you might
> > consider listening.
>
> Paul, I initially asked about a
Douglas - what you are trying to do isn't supported in say 0.25.x
without compromising. I think the discussion regarding you using
external nodes is a waste of time - I'd rather divert the conversation
instead talk about what you might want in an ideal world.
So it sounds like from that other thre
On Fri, 2010-05-21 at 02:03 -0400, Joe McDonagh wrote:
> On 05/21/2010 01:17 AM, James Turnbull wrote:
> > On 21/05/10 1:44 PM, windowsrefund wrote:
> >
> >> Thanks for the tip. I never knew about this feature. I can see how
> >> this might be useful but I'm looking for something that shows the
>
Hi Patrick,
On 20 mei, 23:11, Patrick wrote:
> That's strange. Can you post a copy of the cron-apt config file? I'd like
> to play around with it and see if I get the same problem.
I can, but it's so simple, I'm not even going to bother :) The default
config file is everything commented out.
Many thanks for your kind help.
> The nsca solution can be problematic - we wrote our own receiver/
> sender and shipped stuff via snmp instead. I seem to remember a skew
> issue - where all nsca updates from all servers where sent on the
> minute (ie. zero seconds past the minute) - can't recall
> This sounds like some big monitoring installation to me
> where you certainly have other capacities (viz. like for developing
> your own transports of check results).
> Unfortunately, we haven't apart from intermediate Perl and passing C
> experience in my case.
We wrote it all in Perl :-).
> I
Abhishek,
Our resident Victorian has checked to make sure I'm not being silly:
http://projects.puppetlabs.com/issues/3807
So yes - it seems at this point to be a genuine bug. I think my
workaround is okay for now - but somewhat cludgy and hard-coded (so
not acceptable as a patch). I'd suggest vo
> We wrote it all in Perl :-).
Ah, did you use any CPAN modules, or did you wrote all from scratch?
Just out of curiosity.
> Yep:http://docs.reductivelabs.com/references/stable/metaparameter.html
Yes, I remember to have consulted this reference already a couple of
times.
> Something like:
>
>
On May 21, 2010, at 02:16 , Douglas Garstang wrote:
> On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop wrote:
>> If you don't see a use, don't use the feature. However, when you have
>> an issue and people suggest external nodes is the answer, you might
>> consider listening.
>
> Paul, I initially
> Ah, did you use any CPAN modules, or did you wrote all from scratch?
> Just out of curiosity.
For the purpose of sending we just used plain old Net::SNMP:
http://search.cpan.org/~dtown/Net-SNMP-v6.0.0/lib/Net/SNMP.pm
We obviously had our own MIB, and added a section to handle traps for
this pu
Hi all,
To expand on this, I tried it from the irb:
t...@puppet-test.db:~/augeas/lenses$ sudo irb
irb(main):001:0> require 'augeas'
=> true
irb(main):002:0> Augeas::open do |aug|
irb(main):003:1* aug.set("/files/etc/cron-apt/config/
MAILON","upgrade")
irb(main):004:1> unless aug.save
irb(main):00
Hi all,
Okay, I found it, but I cannot explain what's happening here. Hope
someone else can.
I was adding a load_patch with value "/usr/local/share/augeas/lenses".
When I add that, I get the error. If I leave it out, it works.
However, I have no idea how Augeas knows that it should be searching /
Hi all,
Finally found my problem. Apparantly, the default shellvars.aug lens
already includes the config to make it apply to /etc/cron-apt/config.
When I added my cronapt.aug custom lens, there was a clash of two
lenses telling augeas they were applicable on the same file.
So, PEBKAC. Apologies f
As as an example for what I do in nodes.pp and what is hard for me to do is
things like this:
node "hlslinutil1.law.harvard.edu" {
$ip = "10.241.209.118"
$broadcast = "10.241.209.255"
$netmask = "255.255.255.0"
$network = "10.241.209.0"
$gateway = "10.241.209.1"
$hlsenvir
I have moved my node defs from files to LDAP but puppetmaster can't find
them.
I am using puppet 25.4-1.el5 with 389 ldap server and I have configured
puppetmaster to use LDAP all running on Centos 5.4 x86_64.
Here is the strange part:
The LDAP logs show the connection from puppetmaster.
The LDA
Are there any Puppet consultants in the Boston, MA area? We're looking to
hire someone for a short-term contract to convert our existing network.
Basic stats:
- All servers to be converted are CentOS 5
- about 300 servers (real and vm)
- about 25-30 unique server types (web, db, etc)
- 4 differen
I can't seem to find any information on being able to require one package
OR another.
I have some existing systems that have postfix, and others that use
msmtp. How can I specify that either postfix OR msmtp be installed?
-A
--
You received this message because you are subscribed to the Google
On 5/21/2010 5:33 PM, Ashley Penney wrote:
As as an example for what I do in nodes.pp and what is hard for me to do
is things like this:
node "hlslinutil1.law.harvard.edu" {
$ip = "10.241.209.118"
$broadcast = "10.241.209.255"
$netmask = "255.255.255.0"
$network = "10.241.20
Hi,
I'm using Ralsh to audit our existing systems and I've run into a
strange issues with the output.
Compare the examples below taken from two separate servers and spot the
difference:
Server 1
user { 'root':
ensure => 'present',
comment => 'root',
shell => '/bin/bash',
On Fri, May 21, 2010 at 1:15 AM, Ken Barber wrote:
> Douglas - what you are trying to do isn't supported in say 0.25.x
> without compromising. I think the discussion regarding you using
> external nodes is a waste of time - I'd rather divert the conversation
> instead talk about what you might wan
On Fri, May 21, 2010 at 5:45 AM, Atha Kouroussis wrote:
> On May 21, 2010, at 02:16 , Douglas Garstang wrote:
>
>> On Thu, May 20, 2010 at 10:06 PM, Paul Lathrop
>> wrote:
>>> If you don't see a use, don't use the feature. However, when you have
>>> an issue and people suggest external nodes is
On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang
wrote:
> On Fri, May 21, 2010 at 1:15 AM, Ken Barber wrote:
> > Douglas - what you are trying to do isn't supported in say 0.25.x
> > without compromising. I think the discussion regarding you using
> > external nodes is a waste of time - I'd rath
On 5/21/2010 5:39 PM, Aaron C. de Bruyn wrote:
I can't seem to find any information on being able to require one package
OR another.
I have some existing systems that have postfix, and others that use
msmtp. How can I specify that either postfix OR msmtp be installed?
$mta = # postfix or msm
On 5/21/2010 5:56 PM, Douglas Garstang wrote:
On Fri, May 21, 2010 at 1:15 AM, Ken Barber wrote:
Douglas - what you are trying to do isn't supported in say 0.25.x
without compromising. I think the discussion regarding you using
external nodes is a waste of time - I'd rather divert the conversat
On Fri, May 21, 2010 at 9:07 AM, Nigel Kersten wrote:
>
>
> On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang
> wrote:
>>
>> On Fri, May 21, 2010 at 1:15 AM, Ken Barber wrote:
>> > Douglas - what you are trying to do isn't supported in say 0.25.x
>> > without compromising. I think the discussion
I've got some code at home that I think does what you want.
I'll try to find time to dust it off over the weekend and post it to
the list (no promises though).
Trevor
On Thu, May 20, 2010 at 10:34 PM, windowsrefund wrote:
> Despite taking great care to keep my manifests clean and logical, my
>
On Fri, May 21, 2010 at 9:22 AM, Douglas Garstang
wrote:
> On Fri, May 21, 2010 at 9:07 AM, Nigel Kersten wrote:
> >
> >
> > On Fri, May 21, 2010 at 8:56 AM, Douglas Garstang <
> doug.garst...@gmail.com>
> > wrote:
> >>
> >> On Fri, May 21, 2010 at 1:15 AM, Ken Barber wrote:
> >> > Douglas - wha
- "Nigel Kersten" wrote:
> >
> >
> > Is something like extlookup what you're really looking for?
> > http://code.google.com/p/extlookup/
> > You have a bunch of parameters per host that you wish to be able to
> update
> > programmatically, so you put all of this into an external data file
>
On Fri, May 21, 2010 at 9:40 AM, R.I.Pienaar wrote:
>
> - "Nigel Kersten" wrote:
>
>> >
>> >
>> > Is something like extlookup what you're really looking for?
>> > http://code.google.com/p/extlookup/
>> > You have a bunch of parameters per host that you wish to be able to
>> update
>> > progra
> I'll try to find time to dust it off over the weekend and post it to
> the list (no promises though).
>
> Trevor
Thank you very much. Looking forward to checking that out.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group
Am 21.05.2010 17:53, schrieb Matt Wallace:
> The issue I've got is that because "comment" and "ensure" are on
> different lines on the two servers, I'm having real issues picking up
> the differences between the servers because diff just shows hundreds of
> lines that do not match across the two fi
Hi,
I have this in my sshdconfig module's init.pp but the service is not
getting restarted even though at first connect the file sshd_config is
getting modified with the Banner entry. Can someone please help?
class sshdconfig {
file {
"/etc/ssh/sshd_config":
path
I need to replace some text in a file... there is some type, that i can pass
a value and to be replace and the destination file? or anyone here have some
class who does that?
--
Marley Bacelar
Project Fedora Ambassador
VCP, VSP. VTSP., ITILF, IBM 000-076, IBM 000-330, IBM 000-331
marleybace...@gm
On May 21, 2010, at 13:50 , Douglas Garstang wrote:
> On Fri, May 21, 2010 at 9:40 AM, R.I.Pienaar wrote:
>>
>> - "Nigel Kersten" wrote:
>>
Is something like extlookup what you're really looking for?
http://code.google.com/p/extlookup/
You have a bunch of paramet
On May 21, 2010, at 11:23 AM, takrishnan wrote:
> Hi,
>
> I have this in my sshdconfig module's init.pp but the service is not
> getting restarted even though at first connect the file sshd_config is
> getting modified with the Banner entry. Can someone please help?
>
> class sshdconfig {
>
You might want to check out Augeas. It might be easier to use.
I've seen a simple define that does that, but I can't find it. It had a grep
statement in unless, and used sed to make the change. A much more complicated
example can be found at
http://projects.puppetlabs.com/projects/puppet/wik
Marley Bacelar writes:
> I need to replace some text in a file... there is some type, that i can pass
> a value and to be replace and the destination file?
I know this sounds like a great idea, but decades of experience with puppet
and proceeding tools tell us that editing the content of files i
On Fri, May 21, 2010 at 6:08 PM, Daniel Pittman wrote:
> Marley Bacelar writes:
>
> > I need to replace some text in a file... there is some type, that i can
> pass
> > a value and to be replace and the destination file?
>
> I know this sounds like a great idea, but decades of experience with pu
On May 21, 2010 08:51:59 am Dave Augustus wrote:
> I have moved my node defs from files to LDAP but puppetmaster can't find
> them.
>
> I am using puppet 25.4-1.el5 with 389 ldap server and I have configured
> puppetmaster to use LDAP all running on Centos 5.4 x86_64.
>
> Here is the strange part
On May 21, 2010, at 8:26 PM, Andrew Heagle wrote:
On May 21, 2010 08:51:59 am Dave Augustus wrote:
I have moved my node defs from files to LDAP but puppetmaster can't
find
them.
I am using puppet 25.4-1.el5 with 389 ldap server and I have
configured
puppetmaster to use LDAP all running
hi there,
i'm not sure as to how to call the subject of this post, as i'm
totally new to puppet -- so please forgive me if this is
misleading ...
for my servers, i'm planning to do something like this (pseudo-code):
class (?) base-config:
include ntp::client
include resolver
...
all
> The vast majority of our text replacement work we do is for files that
> have simple key/value pairs with an assignment operator.
>
>
> foo=bar
> foo: bar
>
>
> etc.
>
>
> We occasionally stray outside this with a regexp replacer, but I
> totally agree with Daniel here, it's not the most ro
Nice... I solved my probleman using the:
define replace($file, $pattern, $replacement) {
exec { "/usr/bin/perl -pi -e 's/$pattern/$replacement/' '$file'":
onlyif => "/usr/bin/perl -ne 'BEGIN { \$ret = 1; } \$ret = 0 if
/$pattern/ && ! /$replacement/ ; END { exit \$ret; }' '$file'",
}
}
andreash writes:
> i'm not sure as to how to call the subject of this post, as i'm totally new
> to puppet -- so please forgive me if this is misleading ...
>
> for my servers, i'm planning to do something like this (pseudo-code):
>
> class (?) base-config:
> include ntp::client
> include
Hey there,
I've playing with parsing some of the yaml data that puppet creates. Has anyone
had luck doing this with python or the like? It seems that in every yaml file,
there is a comment at the top of the file like this..
--- !ruby/object:Puppet::Node
Which doesn't make may yaml parsers happ
Next meeting of the Portland Puppet Users Group will be held on June 8th at 7PM
in Portland, Oregon, Downtown. We are going to kick back talk Puppet and
explore the Puppet Dashboard. Further details can be found at
http://calagator.org/events/1250458707.
--Cody
--
You received this messag
46 matches
Mail list logo