Hi,
I am using puppet to generate ipsec tunnels configuration on OpenBSDs
gateways.
Having a bunch of offices, I did something like this:
$enc = $office ?
{
paris =
{
london = aes,
kiev = 3des
},
london =
{
On Sun, Aug 12, 2012 at 1:35 AM, Samuel José Martín faus...@gmail.com wrote:
Hi,
I am using puppet to generate ipsec tunnels configuration on OpenBSDs
gateways.
Having a bunch of offices, I did something like this:
$enc = $office ?
{
paris =
{
Though not elegant, you could also run it through an inline template.
Alternatively, you could write a puppet function that manipulates your
data structure appropriately and returns an appropriate answer for you
to use in your selector.
Trevor
On Sun, Aug 12, 2012 at 1:11 PM, Justin Stoller