Created
February 17, 2015 18:18
-
-
Save justindossey/0d6be8e9e6a19083e6d1 to your computer and use it in GitHub Desktop.
update resource to not start until after additional stuff added
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe 'nginx' | |
resources(service: 'nginx').tap do |r| | |
r.action :enable | |
end | |
template '/etc/nginx/conf.d/my_file.conf' do | |
... | |
notifies :start, 'service[nginx]', :delayed | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A variation: