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.2.3

Installs/configures snu_nginx_fips

Berkshelf
Policyfile
Knife
cookbook 'snu_nginx_fips', '~> 0.2.3'
cookbook 'snu_nginx_fips', '~> 0.2.3', :supermarket
knife cookbook site install snu_nginx_fips
knife cookbook site download snu_nginx_fips
README
Dependencies
Changelog
Quality 88%

Snu Nginx FIPS Cookbook README

Cookbook Version Build 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 a matrix of Chef versions and platforms:

  • Chef 13
  • Chef 12

X

  • Ubuntu 18.04
  • Ubuntu 16.04
  • Ubuntu 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.2.3 (2018-05-02)

  • Inherit test configs from a central repo where possible
  • Stop advertising Chef 14 support until package locking is fixed
  • Run integration tests with Microwave
  • Resume advertising Chef 14 support

0.2.2 (2018-04-19)

  • Ensure gnupg is installed on APT platforms

0.2.1 (2018-04-09)

  • Ensure the ca-certificates packages is installed on APT platforms
  • Stop the build from testing on Chef 14 (for now)

0.2.0 (2018-03-27)

  • Upgrade to 1.12.2-2 (with OpenSSL 1.0.2o)

0.1.1 (2017-12-27)

  • Increase the ulimit when validating the config

0.1.0 (2017-12-27)

  • Initial release!

0.0.1 (2017-12-08)

  • Development started

Collaborator Number Metric
            

0.2.3 failed this metric

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

Contributing File Metric
            

0.2.3 passed this metric

Foodcritic Metric
            

0.2.3 passed this metric

No Binaries Metric
            

0.2.3 passed this metric

Publish Metric
            

0.2.3 passed this metric

Supported Platforms Metric
            

0.2.3 passed this metric

Testing File Metric
            

0.2.3 passed this metric

Version Tag Metric
            

0.2.3 passed this metric