Commit Graph

16 Commits

Author SHA1 Message Date
Imran Iqbal
46dff1596a fix: prevent running of states deprecated in v1.0.0
* Route all to `nginx/deprecated.sls`
2019-05-13 13:06:04 +01:00
Eric Veiras Galisson
0fc507055d refactor: replace old nginx with nginx.ng
BREAKING CHANGE: all previous `nginx` based configurations must be reviewed;
`nginx.ng` usage must be promoted to `nginx` and any uses of the original
`nginx` will have to be converted.
2019-05-12 17:13:17 +01:00
Eric Veiras Galisson
cfed4ce2d1 fix: corrected indentation on context in file.managed states 2019-04-11 15:02:18 +02:00
Bernhard M. Wiedemann
8c780fa63f Use home and conf_dir from map.jinja
to reduce duplication of constants
2018-12-20 12:37:03 +01:00
Benjamin Mosior
a73097aa19 Resolve missing dependency for nginx home dir.
To resolve the occurrence of the below error, a dependency has been added to require the nginx user first be created, either by nginx package installation or explicitly with salt (when installing nginx from source).

```
----------
          ID: /var/www
    Function: file.directory
      Result: False
     Comment: User nginx is not available Group nginx is not available
     Started: 15:50:02.070799
    Duration: 0.531 ms
     Changes:
----------
```
2015-09-27 13:09:57 -04:00
Ross Perkins
c7ede18d76 Added optional ability to disable creation of /etc/nginx/sites-(available|enabled) 2014-10-31 09:08:50 -07:00
Robert Fairburn
6d3b1b6949 Use nginx_map.default_group for group in all places 2014-10-20 10:01:51 -05:00
Robert Fairburn
0a99a787c4 Fix support for os_family RedHat 2014-10-20 03:59:16 -05:00
Ross Perkins
746101c4e2 Source install now works. Paths now configurable. Added init.d. 2014-10-17 22:33:57 -07:00
Ajna Cackovic
f0f2f941a4 Wait until pkg:nginx is installed before adding /etc/nginx/nginx.conf 2014-10-15 21:30:39 -07:00
Travis J Parker
0da43d9861 move upstart-related states to their own file 2014-10-08 10:17:06 -07:00
Mark Lee
59c2f8b21f Add pillar item to disable using upstart-based services
Fixes GH saltstack-formulas/nginx-formula#14.
2014-05-04 11:15:04 -07:00
Erik
a2c9d686ed fixing bug with common.sls that causes it to fail 2014-01-13 13:12:37 -05:00
Jeff Strunk
4542bd5142 remove extraneous nrpe include 2013-10-18 20:44:58 -03:00
David Czarnecki
14310ff263 Fix a filename and pillar key issue
* Ensure `common.sls` references correct template filename
* Use `pillar.get(...)` for message_do_not_modify with default
2013-09-25 16:53:32 -04:00
David Czarnecki
b470a1b496 Re-organize nginx formula files
* Re-organize according to http://docs.saltstack.com/topics/conventions/formulas.html#writing-formulas
2013-09-25 15:50:25 -04:00