cookbook 'openvpnas', '~> 0.1.4', :supermarket
openvpnas (2) Versions 0.1.4 Follow5
OpenVPN Access Server
cookbook 'openvpnas', '~> 0.1.4'
knife supermarket install openvpnas
knife supermarket download openvpnas
OpenVPN Access Server Chef Cookbook
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.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Dependent cookbooks
citadel >= 0.0.0 |
python >= 0.0.0 |
line >= 0.0.0 |
chef-sugar >= 0.0.0 |
yum >= 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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms 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
0.1.4 failed this 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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms 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
0.1.4 failed this metric
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 14.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.4 passed this metric
Publish Metric
0.1.4 passed this metric
Supported Platforms 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
0.1.4 passed this 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
0.1.4 failed this metric
0.1.4 passed this metric