TritonDataCenter / triton-kubernetes

Kubernetes on Triton
Mozilla Public License 2.0
183 stars 44 forks source link

Terraform complains: can't find external program "ruby" - Prerequisites #133

Closed neuroserve closed 6 years ago

neuroserve commented 6 years ago

Hi *, after the webcast I wanted to check the latest release: root@e3b75fc5-3621-cdd8-f9dd-c9acbf4a37e9:~# SOURCE_URL=/root/triton-kubernetes/ SOURCE_REF=master ./triton-kubernetes_linux-amd64 version no version set for this build... triton-kubernetes v0.9.0-pre2 (local)

triton-kubernetes create manager exits with the following error:

Error: Error applying plan:

2 error(s) occurred:

And that's true - ruby is not installed in the ubuntu-Image. I have tried two of those: b2da7f6e ubuntu-certified-16.04 20171122 P linux zvol 2017-11-28 d42c37f4 ubuntu-certified-16.04 20180109 P linux zvol 2018-01-10

I have searched through the repository to find the script/location where additional packages are installed - but I could not find that location.

Then I tried a local install of ruby (on the box I executed triton-kubernetes on) and the next try worked ok. So maybe you should add "ruby" to the prerequisites :-)