neillturner / kitchen-verifier-serverspec

A Test Kitchen Serverspec Verifer without having to transit the Busser layer
Other
39 stars 19 forks source link

Ensure all ENV vars are `String`s. #9

Closed craigw closed 8 years ago

craigw commented 8 years ago

Otherwise Mixlib::Shellout fails in weird ways when remote_exec = false because the state has a port which is a numeric, and ENV only likes Strings.

Also use shellout for all commands so the serverspec run gets the state - necessary to pick up the hostname, port, username, and SSH key so we can SSH to the instance for the tests.

neillturner commented 8 years ago

thanks for this