Chef support for arm?


#1

I am trying to bootstrap an Pandaboard running Ubuntu 14.04.

Specifically I am running the following
knife bootstrap --sudo -x -i -r ‘role[base]’
–secret-file /etc/chef/encrypted_data_bag_secret

but I am getting the following error. I have tried setting the chef
version to both 11 and 12 but same error. My guess is that there is no
m=armv7l defined but I am not sure where a list of supported architectures
for Chef is.

Any pointers would be appreciated.

Robert Walsh

Downloading Chef 11 for ubuntu…
downloading
https://www.opscode.com/chef/metadata?v=11&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=armv7l
to file /tmp/install.sh.2043/metadata.txt
trying wget…
ERROR 404
Omnitruck artifact does not exist for version 11 on platform ubuntu

Either this means:
- We do not support ubuntu
- We do not have an artifact for 11


#2

Chef bootstrap uses platform based installation logic for omnibus
installers, which is not available for arm. But chef works fine on arm. You
have to install it just like any other ruby gem. I am using it mostly with
2.1.0 and chef 12, on raspbian and ubuntu (trusty). So these combinations
works for sure.

On Sun, Mar 1, 2015 at 6:14 PM, Robert Walsh robert.warner.walsh@gmail.com
wrote:

I am trying to bootstrap an Pandaboard running Ubuntu 14.04.

Specifically I am running the following
knife bootstrap --sudo -x -i -r ‘role[base]’
–secret-file /etc/chef/encrypted_data_bag_secret

but I am getting the following error. I have tried setting the chef
version to both 11 and 12 but same error. My guess is that there is no
m=armv7l defined but I am not sure where a list of supported architectures
for Chef is.

Any pointers would be appreciated.

Robert Walsh

Downloading Chef 11 for ubuntu…
downloading
https://www.opscode.com/chef/metadata?v=11&prerelease=false&nightlies=false&p=ubuntu&pv=14.04&m=armv7l
to file /tmp/install.sh.2043/metadata.txt
trying wget…
ERROR 404
Omnitruck artifact does not exist for version 11 on platform ubuntu

Either this means:
- We do not support ubuntu
- We do not have an artifact for 11