Thanks for the reply.
I didn't understand what you are trying to say.
The code is something like this:
$array_inputs = []
$vm_data.each |$region| {
$hash_region = {
location => $region['location'],
vm_list => $region['vmlist'],
customer_id => "customer-${$region['location']}",
api_key => "api-
Hi Raghu,
Yes this is possible. Your example looks workable, but don't forget to add
commas after the values of the hash.
Check out Puppet's 'reduce' function, it iterates over data and allows you
to return a new structure after all the iteration which could be your new
hash. Alternatively it mig
Heya,
On 26/08/20 09:40:33, Damien Ellul wrote:
> Actually, I was missing the "ca_server" parameter in the "main" section of
> the machine that hosts Foreman and the PuppetCA. I used the hostname of the
> server for the value and the "puppetserver ca" command worked.
>
> I didn't know that certs
VERSION 2.25.0
*in this release*
✨ *new features*
- The bundled puppet_agent module has a new puppet_agent::run plan which
can be used to run the Puppet agent on a list of targets. This plan returns
a set of results indicating whether the agent run was successful. If the
Puppet agen
Slack url is available in the puppet community page. Which is shared above.
Regards,
On Wed, 26 Aug 2020 12:41 am Asis Sethi, wrote:
> I would like to join the puppet slack channel too please let know
>
> On Sat., Aug. 22, 2020, 7:10 p.m. Tej Singh Rana, <
> iamtejsinghr...@gmail.com> wrote:
>
>
Actually, I was missing the "ca_server" parameter in the "main" section of
the machine that hosts Foreman and the PuppetCA. I used the hostname of the
server for the value and the "puppetserver ca" command worked.
I didn't know that certs could be managed via the Foreman web interface, do
you kno
Hi Guys
Some one help me solving this issue.
*Example:*
[
{
name => raghuram,
age => 22
},
{
name => vinay
age => 25
}
]
the idea is to iterate through an existing hash and create new hash with
some modifications and add it to array.
Thanks in adv