inkblot / puppet-bind

18 stars 82 forks source link

Must pass bind_service to Class[Bind::Params] at .../modules/bind/manifests/init.pp:13 #48

Closed aimonb closed 9 years ago

aimonb commented 9 years ago

Hi, the params class is included with no args. But the params class has no defaults for its args. How does this work?

aimonb commented 9 years ago

OK I see that the module_data module should have picked that info up. It is not in my case.. why? I am by the way using hiera extensively already. Am I overriding the load order?

aimonb commented 9 years ago

aha! So if anyone else has this issue. You need to add the backend to your /etc/puppet/hiera.yaml:

:backends:
  - module_data

Please, Please Update the docs!

fonk commented 9 years ago

+1 for updating the docs!

inkblot commented 9 years ago

I have not needed to do this. Is this related to the puppet version?

nerdlich commented 9 years ago

For me, it doesn't even work when adding module_data to the backends (yes, module_data module is installed).

inkblot commented 9 years ago

What version of puppet are you using?

nerdlich commented 9 years ago

3.8.2

inkblot commented 9 years ago

Ok. I've got 3.8.1 on my master, and a mix of 3.8.1 and 3.4.3 on agents and standalone systems. I've also noticed that I've got no version requirement in the bind module's dependency on module_data, but due to the constraints in other modules in my config repo, I'm getting module_data 0.0.3, which includes some auto-registration code that needed work between 0.0.2 and 0.0.3 in order to work with later puppets. I've pushed a branch that just adds a module_data version constraint. Can you try it and see? It's the module-data-version branch.

nerdlich commented 9 years ago

I had already installed module_data v0.0.4. No worries. There might be something else wrong with my setup.