{"action":"created","issue":{"url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/78","labels_url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/78/comments","events_url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/78/events","html_url":"https://github.com/opscode-cookbooks/firewall/issues/78","id":96406055,"number":78,"title":"Intermittent ProviderNotFound Exception","user":{"login":"jslusher","id":93294,"avatar_url":"https://avatars.githubusercontent.com/u/93294?v=3","gravatar_id":"","url":"https://api.github.com/users/jslusher","html_url":"https://github.com/jslusher","followers_url":"https://api.github.com/users/jslusher/followers","following_url":"https://api.github.com/users/jslusher/following{/other_user}","gists_url":"https://api.github.com/users/jslusher/gists{/gist_id}","starred_url":"https://api.github.com/users/jslusher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jslusher/subscriptions","organizations_url":"https://api.github.com/users/jslusher/orgs","repos_url":"https://api.github.com/users/jslusher/repos","events_url":"https://api.github.com/users/jslusher/events{/privacy}","received_events_url":"https://api.github.com/users/jslusher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-21T20:10:05Z","updated_at":"2015-07-21T20:39:22Z","closed_at":null,"body":"I have the firewall cookbook in my base cookbook repo and a resource that configures the firewall for my centos nodes. I've been getting these at random points, usually when the base cookbook is specified in the run list before the node's recipes. If I reverse the order and have the base last in the order in the run list, I don't get this Exception. I want to be able to specify the base cookbook first in the run list for obvious reasons. What's going on with this?\r\n\r\n           ================================================================================\r\n           Error executing action `enable` on resource 'firewall[centos-firewall]'\r\n           ================================================================================\r\n\r\n           Chef::Exceptions::ProviderNotFound\r\n           ----------------------------------\r\n           Cannot find a provider for firewall[centos-firewall] on centos version 7.0.1406\r\n\r\n           Resource Declaration:\r\n           ---------------------\r\n           # In /tmp/kitchen/cache/cookbooks/discogs-base/recipes/default.rb\r\n\r\n            91:   firewall 'centos-firewall' do\r\n            92:     action :enable\r\n            93:   end\r\n            94:\r\n\r\n           Compiled Resource:\r\n           ------------------\r\n           # Declared in /tmp/kitchen/cache/cookbooks/discogs-base/recipes/default.rb:91:in `from_file'\r\n\r\n           firewall(\"centos-firewall\") do\r\n             action [:enable]\r\n             retries 0\r\n             retry_delay 2\r\n             default_guard_interpreter :default\r\n             subresources [firewall_rule[consul], firewall_rule[consul400], firewall_rule[consul500], firewall_rule[consul600], firewall_rule[nrpe], firewall_rule[ssh], firewall_rule[mysql], firewall_rule[app], firewall_rule[http]]\r\n             declared_type :firewall\r\n             cookbook_name \"discogs-base\"\r\n             recipe_name \"default\"\r\n           end"},"comment":{"url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/comments/123470931","html_url":"https://github.com/opscode-cookbooks/firewall/issues/78#issuecomment-123470931","issue_url":"https://api.github.com/repos/opscode-cookbooks/firewall/issues/78","id":123470931,"user":{"login":"martinb3","id":103033,"avatar_url":"https://avatars.githubusercontent.com/u/103033?v=3","gravatar_id":"","url":"https://api.github.com/users/martinb3","html_url":"https://github.com/martinb3","followers_url":"https://api.github.com/users/martinb3/followers","following_url":"https://api.github.com/users/martinb3/following{/other_user}","gists_url":"https://api.github.com/users/martinb3/gists{/gist_id}","starred_url":"https://api.github.com/users/martinb3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinb3/subscriptions","organizations_url":"https://api.github.com/users/martinb3/orgs","repos_url":"https://api.github.com/users/martinb3/repos","events_url":"https://api.github.com/users/martinb3/events{/privacy}","received_events_url":"https://api.github.com/users/martinb3/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T20:39:22Z","updated_at":"2015-07-21T20:39:22Z","body":"Hmm. Everything there looks correct. Do you have `depends 'firewall'` in the base cookbook's metadata?"}}