Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merged node not actually used by solo.configure

  • Loading branch information...
commit 185758ba1c60500f18d6f19252c17067eef99089 1 parent 26377ee
@philk philk authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 littlechef/chef.py
View
5 littlechef/chef.py
@@ -80,11 +80,10 @@ def sync_node(node):
if node.get('dummy') or 'dummy' in node.get('tags', []):
lib.print_header("Skipping dummy: {0}".format(env.host))
return False
- # Get merged attributes
- merged_node = lib.get_node(node['name'], merged=True)
+ current_node = lib.get_node(node['name'])
with lib.credentials():
# Always configure Chef Solo
- solo.configure(merged_node)
+ solo.configure(current_node)
ipaddress = _get_ipaddress(node)
# Everything was configured alright, so save the node configuration
# This is done without credentials, so that we keep the node name used
Please sign in to comment.
Something went wrong with that request. Please try again.