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

Select Status

RSS

apache (5) Versions 0.0.5

various apache server related resource provides (LWRP)

Policyfile
Berkshelf
Knife
cookbook 'apache', '~> 0.0.5', :supermarket
cookbook 'apache', '~> 0.0.5'
knife supermarket install apache
knife supermarket download apache
README
Dependencies
Quality 17%

Description

various apache server related resource provides (LWRP)

  • apache_fastcgi - configure fastcgi server via apache name based virtual host, now only external mode available

Platfroms

  • gentoo
  • ubuntu

Requirements

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 value 180
    • 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 value true
  • 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