Hi,
could you please elaborate a bit on your issue? I do not quite
understand what you are trying to do, and how you are currently failing.
Thanks,
Felix
On 02/24/2016 12:37 AM, Gowtham P R wrote:
Hi All,
I am not able to figure out how to replace "mac address value" with
first mac address, appreciate your help.
$aws_account =
$::facts['ec2_metadata']['network']['interfaces']['macs']
['02:df:8d:XXXXXX'][owner-id]'] ? {
/123456789/ => 'account1',
/123456789/ => 'account2',
/123456789/ => 'account3',
/123456789/ => 'account4',
/123456789/ => 'account5',
}
notify { " ${aws_account} " : }
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/56D22E4D.9080303%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.