cookbook 'berkshelf-api-server-ya', '~> 0.3.8'
berkshelf-api-server-ya (4) Versions 0.3.8 Follow0
Installs/Configures berkshelf-api-server-ya
cookbook 'berkshelf-api-server-ya', '~> 0.3.8', :supermarket
knife supermarket install berkshelf-api-server-ya
knife supermarket download berkshelf-api-server-ya
berkshelf-api-server-ya Cookbook
This is yet another berkshelf-api-server cookbook.
This cookbook provides the following extra features to the original cookbook.
- Application server bind address setting.
- HTTPS configurations.
- SSL server key deployment by the Chef Vault.
- Endpoints access user's private key deployment by the Chef Vault.
Requirements
packages
-
berkshelf-api-server
- the original cookbook.
Attributes
berkshelf-api-server-ya::default added attributes
Key | Type | Description, example | Default |
---|---|---|---|
[:berkshelf_api][:chef_gem][:clear_sources] |
String | chef_gem resource's clear_sources property. (ver. 0.3.2 or later) | false |
[:berkshelf_api][:chef_gem][:source] |
String | chef_gem resource's source property. (ver. 0.3.2 or later) | nil |
[:berkshelf_api][:chef_gem][:options] |
String | chef_gem resource's options property. (ver. 0.3.2 or later) | nil |
[:berkshelf_api][:"chef-vault"][:version] |
String | chef-vault verion (ver. 0.3.4 or later) | ~> 2.6 |
[:berkshelf_api][:app_host] |
String | Application sever bind address. | '0.0.0.0' |
[:berkshelf_api][:proxy][:ssl] |
Boolean | HTTPS enabled. | false |
[:berkshelf_api][:proxy][:ssl_certificate] |
String | Path to server certificate file. | '' |
[:berkshelf_api][:proxy][:ssl_certificate_key] |
String | Path to server private key file. | '' |
[:berkshelf_api][:proxy][:ssl_certificate_key_vault_item] |
Hash | Chef Vault item read conf. for the server private key. (ver. 0.2.0 or later) | undefined |
[:berkshelf_api][:proxy][:ssl_certificate_key_vault_item][:vault] |
String | Vault name | undefined |
[:berkshelf_api][:proxy][:ssl_certificate_key_vault_item][:name] |
String | Vault item name | undefined |
[:berkshelf_api][:proxy][:ssl_certificate_key_vault_item][:env_context] |
Boolean | for multiple environment settings within encrypted items. | false |
[:berkshelf_api][:proxy][:ssl_certificate_key_vault_item][:key] |
String | Vault item key (single key or nested hash key path delimited by slash) | undefined |
[:berkshelf_api][:config][:endpoints][1..n][:options][:client_key_vault_item] |
Hash | Chef Vault item read conf. for the endpoint access user's private key. (ver. 0.2.0. or later) | undefined |
[:berkshelf_api][:config][:endpoints][1..n][:options][:client_key_vault_item][:vault] |
String | Vault name | undefined |
[:berkshelf_api][:config][:endpoints][1..n][:options][:client_key_vault_item][:name] |
String | Vault item name | undefined |
[:berkshelf_api][:config][:endpoints][1..n][:options][:client_key_vault_item][:env_context] |
Boolean | for multiple environment settings within encrypted items. | false |
[:berkshelf_api][:config][:endpoints][1..n][:options][:client_key_vault_item][:key] |
String | Vault item key (single key or nested hash key path delimited by slash) | undefined |
Usage
Just include berkshelf-api-server-ya
in your node's run_list
:
{ "name":"my_node", "run_list": [ "recipe[berkshelf-api-server-ya]" ] }
License and Authors
- Author:: whitestar at osdn.jp
Copyright 2013-2017, whitestar Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Dependent cookbooks
berkshelf-api-server = 2.1.1 |
nginx = 2.7.6 |
ohai < 4.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
berkshelf-api-server-ya CHANGELOG
0.3.8
- refactoring.
0.3.7
- updates the nginx version.
0.3.6
- holds dependent cookbooks' version, because the
berkshelf-api-server
cookbook is deprecated. - adds the workaround: ohai >= 4.0.0 throws nillclass on
node['ohai']['plugin_path']
0.3.5
- Cleanup for FoodCritic and RuboCop.
0.3.3
- add cache file clear feature.
0.3.2
- add some attributes for chef_gem resource.
0.3.1
- Improvement of SSL server key deployment's notification.
0.3.0
- Vault item scan improvement for nested hash.
0.2.0
- SSL server key deployment by the Chef Vault.
- Endpoints access user's private key deployment by the Chef Vault.
0.1.0
- Application server bind address setting.
- HTTPS configurations.
Collaborator Number Metric
0.3.8 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.8 failed this metric
FC066: Ensure chef_version is set in metadata: berkshelf-api-server-ya/metadata.rb:1
FC069: Ensure standardized license defined in metadata: berkshelf-api-server-ya/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.8 passed this metric
Testing File Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.8 failed this metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.3.8 failed this metric
FC066: Ensure chef_version is set in metadata: berkshelf-api-server-ya/metadata.rb:1
FC069: Ensure standardized license defined in metadata: berkshelf-api-server-ya/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.8 passed this metric
Testing File Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.8 failed this metric
FC069: Ensure standardized license defined in metadata: berkshelf-api-server-ya/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.8 passed this metric
Testing File Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.3.8 failed this metric
0.3.8 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number