setup gpg keys and https downloads:
curl https://packagecloud.io/gpg.key | sudo apt-key add -
sudo apt-get update
sudo apt-get install debian-archive-keyring #debian only
sudo apt-get install -y apt-transport-https
create/edit /etc/apt/sources.list.d/chef_stable.list:
deb https://packagecloud.io/chef/stable/ubuntu/ trusty main
update apt, install chef-compliance package and reconfigure:
apt-get update
apt-get install chef-compliance
sudo chef-compliance-ctl reconfigure
create/edit /etc/yum.repos.d/chef_stable.repo:
[chef_stable]
name=chef_stable
baseurl=https://packagecloud.io/chef/stable/el/6/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
install chef-compliance package and reconfigure:
sudo yum install -y chef-compliance
sudo chef-compliance-ctl reconfigure