cookbook 'snu_nginx_fips', '= 0.1.1'
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.1.1 Follow0
Installs/configures snu_nginx_fips
cookbook 'snu_nginx_fips', '= 0.1.1', :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 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
- 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.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.1.1 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.1 passed this metric
Foodcritic Metric
0.1.1 passed this metric
License Metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 passed this metric
Version Tag Metric
0.1.1 passed this metric
0.1.1 failed this metric
0.1.1 passed this metric
Foodcritic Metric
0.1.1 passed this metric
License Metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 passed this metric
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric
0.1.1 passed this metric
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 passed this metric
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric
0.1.1 passed this metric
Version Tag Metric
0.1.1 passed this metric
0.1.1 passed this metric