Fix _chef_environments_remote for current knife output

All of these functions need to be fixed, but I'll fix the others in a
different branch.
This commit is contained in:
Mark Cornick 2012-10-02 12:55:08 -04:00
parent 31ec2904f0
commit 3c833c6491
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ _chef_data_bags_remote() {
}
_chef_environments_remote() {
(knife environment list | grep \" | awk '{print $1}' | awk -F"," '{print $1}' | awk -F"\"" '{print $2}')
(knife environment list | awk '{print $1}')
}
# The chef_x_local functions use the knife config to find the paths of relevant objects x to be uploaded to the server