문제

I have two chef recipes in my nginx cookbook. One is named default.rb and another named sites.rb. When I run the sites recipe with

RUN_LIST=recipe[nginx::sites] bundle exec cap staging chef:solo

then my default recipe is run as well. How do I prevent this from happening?

도움이 되었습니까?

해결책

Remove line

include_recipe "nginx"

because it includes default recipe (nginx::default)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top