Permalink
Browse files

Remove @hosts decorator from node and nodes_with_role

No longer needed since we use execute
  • Loading branch information...
1 parent 967aadd commit 77eea4a058df91101584440e8463dc383e888d74 @philk philk committed Jan 18, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 littlechef/runner.py
View
2 littlechef/runner.py
@@ -72,7 +72,6 @@ def _mkdir(d):
print "config.cfg file created..."
-@hosts('setup')
def nodes_with_role(rolename):
"""Sets a list of nodes that have the given role
in their run list and calls node()
@@ -93,7 +92,6 @@ def nodes_with_role(rolename):
return node(*nodes_in_env)
-@hosts('setup')
def node(*nodes):
"""Selects and configures a list of nodes. 'all' configures all nodes"""
chef.remove_local_node_data_bag()

0 comments on commit 77eea4a

Please sign in to comment.