cookbook 'squid-proxy', '= 0.1.0'
squid-proxy (3) Versions 0.1.0 Follow1
Installs/Configures squid-proxy
cookbook 'squid-proxy', '= 0.1.0', :supermarket
knife supermarket install squid-proxy
knife supermarket download squid-proxy
squid-proxy Cookbook
This cookbook sets up a Squid server.
Contents
Requirements
platforms
- Debian, Ubuntu
packages
- none.
Attributes
Key | Type | Description, example | Default |
---|---|---|---|
['squid-proxy']['with_cgi'] |
Boolean | with Cache Manager CGI. | 'false' |
['squid-proxy']['conf']['http_port'] |
String | e.g. '192.168.1.10:3128'
|
'0.0.0.0:3128' |
['squid-proxy']['conf']['extra_http_ports'] |
Array | Extra service bind addresses. e.g. ['127.0.0.1:3128']
|
[] |
['squid-proxy']['conf']['http_access_allow_localnet'] |
Boolean | Allows local private network access. | false |
['squid-proxy']['conf']['acl_rules'] |
Array | Extra ACL directive lines. | [] |
['squid-proxy']['conf']['extra_confs'] |
Array | Extra configuration lines. | [] |
Usage
Recipes
squid-proxy::default
This recipe does nothing.
squid-proxy::server
This recipe installs Squid server.
Role Examples
roles/squid.rb
name 'squid' description 'Squid server' run_list( 'recipe[squid-proxy::server]', ) override_attributes( 'squid-proxy' => { 'with_cgi' => true, 'conf' => { 'http_port' => '192.168.1.10:3128', 'extra_http_ports' => [ '127.0.0.1:3128', ], 'http_access_allow_localnet' => true, }, }, )
License and Authors
- Author:: whitestar at osdn.jp
Copyright 2017, whitestar 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
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
squid-proxy CHANGELOG
0.1.0
- Initial release of squid-proxy
Collaborator Number Metric
0.1.0 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.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
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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
0.1.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
0.1.0 failed this metric
0.1.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
0.1.0 passed this metric
No Binaries Metric
0.1.0 passed this metric
Testing File Metric
0.1.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
0.1.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
0.1.0 passed this metric
0.1.0 passed this metric
Testing File Metric
0.1.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
0.1.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
0.1.0 failed this metric
0.1.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