You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like calls to rackconnect? are failing when used on non-cloud, with error "must have rackconnect ohai plugin installed". It appears that the plugin is installed, the box just isn't a cloud box. Thus, rackconnect? should probably just return false.
Also, if node['rackspace']['foo'] or any other key is set, then it fails as well.
def rackconnected?(node)
return false unless node.key? 'rackspace'
if node['rackspace'].key? 'rackconnect'
return node['rackspace']['rackconnect']['enabled']
else
fail 'must have rackconnect ohai plugin installed'
end
end
We should be able to set node['rackspace']['foo'] and still have rackconnect? not raise or fail. Probably the source of rackspace-cookbooks/rackspace_support#8.
The text was updated successfully, but these errors were encountered:
It looks like calls to
rackconnect?
are failing when used on non-cloud, with error "must have rackconnect ohai plugin installed". It appears that the plugin is installed, the box just isn't a cloud box. Thus,rackconnect?
should probably just return false.Also, if
node['rackspace']['foo']
or any other key is set, then it fails as well.We should be able to set
node['rackspace']['foo']
and still haverackconnect?
not raise or fail. Probably the source of rackspace-cookbooks/rackspace_support#8.The text was updated successfully, but these errors were encountered: