Bug if using hostnames for memcache in manifest/cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-oslo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
This commit https:/
creates issues if using hostnames. In our environment we use hostnames for memcacheservers of the kind "memcache1:port" After that change has been implemented puppet gives an error. Replacing that line back to previous version restores a working environment.
I am not sure though if the problem is in the puppet-oslo module on that commit that I linked, or more relevant on the lib/puppet/
The function should:
# This is useful for services relying on python-memcached which require
# the inet6:[
#
# Returns the argument untouched otherwise.
For what I am understanding from this code, the input argument is supposed to be either an ipv4 or ipv6. Input it an hostnames creates this issue.
Thanks for investigating
Changed in puppet-oslo: | |
importance: | Undecided → Critical |
importance: | Critical → Undecided |
Also,
https:/ /forge. puppet. com/puppetlabs/ stdlib
Why not using standard stdlib functions to check if hostname / ipv4 / ipv6?