cookbook 'duo-unix', '~> 0.1.0', :supermarket
duo-unix (1) Versions 0.1.0 Follow2
Configures Duo 2-factor auth for unix
cookbook 'duo-unix', '~> 0.1.0'
knife supermarket install duo-unix
knife supermarket download duo-unix
duo-unix Cookbook
This cookbook installs Duo 2-factor authentication and configures ssh to use it.
Requirements
This cookbook should work on either Debian/Ubuntu or Redhat families of Linux distros.
Attributes
TODO
Usage
duo-unix
Include duo-unix
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[duo-unix]"
]
}
Setup chef-vault with something like:
bin/knife vault create duo config '{"ikey":"FOO","skey":"BAR","host":"api-BAZ.duosecurity.com"}' --search "role:attacker" --admin my_key
If you really don't want to use chef-vault
{
"name":"my_node",
"run_list": [
"recipe[duo-unix]"
],
"default_attributes": {
"duo-unix":{
"service":{
"ikey":"some_key",
"skey":"some_secret_key",
"host":"api-something.duosecurity.com"
},
"conf":{
"group":"users"
}
}
}
}
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Jason Rohwedder jro@risk.io
Dependent cookbooks
openssh >= 0.0.0 |
build-essential >= 0.0.0 |
chef-vault >= 0.0.0 |
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
FC064: Ensure issues_url is set in metadata: duo-unix/metadata.rb:1
FC065: Ensure source_url is set in metadata: duo-unix/metadata.rb:1
FC066: Ensure chef_version is set in metadata: duo-unix/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: duo-unix/metadata.rb:1
FC069: Ensure standardized license defined in metadata: duo-unix/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: duo-unix/recipes/source.rb:20
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
duo-unix should declare what platform(s) it supports.
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
FC064: Ensure issues_url is set in metadata: duo-unix/metadata.rb:1
FC065: Ensure source_url is set in metadata: duo-unix/metadata.rb:1
FC066: Ensure chef_version is set in metadata: duo-unix/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: duo-unix/metadata.rb:1
FC069: Ensure standardized license defined in metadata: duo-unix/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: duo-unix/recipes/source.rb:20
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
duo-unix should declare what platform(s) it supports.
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
FC065: Ensure source_url is set in metadata: duo-unix/metadata.rb:1
FC066: Ensure chef_version is set in metadata: duo-unix/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: duo-unix/metadata.rb:1
FC069: Ensure standardized license defined in metadata: duo-unix/metadata.rb:1
FC122: Use the build_essential resource instead of the recipe: duo-unix/recipes/source.rb:20
Run with Foodcritic Version 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.0 passed this metric
Publish Metric
0.1.0 passed this metric
Supported Platforms Metric
0.1.0 failed this metric
duo-unix should declare what platform(s) it supports.
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 passed this metric
0.1.0 failed this metric
duo-unix should declare what platform(s) it supports.
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