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

snu_nginx_fips (6) Versions 0.1.0

Installs/configures snu_nginx_fips

Berkshelf
Policyfile
Knife
cookbook 'snu_nginx_fips', '= 0.1.0'
cookbook 'snu_nginx_fips', '= 0.1.0', :supermarket
knife supermarket install snu_nginx_fips
knife supermarket download snu_nginx_fips
README
Dependencies
Changelog
Quality 89%

Snu Nginx FIPS Cookbook README

Cookbook Version Build Status Coverage Status

A cookbook to manage installation and configuration of the Socrata-managed set of Omnibus packages of Nginx with OpenSSL built and running in FIPS mode.

WARNING: This cookbook currently manages the package and service. Ownership of Nginx's config files should be coming in a future version. In the meantime, separate template/cookbook_file/etc. resources are needed.

Requirements

This cookbook requires at least Chef 12. It is tested against the two most recent major Chef versions (currently 13.x and 12.x) and the two most recent Ubuntu LTSes (currently 16.04 and 14.04).

Usage

Add one or more of the included recipes to your run list and/or declare instances of the included resources in your own recipes.

Recipes

default

Uses the included custom resources to install and enable Nginx in an attribute-driven manner.

Attributes

default

A version attribute can be overridden to install a specific version of the custom Nginx package instead of the latest.

default['snu_nginx_fips']['version'] = '1.2.3-4'

A custom path to the main nginx.conf can be set.

default['snu_nginx_fips']['config_file'] = '/path/to/nginx.conf'

A custom file descriptor limit can be set.

default['snu_nginx_fips']['file_limit'] = 100_000

Resources

snu_nginx_fips_app

A custom resource for managing the custom Nginx repository and package.

Syntax:

snu_nginx_fips_app 'default' do
  version '1.2.3-4'
  action :install
end

Actions:

Action Description
:install Install Nginx
:upgrade Upgrade Nginx
:remove Uninstall Nginx

Properties:

Property Default Description
version nil The exact version to install
action :install The action(s) to perform

snu_nginx_fips_service

A custom resource for managing Nginx's init config and service.

Syntax:

snu_nginx_fips_service 'default' do
  config_file '/etc/nginx/nginx.conf'
  file_limit 12_345
  action %i[create enable start]
end

Actions:

Action Description
:create Create the service's init config
:remove Delete the service's init config
:enable Set the service to start on boot
:disable Disable the service
:start Start the service
:stop Stop the service

Properties:

Property Default Description
config_file /etc/nginx/nginx.conf Path to the main nginx config file
file_limit 10,000 The open file descriptor limit
action %i[create enable start] The action(s) to perform

Maintainers

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Snu Nginx FIPS Cookbook CHANGELOG

This file is used to list changes made in each version of the snu_nginx_fips cookbook.

0.1.0 (2017-12-27)

  • Initial release!

0.0.1 (2017-12-08)

  • Development started

Collaborator Number Metric
            

0.1.0 failed this metric

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

Contributing File Metric
            

0.1.0 passed this metric

Foodcritic Metric
            

0.1.0 passed this metric

License Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Publish Metric
            

0.1.0 passed this metric

Supported Platforms Metric
            

0.1.0 passed this metric

Testing File Metric
            

0.1.0 passed this metric

Version Tag Metric
            

0.1.0 passed this metric