cookbook 'duounix', '~> 2.1.0'
duounix (2) Versions 2.1.0 Follow0
Installs/Configures duounix
cookbook 'duounix', '~> 2.1.0', :supermarket
knife supermarket install duounix
knife supermarket download duounix
duounix Cookbook
This is a Chef cookbook to setup Duounix.
For Production environment, always prefer the most recent release.
Most Recent Release
cookbook 'duounix', '~> 2.1.0'
From Git
cookbook 'duounix', github: 'vkhatri/chef-duounix', tag: 'v2.1.0'
Repository
https://github.com/vkhatri/chef-duounix
Supported OS
- Amazon Linux
- CentOS
- Fedora
- Ubuntu
- Debian
Supported Chef
- Chef 13
- Chef 14
Cookbook Dependency
- openssh
Recipes
duounix_install
- install duounix and dependency packagesduounix_config_login_duo
- configure duounix
Resource duounix_install
Resource Property
- version (optional, String) - default: '1.10.1', duounix package version
- release (optional, String) - default: '0', duouninx package version release
- setup_repo (optional, TrueClass, FalseClass) - default: true, setup duounix apt/yum repository
- install_openssh (optional, TrueClass, FalseClass) - default: true, install openssh packages, required for config resource
- ignore_package_version (optional, TrueClass, FalseClass) - default: false, install latest duounix package
Resource duounix_config_login_duo
Resource Property
- config (optional, Hash) - default: '{..}', duounix login_duo.conf file configuration
-
data_bag_enable (optional, TrueClass, FalseClass) - default: false, read
ikey
,skey
, andhost
configuration attribute value from data bag - data_bag_name (optional, String) - default: 'duounix', duouninx config attributes data bag name
- data_bag_item_name (optional, String) - default: 'duounix', duouninx config attributes data bag item name
-
data_bag_item_ikey_attr (optional, String) - default: 'ikey', duounix data bag item attribute
ikey
key name -
data_bag_item_skey_attr (optional, String) - default: 'skey', duounix data bag item attribute
skey
key name -
data_bag_item_host_attr (optional, String) - default: 'host', duounix data bag item attribute
host
key name
Usage
Check out test cookbook duounix_test
for resources example.
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 (
chef exec rake and chef exec kitchen verify
), ensuring they all pass - Write new resource/attribute description to
README.md
- Write description about changes to PR
- Submit a Pull Request using Github
Copyright & License
Authors:: Virender Khatri and Contributors
<pre>
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.
</pre>
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
duounix CHANGELOG
2.1.0
Virender Khatri - Fixed Resource to include helper module
Virender Khatri - Set default attr value in test cookbook
Virender Khatri - Updated Kitchen Tests for default attributes
Virender Khatri - Added optional openssh packages install attribute
Virender Khatri - Updated kitchen for Chef 13 and 14
2.0.0
Virender Khatri - Converted recipes into resources
Virender Khatri - Updated Kitchen Tests
1.0.0
- Virender Khatri - Initial release of duounix
Check the Markdown Syntax Guide for help with Markdown.
The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.
Collaborator Number Metric
2.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
2.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
2.1.0 passed this metric
No Binaries Metric
2.1.0 passed this metric
Testing File Metric
2.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
2.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
2.1.0 failed this metric
2.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
2.1.0 passed this metric
No Binaries Metric
2.1.0 passed this metric
Testing File Metric
2.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
2.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
2.1.0 passed this metric
2.1.0 passed this metric
Testing File Metric
2.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
2.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
2.1.0 failed this metric
2.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