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

openvpnas (2) Versions 0.1.4

OpenVPN Access Server

Policyfile
Berkshelf
Knife
cookbook 'openvpnas', '~> 0.1.4', :supermarket
cookbook 'openvpnas', '~> 0.1.4'
knife supermarket install openvpnas
knife supermarket download openvpnas
README
Dependencies
Quality 33%

OpenVPN Access Server Chef Cookbook

Build Status

A Chef cookbook to install and do basic configuration OpenVPN Access Server.

Includes support for:

  • Company name via Chef attribute
  • Logo, png format base64 encoded set as a Chef attribute - openssl base64 < path/to/file.png | tr -d '\n' | pbcopy
  • Automatic daily backup of database (optional)
  • Restoration of backed up database on Chef run (optional)
  • SSL Certificate via https://github.com/balanced-cookbooks/citadel
  • IAM roles for storing secrets and backups in S3

Designed (very loosly) for use in AWS.

Attributes

Attributes listed with their default values:

default['openvpnas']['url'] = 'http://swupdate.openvpn.org/as/openvpn-as-2.0.6-CentOS6.x86_64.rpm'
default['openvpnas']['dir'] = '/usr/local/openvpn_as/'
default['openvpnas']['company_name'] = ''
default['openvpnas']['logo'] = ''
default['openvpnas']['backup']['enabled'] = false
default['openvpnas']['backup']['bucket'] = ''
default['openvpnas']['ssl'] = false
default['citadel']['bucket'] = node['openvpnas']['backup']['bucket']

default['citadel']['bucket'] is the source for the SSL certificate and private key.

Recipes

  • openvpnas::default - recipe to install, configures and enables+runs.
  • openvpnas::backup - creates backup script and schedules it in the cron.
  • openvpnas::restore - restores from backup on convergence.

Contributing

  • File bug reports via GitHub issues.
  • Pull requests are welcome.
  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Dependent cookbooks

yum >= 0.0.0
chef-sugar >= 0.0.0
line >= 0.0.0
python >= 0.0.0
citadel >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.4 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.4 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.4 failed this metric

FC064: Ensure issues_url is set in metadata: openvpnas/metadata.rb:1
FC065: Ensure source_url is set in metadata: openvpnas/metadata.rb:1
FC066: Ensure chef_version is set in metadata: openvpnas/metadata.rb:1
FC068: Ensure license is set in metadata: openvpnas/metadata.rb:1
FC069: Ensure standardized license defined in metadata: openvpnas/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.1.4 passed this metric

Testing File Metric
            

0.1.4 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.4 passed this metric