diff options
Diffstat (limited to 'cookbooks/user/recipes')
-rw-r--r-- | cookbooks/user/recipes/default.rb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/cookbooks/user/recipes/default.rb b/cookbooks/user/recipes/default.rb new file mode 100644 index 0000000..20c5ac3 --- /dev/null +++ b/cookbooks/user/recipes/default.rb @@ -0,0 +1,33 @@ +# +# Cookbook Name:: user +# Recipe:: default +# +# Copyright 2015, AT&T +# +# All rights reserved - Do Not Redistribute +# +group 'aaiadmin' do + append true +#gid 492381 + members members ['aaiadmin'] + action :create +end + +user 'aaiadmin' do + comment "A&AI Application User" + gid "aaiadmin" + home "/opt/aaihome/aaiadmin" + manage_home true + non_unique false + shell "/bin/ksh" +#uid 341790 + username "aaiadmin" + ignore_failure true + action :create +end +directory "/opt/aaihome/aaiadmin" do + owner 'aaiadmin' + group 'aaiadmin' + mode "0755" + ignore_failure true +end |