Christian Hofstaedtler wrote:
> We have these stanzas in the manifest for the nagios server:
>
> 48resources { "nagios_service":
> 49purge => true
> 50}
> 51resources { "nagios_host":
> 52purge => true
> 53}
>
Hello Mark Christian,
Am Thursday 19 November 2009 03:10:38 schrieb Mark Christian:
> I am keen to get this to work, but can't seem to. Will this work with
> Mongrel and Apache as described at
> http://reductivelabs.com/trac/puppet/wiki/UsingMongrel ? Im using the EPEL
> puppet package versions
2009/11/19 Christopher Johnston :
> How come this doesnt work? I write this in a normal ruby script it
> works just fine.
>
> <% for cpu in (0..processorcount) %>
>
> I want to loop through the number of processor so a specific action
> can be taken to generate content for a file. I get an error o
> > I can't understand what this means. What does it mean, "specifying
> > 'modules' in file path"?
> > [...]
> > file { "/etc/firehol/firehol.conf":
> > source => "puppet:///firehol/firehol.conf"
> > }
>
> file { "/etc/firehol/firehol.conf":
>source => "puppet:///modules/firehol/firehol.co
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew Schulman wrote:
>>> I can't understand what this means. What does it mean, "specifying
>>> 'modules' in file path"?
>>> [...]
>>> file { "/etc/firehol/firehol.conf":
>>> source => "puppet:///firehol/firehol.conf"
>>> }
>> file { "/etc/firehol
You could do something with a define. But I'm not really sure what your
use case is. Can you give an example?
seph
sysboy writes:
> Hi all,
>
>I want to use puppet to distribute keys to multiple users. I wanted
> to do something like we have already:
>
> - define a key per real person
> - d
mk wrote:
> What I want to do is puppet client( puppetd ) tries to syncronize /etc/
> hosts permission as 644, and puppetd tries to check every 3 minutes.
> ( I know 3 min is so quick, this is just a test of "schedule")
>
> So I wrote manifests/site.pp,
>
>> node default {
>>schedule { e
when behavior in puppet changes, i think the docs would need to be
updated by someone familiar with the changes. is it a good idea to
just assume someone in the community will figure out the new behavior
through experimentation and take it upon themselves to correct the
docs?
-drew
On Mon, Nov 23
Its definitely there.. I even put a <%= processorcount %> to make sure the
variable is set.
<% processorcount.to_i-1 %>
<% for cpu in (0..processorcount) %>
Facter version is 1.52
# facter | grep proc
processor0 => Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
processor1 => Intel(R) Xeon(R) C
I would like to schedule puppet to only run EVERYTHING once a day at a
specific time, what would be the best approach to do that?
-Chris
On Mon, Nov 23, 2009 at 9:21 AM, Thomas Bellman wrote:
> mk wrote:
>
> > What I want to do is puppet client( puppetd ) tries to syncronize /etc/
> > hosts per
Christopher Johnston wrote:
> I would like to schedule puppet to only run EVERYTHING once a day at a
> specific time, what would be the best approach to do that?
>
Use cron.
-scott
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to t
> The wiki is open sand editable all you need to do is sign-up for an
> account.
OK.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email
On Sun, Nov 22, 2009 at 4:04 PM, John Warburton wrote:
> 2009/11/22 Scott Smith
>>
>> John Warburton wrote:
>> > Thanks Guys
>> >
>> > But it didn't seem to like ARGS. Is it set in rack or passenger or ??
>> >
>> > Can I amp up the debugging here?
>> >
>>
>> Have you tried this?
>>
>> ARGV << "--
Hi Mark,
I can understand your frustration. We have been struggling with Puppet
and SSL a lot lately. Our setup is similar but a bit more complicated
so your scenario shouldn't pose any issues. Try this (assuming you are
starting from scratch):
1. Start the production puppet master as usual. This
Hi all,
We have a clustered, per location puppet master setup, with multiple
masters being able to serve any client at that location. We are about
to enable storedconfigs. Is it possible to have all the masters at
that each location share one database? Or does each master needs its
own db? Being ab
I currently have something set up for users like this:
virt_users.pp
class virt_my_users {
@user { "user1":
ensure => "present",
uid => "1001",
gid => "users",
comment => "user1",
home=> "/home/us
2009/11/24 Andrew Dickson :
> when behavior in puppet changes, i think the docs would need to be
> updated by someone familiar with the changes. is it a good idea to
> just assume someone in the community will figure out the new behavior
> through experimentation and take it upon themselves to corr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
> 1. Start the production puppet master as usual. This will be your CA.
> 2. In your development puppet master, set ca = false and ca_server =
> production.hostname in puppet.conf in the puppetmasterd section. Also
> set server = production.hostnam
Hi Pete,
I was thinking of doing that since all the entries in the wiki addressing
Puppet Scalability deal with multiple CAs which in my opinion overly
complicates things. I am also waiting on a resolution for #2848 which arose
from this kind of setup.
Cheers,
Atha
On Nov 23, 2009, at 18:05 ,
2009/11/23 Christopher Johnston :
> Its definitely there.. I even put a <%= processorcount %> to make sure the
> variable is set.
> <% processorcount.to_i-1 %>
> <% for cpu in (0..processorcount) %>
> Facter version is 1.52
> # facter | grep proc
> processor0 => Intel(R) Xeon(R) CPU X557
Yes it prints 4 directly into the file, but I cant put processorcount into
the loop. Works fine in ruby but erb fails. Any ideas here on how to do
this? I need to be able to determine the number of processors on the
systems so I can generate a configuration file (loop through each processor
numb
Nigel Kersten wrote:
> I was under the impression we weren't meant to use "=" in puppet
> config settings, but I could be wrong.
>
Eh, it just uses optparse to read command-line flags, which accepts the
use of an equals sign.
-scott
--
You received this message because you are subscribed to t
Christopher Johnston wrote:
> Yes it prints 4 directly into the file, but I cant put processorcount
> into the loop. Works fine in ruby but erb fails. Any ideas here on how
> to do this? I need to be able to determine the number of processors on
> the systems so I can generate a configuration
Thanks Nigel
2009/11/24 Nigel Kersten
>
> Sorry for misreading the email earlier, what I'm actually doing is:
>
> ARGV << "--config" << "/etc/puppet/puppetmasterd.conf"
>
>
This now works
Part of the problem debugging this was:
1) My lack of knowledge of ruby
2) I had kept caches, files etc on
Hi Atha,
if you dont have a high latency between your locations, you can technically
do that.
You need to ensure that only one server has the dbmigrate option enabled,
and its more or less mandatory to run the same puppet version on all of your
servers.
however, for each client connection, the se
any maybe a combination of --tags for the rest of the time
On Tue, Nov 24, 2009 at 2:28 AM, Scott Smith wrote:
> Christopher Johnston wrote:
> > I would like to schedule puppet to only run EVERYTHING once a day at a
> > specific time, what would be the best approach to do that?
> >
>
> Use cron.
there are a few very good SSL recipe wiki pages - one of them that I wrote
about SSL authentication chains -
http://reductivelabs.com/trac/puppet/wiki/PuppetScalability under the
section Centralized Puppet Infrastructure
Ohad
On Tue, Nov 24, 2009 at 5:05 AM, Peter Meier wrote:
> -BEGIN PGP
your problems is that processorcount is a string, here are some examples
that works:
<% processorcount.each do |cpu| -%>
<%= cpu.to_i * 100 %>
<%# more stuff -%>
<% end %>
<% for cpu in (0..processorcount.to_i) %>
<%= cpu %>
<%end%>
<% processorcount.to_i.times do |cpu| %>
<%= cpu %>
<%e
Hi Ohad,
thanks for your reply.
The database would be shared per location, not globally, and as such there
shouldn't be any latency issues. As everything else in our setup, it would be
clustered to ensure availability. We had read puppetqd and will use it. We
already have an activemq deployment
29 matches
Mail list logo