Theoretically you should be able to do this:
augtool> print /files/etc/logrotate.d/syslog/rule/file[. =~
regexp("/var/log/mail")]
... but I can't get the Regular Expression function to work in augtool :-(
You could match each one, considering you know the names of each Syslog
Level:
augtoo
On 08/05/12 09:26, Luke Bigum wrote:
> Theoretically you should be able to do this:
>
> augtool> print /files/etc/logrotate.d/syslog/rule/file[. =~
> regexp("/var/log/mail")]
>
> ... but I can't get the Regular Expression function to work in augtool :-(
Very nearly. Try this:
augtool> print /
On Fri, May 4, 2012 at 5:23 PM, Nan Liu wrote:
> On Fri, May 4, 2012 at 3:59 AM, Kaya Saman wrote:
>> Hi,
>>
>> I am still learning Puppet meaning that I'm still struggling through things.
>>
>>
>> I have setup Puppet on CentOS 6.x (latest release), installed the
>> Puppet Labs repos and followed
On Tue, May 8, 2012 at 9:53 AM, Kaya Saman wrote:
> On Fri, May 4, 2012 at 5:23 PM, Nan Liu wrote:
>> On Fri, May 4, 2012 at 3:59 AM, Kaya Saman wrote:
>>> Hi,
>>>
>>> I am still learning Puppet meaning that I'm still struggling through things.
>>>
>>>
>>> I have setup Puppet on CentOS 6.x (late
Thanks a lot! it works fine!
As in rsyslog logrotate conf file there are many rules, I used this
syntax to retrieve the correct rule instead to define rule index manually:
augtool> print /files/etc/logrotate.d/rsyslog/rule[file =~
regexp("/var/log/mail.*")]/file[. =~ regexp("/var/log/mail.*")
On May 7, 2012, at 12:47 PM, Christopher Wood wrote:
> Wrapper script (similar concept for anywhere with a yaml reader):
Still have to *write* the YAML files.
> Out of nosiness, how do you handle the edgier cases in your manifests? For
> example, how everything is a standard syslog client, exce
Thanks! That part is working now. cheers!!
On Monday, May 7, 2012 5:42:57 PM UTC+1, iceberg wrote:
>
> Yes, but nuke the certs on the master too - delete the
> /var/lib/puppet/ssl/certs/*. You want everything regenerated.
>
>
--
You received this message because you are subscribed to the Goog
Don't stress, I'm sure its topical :-).
On May 8, 2012 5:49 AM, "Brian Gupta" wrote:
> My apologies, this was supposed to go to the puppet-nyc mailing list. :(
> -Brian
>
> On Tue, May 8, 2012 at 12:42 AM, Brian Gupta
> wrote:
> > Ohad did a great job covering Foreman. If you couldn't make it go
Hi all,
I'm in the procedure of migrating my old puppet server
(puppet-2.6.14-1.el5) with mongrel to a new one
(puppet-2.7.14-1.el6.noarch) with passenger.
I'm facing a really strange behaviour with the catalog compilation
time. I've 3 servers:
1.-) Centos 5.8 puppet-2.6.14-1.el5 + rubygem-mongr
On 8 May 2012 20:00, Derek J. Balling wrote:
>
> On May 7, 2012, at 12:47 PM, Christopher Wood wrote:
> > Wrapper script (similar concept for anywhere with a yaml reader):
>
> Still have to *write* the YAML files.
>
> Oh yeah. This is my big motivator sticking with extlookup and not
converting to
Still have to *write* the YAML files.
Oh yeah. This is my big motivator sticking with extlookup and not
converting to Hiera - anyone in the team can do CSV. But YAML is
starting to push well into the dev camp and far away from ops (IMHO)
Unless you're doing rich data types such as hashes,
- Original Message -
> From: "John Warburton"
> To: puppet-users@googlegroups.com
> Sent: Tuesday, May 8, 2012 12:14:48 PM
> Subject: Re: [Puppet Users] Puppet 3.0 and Hiera
>
>
> On 8 May 2012 20:00, Derek J. Balling < dr...@megacity.org > wrote:
>
>
>
>
> On May 7, 2012, at 12:47
Thanks R.I. & Craig Dunn
On 8 May 2012 21:43, R.I.Pienaar wrote:
>
> If you want the same abilities that CSV has then this would be your YAML:
>
> sysadmin: y...@your.com
> nameservers: [1.2.3.4, 2.3.4.5]
>
> just that simple, I think this is much clearer than CSV. If people really
> are
That
Team,
can someone help me
Thanks,
Jeeva
On Mon, May 7, 2012 at 10:39 AM, Munna S <19.mu...@gmail.com> wrote:
> Hi Team,
>
> sorry for the delay. My setup is like this.
>
> we have a 2 .pp file. one for production ( prod_base.pp) and other for
> development ( dev_base.pp) under /etc/puppet/mani
Hi,
No, that is impossible to do. Once a class is declared it cannot be
undeclared. Puppet is an additive model.
The way that node inheritance works means you can *NOT* even do this:
class prod_scripts {
if ($actually_do_prod_scripts) {
...
...
}
}
node prod_base {
include prod
On Tue, May 8, 2012 at 10:07 AM, Kaya Saman wrote:
> On Tue, May 8, 2012 at 9:53 AM, Kaya Saman wrote:
>> On Fri, May 4, 2012 at 5:23 PM, Nan Liu wrote:
>>> On Fri, May 4, 2012 at 3:59 AM, Kaya Saman wrote:
Hi,
I am still learning Puppet meaning that I'm still struggling through
So we're looking at using Puppet. There are three things we're trying
to figure out how to manage -- SSL keys for the webservers, SSH keys
for the users, and the user's passwords (and specific /etc/shadow and /
etc/passwd for each box).
There's a ton of concerns with each one of these. Is there
how do I troubleshoot this error that occurs for about 12% of the
puppet clients (~70 out of ~550.)
--
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 from this grou
On Tue, 8 May 2012 05:35:34 -0700 (PDT)
Tim Lank wrote:
> how do I troubleshoot this error that occurs for about 12% of the
> puppet clients (~70 out of ~550.)
do they run as daemon?
always the 70 same hosts are failling?
do they run at same time?
Cheers,
Arnau
--
You received this message bec
On 8 May 2012 14:28, Jistan Idiot wrote:
> So we're looking at using Puppet. There are three things we're trying
> to figure out how to manage -- SSL keys for the webservers, SSH keys
> for the users, and the user's passwords (and specific /etc/shadow and /
> etc/passwd for each box).
>
> There's
On Tue, May 08, 2012 at 06:00:07AM -0400, Derek J. Balling wrote:
>
> On May 7, 2012, at 12:47 PM, Christopher Wood wrote:
> > Wrapper script (similar concept for anywhere with a yaml reader):
>
> Still have to *write* the YAML files.
I don't think I've ever actually opened a text editor and wri
On 8 May 2012 06:42, Brian Gupta wrote:
> Ohad did a great job covering Foreman. If you couldn't make it go
> check it out! (Audio is a little low) http://youtu.be/CqX-heDl9VM
>
> You can also check it out on archive.org if that's your preference:
> http://archive.org/details/Puppet-nycMonthlyMeet
On Tue, 8 May 2012 13:07:04 +0200
Arnau Bria wrote:
I should add more info on servers and "manifests":
> 1.-) Centos 5.8 puppet-2.6.14-1.el5 + rubygem-mongrel-1.0.1-6.el5
>
> Client:
> Compiled catalog for td055.pic.es in environment production in 4.25
> seconds Server:
> time puppet master --ve
they do run as a daemon
pretty much always the same 70 and they don't all run at the same
time. Many do, but not all.
On Tue, May 8, 2012 at 9:03 AM, Arnau Bria wrote:
> On Tue, 8 May 2012 05:35:34 -0700 (PDT)
> Tim Lank wrote:
>
>> how do I troubleshoot this error that occurs for about 12% of
Dear all,
I've switched to apache/passenger for puppet-dashboard, following the
instruction here:
>
> http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#running-dashboard-in-a-production-quality-server
>
*
httpd* is running okay but I see it's dashboard still seems to use WEB
FWIW, we are experiencing exactly the same thing in 2.7 that you are. We used
to average 6-9 seconds for compilation time and now it's anywhere from 15 to
250 to "timed out".
D
On May 8, 2012, at 7:07 AM, Arnau Bria wrote:
> Compiled catalog for td055.pic.es in environment production in 4.25 s
Should I be able to override a parameter in a define? I've been searching
the group and found answers both saying you can and can't
CAN:
https://groups.google.com/forum/?fromgroups#!searchin/puppet-users/override$20define/puppet-users/Jb9Xr02dR7U/_LzailkL5-0J
CANT:
https://groups.google.com/f
don't start the puppet-dashboard service anymore. Once you have defined
your vhost in apache properly, starting apache will make it start serving
your dashboard.
Sent from my galaxy tab
On May 9, 2012 1:03 AM, "Sans" wrote:
> Dear all,
>
> I've switched to apache/passenger for puppet-dashboard,
aahh... that's what I was wondering.
So, does it also mean there is no need for reports, reportdir and reporturlin
the
*puppet.conf *as well? Cheers!!
On Tuesday, May 8, 2012 10:01:02 PM UTC+1, Walter Heck wrote:
>
> don't start the puppet-dashboard service anymore. Once you have defined
I'm trying to set up a system in which the web devs can deploy new websites
via puppet kick. I'm not having a problem with puppet kick itself, but
rather figuring out how to make my "webserver::sitelist" class *only* get
deployed via puppet kick, and not have it regularly evaluated in the
nodes
As a courtesy update for our user community:
My earlier claims about the "lookup" function were exaggerated. Instead,
the "hiera", "hiera_array", and "hiera_hash" functions will all be
available, provided by Hiera.
Also, as mentioned earlier, class parameters will be sourced from multiple
locati
Arnau, is it possible for you to send me a copy of your manifests? A colleague
and I were recently trying to find out where the slowness in 2.7 really was.
We weren't able to pinpoint it as we had to move on to something else, but we
were not able to generate a catalog that had compile time di
Further, it would help to know how many different environments you're
using
On May 8, 3:24 pm, Carl Caum wrote:
> Arnau, is it possible for you to send me a copy of your manifests? A
> colleague and I were recently trying to find out where the slowness in 2.7
> really was. We weren't able to
On Tuesday, May 8, 2012 6:36:02 AM UTC-7, Erik Dalén wrote:
>
>
> That still holds true (unless you want to micromanage access permissions).
>
> There is however a way to create a directory per host that is only
> accessible by that host:
> https://groups.google.com/forum/#!msg/puppet-users/XB
34 matches
Mail list logo