cookbook 'snu_nginx_fips', '= 0.2.4'
The snu_nginx_fips cookbook has been deprecated
Author provided reason for deprecation:
The snu_nginx_fips cookbook has been deprecated and is no longer being maintained by its authors. Use of the snu_nginx_fips cookbook is no longer recommended.
snu_nginx_fips (13) Versions 0.2.4 Follow0
Installs/configures snu_nginx_fips
cookbook 'snu_nginx_fips', '= 0.2.4', :supermarket
knife supermarket install snu_nginx_fips
knife supermarket download snu_nginx_fips
Snu Nginx FIPS Cookbook README
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
- Jonathan Hartman jonathan.hartman@socrata.com
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.4 (2019-01-21)
- Remove 'rvm: system' from the TravisCI config
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.4 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.4 passed this metric
Foodcritic Metric
0.2.4 passed this metric
No Binaries Metric
0.2.4 passed this metric
Testing File Metric
0.2.4 passed this metric
Version Tag Metric
0.2.4 passed this metric
0.2.4 failed this metric
0.2.4 passed this metric
Foodcritic Metric
0.2.4 passed this metric
No Binaries Metric
0.2.4 passed this metric
Testing File Metric
0.2.4 passed this metric
Version Tag Metric
0.2.4 passed this metric
0.2.4 passed this metric
0.2.4 passed this metric
Testing File Metric
0.2.4 passed this metric
Version Tag Metric
0.2.4 passed this metric
0.2.4 passed this metric
0.2.4 passed this metric