On Fri, Apr 29, 2011 at 17:34, Peter Meier wrote:
>> I am playing with snakeyaml and trying to use a custom class to parse
>> yaml returned by puppet as mentioned in
>> http://code.google.com/p/snakeyaml/wiki/Documentation#Custom_Class_Loader
>>
>> But I am not sure how to deal with "--- !ruby/ob
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> I am playing with snakeyaml and trying to use a custom class to parse
> yaml returned by puppet as mentioned in
> http://code.google.com/p/snakeyaml/wiki/Documentation#Custom_Class_Loader
>
> But I am not sure how to deal with "--- !ruby/object:Pupp
Thanks for the help.
I opted to used strings on the variables, which to me is not good!!!
(not a proper defined language)
I should be able to use the types true, false and should be able to
check for the nothing/nil/undef variable which I can't and I think is
bad.
Once again, thanks for your hel
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
On Fri, Apr 29, 2011 at 7:27 AM, Andreas Kuntzagk
wrote:
> Hi,
>
> I'm still quite new to puppet so forgive me if I ask stupid questions or use
> wrong terminology.
>
> I have default values for mount defined inside a class. Are these defaults
> only valid for mounts of this class or for all?
>
>
Hi,
Thanks for your help. I tried the stuff. It works. Learing somethng
new everday.
On 27 Apr., 19:22, Nan Liu wrote:
> On Wed, Apr 27, 2011 at 8:17 AM, linuxbsdfreak
> wrote:
> > Hi,
>
> > Thanks for your reply. The problem with the tagging is solved. However
> > i am confused with the 2nd p
Yea, I'm new to puppet ... sounds like now I have to worry about certs
eventually expiring and regenerate/sign them to keep nodes happy?
Seems Trevor suggests increasing TTL. How can I do this if I wanted
to?
Thanks,
Jake
On Apr 28, 9:30 am, Matt Wise wrote:
> Unfortunately, this is still a 'm
On 04/29/2011 12:29 PM, R.I.Pienaar wrote:
>
> Sounds like you want resource chaining[1]
>
> careful though this has an unfortunate side effect that it
> will also realize all virtual packages with the provider apt
> onto a node.
>
> point is you *can* tweak dependencies as a result of including
>
On Fri, Apr 29, 2011 at 9:53 AM, takrishnan wrote:
> I would like add multiple sudoer files to the sudoers.d directory and
> would like someone to help.
>
> I'm thinking something like should work but it's no.
>
> init.pp
> -
> class sudoers {
> file:
> :
> :
> pk
I would like add multiple sudoer files to the sudoers.d directory and
would like someone to help.
I'm thinking something like should work but it's no.
init.pp
-
class sudoers {
file:
:
:
pkg:
:
:
}
class sudoers::$sudogroup {
file {"$
- Original Message -
> On 04/29/2011 10:53 AM, jcbollinger wrote:
> >
> > On the conceptual level, what does it or *should* it mean that a
> > node
> > has Class['proxy']? To you it seems to mean that the node
> > positively
> > uses an HTTP proxy, at least for Apt. But it could i
On 04/29/2011 10:53 AM, jcbollinger wrote:
>
> On the conceptual level, what does it or *should* it mean that a node
> has Class['proxy']? To you it seems to mean that the node positively
> uses an HTTP proxy, at least for Apt. But it could instead mean that
> the node's proxy configuration is m
On 4/28/11 11:57 AM, Forrie wrote:
Thanks for the feedback.
It will make life a lot easier if I can deploy/maintain puppet via a
RO NFS mount point. I presume you have the local stuff like /etc/
init.d/puppetmaster /etc/sysconfig/puppet /etc/puppet/puppet.conf
managed separately and located on
On Apr 28, 2:07 pm, vagn scott wrote:
> On 04/28/2011 09:54 AM, jcbollinger wrote:
> >
> > You have to do some sort of provisioning to get Puppet working in the
> > first place, so option (1) wouldn't really be so bad.
> >
>
> There is no question that it could be done in provisioning.
>
> M
Hi,
I'm still quite new to puppet so forgive me if I ask stupid questions or use
wrong terminology.
I have default values for mount defined inside a class. Are these defaults only
valid for mounts of this class or for all?
class test {
Mount {
fstype => "nfs4",
}
mount{
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 will use true or
> false to delete or add files for example
> }
>
> But if it's undef I don't even
Hi,
beware of this if you change default file locations:
"You can purge Nagios resources using the resources type, but only in
the default file locations. This is an architectural limitation"
on Debian I prefer to link /etc/nagios3/conf.d to /etc/nagios
greetings,
Lluís
El dt 26 de 04 de 2011 a
On Fri, Apr 29, 2011 at 04:20:58AM -0700, Sans wrote:
> node /^farm0\d+$/ inherits workernode {
>
> err: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Could not find node 'farm029.example.com' on node
> farm029.example.com
That regex is saying, match farm0 at the start of
Dear all,
According to the Puppet doc, I used this:
node /^farm0\d+$/ inherits workernode {
}
in the node.pp to match any host like farm001.example.com but I get
error on the client nodes:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find node 'farm029.exam
Hi Gabriel,
I overlooked the "nagios::target" class. Thanks for pointing that out.
Cheers!!
On Apr 28, 5:14 pm, Gabriel Filion wrote:
> Hello,
>
> Judging from the manifests that the OP sent, the HTTP server is run on
> the nagios server, not on each node: the "nagios" class is included only
>
Hi Gabriel,
I overlooked the "nagios::target" class. Thanks for pointing that out.
Cheers!!
On Apr 28, 5:14 pm, Gabriel Filion wrote:
> Hello,
>
> Judging from the manifests that the OP sent, the HTTP server is run on
> the nagios server, not on each node: the "nagios" class is included only
>
http://klute-it.de/images/ate.php
--
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 m
22 matches
Mail list logo