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

RSS

private-internet-access (2) Versions 1.0.0

Installs/configures the Private Internet Access VPN app

Berkshelf/Librarian
Policyfile
Knife
cookbook 'private-internet-access', '~> 1.0.0'
cookbook 'private-internet-access', '~> 1.0.0', :supermarket
knife cookbook site install private-internet-access
knife cookbook site download private-internet-access
README
Dependencies
Changelog
Quality

Private Internet Access Cookbook

Cookbook Version OS X Build Status Windows Build Status Code Climate Coverage Status

A Chef cookbook for installing the Private Internet Access VPN application.

Requirements

This cookbook requires an OS X or Windows node, as those are the only OSes PIA distributes a client app for.

It consumes the dmg and windows cookbooks to support OS X and Windows installs.

As of v1.0.0, it uses custom resources that require Chef 12.5 or greater.

Usage

Resources can be called directly or the main recipe that uses those resources can be added to your run_list.

Recipes

default

Calls the private_internet_access resource to do an attribute-driven install.

Attributes

default

A custom package URL/path can be provided.

default['private_internet_access']['app']['source'] = nil

Resources

private_internet_access

Wraps the other PIA resources under one parent resource.

Syntax:

private_internet_access 'default' do
    source 'https://somewhere.org/pia.dmg'
    action :create
end

Actions:

Action Description
:create Default; installs PIA
:remove Uninstalls PIA

Attributes:

Attribute Default Description
source nil Optionally download the app from a custom URL
action :create The action to perform

private_internet_access_app

Controls installation of the PIA client app.

Syntax:

private_internet_access_app 'default' do
    source 'https://somewhere.org/pia.dmg'
    action :install
end

Actions:

Action Description
:install Default; installs the PIA client app
:remove Uninstalls the PIA client app

Attributes:

Attribute Default Description
source nil Optionally download the app from a custom URL
action :install The action to perform

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Add tests for the new feature; ensure they pass (rake)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create a new Pull Request

License & Authors

Copyright 2014-2015 Jonathan Hartman

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.

Dependent cookbooks

windows ~> 1.36
dmg ~> 2.2

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Private Internet Access Cookbook CHANGELOG

v1.0.0 (2015-11-28)

  • Convert HWRPs to custom resources (breaking compatibility with Chef < 12.5)
  • Rename the private_internet_access resource to private_internet_access_app
  • Rename the package_url property/attribute to source

v0.1.0 (2015-01-03)

  • Initial release (installation only)

v0.0.1 (2014-12-21)

  • Development started

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.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
            

1.0.0 passed this metric

License Metric
            

1.0.0 failed this metric

private-internet-access does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 passed this metric

Testing File Metric
            

1.0.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
            

1.0.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