Sample Header Ad - 728x90

Chef test shows nginx enabled and running service --status-all doesn't show it at all

0 votes
0 answers
154 views
I am trying to run a chef verify test and the test is showing nginx is enabled and running using this code: describe service('nginx') do it { should be_enabled } it { should be_running } end It will not however show in the /etc/nginx directory. I can't find any mention of nginx in anywhere except my tests and the config files I put in place with my cookbook. Well the cookbook is one I have been given by a coworker.
Asked by Josh Kirby (1 rep)
May 8, 2018, 08:31 PM