cookbook 'oauth2_proxy', '~> 1.0.0'
oauth2_proxy (4) Versions 1.0.0 Follow1
Installs/Configures oauth2_proxy
cookbook 'oauth2_proxy', '~> 1.0.0', :supermarket
knife supermarket install oauth2_proxy
knife supermarket download oauth2_proxy
oauth2_proxy
Cookbook to install and configure oauth2_proxy with LWRP
Requirements
- ark
- pleaserun
Platform Tested
- Ubuntu 14.04 LTS
- Ubuntu 16.04 LTS
- CentOS 7.2
Usage
oauth2_proxy Cookbook utilizes a lightweight resource provider (LWRP) to handle installing oauth2_proxy, generate an oauth2_proxy config, and install a service for oauth2_proxy.
oauth2_proxy_site 'default' do
auth_provider 'google'
client_id 'foo'
client_secret 'biscuit'
cookie_secret 'stroopwafel'
upstreams [ 'http://localhost' ]
end
Attributes
Attribute | Description |
---|---|
default['oauth2_proxy']['install_url'] |
URL of release to download and install |
default['oauth2_proxy']['checksum'] |
Checksum of release |
default['oauth2_proxy']['install_path'] |
Path of where to install binaries |
default['oauth2_proxy']['config_files'] |
Location to store config_files |
Recipes
oauth2_proxy::install
Only installs oauth2_proxy with no configuration.
oauth2_proxy::default
No-op.
Author and Contributors
- Author: Mike Juarez
- Maintainer: Michael F. Weinberg
Copyright
Copyright 2015 Orion Labs, Inc.
Copyright 2016 Michael F. Weinberg
License
- The oauth2_proxy Cookbook is covered under the Apache License, Version 2.0
- The oauth2_proxy program is covered under the MIT license.
See LICENSE for the Apache License, Version 2.0
Dependent cookbooks
ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
1.0.0 failed this metric
Failure: Cookbook has 1 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 failed this metric
FC064: Ensure issues_url is set in metadata: oauth2_proxy/metadata.rb:1
FC065: Ensure source_url is set in metadata: oauth2_proxy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oauth2_proxy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oauth2_proxy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oauth2_proxy/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: oauth2_proxy/resources/site.rb:1
FC120: Do not set the name property directly on a resource: oauth2_proxy/providers/site.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries 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
1.0.0 failed this 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 failed this metric
FC064: Ensure issues_url is set in metadata: oauth2_proxy/metadata.rb:1
FC065: Ensure source_url is set in metadata: oauth2_proxy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oauth2_proxy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oauth2_proxy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oauth2_proxy/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: oauth2_proxy/resources/site.rb:1
FC120: Do not set the name property directly on a resource: oauth2_proxy/providers/site.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries 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
1.0.0 failed this metric
FC065: Ensure source_url is set in metadata: oauth2_proxy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: oauth2_proxy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: oauth2_proxy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: oauth2_proxy/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: oauth2_proxy/resources/site.rb:1
FC120: Do not set the name property directly on a resource: oauth2_proxy/providers/site.rb:84
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
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
1.0.0 failed this 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