Both of your statements are true ... however its a good thing to get
into the rhythm of using modules as its more effort to convert later
on when you do want to benefit from modularisation. Its also only a
small initial cost to be honest so I think its worth it.
ken.
On Apr 2, 3:26 pm, Serge
its your 'ensure' line but try a few things first.
Strip your resource back to its simplest parts until it works - then
keep applying your specific configuration piece by piece until it
breaks again.
ken.
On Apr 6, 5:10 am, Alan Sparks wrote:
> I'm trying to create an expo
Yes in theory. Depending on the section you put it in of course. I
have pluginsync=true in the [main] section of my puppet.conf, on both
my client and server and sync works fine.
Can you post your full configuration? Both client and server? Can you
confirm your other settings are working when you
s when its
wrong. It does when you get it wrong on the command line however, so
the logic is there somewhere. This is already an open ticket here:
http://projects.puppetlabs.com/issues/3119
ken.
On Apr 6, 9:52 pm, byron appelt wrote:
> I found the problem. My puppet.conf somehow got checked into
ensure => present,
source => "file:///tmp/puppet-list-updates",
backup => false,
tag => "foo"
}
And then on the server use:
File <<| tag == "foo" |>>
ken.
On Apr 6, 3:00 pm, Tore wrote:
> Hi,
>
> I've
I've seen excessive memory usage in some clients due to odd variants -
the Linux OOM killer usually kicks in at some point. Check 'dmesg' to
make sure it wasn't this.
Also - are you catching core dumps on your box incidentally? And as
Tore mentions - anything in the logs?
Of course the obvious th
I don't suppose its your stack size? Whats the output of 'ulimit -a'
on your box (as the user you were trying to run those command as of
course). Mine is 8192 kb.
Can you try it with a later version of Ruby from RHEL 5.4?
On Apr 8, 9:50 pm, Rob McBroom wrote:
> I suspect this has more to do with
e nice for providing the most
flexible version selection criteria. Thoughts?
ken.
On Apr 9, 8:52 pm, "Tony G." wrote:
> Hi,
>
> I'm using yum as our package provider and having an issue. Puppet is
> complaining of the version, this is the code I'm trying
es, and that yum would be able to find the match
> if executed with just the version and not the release, right?
Yes this is correct. Its all about being less precise in your match.
ken.
--
You received this message because you are subscribed to the Google Groups
"Puppet
installed it will print out
> the Error too as the "ensure" string(the version only) does not match the
> version-release that puppet constructs in the query define of the rpm.rb.
Yeah I've definitely been surprised by this before - the behaviour is
ambiguous enough, you s
Excellent news. Congrats James.
On Apr 12, 4:58 am, Luke Kanies wrote:
> We're very excited to announce that after years of being a critical
> contributor to Puppet, including writing the Puppet Book, James
> Turnbull is joining Puppet Labs as Director of Operations, where he'll
> be respon
ile, or restarting your puppet master? The exec
might still be cached on the server perhaps?
ken.
--
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 f
you could just tag the resources,
and search for the tag instead.
@file { $myarray:
ensure => directory,
tag => "myfiles"
...
}
File <| tag == "myfiles" |>
It should do the same trick.
ken.
On Apr 13, 11:39 pm, Roy Nielsen wrote:
> Hello,
>
>
> @file { $myarray:
> ensure => directory,
> tag => "myfiles"
> ...
>
> }
>
> File <| tag == "myfiles" |>
Or I think this will work also, probably close to your first
requirement:
@file { $myarray:
ensure => directory,
}
realize(File[$myarray])
--
You received this message because you
Such good news you had to say it twice eh?
Congrats Jeff.
On Apr 14, 5:09 pm, Luke Kanies wrote:
> Hi all,
>
> I'm pleased to announce that Jeff McCune will be joining Puppet Labs
> and moving to Portland, OR in May.
>
> Jeff has been a critical part of Puppet's great support for OS X,
> hav
+1 on the passenger ... we wouldn't survive without it. We are running
0.25.4 as well.
In regards to the nodes hitting the puppetmaster at the same time - I
presume you've looked at the 'splay' option?
There is a gotcha at the moment however:
http://projects.puppetlabs.com/issues/3321
Vote if y
What do you want to do above and beyond say - installing a package?
ie. in redhat I just did:
package {"java-1.6.0-sun": ensure => installed }
As redhat stuff java in their repos :-).
ken.
On Apr 15, 9:15 am, SyRenity wrote:
> Hi.
>
> Is there any good Sun Java recipe
also carries other modes like SNAT support and --tosource and --
toports for REDIRECT.
It was only tested on RHEL5.x - your mileage may vary.
ken.
On Apr 19, 8:05 pm, seph wrote:
> I've been using camptocamp's iptables module. It works pretty well, lets
> me define rules in various mo
r block ... I believe this was
mentioned in errata or a release note somewhere though. Perhaps a
candidate for a wiki mod - although I get the feeling docs are moving
to docs.puppetlabs.com.
ken.
On Apr 20, 4:04 pm, Lawrence W wrote:
> I want to be able to add users to machines and have th
+1 on solution Marc.
> The nuisance with this solution is that you cannot have more than 1 ssh
> key ...
my::user {"...":
...
key => "...",
key2 => "...",
key3 => "...",
key4 => "...",
...
}
Yuck :-).
ken.
--
ke a scope thing.
What scope did you define that code in? Try it in your /etc/puppet/
manifests/site.pp file.
ken.
--
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
I can't see one. 'tmpwatch' is probably your friend (or the tidy
puppet resource). However ...
It might be more suitable to delete on a policy. ie. delete everything
but the last backup ... Not sure how important that might be to most
people.
I'd say at least a timed cleanup is a worthy feature r
y boot sequence ... if
you manage your service starts in puppet as well, you can let puppet
do the ordering for you.
ken.
--
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
More data is needed I think.
Can you run puppetd --no-daemonize --debug in 'screen' or by piping
the output somewhere? It may give you a better clue.
On Apr 21, 12:39 pm, Kim Gert Nielsen wrote:
> Hi all,
>
> The last 2 weeks we have been having problems with puppetd just randomly
> stopping. T
lume id is what you reference in your
configuration ...?
ken.
--
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 em
use I wanted to use EBS volumes. I
also wanted it to be 'clean' without someone else's customisations as
well :-).
ken.
On Apr 21, 3:42 pm, Matt wrote:
> Having the ebs vol id as a parameter in the node manifest works for us
>
> $ebsvol = "xxx"
>
> Then
d)
We should probably take this dev discussion off-thread to not create
too much mail noise. Feel free to email me or get me on xmpp/google
talk (same addy as my email address).
ken.
On Apr 21, 9:52 pm, seph wrote:
> Ken writes:
> > What scope did you define that code in? Try it in your /
omised then the would-be hacker can take control of
all the other boxes as well.
ken.
--
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 grou
uppetd and see what its
doing ... if its a large IO it should be obvious as you will see it
read/write on a particular file descriptor.
ken.
--
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
er resources once
> it has run ?
I'll take a look tonight. I think because you do all your changes
quite late in the flow it might pose some problems with ordering. Let
me take a proper look.
ken.
--
You received this message because you are subscribed to the Google Groups
&q
irtualisation manager app' supports an API - the new server could
call back to that API. The idea being that whatever virt manager you
use would have more fine grained access control then the amazon web
service does.
ken.
On Apr 22, 12:19 pm, Phillip B Oldham
wrote:
> On Apr 22, 12:04 pm,
Are we missing the top of that stack trace Kim? FYI If you use Ctrl-A
+ [ you can scrollback in screen.
ken.
On Apr 23, 8:54 am, Kim Gert Nielsen wrote:
> On Apr 21, 2010, at 2:51 PM, Ken wrote:
>
> > More data is needed I think.
>
> > Can you run puppetd --no-daemonize -
e this and perhaps
specify having the module laid out in cwd ...
I think in either case a main config file where you can stuff vars for
the above would be a modular approach to taking your app forward.
Cheers.
ken.
On May 4, 9:30 am, James Turnbull wrote:
> -BEGIN PGP SIGNED MESSAGE-
Groovy dude. I'll be watching (cos I like to watch).
On May 6, 11:20 pm, James Turnbull wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 7/05/10 2:30 AM, Ken wrote:
>
> > Nice one James - we (people I work with) had discussed a tool just
> > li
)
ken.
On May 7, 6:28 am, Abhishek wrote:
> Hi,
>
> Can anyone tell me how can i run puppetrun parallely for updating
> multiple machines at a time?
>
> Currently I m using puppetrun like this. I did not found any option to
> define parallel while puppetrun --help menti
Have you tried back-porting the deb packages from a newer revision
yet? Considering its Ruby based you should have reasonable luck with
it.
http://packages.ubuntu.com/lucid/puppet
ken.
On May 8, 10:26 pm, hai wu wrote:
> I am stuck with ubuntu 9.04 as puppet master server. But puppet vers
). In your
case, its running each time so the behaviour is correct (but not as
you expect). You could also use 'creates' instead:
exec {"dummy-password-${name}":
command => "cat /etc/passwd | grep \"^${name}\" > /var/sftp/chroot/$
{name}/etc/passwd&quo
tocamp
And other puppetlab developers:
http://github.com/bruce
http://github.com/bodepd
http://github.com/lak
I believe Puppetlabs are working on a solution for user contributed
modules. Not sure what the status is - perhaps Michael DeHaan (product
manager for puppet) can provide some information.
g you've seen puppet-dashboard right? It avoids the need to
develop your own thing if you don't want to.
ken.
--
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.
s external node support) also
being able to support this.
ken.
On May 13, 5:31 pm, Douglas Garstang wrote:
> On Thu, May 13, 2010 at 9:08 AM, Douglas Garstang
>
>
>
>
>
> wrote:
> > From the puppet documentation at
> >http://docs.puppetlabs.com/guides/exter
puppet:///ntp/ntp.conf.SUSE",
require => Package["xntp"]
}
package {"xntp":
ensure => latest
}
}
}
}
Or perhaps:
class ntp {
file {"/etc/ntp.conf":
source => "puppet:///ntp/ntp.conf.${operatingsystem},
require =&
balancing built in. Cool
bananas.
ken.
--
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 to
puppet-users+unsubscr...@googlegro
even with some performance
tuning the files take half a minute to parse.
ken.
--
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 ema
u got an error (as one would
expect :-).
Include is a bit more magical. It does the import (behind the scenes)
of the file /manifests/init.pp and then calls the class
found inside it. I'm simplifying but I figure you get the idea :-).
ken.
On May 18, 5:15 pm, Silviu Paragina wrote:
> Odd,
. Just try it out and see if it
solves it for you.
ken.
On May 17, 2:18 pm, Abhishek wrote:
> Hi,
>
> I am using puppet to deploy config files but i am facing issue while
> implementing filebucket for backup. Issue is i am defining central
> file bucket but still files are gett
ut & paste into this list :-).
ken.
On May 18, 8:46 pm, Marley Bacelar wrote:
> HI my puppet version is 0.25.4 and i my class is that:
>
> ssh_authorized_key { "marley":
> user => "marley",
> type => "ssh-rsa&
priv",
"update_priv", "delete_priv",
"create_priv", "drop_priv",
"index_priv", "alter_priv",
],
require => Mysql_user["w...@localhost"];
s are many - but it
does take a bit to get your head around the setup.
BTW - Why do you care if you are installing extra packages? Are you
space constrained?
ken.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this grou
-1.4.1/README.ja
[...@obelisk ruby]$
Sounds like either there is a library mismatch or it is not installed
perhaps? I don't have a ruby-enterprise install here at home - but if
you can't see anything obvious about your version of the library I can
check on a machine tomorrow.
ken.
On May
Every body does it now and then - hehehe :-). Its a shame we need to
use different interpreters to get things working in the first place
really. Lets hope in time this ruby deployment fiasco becomes cleaner.
ken.
On May 20, 1:07 am, Chad Huneycutt wrote:
> Thanks for sanity check, Ken. I j
ll avoid having to modify the core ruby code. I did
a bit of wrapping like this at my last job - for example I had my own
'foo_mount' resource which also turned on nagios monitoring
implicitly.
ken.
--
You received this message because you are subscribed to the Google Groups
"Puppet
ted to a ruby-based one
without changing the interface contract.
ken.
--
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, sen
f you want a single location for your companies
files you could always put them in a specific module.
ken.
On Apr 1, 10:13 am, Serge Dewailly
wrote:
> Hi All,
>
> I'm trying to use different environment for my servers management. I'am
> able to use different classes, m
. The paths
might give a clue as to where its traversing on the filesystem.
ken.
On Mon, Jan 30, 2012 at 7:42 AM, Sven Sporer wrote:
> Hi, I run into problems with the ipaddress fact using the latest
> Facter gem (1.6.4, 1.6.5) on SLES11. The versions and gems I use work
> perfectly fine
What are you actually trying to do with the YAML file today Marek
whereby the links are causing such problems? This is a semi-loaded
question ... call me curious :-).
On Wed, Feb 15, 2012 at 9:55 PM, Marek Dohojda wrote:
> :: sigh :::
>
> Back to the ol' drawing board. LOL.
>
> Well I guess that
ain stage.
If people can try this methodology and see if it works that would be
much appreciated, then the documentation can be updated to reflect
this pattern instead.
ken.
On Tue, Mar 13, 2012 at 2:27 PM, Christian McHugh
wrote:
> In the pre main stage I have defined rules to allow outb
equire => Class["my_soe::fwpre"],
}
I'm setting it so that by default, every rule firewall resource runs
'before' Class["my_soe::fwpost"], and it requires
Class["my_soe::fwpre"]. So in this example it doesn't need stages -
just put your pre & po
'll get the documentation fixed then.
> All that remains is waiting for a new release to get firewall rules at boot
> on debian, and then some magic work yet to be done for not stomping on
> custom chains like fail2ban.
Indeed.
ken.
--
You received this message because you are subscri
ely honest with you - up until now, this has been done
with pre-puppet stuff. That is - done with kickstart, jumpstart or
whatever you use to build the system. Of course, this then becomes
non-idempotent which makes Puppet less useful overall.
Dude - try the lazy evaluate with the edge cases y
going to ask via email I
think are interesting to other community developers - so having them
open to the world I think benefits all.
ken.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-use
fallback. Jenkins CI can poll, but again - you really
need a system that supports 'publishing on tag' not publishing on
every change :-).
ken.
On Thu, Apr 12, 2012 at 3:56 PM, Dennis Hoppe
wrote:
> Hello,
>
> i am managing my Puppet modules with GitHub and today i discovered t
A pm2rpm tool perhaps Todd? :-).
On Mon, Apr 16, 2012 at 7:36 PM, Todd Zullinger wrote:
> Michael Stahnke wrote:
>>
>> For the next major Puppet version, code-named Telly, we have some changes
>> coming. This is the first in a series of emails around these changes and
>> may require some input f
I'm going to review this now. Its destined for master, so someone from
the release team can probably comment on the next major release
schedule for stdlib.
On Tue, Apr 17, 2012 at 7:35 PM, Geoff Davis wrote:
> That's what I'm looking for. I'll fold in that branch into my testing until
> it goes m
o can give advice
on how to proceed with this issue. Thanks in advance.
- Ken Lareau
--
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 thi
to handle this.
Once that's done, I can then look into improving the security of our
systems (as in actually making it secure rather than what it really is
right now).
Thank you for your input.
- Ken Lareau
On Wed, Apr 18, 2012 at 7:56 AM, Eric Sorenson wrote:
> Hi Ken, thanks for
ation would
be difficult and reduce our response time to necessary user changes (of
which we get anywhere from 5-10 a day). It's just not feasible without a
complete reworking of how we do things right now, and not at the top of our
priority lists.
I do appreciate the input, however. Thank y
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
ant to
update your git remotes.
Let me know if you see a direct problem with this, or if I have missed
any. Thanks :-).
ken.
--
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@googlegro
Perhaps look at the Puppet Dashboard or Foreman schemas as a starting
point? These are both ENC's that are already working.
ken.
On Wed, May 30, 2012 at 9:13 PM, erkan yanar wrote:
>
> Moin,
>
> I am thinking of using a RDBM as a best practise.
> I am missing some info/
Why don't you try using PuppetDB for stored configs instead? Its
asynchronous, uses activemq behind the scenes and supports postgres.
https://github.com/puppetlabs/puppetdb
On Thu, May 31, 2012 at 10:32 AM, Svein wrote:
> How can I set up both Storeconfig and mcollective using activemq for both?
ules be considered "canonical" modules on the
Forge, and then strip away the puppetlabs vendor name? Any other ideas
welcome.
- Ken
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https:
too would like to hear more from Puppet Labs' staff
on where they see the Module culture going.
- Ken
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pu
> Turns out yes, it's the leap second, but boy was the fix I found
> easier than that:
>
> http://artipc10.vub.ac.be/wordpress/2012/07/01/leap-second-causing-ksoftirqd-and-java-to-use-lots-of-cpu-time/
>
> $ sudo date -s "`date`"
>
> Cleared it rigt up.
Hu
x27;firewall_wrapper' and have that pull in 'firewall'.
Otherwise, you may pull in 'firewall' too early, which would apply its
default settings.
So drop 'firewall' from your classes in dashboard and you may find it
does the correct thing ...
FYI, this works for
r.gz]/returns: change from notrun to 0
failed: tar -vzxf /var/www/wordpress.tar.gz returned 1 instead of one
of [0] at /etc/puppet/modules/wordpress/manifests/install.pp:40
So trying to run it:
tar -vzxf /var/www/wordpress.tar.gz
echo $?
Should tell you what is wrong.
ken.
On Fri, Jun 17, 20
27;uat' or 'dev' part out and use that as
a variable.
Otherwise ... you need to use node classification if your machines are
not meaningfully named and identify them with your own knowledge of
what the machines do:
node roadwarrior.mydomain.com {
$hostgroup = "uat
Augeas is a resource - I don't see how it fits in as a module. You may
_use_ it in your modules if you like.
On Mon, Jun 20, 2011 at 12:09 PM, Bruce Bushby wrote:
> One last question:
>
> Would the list suggest implementing "augeas" where possible? and would
> "augeas" fit into the "module layout
tool yet I believe.
ken.
On Mon, Jun 20, 2011 at 4:25 AM, flex wrote:
> We have many modules and many nodes, every node may use different module, so
> it's very unpleasant to modify the nodes.pp
> Then i saw the external node, but seems it only support class and we have
> many def
The main reason I separate title from namevar is so when I have
references to the exec they stay consistent - but the command & args
can be updated independently. This matters more when I have references
that cross file boundaries.
ken.
On Sat, Jun 18, 2011 at 7:35 PM, vagn scott wrote:
>
Did you try the logouput => on_failure in the exec?
Can you try that and run the content with the --debug flag so we can
all see the output? (try putting the output in pastie.org if its a lot
of information).
ken.
On Mon, Jun 20, 2011 at 1:28 PM, lucas.brig...@ymail.com
wrote:
> I could
on of Puppet are you running btw? I
get the impression its an old one. I would recommend upgrading to 2.6
before you proceed too far :-). If you already run 2.6 let me know
:-).
ken.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post
at
/etc/puppet/modules/wordpress/manifests/install.pp:41
> I discovered that any command that has not executed any
> parameter. Only simple commands.
> exec {"Free": path => ["/ usr / bin"]}
>
> The problem really is in the function "exec".
I'
It does seem like its not being included :-) ...
What does:
echo "# foo" >> /etc/ntp.conf
puppet apply -d -e 'include ntp'
Do?
ken.
On Mon, Jun 20, 2011 at 11:46 PM, Craig White wrote:
>
> On Jun 20, 2011, at 3:37 PM, Jacob Helwig wrote:
>
>> On Mon
ry behind this?
The following:
@key_attribute_parameters ||= (
params = @parameters.find_all { |param|
param.isnamevar? or param.name == :name
}
)
Is defined in puppet/type.rb :-). Not sure if we have this behavior
documented - or if its up for deprecation :-).
ken.
eyfor-${username}":
key => "...",
target => "/user/home/dirs/${username}/.ssh/authorized_keys",
}
The issue being you need prior knowledge of path to the key. You can
glean this by producing a fact that uses something like 'getent'
instead of /etc/passwd -
entity_filter => ["puppet1"],
disctimeout => 3,
timeout => 10,
refreshonly => true,
}
Just make an mcollective plugin for adding new clients on your master
and trigger it this way.
ken.
On Fri, Jun 24, 2011 at 3:18 PM, Andreas Kuntzagk
wrote:
> Daniel Maher wrote:
&g
I concur. Using mcollective to trigger Puppet is sweet.
ken.
On Fri, Jun 24, 2011 at 3:31 PM, Daniel Maher wrote:
> On 06/24/2011 04:10 PM, Nathan Clemons wrote:
>>
>> This is what we do at Livemocha; we're actually in the process of
>> switching over to using MCollect
Thanks Stefan. A bug (originally a doc bug) and subsequent discussion
at Puppetlabs is documented here:
https://projects.puppetlabs.com/issues/8096
ken.
On Thu, Jun 23, 2011 at 6:11 PM, Stefan Schulte
wrote:
> On Wed, Jun 22, 2011 at 08:37:25PM +0100, Ken Barber wrote:
>> So it wou
upgrade :-).
ken.
On Mon, Jul 4, 2011 at 2:35 PM, sanjiv.singh wrote:
>
>
> On Jul 4, 6:12 pm, Daniel Maher wrote:
>> On 07/04/2011 02:46 PM, sanjiv.singh wrote:
>>
>> > hi all,
>> > I have configured puppet 0.25.4 setup.
>>
>> > since last
Hey Bjørge,
Looks like a bug ... can you create an issue here?
https://github.com/puppetlabs/puppetlabs-firewall/issues
Can you supply the output of the command iptables-save as well in the
ticket? It looks like its having trouble parsing that.
ken.
2011/7/4 Bjørge Solli :
> Hi,
>
as to what
its blocking on during those 20 minutes.
ken.
--
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+un
Can you try the puppet run with the setting --summarize and show us
the result ... (not sure if that flag was round then).
ken.
On Mon, Jul 4, 2011 at 5:12 PM, sanjiv.singh wrote:
>
>
> Hi luke,
>
> thanks for quick reply.
>
> as i m able to see that puppet master taking
ervers in my environment.but at most puppet
> master serving to 10-12 nodes (varies) concurrently.
Webrick at best can manage 1 node concurrently properly. So the minute
you fire up more then 1 it will slow down as it tries to serve each
client when available. Switch to Apache/Mongrel :-).
ke
Whats wrong with using chained resources?
class x {
file { "a":
} ->
exec { "b":
} ->
exec { "c":
} ->
exec { "d":
}
}
ken.
On Tue, Jul 5, 2011 at 4:40 AM, vagn scott wrote:
> Sometimes things just have to happen in sequence.
What does your service {} block look like? Are you using hasstatus =>
true? For example:
service { "puppet":
ensure => running,
enable => true,
hasstatus => true,
}
ken.
On Tue, Jul 5, 2011 at 9:53 AM, Chris Phillips wrote:
> Hi,
> I've a puppet module
quot;b": }
}->
{
# Order doesn't matter
package { "b": }
exec { "c": }
}
}
Then you can also use these anonymous blocks/closures with defaults as well:
class c {
{
Service { hasstatus => true }
service { "a": }
}->
{
Service
nt
permissions that you should be worried about.
Make the directory and its children (say .config) accessible to
puppet, probably by changing the owner (or a chmod - depends on what
you've got in these dirs) - and sort out applying the correct
permissions on the client with the file {} resour
Do you get any errors when you run puppetd/puppet agent on the server
side? (as apposed to running it on the client).
What version of puppet are you running btw?
ken.
On Tue, Jul 5, 2011 at 9:11 AM, alan bover wrote:
> Hi, I've been doing some testings with an iptables puppet rece
Try:
<% if includernw == 1 %> include "/etc/dhcp/dhcpd.rnw";<% end %>
Note the '==' :-).
ken.
On Wed, Jul 6, 2011 at 2:45 PM, Jonathan Gazeley
wrote:
> I have a puppet class called dhcp which sets up the daemon and installs a
> base dhcpd.conf.
>
>
t. Hence why an
pluginsync is needed ...
ken.
On Thu, Jul 7, 2011 at 12:18 PM, JohnW wrote:
> I am trying to make use of a custom type mentioned in the wiki page
> http://projects.puppetlabs.com/projects/1/wiki/Sysctl_Patterns
>
> I created the module sysctl, inserted the custom ty
1 - 100 of 656 matches
Mail list logo