Skip to content

Undefined method for 'join' #82

@lnozot-vt

Description

@lnozot-vt

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions