Imran Iqbal
46dff1596a
fix: prevent running of states deprecated in `v1.0.0`
* Route all to `nginx/deprecated.sls`
5 lat temu
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.
5 lat temu
Eric Veiras Galisson
cfed4ce2d1
fix: corrected indentation on context in file.managed states
5 lat temu
Andres Montalban
73899178fc
Remove trailing spaces
7 lat temu
Aline Freitas
aa0314e90d
Get salt version from grains + fix state function name for groupinstall
9 lat temu
Aline Freitas
7684d6b0a9
It should be just <, not <= when comparing salt version.
9 lat temu
Aline Freitas
da1405c5e7
Add support for building from source with os_family=RedHat
9 lat temu
Ari Aosved
5ce9ff0c11
Allow debug symbols to be included when compiling from source- http://wiki.nginx.org/Debugging#Core_dump
9 lat temu
Ross Perkins
da9498bb45
Fixed is-nginx-source-modified in the case where you're using a Github tarball as the URL, and it unzips to some freaky directory name instead of a nice name like we expected.
10 lat temu
Ross Perkins
2a679f9597
Update init.d script to allow custom service name
10 lat temu
Ross Perkins
3a158a278c
Added optional ability to NOT start nginx after compiling and installing
10 lat temu
Ross Perkins
5cad1002fc
Fixed some dependencies
10 lat temu
Ross Perkins
ce0e3384eb
Added optional 'service_name' pillar config, to change the name of the service from 'nginx' to whatever you want it to be.
10 lat temu
Ross Perkins
5531662527
No longer implicitly delete files ending in ".default", if you want to delete those, name them in the pillar.
10 lat temu
Ari Aosved
7a3c370f35
allow the url to the source tarball to be overridden
10 lat temu
Ari Aosved
bc51ffbd2b
Rebuild nginx if the source files, or module source files, are newer than the nginx binary
10 lat temu
Ross Perkins
b48f6cf98f
Added 'silence_compiler' option which will cause all stdout from source build/install to be suppressed (logged to a file, in case you want to see it later). stderr is also logged to file, but if there is an error then stderr is copied to Salt so it comes back with the highstate payload.
10 lat temu
Ross Perkins
2c809fa402
Now restart nginx service instead of reload. Reload, while nice on config updates, doesn't have the required effect when you upgrade nginx. If we can reload on config update and restart on code upgrade, that would be great. For now we just always restart.
10 lat temu
Ross Perkins
2cdd917550
Moved use_upstart and use_sysvinit default values into map.jinja. Source install now using default user/group names defined in map.jinja. Moved more default definitions from source.sls into map.jinja.
10 lat temu
Robert Fairburn
0a99a787c4
Fix support for os_family RedHat
10 lat temu
Ross Perkins
746101c4e2
Source install now works. Paths now configurable. Added init.d.
10 lat temu
Ahmad Sherif
aac18d2505
Correct requisite ID in source.sls
10 lat temu
Ahmad Sherif
c28cac3483
Group source.sls include declarations into one
10 lat temu
Ahmad Sherif
36b00e6332
Remove useless if statement in source.sls
10 lat temu
David Czarnecki
6a1becff4a
Fix source module iteration
* Fixing iteration for building nginx by source with respect
to modules
* Adding `CHANGELOG.rst` and `VERSION` per https://groups.google.com/forum/#!topic/salt-users/zHguqsk-mds
11 lat temu
David Czarnecki
b470a1b496
Re-organize nginx formula files
* Re-organize according to http://docs.saltstack.com/topics/conventions/formulas.html#writing-formulas
11 lat temu
Ari Lerner
eb2bc62f5a
Updated structure as well as added package and source
11 lat temu