Hi All,
In our environment, we use the $::environment variable extensively to
determine if the host should have one set of mounts (e.g. production) or a
different set of mounts (e.g. qa). This is just one example, but there are
many others where the $::environment variable comes into play.
The pr
On Tue, Sep 18, 2012 at 05:27:07PM -0700, Eric Sorenson wrote:
> On Friday, September 14, 2012 3:36:20 PM UTC-7, Stefan Schulte wrote:
> >
> >
> > I use this a lot to be able to have an optional parameter in a parent
> > class that is passed to an included class and the included class
> > determi
On Saturday, September 15, 2012 5:06:52 PM UTC-7, Trevor Vaughan wrote:
>
> I also use the undef to un-set parameters in various code segments. If
> this is made real, it will impact my code.
>
Trevor, if I understand correctly I think using undef to un-set parameters
won't change. If anything
On Friday, September 14, 2012 3:36:20 PM UTC-7, Stefan Schulte wrote:
>
>
> I use this a lot to be able to have an optional parameter in a parent
> class that is passed to an included class and the included class
> determines the default value. Like:
>
> class basic($puppet_cron = undef) {
So if you click on a node in dashboard, you see a graph that shows the puppet
run times for the host. This matches with what I have observed, 140-150
seconds for a puppet run.
In the chart below that I see numbers like:
Config retrieval: 3.86s
Runtime: 22.43s
So this leads to the following qu
works beautifully. Thanks a lot!
On Tue, Sep 18, 2012 at 4:33 PM, Vlad wrote:
> I've the following in the settings.yml:
> time_zone: 'Central Time (US & Canada)'
>
> You can use the following rake tasks to get a list of available time zones:
> rake time:zones:all# Displays names of all time z
On Tue, Sep 18, 2012 at 1:46 PM, Jeff McCune wrote:
> On Tue, Sep 18, 2012 at 10:15 AM, Mitchell Hashimoto <
> mitchell.hashim...@gmail.com> wrote:
>
>> Thanks! This looks like basically what I was planning on doing, so it is
>> good to see that this works.
>>
>
> I'm glad.
>
>
>> Can you expand
I've the following in the settings.yml:
time_zone: 'Central Time (US & Canada)'
You can use the following rake tasks to get a list of available time zones:
rake time:zones:all# Displays names of all time zones recognized by the
Rails TimeZone class, grouped by offset.
rake time:zones:local #
On Aug 31, 2012, at 10:40 AM, banjer wrote:
> Thanks for the reply KW, but thats not quite what I was asking. Heres the
> relevant section of the template:
>
>
> *.notice;news.none;cron.none @loghost:514
>
> <% if @hostname == "foo" %>
> # Provides UDP syslog reception
> $ModLoad imudp.so
Hi,
I wonder if we can change the time on Dashboard to show time with
local time zone, for example, PST, rather than having to use the no
sense UST?
Thanks.
Hai T.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send em
On Tue, Sep 18, 2012 at 10:15 AM, Mitchell Hashimoto <
mitchell.hashim...@gmail.com> wrote:
> Thanks! This looks like basically what I was planning on doing, so it is
> good to see that this works.
>
I'm glad.
> Can you expand on how #4248 is worked around by your pull?
>
Sure, the issue is th
On Tue, Sep 18, 2012 at 11:58 AM, LTH wrote:
> We've been doing a
>
> puppet parser validate
>
> before putting a manifest into production. however that doesn't seem to
> catch dependency loops.
>
> Is there a way to test for such problems?
As Daniel says, it's not just a matter of parsing th
Hi all
Just a final ping about PuppetConf. It's next week in San Francisco
27-28 of September. We've got 600! registered. Some of you, about 60 or
so, might remember the first camp at SFSU! We've grown just a tinsy bit
since then. :)
We'll also have about 60 Puppet Labs staff there, 70 sessions,
Hi,
I have a master with puppet 2.7 and a client with puppet 2.6. (both debian)
I have configured "pluginsync = true" on both sides to install the pip
provider on all machines (not all have puppet >= 2.7).
Within a module I copied the pip.rb from a github repo, and I get the
following message if I
On Tue, Sep 18, 2012 at 11:58 AM, LTH wrote:
> We've been doing a
>
> puppet parser validate
>
> before putting a manifest into production. however that doesn't seem to
> catch dependency loops.
>
> Is there a way to test for such problems?
Not without compiling a full catalog. On the plus si
We've been doing a
puppet parser validate
before putting a manifest into production. however that doesn't seem to
catch dependency loops.
Is there a way to test for such problems?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view t
[yes, this is a reply to an OOOLD message. sorry :) I think it's still
useful]
This is regarding a construct that I suggested to the list back in May, and
still haven't found anything better for my purposes.
So, I'm fleshing out the implementation details for people a bit more.
The idea:
Have a
Jeff,
On Tue, Sep 18, 2012 at 10:02 AM, Jeff McCune wrote:
> On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto <
> mitchell.hashim...@gmail.com> wrote:
>
>> Hi,
>>
>> I'd like to DRY up some of my Puppet lib code and wanted to put helper
>> classes in other parts of the "lib/" folder in my plu
Hi Jo,
Good catch. While working with packaging, we modified the
puppet-dashboard top-level rakefile to try loading a couple yaml files
in ext, and a rescue prints the message you see if they're not there.
Alas, those yaml files don't make it into the rpm, which is why you're
seeing the message. I
On Fri, Sep 14, 2012 at 4:48 PM, Mitchell Hashimoto <
mitchell.hashim...@gmail.com> wrote:
> Hi,
>
> I'd like to DRY up some of my Puppet lib code and wanted to put helper
> classes in other parts of the "lib/" folder in my plugin.
>
There are a couple of issues that prevent require from simply w
I installed the RPM available from yum.puppetlabs.com on CentOS 6.x and I
receive the following error when upgrading from 1.2.10 to 1.2.11.
$ rake db:migrate RAILS_ENV=production
certificate_path: 'certs/puppet.cert.pem'
private_key_path: 'certs/puppet.private_key.pem'
public_key_path: 'certs/pu
--
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 group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
Hi,
On Tue, 2012-09-18 at 21:26 +0500, Stoyan Petkov wrote:
> Thanks Stephen! That did the trick (although I tried it a few times but
> to no avail.), however, I now see that I didn't describe the whole picture.
>
> The definition seems ok but the template contains:
...
> and for each domain I
Thanks Stephen! That did the trick (although I tried it a few times but
to no avail.), however, I now see that I didn't describe the whole picture.
The definition seems ok but the template contains:
ServerName <%= name %>
ServerAlias www.<%= name %>
DocumentRoot /home/<%= name %>/public_
Hi,
On Tue, 2012-09-18 at 19:44 +0500, Stoyan Petkov wrote:
> Hello All,
>
> I am trying to create a bunch of apache .conf files by reading data
> from a database. My script returns a list of values from the database
> in YAML form:
>
> ---
> classes:
> - apache
> - dummy
> parameters:
> d
- Original Message -
> From: "Douglas Garstang"
> To: puppet-users@googlegroups.com
> Sent: Monday, September 17, 2012 7:16:02 PM
> Subject: Re: [Puppet Users] Re: Systems Provisioning
>
> I probably should have been clearer with my question. I was more
> interested in how people are ma
Hello All,
I am trying to create a bunch of apache .conf files by reading data from
a database. My script returns a list of values from the database in YAML
form:
---
classes:
- apache
- dummy
parameters:
domains: 'domains1,domains2,domains3'
puppet_server: dist
users: 'user1, user2
If you are trying to set environment variables for a users then
/etc/profile.d/ is your best bet on Red Hat flavoured OS' and
/etc/sysconfig/ for services.
If you are trying to set an environment variable for Puppet agents
itself it depends on how you run Puppet. As a daemon?
/etc/sysconfig/p
On Tuesday, September 18, 2012 4:47:59 AM UTC-5, Sandra Schlichting wrote:
>
> Dear all =)
>
> I have a few deb packages that I would like to install on some Ubuntu
> nodes.
>
> This guy explains how to create your own repository, which I think is a
> little overkill for me.
> http://mancoosi.o
I need to set some environment variables on some of my systems. How can I
do this with puppet? I tried googling but just got results about setting
variables in order to get puppet running, not setting them on the clients.
Thanks.
--
You received this message because you are subscribed to the G
On Sep 17, 2012, at 2:16 PM, Douglas Garstang wrote:
> I probably should have been clearer with my question. I was more
> interested in how people are managing certificates? Even if you use
> autosign, you still need to clean certificates manually.
>
> Doug.
Doug,
We autosign certs for hosts in
In manifest i have this instruction:
file { "/etc/apache2":
owner => root,
group => root,
mode => 740,
recurse => true,
source => "puppet:///dist/apache2"
}
By syntax its right, but on client i see error:
err: /Stage[main]/Testing170/File[/etc/apache
I found this sh*t...
test169 alp # grep -R dist /etc/puppet/
/etc/puppet/modules/testing170/manifests/init.pp:
"puppet:///dist/apache2/*//" ]
/etc/puppet/modules/testing170/manifests/init.pp:} # real_path
/usr/li/i/puppet/dist
/etc/puppet/modules/testing170/manifests/
If you want the least amount of headache at the cost of security, here
is a sanitised extract from my kickstarts:
#LB: attempt to revoke and delete the certificate for this hostname, this
should stop us having
#to manually clean off every cert.
curl -k -X PUT -H "Content-Type: text/pson" --data
I probably should have been clearer with my question. I was more
interested in how people are managing certificates? Even if you use
autosign, you still need to clean certificates manually.
Doug.
On Mon, Sep 17, 2012 at 6:25 AM, Keiran Sweet wrote:
> Hi There,
> I manage a relatively large RHEL
Hi,
This should do the trick:
http://serverfault.com/questions/188632/how-to-update-a-package-using-puppet-and-a-deb-file
On Sep 18, 2012, at 11:47 AM, Sandra Schlichting
wrote:
> Dear all =)
>
> I have a few deb packages that I would like to install on some Ubuntu nodes.
>
> This guy expla
Dear all =)
I have a few deb packages that I would like to install on some Ubuntu nodes.
This guy explains how to create your own repository, which I think is a
little overkill for me.
http://mancoosi.org/~abate/configuring-local-apt-repository-puppet
Is it possible to have puppet install the p
Consider the following test.pp:
biguml@biguml-laptop:~$ cat test.pp
$duck = "quack!"
class dog {
$sound = "woof"
$duck = "woof"
notify { "local dog sound": message => $sound }
notify { "local duck sound": message => $duck }
notify { "t
38 matches
Mail list logo