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

Module fails with future parser enabled #29

Closed
karolisc opened this issue Dec 12, 2014 · 3 comments
Closed

Module fails with future parser enabled #29

karolisc opened this issue Dec 12, 2014 · 3 comments
Labels
bug Something isn't working

Comments

@karolisc
Copy link
Contributor

Hi Werner,

The module fails then future parser is enabled in puppet.conf

Errors:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Left match operand must result in a String value. Got an Object. at /etc/puppet/environments/production/modules/zabbix/manifests/agent.pp:207:7

and

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Left match operand must result in a String value. Got an Object. at /etc/puppet/environments/production/modules/zabbix/manifests/proxy.pp:305:7

The root cause is this check
if ($listenip =~ /^(eth|bond).*/) {
in proxy.pp and agent.pp

more info https://tickets.puppetlabs.com/i#browse/PUP-1782

I don't use listenip so i overcome it with
if ($listenip != undef ) {

Karolis

@dj-wasabi
Copy link
Contributor

Hi Karolis,

Which OS are you using? So I can reproduce the error.

Kind regards,
Werner

@karolisc
Copy link
Contributor Author

Hi Werner,

I use Ubuntu 12.04 and 14.04, it should not be OS specific. In puppet v3.7 it is default behavior.

Karolis

@dj-wasabi
Copy link
Contributor

Hi Karolos,

Thanks, I fixed it. Works with 3.7 now.

Kind regards,
Werner

@dj-wasabi dj-wasabi added the bug Something isn't working label Dec 18, 2014
@karolisc karolisc closed this as completed Jan 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants