I've managed to debug this down to a simple repro:
sudo chef-client -o "recipe[ubuntu::default]" -W ---> first Recipe: apt::default (expected)
sudo chef-client -o "recipe[ubuntu::default],recipe[zabbix::database]" -W ---> first Recipe: build-essential::debian
Somehow the inclusion of zabbix::database in my run list, causes itself to go to the top of the run list. This always fails because I need to run apt-get update before installing packages.
I can't find anything in the recipe that could cause this but maybe you guys have some insight.
I've managed to debug this down to a simple repro:
sudo chef-client -o "recipe[ubuntu::default]" -W ---> first Recipe: apt::default (expected)
sudo chef-client -o "recipe[ubuntu::default],recipe[zabbix::database]" -W ---> first Recipe: build-essential::debian
Somehow the inclusion of zabbix::database in my run list, causes itself to go to the top of the run list. This always fails because I need to run apt-get update before installing packages.
I can't find anything in the recipe that could cause this but maybe you guys have some insight.