Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiera lookups with no default in params.pp #7

Open
jantman opened this issue Jan 22, 2014 · 9 comments
Open

Hiera lookups with no default in params.pp #7

jantman opened this issue Jan 22, 2014 · 9 comments
Assignees

Comments

@jantman
Copy link

jantman commented Jan 22, 2014

There are 4 hiera() lookups in the first few lines of icinga::params that have no default value. The README says that this module works with an ENC, but at least with these hiera() lookups without default values, it does not. It just dies with a compile error.

jantman added a commit to jantman/puppet-icinga that referenced this issue Jan 22, 2014
@ghost ghost assigned rendhalver Jan 22, 2014
@rendhalver
Copy link
Member

Thanks for letting me know.
Which variables is it complaining about?

@rendhalver
Copy link
Member

Oh and which version are you using? The puppet forge version or the head of the github tree?

@jantman
Copy link
Author

jantman commented Jan 23, 2014

I'm using master - at the moment, I'm actually running off of a branch in my fork (https://github.com/jantman/puppet-icinga/tree/enc) since I need to use an ENC with it.

Looks like you already found the variables in question:
jantman@4511749

@rendhalver
Copy link
Member

Just wanted to let you know a fix is in progress.
Will update this ticket when it has been committed.

@jantman
Copy link
Author

jantman commented Feb 10, 2014

Cool, thanks. I'm currently working off of a fork, but once this fix is done I'll give a try at reconciling them and submitting a pull request if interested. The main thing that I did, other than making it more ENC-friendly, was updating to use the latest version of dependencies, and converting most of the classic GUI stuff to the apache::vhost type.

@rendhalver
Copy link
Member

I am currently doing that myself actually...
I have also released new more independent versions of my other modules where possible.

Have you pushed your workings up to github yet?

@rendhalver
Copy link
Member

I pushed out rc2 for 1.2.2 today.
I think this will fix the issue.
Do you have time to check if it resolves it?

@jantman
Copy link
Author

jantman commented Jul 26, 2014

Unfortunately, I doubt it. After this long, reconciling my fork with this probably won't be simple. I'm still running off of https://github.com/jantman/puppet-icinga/tree/enc ; it has some relatively large changes (https://github.com/jantman/puppet-icinga/compare/enc) and unfortunately we've been through a reorg at work, and I'm not sure whether monitoring is really even in my new group's purview anymore, so I don't think I'll be able to dedicate much work time to this...

@rendhalver
Copy link
Member

All cool dude.
I haven't used this one much lately either.
I might have a look at your changes. They might be useful additions to my module.

Will let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants