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

Undefined method for 'join' #82

Open
lnozot-vt opened this issue Oct 17, 2017 · 0 comments
Open

Undefined method for 'join' #82

lnozot-vt opened this issue Oct 17, 2017 · 0 comments

Comments

@lnozot-vt
Copy link

I recently converted from Puppet OS 4.9.x to 4.10.8 and Hiera 5. I've run into the following error.

Error while evaluating a Function Call, Failed to parse template bind/named.conf.erb:
Filepath: /etc/puppetlabs/code/environments/production/modules/bind/templates/named.conf.erb
Line: 44
Detail: undefined method `join' for "x.x.x.x":String

I do a lookup in hiera for the forwards value and pass that onto bind::server::conf. This was working before my latest upgrade of Puppet.

Locally I have been able to remove the .join off of line 44 in the template noted above and it is now working for me but I have not tested an array of addresses yet as my environment doesn't use more than one forwarder at this time.

Would you check support for the newest version of Puppet and Hiera lookups that is < 5.0.0?

Thanks!

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

1 participant