Puppet: add 2 to the last position of an ip
In puppet I need to take the fact for the ip address and add two to the last octet of that ip address and call it from a template.
Some ideas I have, but I am not sure about, is:
exec a cmd that will do the calculations
have puppet parse the ip address and then add two
or any ideas that this community can come up with
I do not really care if it is messy, I just want reliable.
If any one has ideas that would be great.
Last edited by edwardcode; 12-06-2012 at 07:44 AM.