sous-chefs / sc-mongodb

Development repository for the sc-mongodb cookbook
https://supermarket.chef.io/cookbooks/sc-mongodb
Apache License 2.0
75 stars 93 forks source link

Recipe: sc-mongodb::mongo_gem breaks run list order #174

Open Trenrod opened 6 years ago

Trenrod commented 6 years ago

Hi,

sc-mongodb::mongo_gem executes before its possible to make an apt-get update which causes an error because apt is not up2date.

Execution

       Installing Cookbook Gems:
       Compiling Cookbooks...
       Recipe: chef-sugar::default
         * chef_gem[chef-sugar] action install
           - install version 3.4.0 of package chef-sugar
       Recipe: sc-mongodb::mongo_gem
         * apt_package[gcc] action install (skipped due to only_if)
         * apt_package[libsasl2-dev] action install

RunList

Where test::default contains

apt_update 'Update NOW' do
  action :update
end
github-actions[bot] commented 3 years ago

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.