Fixed bug with single chef-solo cookbook location
This commit is contained in:
parent
a7d55db213
commit
2e39ab53e7
|
@ -59,7 +59,7 @@ solo
|
||||||
|
|
||||||
# We're lucky that ruby's string and array syntax for strings is the
|
# We're lucky that ruby's string and array syntax for strings is the
|
||||||
# same as JSON, so we can just convert to JSON here and use that
|
# same as JSON, so we can just convert to JSON here and use that
|
||||||
result = result.to_s if result.length == 1
|
result = result[0].to_s if result.length == 1
|
||||||
result.to_json
|
result.to_json
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue