diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-05-19 12:29:43 -0400 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-05-19 12:40:51 -0400 |
commit | 0cd55fc1d50f066720bbe0ce591d9cbc59ecddf4 (patch) | |
tree | c01e51a84caa6baac7511352451281c3759097e0 /cookbooks/user | |
parent | b160c3cc1e58e85502ccaa7358cd38ff210ed34a (diff) |
Add the chef config changes for the new repos
Change-Id: If1fc90402ca70449cd181fab9f469eded4831638
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'cookbooks/user')
-rw-r--r-- | cookbooks/user/CHANGELOG.md | 13 | ||||
-rw-r--r-- | cookbooks/user/README.md | 42 | ||||
-rw-r--r-- | cookbooks/user/metadata.rb | 7 | ||||
-rw-r--r-- | cookbooks/user/recipes/default.rb | 33 |
4 files changed, 0 insertions, 95 deletions
diff --git a/cookbooks/user/CHANGELOG.md b/cookbooks/user/CHANGELOG.md deleted file mode 100644 index dec3520..0000000 --- a/cookbooks/user/CHANGELOG.md +++ /dev/null @@ -1,13 +0,0 @@ -user CHANGELOG -============== - -This file is used to list changes made in each version of the user cookbook. - -0.1.0 ------ -- [your_name] - Initial release of user - -- - - -Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown. - -The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown. diff --git a/cookbooks/user/README.md b/cookbooks/user/README.md deleted file mode 100644 index 7d85a9f..0000000 --- a/cookbooks/user/README.md +++ /dev/null @@ -1,42 +0,0 @@ -user Cookbook -============= -Configures users and mechids - -Requirements ------------- - -Attributes ----------- -#### user::mech_users -<table> - <tr> - <th>Key</th> - <th>Type</th> - <th>Description</th> - <th>Default</th> - </tr> - <tr> - <td><tt>['aai-app-config']['mech-ids']</tt></td> - <td>Hash</td> - <td>Mech ID, is the mech ID enabled?, shoud the cookbook update the key?</td> - <td><tt>true</tt></td> - </tr> -</table> - -Usage ------ -#### user::default -Just include `user` in your node's `run_list`: - -```json -{ - "name":"my_node", - "run_list": [ - "recipe[user]" - ] -} -``` - -License and Authors -------------------- -Authors: AT&T A&AI diff --git a/cookbooks/user/metadata.rb b/cookbooks/user/metadata.rb deleted file mode 100644 index 9a97b5f..0000000 --- a/cookbooks/user/metadata.rb +++ /dev/null @@ -1,7 +0,0 @@ -name 'user' -maintainer 'AT&T' -maintainer_email 'id@xxx.com' -license 'All rights reserved' -description 'Configures Users and Mech Ids' -long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.1.9' diff --git a/cookbooks/user/recipes/default.rb b/cookbooks/user/recipes/default.rb deleted file mode 100644 index 20c5ac3..0000000 --- a/cookbooks/user/recipes/default.rb +++ /dev/null @@ -1,33 +0,0 @@ -# -# 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 |