Hi, I have a recipe that deploy a nrpe_local.cfg. In my template, i want to deploy diffrent lines between 32 and 64 bits.
We have hosts uder redhat and debian,. When i write <% if architecture == "i386" -%> no problem, the lines are well deployed on redhat and debian, but for the 64 bits, redhat call the architecture x86_64 and debian amd64... i tried to make an array like this <% if architecture == "x86_64", "amd64" -%> or like this <% if architecture == "x86_64, amd64" -%> or <% if architecture == "x86_64" | "amd64" -%> and many other tries, but i couldn't get it to work... does anyone knows how i could solve my problem? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
