Jon, Were you asking which tool you should use, or asking what happens when you define the same variable in both tools?
An ENC sets global variables, "parameters". A manifest uses data from variables/parameters. Puppet won't let you redefine or duplicate a variable or resources so in that context if you "throw these two into the octagon" to try and redefine a variable/resource then nobody wins. You loose. On the other hand, as Felix has pointed out, the ENC is simply a way to define data outside your modules. Something that Heira does very well too. You want to take data out of your modules and use an ENC and/or Heira. So again, an ENC and modules do different things so throwing them down together to try and do the same thing is a loosing situation. On Wed, Oct 29, 2014 at 3:44 AM, JonY <[email protected]> wrote: > If we throw these two into the octagon.. who wins? If one says "add it" and > the other says "remove it".. what do I end up with? > > -- > 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/6807bc66-e5cc-4593-b486-13cff74d6086%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Perfection is just a word I use occasionally with mustard. --Atom Powers-- -- 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/CAF-H%3DOnBg7K_bMuAzjN6JgoXR31hKZVLbSnqh7tc0CX2h9tcRA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
