cookbook 'pki', '~> 0.1.0'
pki (3) Versions 0.1.0 Follow1
Installs/Configures pki
cookbook 'pki', '~> 0.1.0', :supermarket
knife supermarket install pki
knife supermarket download pki
DESCRIPTION:
Proof of concept PKI implementation, powered by inter-node convergence and stateful resource providers.
REQUIREMENTS
RHEL6/Centos6 or higher
hostname resolution taken care of earlier in the runlist (DNS, or a
generated hostsfile)
ATTRIBUTES
node['pki']['openssldir']
USAGE
Clients check to see if they have an SSL keypair for their FQDN.
If not, pki_servercert is called, which generates a private key and a CSR.
The node then posts it's CSR as a node attribute
When the server side runs, it searches for a list of clients with the pki csr attribute
set. When it finds a CSR, it signs it and places the resulting public key in a directory exposed by rsync.
Since these are public keys, there are no security concerns here.
When a client is satisfied about its certificate, it will remove the attribute.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.0 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.1.0 failed this metric
FC016: LWRP does not declare a default action: pki/resources/selfsignedca.rb:1
FC016: LWRP does not declare a default action: pki/resources/servercert.rb:1
FC021: Resource condition in provider may not behave as expected: pki/providers/servercert.rb:11
FC064: Ensure issues_url is set in metadata: pki/metadata.rb:1
FC065: Ensure source_url is set in metadata: pki/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pki/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pki/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pki/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pki/providers/servercert.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
0.1.0 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.1.0 failed this metric
FC016: LWRP does not declare a default action: pki/resources/selfsignedca.rb:1
FC016: LWRP does not declare a default action: pki/resources/servercert.rb:1
FC021: Resource condition in provider may not behave as expected: pki/providers/servercert.rb:11
FC064: Ensure issues_url is set in metadata: pki/metadata.rb:1
FC065: Ensure source_url is set in metadata: pki/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pki/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pki/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pki/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pki/providers/servercert.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
FC016: LWRP does not declare a default action: pki/resources/servercert.rb:1
FC021: Resource condition in provider may not behave as expected: pki/providers/servercert.rb:11
FC064: Ensure issues_url is set in metadata: pki/metadata.rb:1
FC065: Ensure source_url is set in metadata: pki/metadata.rb:1
FC066: Ensure chef_version is set in metadata: pki/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: pki/metadata.rb:1
FC069: Ensure standardized license defined in metadata: pki/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: pki/providers/servercert.rb:48
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Testing File Metric
0.1.0 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.1.0 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.1.0 failed this metric
0.1.0 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