-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 8/05/10 1:43 PM, Nigel Kersten wrote:
> I don't know if it's just me, but I find this example horribly
> confusing, and I'm wondering if it's just really out of date.
Patches accepted... :)
Regards
James
- --
Author of:
* Pro Linux System Admin
I don't know if it's just me, but I find this example horribly confusing,
and I'm wondering if it's just really out of date.
http://docs.puppetlabs.com/guides/language_tutorial.html#definitions
define svn_repo($path) { exec {"create_repo_${name}": command =>
"/usr/bin/svnadmin create $path/$title
On May 7, 1:16 pm, "Jesús M. Navarro"
wrote:
> Won't use the ${variable-name} version do the trick?
> Cheers.
I tried that initially, but it wouldn't pass --parseonly (.24.8) so I
didn't commit it. Let me check manually..
Yeah, parseonly and actual catalog compilation both fail:
err: Could not p
On Friday 07 May 2010 19:54:18 donavan wrote:
> On May 6, 4:31 pm, donavan wrote:
> > Am I missing some clever way to use variables containing a dash in the
> > name?
> >
> > We're using LDAP nodes I may have a node like this example:
>
> ..
>
> > And I'd like to access 'console-port' as a variabl
On May 6, 4:31 pm, donavan wrote:
> Am I missing some clever way to use variables containing a dash in the
> name?
>
> We're using LDAP nodes I may have a node like this example:
..
> And I'd like to access 'console-port' as a variable in a manifest.
Reading over I realize this may not be clear t
On Fri, May 7, 2010 at 6:45 AM, Pieter Baele wrote:
> We use a script to edit /etc/sudoers temporarily to provide sudo access to
> clients for a limited time.
> A cron job checks for a var and after a defined time the line is deleted.
>
> But this way, /etc/sudoers can't be managed by Puppet, beca
On May 6, 5:46 pm, Trevor Vaughan wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I don't think that ruby itself allows variables with dashes in the name
> since it will probably interpret them as minus signs and try to
> interpret the variables around the symbol.
Right. Which is why
But this way, /etc/sudoers can't be managed by Puppet, because It will be
overwritten by puppet.
You could have your script set the immutable attribute on the sudoers file.
Then puppet won't be able to change it.
chattr +i /etc/sudoers
When you want puppet to start managing the file again, re
Looks like there is an option for it ... looking at the source.
# parallel::
# How parallel to make the connections. Parallelization is provided
by forking
# for each client to which to connect. The default is 1, meaning
serial execution.
So:
puppetrun --parallel 1 (other options)
Hello All,
Sorry is this question has already been answered, but is there a
step by step instruction or tutorial for using the zenoss plugin for
puppet? So far, they've made the code available along with a very
ambiguous readme file. I already, 1) placed the whole folder
structure for the p
By using the schedule metaparameter, you could have puppet only check
sudoers outside of the time period when you grant temporary access.
This might not be feasible if the time period is constantly changing
though.
--
You received this message because you are subscribed to the Google Groups
"Pup
We use a script to edit /etc/sudoers temporarily to provide sudo access to
clients for a limited time.
A cron job checks for a var and after a defined time the line is deleted.
But this way, /etc/sudoers can't be managed by Puppet, because It will be
overwritten by puppet.
What should I use as a
You probably want to use the regsubst function:
http://docs.puppetlabs.com/references/stable/function.html#regsubst
--
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 unsubscrib
Does class hostconfig::mynewserver::settings contain just variables?
You could do something like this (from
http://groups.google.com/group/puppet-users/browse_thread/thread/5ba9d8b1ed4d4d1a/1214d616ef5caec0)...
===
In my nodes.pp, I define certain "default" variables at the top of the
manifest, ou
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 mention parallel parameter.
puppetrun --host host1 --host host2 --host host2 --debug -
Hello all!
I'm hoping for your help on what I admit is a weird and uncommon
problem.
I'm working on a module that (among other things) creates a series of
home folders. The format of the home folders looks something like
this /filesys/home/#/letter/userid where # is a number between 0-15,
letter
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
> > like this on the weekend - so your timin
Hi, this may sound a bit strange, so let me tell you first what the
problem is that i try to solve and maybe there is already a better
solution.
Some background: We use 3 different environments on our puppetmaster and
we implemented something like a release management as a workflow for this.
Cause
On Thu, 2010-05-06 at 20:29 -0400, Eric Shamow wrote:
> Matt,
>
> Really great posts -- you've inspired me to take a crack at MCollective.
Thanks Eric,
Let us know how you get on!
M.
>
> -Eric
>
>
> On Thu, May 6, 2010 at 4:11 AM, Matt Wallace
> wrote:
> > On Wed, 2010-05-05 at 23:31 -0700
On 6 May 2010 18:46, Michael DeHaan wrote:
> Yeah, that's not so efficient.
>
> Please file a bug on this one!
Duly filed.
http://projects.puppetlabs.com/issues/3741
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, sen
Dan Carley writes:
> On 6 May 2010 17:05, Joe McDonagh wrote:
>
>> I have this similar issue- I notice the "loading facts in " message
>> twice when running puppet.
>
> Likewise - printed twice. It's been low on my priority list because it
> doesn't seem to have any negative effect, but since
21 matches
Mail list logo