AFAIK all variables inside a lambda are “private”:
https://docs.puppet.com/puppet/latest/lang_lambdas.html#lambda-scope
> On 30 Jan 2017, at 21:49, Justin Diana wrote:
>
> Hey guys,
>
> I'm trying to loop through a hash to set a variable and then use it outside
> of the loop. For some reason
Thanks you sir! It worked great:)
On Mon, Jan 30, 2017 at 6:33 PM, Bart-Jan Vrielink
wrote:
> Hello,
>
>
> There are a few issues with your example that need to be fixed, to make it
> work.
>
> As a start, you need to prefix certain keywords in /etc/hiera.yaml with a
> colon (:). I have tested u
Hey guys,
I'm trying to loop through a hash to set a variable and then use it outside
of the loop. For some reason, although my debug shows the variable is
getting set to the correct value, it's NULL as soon as I move up a layer in
the nested loop:
$lb_info.each |$k, $v| {
$myaddress
On 30/01/17 12:58, Michael Shaw wrote:
The very clear use case for me is in the puppet management of
infrastructure.
Take the case of puppet being used to automate the creation of a
database server. The Command to initiate the creation takes around 2
seconds to complete. The process to actually
What happens if you have repos empty?
repos => ''
--
Lowe Schmidt | +46 723 867 157
On 29 January 2017 at 18:06, Romgo wrote:
> Hello,
>
> I'm trying to use this module to configure my debian server.
> I have one issue with the jenkins repository,
>
> I use the following configuration :
>
> d
Hello,
There are a few issues with your example that need to be fixed, to make it work.
As a start, you need to prefix certain keywords in /etc/hiera.yaml with a colon
(:). I have tested using this setup:
---
:backends:
- yaml
:hierarchy:
- node/%{::fqdn}
- "%{::environment}"
- global
The very clear use case for me is in the puppet management of
infrastructure.
Take the case of puppet being used to automate the creation of a database
server. The Command to initiate the creation takes around 2 seconds to
complete. The process to actually create the database can take 5 minute
Can we install puppet agent on multiple host machine using one remote
machine (considering puppet master is already installed on the remote
machine)?
--
The information in this message may be proprietary and/or confidential, and
protected from disclosure. If the reader of this message is not t
Hello,
I'm trying to use this module to configure my debian server.
I have one issue with the jenkins repository,
I use the following configuration :
deb http://pkg.jenkins.io/debian-stable binary/
So I declare on my node :
apt::source { "jenkins-${lsbdistcodename}":
location => 'http://pk
Hi Rob,
thank for the feedback.
So you also merge values accross different Hiera tiers. I will probably
also use this in my modules and there will be cases where this will be the
right solution for what I want to achieve.
But merging values from the _same tier_ seems not be possible then. Like
p
10 matches
Mail list logo