On Tuesday, July 3, 2012 at 5:31 AM, Itamar Landsman wrote:
> Hi All,
>
> First I want to apologize, I never completely dove into the fine details of
> puppet. I just use it on my network of +-100 VMs for odd jobs.
>
> my question is: I know how to set up a class that would, for example, insta
Hi All,
First I want to apologize, I never completely dove into the fine details of
puppet. I just use it on my network of +-100 VMs for odd jobs.
my question is: I know how to set up a class that would, for example,
install a package on a machine based on a facter variable (e.g. operating
sys
On Wed, May 4, 2011 at 8:01 AM, Felix Frank wrote:
> > Can I somehow pass variables or other tokens around the catalogue and
> > make conditional decisions in other modules based on them?
>
> Excellent question.
>
> You more or less can, but you shouldn't. Scoping issues will bite you
> sooner or
> Can I somehow pass variables or other tokens around the catalogue and
> make conditional decisions in other modules based on them?
Excellent question.
You more or less can, but you shouldn't. Scoping issues will bite you
sooner or later.
For your use case, you should take a hard look at Custom
Hi,
general: it would be nice if you could also send logoutput.
On 05/03/2011 08:34 AM, Giovanni Bordello wrote:
> Hi guys,
>
> I'm trying to get my head around conditionals and variables.
>
> What I'm trying to do now is to distinguish between puppet servers and
> puppet clients and deliver s
Hi guys,
I'm trying to get my head around conditionals and variables.
What I'm trying to do now is to distinguish between puppet servers and
puppet clients and deliver some settings differently. How can I do that?
I tried to put a variable in the node classes:
node 'puppet1' {
$p
Hi there,
we have a mixed deployment of sarge, etch and now lenny servers.
The first example works:
case $lsbdistcodename {
sarge: { package { ntp: ensure => present } }
default: { package { ntp: ensure => absent } }
}
This does not:
package { ntp:
case $lsbdistcodenam
Hello,
I'm trying to do this:
service { monit:
ensure => running,
enable => true,
hasrestart => true,
if ($operatingsystem == 'centos') {
hasstatus => true,
},
require => Package['monit'],
subscribe => File['monit.conf'],
}
And it doesn't