your help.
On Apr 29, 6:14 am, Jan wrote:
> On 04/28/2011 10:01 PM Roberto Bouza wrote:
>
> > That is the problem. :-)
>
> > If its false/true I need to do stuff like
>
> > if $enabled != undef {
> > class { 'doit': enabled => $enabled } # This here
Hello,
Going through the style sheet I was modifying some classes and I hit
this, maybe a bug maybe not:
--- test.pp ---
$mount = 'aebec:aebec'
$splitted = split($mount, ':')
# Intentionally getting a nil/empty/not there/ element from the array
#
$test = $splitted[4]
alert($test)
# This doesn't
essing that if this is not a valid used syntax then I'll have to
do something like:
if $enabled == true or $enabled == false {
}
But If its supported/valid then better.
Thank you.
On Apr 28, 12:52 pm, Pietro Monteiro
wrote:
> On 04/28/2011 12:46 PM, Roberto Bouza wrote:
>
if $enabled != undef {
do it
}
$enabled will have true or false or nothing/undef and it will be used
for multiple things but I don't want to do anything if it is 'undef'.
Does this make sense?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users
Ha!!! That is a nice approach...
Let me try that one and I'll get back to you on this.
Thank you.
On Mar 14, 5:50 am, jcbollinger wrote:
> On Mar 10, 6:56 pm, Roberto Bouza wrote:
>
>
>
>
>
> > I have an array like this:
>
> > $items = [ "a",
I have an array like this:
$items = [ "a", "-b" ]
That should generate something like this (let's say for the Cron
resource:
Cron <| (tag == "a" or title == "a") and (tag != "b" or title != "b") |
>
The reason is because we are grouping sets of virtual resources with
tags to be realized (as a w
Yep Same version 2.6.4
It looks like the client crl.pem was causing this somehow. I just
emptied the file and it looks like its working fine.
Thx
On Feb 22, 2:01 pm, Denmat wrote:
> Are client and master at same version? What version are you using?
>
> On 23/02/2011, at 8:40, Robe
t;
> /var/lib/puppet/lib
>
> Other things with SSL issues is to make sure your clocks are up to date, that
> you're using the right cert name if needed and DNS working correctly.
>
> Hope it helps.
>
> Den
>
> On 23/02/2011, at 6:53, Roberto Bouza wrote:
>
&
This is the first time is happening... and It happens consecutively
with all the hosts.
Fresh kickstarted host (never set up before the name so its not on the
revocation list), I just run puppetd -tv (we have autosign on), I just
get the output below:
[root@server182 puppet]# puppetd -tv
info: Cr
Well...
Inline templates are a little bit dirty to do this, but they will
work.
We are doing something similar so we can set up the interfaces of a
host based on the group it belongs too.
We created a module called custom and there we added in the lib
directory as part of the facts a bunch of ru
Hello everyone,
I'm trying to purge all the non managed cron entries but I'm getting
an error... the systax is very simple. :-)
I saw a bug but it looked like it was from 0.25 I'm using 2.6.4
Any help will be appreciated.
Thx.
class my::cron {
# Remove all the unmanaged resources from the c
I'm sorry...
I was using the wrong "tag" name... duh! I changed it to the correct
one and it worked great.
Thx.
On Jan 24, 11:49 am, Roberto Bouza wrote:
> Hello,
>
> I'm trying to realize resources on a node but it looks like they never
> get realized.
>
&g
Hello,
I'm trying to realize resources on a node but it looks like they never
get realized.
Here is an example
node /mynode/ inherits default {
$logging_retention = 365
$puppet_lab = true
# Including modules
#
include defaults
include itms
Cron <| tag == "default_cron" |>
}
Th
Thank you!!!
Pretty much that answers my question.
Thanks again.
On Nov 15, 6:56 am, jcbollinger wrote:
> On Nov 12, 12:28 pm, Roberto Bouza wrote:
>
> > Hello,
>
> > Up to right now everything is working great with puppet. I just have
> > one questions.
>
>
Hello,
Up to right now everything is working great with puppet. I just have
one questions.
Is there a way to tell a type (like file) not to fail if something
specific happens.
Let's say I have a directory which it needs to be created if its not
there and then I mount a file system "ro" on top of
Yes... this would be a better cleaner solution.. sadly we are running
0.25 still until we upgrade.
Hashes are great, aren't they?
Thx
On Oct 28, 12:41 am, Felix Frank
wrote:
> On 10/28/2010 04:00 AM, Joe McDonagh wrote:
>
> > On 10/27/2010 07:37 PM, Roberto Bouza w
Thanks!!!
It worked like a charm.
On Oct 27, 3:23 pm, Joe McDonagh wrote:
> On 10/27/2010 04:39 PM, Roberto Bouza wrote:
>
>
>
> > Hello,
>
> > I have a group of variables like
>
> > $a_logs_project1 = machine1
> > $b_logs_project2 = machine2
&g
Hello,
I have a group of variables like
$a_logs_project1 = machine1
$b_logs_project2 = machine2
then on the definition I'm genrating a variable like:
$machine_name = "${letter}_logs_${project}"
So $machine name will be something like: a_logs_project1
Now I need to convert that (or interpolate
Hello,
I was able to compile ruby add gems install facter and puppet on one
LDAP. Now everything looks good, puppetd is up and running but when
checking the certificate on the puppetmaster server (A linux box) I
don't see the request from the client at all.
Do you have any ideas?
Thank you.
--
19 matches
Mail list logo