... and $name is the default variable given to you by puppet, so you don't
have to define it. Works like $_ in perl.
On Wed, Aug 21, 2013 at 7:18 PM, Peter Bukowinski wrote:
> You define an array-containing variable like this:
>
> $mounts = [ 'directory1', 'directory2', 'directory3' ]
>
>
You can fake interation. "$name" is a free variable for whatever you're
passing in. I have NOT tested this, but it might look something like this:
define my_mounts {
mount { "/home/$name":
>
>device => "our-thumper.domain.com:/export/$name",
atboot => yes,
On Tue, Jun 12, 2012 at 8:12 AM, Julien C. wrote:
> Hi,
>
> I'm trying to make all my servers send their logs to a central server. Which
> seems quite simple, at first.
>
> My problem is that my servers are on different versions of different
> operating systems.
> And each of them has a different
On Mon, Jun 11, 2012 at 4:50 PM, Jeff McCune wrote:
> It could be your CA certificate has expired. Could you paste the output of
> openssl x509 -text -noout -in /etc/puppet/ssl/ca.pem ?
>
> --
Thanks, Jeff.
Since this is a work cert I'm not gonna post the whole thing, but I
think this is the par
:
>> I inherited an old installation (0.24) that's been trouble-free until
>> recently, when I started getting these error messages from a single
>> machine:
>>
>> Failed to retrieve current state of resource: Certificates were not
>> trusted: SSL_read:: decryption failed or bad record mac Could no
I inherited an old installation (0.24) that's been trouble-free until
recently, when I started getting these error messages from a single
machine:
Failed to retrieve current state of resource: Certificates were not
trusted: SSL_read:: decryption failed or bad record mac Could not
describe /tomcat/
New to puppet and I just don't understand how to do this. Apologies in
advance if it's a dumb question.
Let's say I have a module called httpd and inside that is a class
called httpd::service, which accepts a couple of parameters:
class httpd::service (
$running = 'running',
$enabled
Could really use some help with this. I have a simple class that
contains only this:
user { "myuser":
ensure => "present",
home => "/home/myuser",
shell=> "/bin/bash",
uid => "1001",
gid => "1001",
comment => "My user",
}
Newb question. The style guide contains this:
Inheritance may be used within a module, but must not be used across
module namespaces. Cross-module dependencies should be satisfied in a
more portable way that doesn’t violate the concept of modularity, such
as with include statements or relationship
No answers to this? Sorry if it's a stupid question, but I was hoping
it would be dead easy for someone here to answer. I've edited in case
it wasn't clear enough.
We upgraded to 2.6.3 and we've suddenly noticed two and sometimes
three puppet processes frequently running on the clients. Is this
no
We upgraded to 2.6.3 and we've suddenly noticed two and sometimes
three puppet processes running. They certainly look like forks... one
process always has a long running time, while the others are short and
disappear quickly. Is this normal? Is it new to this version or are we
just noticing it for
11 matches
Mail list logo