summaryrefslogtreecommitdiffstats
path: root/cookbooks/ajsc-aai-auth
diff options
context:
space:
mode:
Diffstat (limited to 'cookbooks/ajsc-aai-auth')
-rw-r--r--cookbooks/ajsc-aai-auth/CHANGELOG.md13
-rw-r--r--cookbooks/ajsc-aai-auth/README.md68
-rw-r--r--cookbooks/ajsc-aai-auth/files/default/aai_keystore-devbin0 -> 4002 bytes
-rw-r--r--cookbooks/ajsc-aai-auth/files/default/aai_keystore-intbin0 -> 4002 bytes
-rw-r--r--cookbooks/ajsc-aai-auth/files/default/aai_keystore-localbin0 -> 4002 bytes
-rw-r--r--cookbooks/ajsc-aai-auth/files/default/aai_keystore-simpledemobin0 -> 4002 bytes
-rw-r--r--cookbooks/ajsc-aai-auth/files/default/aai_keystore-solobin0 -> 4002 bytes
-rw-r--r--cookbooks/ajsc-aai-auth/metadata.rb7
-rw-r--r--cookbooks/ajsc-aai-auth/recipes/aai-keystore.rb8
9 files changed, 96 insertions, 0 deletions
diff --git a/cookbooks/ajsc-aai-auth/CHANGELOG.md b/cookbooks/ajsc-aai-auth/CHANGELOG.md
new file mode 100644
index 0000000..575f2f7
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/CHANGELOG.md
@@ -0,0 +1,13 @@
+ajsc-aai-auth CHANGELOG
+=======================
+
+This file is used to list changes made in each version of the ajsc-aai-auth cookbook.
+
+0.1.0
+-----
+- [your_name] - Initial release of ajsc-aai-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/ajsc-aai-auth/README.md b/cookbooks/ajsc-aai-auth/README.md
new file mode 100644
index 0000000..da8fe00
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/README.md
@@ -0,0 +1,68 @@
+ajsc-aai-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
+-----
+#### ajsc-aai-auth::default
+TODO: Write usage instructions for each cookbook.
+
+e.g.
+Just include `ajsc-aai-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/ajsc-aai-auth/files/default/aai_keystore-dev b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-dev
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-dev
Binary files differ
diff --git a/cookbooks/ajsc-aai-auth/files/default/aai_keystore-int b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-int
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-int
Binary files differ
diff --git a/cookbooks/ajsc-aai-auth/files/default/aai_keystore-local b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-local
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-local
Binary files differ
diff --git a/cookbooks/ajsc-aai-auth/files/default/aai_keystore-simpledemo b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-simpledemo
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-simpledemo
Binary files differ
diff --git a/cookbooks/ajsc-aai-auth/files/default/aai_keystore-solo b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-solo
new file mode 100644
index 0000000..3eef135
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/files/default/aai_keystore-solo
Binary files differ
diff --git a/cookbooks/ajsc-aai-auth/metadata.rb b/cookbooks/ajsc-aai-auth/metadata.rb
new file mode 100644
index 0000000..1cf7e82
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/metadata.rb
@@ -0,0 +1,7 @@
+name 'ajsc-aai-auth'
+maintainer 'YOUR_COMPANY_NAME'
+maintainer_email 'YOUR_EMAIL'
+license 'All rights reserved'
+description 'Installs/Configures ajsc-aai-auth'
+long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
+version '0.2.0'
diff --git a/cookbooks/ajsc-aai-auth/recipes/aai-keystore.rb b/cookbooks/ajsc-aai-auth/recipes/aai-keystore.rb
new file mode 100644
index 0000000..e5c0599
--- /dev/null
+++ b/cookbooks/ajsc-aai-auth/recipes/aai-keystore.rb
@@ -0,0 +1,8 @@
+cookbook_file "#{node['aai-app-config']['PROJECT_HOME']}/bundleconfig/etc/auth/aai_keystore" do
+ source "aai_keystore-#{node['aai-app-config']['AAIENV']}"
+ owner 'aaiadmin'
+ group 'aaiadmin'
+ mode '0755'
+ action :create
+end
+