cookbook 'apache', '~> 0.0.5'
apache (5) Versions 0.0.5 Follow25
various apache server related resource provides (LWRP)
cookbook 'apache', '~> 0.0.5', :supermarket
knife supermarket install apache
knife supermarket download apache
Description
various apache server related resource provides (LWRP)
-
apache_fastcgi
- configure fastcgi server via apache name based virtual host, now onlyexternal
mode available
Platfroms
- gentoo
- ubuntu
Requirements
- apache2 cookbook - https://github.com/opscode/cookbooks/tree/master/apache2
Resource Attributes
- obligatory
-
socket
- a socket to which fast cgi external server is binded -
server_name
- name of virtual host
-
- optional
-
server_alias
- Array, a list of server aliases, default value is[]
-
timeout
- Integer, a time to wait for fast cgi server response, in seconds, default value180
-
access_log
- a path to apache access log file -
error_log
- a path to apache error log file -
start_service
- true|false, whether to try to restart apache when configuring is done, default valuetrue
-
- optional for ssl mode
-
ssl
- true|false, make virtual host ssl enabled, default value false ssl_cipher_suite
ssl_certificate_file
ssl_certificate_key_file
-
Usage
apache_fastcgi 'myserver' do
action 'install'
socket '/var/run/fast-cgi-server/socket'
server_name 'host.myserver.com'
end
Links
ToDo
- test ssl mode for ubuntu
- add more platforms support
- add more tests
- add wiki and howtos
Collaborator Number Metric
0.0.5 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.0.5 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.0.5 failed this metric
FC008: Generated cookbook metadata needs updating: apache/metadata.rb:1
FC008: Generated cookbook metadata needs updating: apache/metadata.rb:2
FC016: LWRP does not declare a default action: apache/resources/fastcgi.rb:1
FC034: Unused template variables: apache/templates/default/fast-cgi-vhost.erb:1
FC043: Prefer new notification syntax: apache/providers/fastcgi.rb:44
FC064: Ensure issues_url is set in metadata: apache/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: apache/providers/fastcgi.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.5 passed this metric
Testing File Metric
0.0.5 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.0.5 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.0.5 failed this metric
0.0.5 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.0.5 failed this metric
FC008: Generated cookbook metadata needs updating: apache/metadata.rb:1
FC008: Generated cookbook metadata needs updating: apache/metadata.rb:2
FC016: LWRP does not declare a default action: apache/resources/fastcgi.rb:1
FC034: Unused template variables: apache/templates/default/fast-cgi-vhost.erb:1
FC043: Prefer new notification syntax: apache/providers/fastcgi.rb:44
FC064: Ensure issues_url is set in metadata: apache/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: apache/providers/fastcgi.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.0.5 passed this metric
Testing File Metric
0.0.5 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.0.5 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.0.5 failed this metric
FC008: Generated cookbook metadata needs updating: apache/metadata.rb:2
FC016: LWRP does not declare a default action: apache/resources/fastcgi.rb:1
FC034: Unused template variables: apache/templates/default/fast-cgi-vhost.erb:1
FC043: Prefer new notification syntax: apache/providers/fastcgi.rb:44
FC064: Ensure issues_url is set in metadata: apache/metadata.rb:1
FC065: Ensure source_url is set in metadata: apache/metadata.rb:1
FC066: Ensure chef_version is set in metadata: apache/metadata.rb:1
FC085: Resource using new_resource.updated_by_last_action to converge resource: apache/providers/fastcgi.rb:82
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.0.5 passed this metric
Testing File Metric
0.0.5 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.0.5 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.0.5 failed this metric
0.0.5 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