I have configured 3 centos servers for chefworkstation, chefserver and chefclient. Now I want to install nginx using the cookbook. For that I have below script.
package 'nginx' do action :install end
This did not work because there were not enabled epel-release. Is there a way to enable epel repository before running above script?