my-emacs-d/elpa/yasnippet-20161022.646/snippets/chef-mode/user

15 lines
312 B
Plaintext
Raw Normal View History

# -*- mode: snippet -*-
# name: user
# key: user
# --
user "${1:random}" do
action :create
comment "${2:Random User}"
uid ${3:1000}
gid "${4:users}"
home "${5:/home/random}"
shell "${6:/bin/zsh}"
password "${7:\$1\$JJsvHslV\$szsCjVEroftprNn4JHtDi.}"
supports :manage_home =>manage_home true
end