dotfiles/.emacs.d/snippets/chef-mode/templatev

12 lines
227 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: templatev
# key: templatev
# --
template "${1:name}" do
source "${2:source}.erb"
owner "root"
group "root"
node "0644"
variables( ${3::config_var => node[:configs][:config_var]} )
end