Create a gist now

Instantly share code, notes, and snippets.

action :create
Chef::Log.info "I am running template now"
template "/etc/file.conf" do
...
end
end
This will print Chef::Log.info at compilation step, then template will run whenever the hell it feels like it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment