Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

key-sync fails when node.network.interface hashes do not contain addresses #300

Open
nephomaniac opened this issue May 5, 2016 · 0 comments

Comments

@nephomaniac
Copy link
Contributor

self.get_local_cluster_name() in key-sync.rb needs to verify that parameters are present, and/or not nil before attempting to iterate on the contents. For example, the following will fail when run on a machine where the interface does not posses 'addresses', resulting in a nil value which you can not iterate on here...

node["network"]["interfaces"].each do |interface, info|
    info["addresses"].each do |address, info|

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

No branches or pull requests

1 participant