summaryrefslogtreecommitdiffstats
path: root/cookbooks/aai-traversal/aai-traversal-auth
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-05-19 12:29:43 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-05-19 12:40:51 -0400
commit0cd55fc1d50f066720bbe0ce591d9cbc59ecddf4 (patch)
treec01e51a84caa6baac7511352451281c3759097e0 /cookbooks/aai-traversal/aai-traversal-auth
parentb160c3cc1e58e85502ccaa7358cd38ff210ed34a (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/aai-traversal/aai-traversal-auth')
-rw-r--r--cookbooks/aai-traversal/aai-traversal-auth/CHANGELOG.md13
-rw-r--r--cookbooks/aai-traversal/aai-traversal-auth/README.md68
-rw-r--r--cookbooks/aai-traversal/aai-traversal-auth/files/default/aai_keystore-devbin0 -> 4002 bytes
-rw-r--r--cookbooks/aai-traversal/aai-traversal-auth/metadata.rb7
-rw-r--r--cookbooks/aai-traversal/aai-traversal-auth/recipes/aai-traversal-aai-keystore.rb8
5 files changed, 96 insertions, 0 deletions
diff --git a/cookbooks/aai-traversal/aai-traversal-auth/CHANGELOG.md b/cookbooks/aai-traversal/aai-traversal-auth/CHANGELOG.md
new file mode 100644
index 0000000..c86d50b
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-auth/CHANGELOG.md
@@ -0,0 +1,13 @@
+ajsc-aai-auth CHANGELOG
+=======================
+
+This file is used to list changes made in each version of the aai-traversal-auth cookbook.
+
+0.1.0
+-----
+- [your_name] - Initial release of aai-traversal-auth
+
+- - -
+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/aai-traversal/aai-traversal-auth/README.md b/cookbooks/aai-traversal/aai-traversal-auth/README.md
new file mode 100644
index 0000000..370816b
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-auth/README.md
@@ -0,0 +1,68 @@
+aai-traversal-auth Cookbook
+======================
+TODO: Enter the cookbook description here.
+
+e.g.
+This cookbook makes your favorite breakfast sandwich.
+
+Requirements
+------------
+TODO: List your cookbook requirements. Be sure to include any requirements this cookbook has on platforms, libraries, other cookbooks, packages, operating systems, etc.
+
+e.g.
+#### packages
+- `toaster` - ajsc-aai-auth needs toaster to brown your bagel.
+
+Attributes
+----------
+TODO: List your cookbook attributes here.
+
+e.g.
+#### ajsc-aai-auth::default
+<table>
+ <tr>
+ <th>Key</th>
+ <th>Type</th>
+ <th>Description</th>
+ <th>Default</th>
+ </tr>
+ <tr>
+ <td><tt>['ajsc-aai-auth']['bacon']</tt></td>
+ <td>Boolean</td>
+ <td>whether to include bacon</td>
+ <td><tt>true</tt></td>
+ </tr>
+</table>
+
+Usage
+-----
+#### aai-traversal-auth::default
+TODO: Write usage instructions for each cookbook.
+
+e.g.
+Just include `aai-traversal-auth` in your node's `run_list`:
+
+```json
+{
+ "name":"my_node",
+ "run_list": [
+ "recipe[ajsc-aai-auth]"
+ ]
+}
+```
+
+Contributing
+------------
+TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.
+
+e.g.
+1. Fork the repository on Github
+2. Create a named feature branch (like `add_component_x`)
+3. Write your change
+4. Write tests for your change (if applicable)
+5. Run the tests, ensuring they all pass
+6. Submit a Pull Request using Github
+
+License and Authors
+-------------------
+Authors: TODO: List authors
diff --git a/cookbooks/aai-traversal/aai-traversal-auth/files/default/aai_keystore-dev b/cookbooks/aai-traversal/aai-traversal-auth/files/default/aai_keystore-dev
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-auth/files/default/aai_keystore-dev
Binary files differ
diff --git a/cookbooks/aai-traversal/aai-traversal-auth/metadata.rb b/cookbooks/aai-traversal/aai-traversal-auth/metadata.rb
new file mode 100644
index 0000000..e653749
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-auth/metadata.rb
@@ -0,0 +1,7 @@
+name 'aai-traversal-auth'
+maintainer 'ATT'
+maintainer_email ''
+license 'All rights reserved'
+description 'Installs/Configures aai-traversal-auth'
+long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
+version '1.0.0'
diff --git a/cookbooks/aai-traversal/aai-traversal-auth/recipes/aai-traversal-aai-keystore.rb b/cookbooks/aai-traversal/aai-traversal-auth/recipes/aai-traversal-aai-keystore.rb
new file mode 100644
index 0000000..c1b3f28
--- /dev/null
+++ b/cookbooks/aai-traversal/aai-traversal-auth/recipes/aai-traversal-aai-keystore.rb
@@ -0,0 +1,8 @@
+cookbook_file "#{node['aai-traversal-config']['PROJECT_HOME']}/bundleconfig/etc/auth/aai_keystore" do
+ source "aai_keystore-#{node['aai-traversal-config']['AAIENV']}"
+ owner 'aaiadmin'
+ group 'aaiadmin'
+ mode '0755'
+ action :create
+end
+