https://github.com/garethr/garethr-nginx
A very un-opinionated nginx module for Puppet which focuses on installation and NOT configuration
https://github.com/garethr/garethr-nginx
Last synced: 29 days ago
JSON representation
A very un-opinionated nginx module for Puppet which focuses on installation and NOT configuration
- Host: GitHub
- URL: https://github.com/garethr/garethr-nginx
- Owner: garethr
- License: apache-2.0
- Created: 2014-01-23T21:46:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-01T13:54:16.000Z (over 11 years ago)
- Last Synced: 2025-05-02T05:49:29.314Z (about 1 month ago)
- Language: Ruby
- Size: 164 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- Changelog: CHANGELOG
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Puppet module for installing, but not configuring, Nginx.
[](http://travis-ci.org/garethr/garethr-nginx)## Usage
The module can use the distribution packages or alternatively the
official [Nginx packages](http://nginx.org/en/linux_packages.html).```puppet
include nginx
```Alternatively use the stable or mainline releases:
```puppet
class { 'nginx':
repo => 'mainline',
}
```or
```puppet
class { 'nginx':
repo => 'stable',
}
```if you want to remove Nginx and it's associated service then you can
set:```puppet
class { 'nginx':
ensure => 'absent',
}
```## Rationale
It is pretty much impossible to abstract away all the features and
functionality of Nginx configuration, and I'm not sure it would be a
good idea even if you could. Plus I quite like writing Nginx config
files. All the other Nginx modules I've seen bring too many opinions
with them for my liking.