Bug #20351
openImporting parameterized classes in init.pp
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1261498
Description of problem:
Puppet on satellite will give a duplicate declaration: class already defined error when you run a puppet class with a parameter that is import into init.pp and it overridden.
Version-Release number of selected component (if applicable):
6.0.8
How reproducible:
Every time
Steps to Reproduce:
1. create a puppet module that imports a parameter in init.pp (see the example module i have uploaded)
2. import into satellite and set the variable to override (tick box)
3. override the parameter on a host/host group.
4. run puppet on client
Actual results:
puppet agent will give duplicate declaration: class already defined error
Expected results:
class to run at expected
Additional info:
you can work around this by importing the parameter into a sub module, see the ldapworks.tar.gz
importing a parameter into init.pp works okay with open source puppet.
No data to display