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

RSS

openvpn_duo (5) Versions 2.0.1

Installs/configures the OpenVPN Duo plugin

Policyfile
Berkshelf
Knife
cookbook 'openvpn_duo', '~> 2.0.1', :supermarket
cookbook 'openvpn_duo', '~> 2.0.1'
knife supermarket install openvpn_duo
knife supermarket download openvpn_duo
README
Dependencies
Changelog
Quality 33%

Openvpn Duo Cookbook README

Cookbook Version
Build Status

A Chef cookbook for the OpenVPN Duo plugin.

Requirements

This cookbook depends on the openvpn and packagecloud community cookbooks, for the OpenVPN server itself and for the packaged version of the plugin that we build in PackageCloud.io.

It primarily supports Ubuntu. There is support for RHEL platforms as well, but the openvpn cookbook as currently released has some issues related to Systemd that RHEL users will need to work around on their own.

It requires Chef 12.10.24+ or Chef 12 and the compat_resource cookbook.

Usage

Either add the default recipe to your node's run list or use the included custom resource in a recipe of your own.

Recipes

default

Ensure the OpenVPN server is installed, patch it to delay writing the config file and starting the service until the end of the Chef run, then install and configure the plugin based on Chef attributes (below).

Attributes

default

The Duo plugin requires three pieces of information to function, all of which can be set via attributes:

node['openvpn_duo']['integration_key']
node['openvpn_duo']['secret_key']
node['openvpn_duo']['hostname']

Resources

openvpn_duo

The main resource for managing the plugin.

Syntax:

openvpn_duo 'default' do
  integration_key '123'
  secret_key 'abcd'
  hostname 'example.com'
  action %i(install enable)
end

Actions:

Action Description
:install Install the plugin package
:enable Patch the plugin into the OpenVPN server config
:remove Uninstall the plugin package
:disable Remove the plugin from the OpenVPN server config

Properties:

Property Default Description
integration_key nil The Duo integration key
secret_key nil The Duo secret key
hostname nil The Duo hostname
action %i(install enable) Action(s) to perform

openvpn_duo_rhel

The RHEL implementation of the openvpn_duo resource.

openvpn_duo_ubuntu

The Ubuntu implementation of the openvpn_duo resource.

Maintainers

Dependent cookbooks

packagecloud < 2.0
openvpn ~> 4.0
yum-epel < 4.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Openvpn Duo Cookbook CHANGELOG

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

2.0.1 (2019-06-12)

  • Pin CI to Chef-DK 3

2.0.0 (2019-01-21)

  • Update to openvpn cookbook 4.x
  • Drop compatibility with Chef 12

1.0.1 (2019-01-21)

  • Remove 'rvm: system' from the TravisCI config

1.0.0 (2018-12-07)

  • Update boilerplate and resolve all style offenses
  • Support the latest packagecloud cookbook
  • Upgrade to the latest openvpn cookbook
  • Ensure gnupg is installed before trying to configure the repo
  • Ensure CA certs are installed and configured before configuring the repo
  • Ensure /etc/openvpn exists when needed

0.1.0 (2016-10-11)

  • Initial release

0.0.1 (2016-09-19)

  • Development started

Collaborator Number Metric
            

2.0.1 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

2.0.1 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.0.1 passed this metric

No Binaries Metric
            

2.0.1 passed this metric

Testing File Metric
            

2.0.1 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.0.1 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