Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

The vault cookbook has been deprecated

Author provided reason for deprecation:

The vault cookbook has been deprecated and is no longer being maintained by its authors. Use of the vault cookbook is no longer recommended.

You may find that the hashicorp-vault cookbook is a suitable alternative.

RSS

vault (2) Versions 0.1.0

Installs/Configures Vault

Policyfile
Berkshelf
Knife
cookbook 'vault', '= 0.1.0', :supermarket
cookbook 'vault', '= 0.1.0'
knife supermarket install vault
knife supermarket download vault
README
Dependencies
Changelog
Quality 0%

chef-vault

Chef cookbook for managing Vault.

In client mode, only the Vault binary will be installed.

In server mode, the binary will be installed, configured, and started as server.
WARNING: The default behavior of the server is to start unconfigured. You must run vault init to generate the unseal keys and the initial root token.

Attributes

vault::default

<table>
<tr>
<th>Key</th>
<th>Type</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><tt>[:vault][:bin_dir]</tt></td>
<td>String</td>
<td>Directory to install the vault binary.</td>
<td><tt>/usr/local/bin</tt></td>
</tr>
<tr>
<td><tt>[:vault][:version]</tt></td>
<td>String</td>
<td>Version of Vault to install.</td>
<td><tt>0.1.0</tt></td>
</tr>
<tr>
<td><tt>[:vault][:mode]</tt></td>
<td>String</td>
<td>Indicates whether to install just the vault binary, or also start it as a server. Valud values are "client" and "server".</td>
<td><tt>client</tt></td>
</tr>

<tr>
<td><tt>[:vault][:server][:config]</tt></td>
<td>String</td>
<td>Location of the configuration file.</td>
<td><tt>/etc/vault.hcl</tt></td>
</tr>
<tr>
<td><tt>[:vault][:server][:service_name]</tt></td>
<td>String</td>
<td>Name of the service as seen by the init system.</td>
<td><tt>vault</tt></td>
</tr>
<tr>
<td><tt>[:vault][:server][:init_type]</tt></td>
<td>String</td>
<td>Init system to run the server under. Currenly only upstart is supported.</td>
<td><tt>upstart</tt></td>
</tr>
<tr>
<td><tt>[:vault][:server][:backends]</tt></td>
<td>Hash</td>
<td>Name of backends to enable along with their configurations.</td>
<td><tt>{
consul: {
address: "demo.consul.io:80",
path: "vault"
}
}</tt></td>
</tr>
<tr>
<td><tt>[:vault][:server][:listeners]</tt></td>
<td>Hash</td>
<td>Name of listeners to enable along with their configurations.</td>
<td><tt>{
tcp: {
address: "127.0.0.1:8200",
tls_cert_file: "/etc/ssl/certificate.crt",
tls_key_file: "/etc/ssl/key.pem"
}
}</tt></td>
</tr>
</table>

Usage

vault::default

Just include vault in your node's run_list. This will load either vault::client or vault::server depending on the value of node[:vault][:mode].

{
  "name":"my_node",
  "run_list": [
    "recipe[vault]"
  ]
}

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

vault CHANGELOG

This file is used to list changes made in each version of the vault cookbook.

0.1.0

  • Initial release of vault

Foodcritic Metric
            

0.1.0 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:13
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:14
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/attributes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/install.rb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/install.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/install.rb:14
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:8
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:10
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:15
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/server.rb:16
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/upstart.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/recipes/upstart.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:6
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/22534b791fe58da4520bbb90/vault/templates/default/vault.conf.erb:19