Skip to content

Instantly share code, notes, and snippets.

@trekr5
Last active August 29, 2015 14:16
Show Gist options
  • Save trekr5/102f87a6a317c24c0ca3 to your computer and use it in GitHub Desktop.
Save trekr5/102f87a6a317c24c0ca3 to your computer and use it in GitHub Desktop.
user "svc_goagent" do
action :create
comment "go agent"
uid 1234
gid 2000
home "home/svc_goagent"
shell "/bin/bash"
password "{"password"=>{"encrypted_data"=>"ro21vM1nle78CTBLSNyr40e2tM9VZiiSfbinDAvwZpKov3r9gokq6jStDeAH\nsyRs\n", "iv"=>"PfWTKqKoc3OxO8WxTnW7Zg==\n", "version"=>1, "ciph
er"=>"aes-256-cbc"}}"
supports :manage_home => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment