summaryrefslogtreecommitdiffstats
path: root/cookbooks/user/recipes/default.rb
diff options
context:
space:
mode:
authorSteve Smokowski <ss835w@att.com>2017-02-09 15:38:13 -0500
committerSteve Smokowski <ss835w@att.com>2017-02-09 15:39:00 -0500
commitb160c3cc1e58e85502ccaa7358cd38ff210ed34a (patch)
tree210cc985eff4dc146e3ea431cdc7d1e792594314 /cookbooks/user/recipes/default.rb
parent7a3f850cf5c4aad118edaaf0b6981352daecb2a8 (diff)
Initial OpenECOMP A&AI commitrelease-1.0.0
Change-Id: Ic953856ef5e44eebf05bd00fe26cb5901fb49289 Signed-off-by: Steve Smokowski <ss835w@att.com>
Diffstat (limited to 'cookbooks/user/recipes/default.rb')
-rw-r--r--cookbooks/user/recipes/default.rb33
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