herwig Bogaert
40d157482e
Allow multiple 'proxy_cache_valid' directives
2016-03-25 11:28:26 +00:00
Vicinus, Reinhard
f8ced072d9
bugfix: convert integer strings to integer
...
with puppet 4 the following is no longer true: 1 == '1'. So with puppet 4 it
must be ensured, that when variables are compared either both are integer or
both are strings.
2016-03-06 10:18:12 +01:00
Bernhard Thüsch
2154002e73
Add "satisfy" option to the location section
...
https://www.nginx.com/resources/admin-guide/restricting-access/
http://nginx.org/en/docs/http/ngx_http_core_module.html?&_ga=1.238118336.1949645469.1456390584#satisfy
2016-02-25 18:30:21 +01:00
Alex Harvey
a6c5782011
nginx version fact compatibility with Facter 1.7
2016-02-05 18:11:15 +11:00
Joseph Yaworski
1729f45b65
Add nginx_version fact
2016-01-29 12:44:16 -05:00
pjoshi
955cdc7aac
typo corrected
2015-12-04 09:17:48 +05:30
pjoshi
2be9096e34
removed configtest command
2015-12-03 18:37:58 +05:30
pjoshi
914f92a49a
restart relaced with reload in service_spec.rb file
2015-12-03 13:56:07 +05:30
Vicinus, Reinhard
15dfc77709
improved location ordering
2015-11-30 12:19:20 +01:00
James Fryman
f54a88975a
Merge pull request #707 from werekraken/unix_socket
...
Add unix socket for listening.
2015-11-02 13:38:26 -06:00
Phil Friderici
c849c2cb7d
Add parameter to allow setting error_log severity level
2015-11-01 13:14:08 +00:00
matt.cover
57a42466cf
Add unix socket for listening.
2015-10-30 12:14:47 -07:00
James Fryman
d5bdfb252c
Merge pull request #703 from jhooyberghs/http2_support
...
Http2 support
2015-10-25 12:52:29 -05:00
Jeroen Hooyberghs
8391ab0fc7
add http2 as possible param for a vhost
2015-10-23 22:16:11 +02:00
Daniel Hopper
45c6162bf1
Added spec tests and set proxy to undef for streamhost
2015-10-09 12:30:56 -04:00
Patrick Brideau
56d4c142bf
Correct spec test
2015-09-15 15:25:02 -04:00
Matthew Haughton
01f914df3d
Merge pull request #660 from 3flex/ssl_performance_directives
...
vhost: add ssl_buffer_size to SSL config
2015-07-11 20:37:16 -04:00
Matthew Haughton
7478d4fafd
vhost: add ssl_buffer_size to SSL config
2015-07-11 19:53:30 -04:00
Matthew Haughton
35577ccc88
add remaining gzip directives
...
Closes #367
2015-07-11 17:07:56 -04:00
Christian Groschupp
203235199b
sort add_header values for ssl vhost
2015-07-08 16:44:05 +02:00
John Daniels
310ed828c2
Adjusted tests for proxy variables.
2015-06-15 10:03:27 -04:00
Matthew Haughton
e87bdfafda
Merge pull request #635 from geoffgarside/create-log-files
...
Create directory for log files
2015-06-03 22:51:17 -04:00
Geoff Garside
27334c1bd4
Manage the nginx log directory.
...
Ensure the nginx::config::log_dir exists so that the access.log and error.log can be created. Also any nginx::vhost also put their access/error logs in this directory as well. This is done so that on platforms where /var/log/nginx is not created by package installation it exists so that nginx can startup and create the log files.
When vhost purge is enabled the log directory will not be touched and the log files will remain.
2015-06-03 20:43:52 +01:00
Jacob McCoy Wade
66524e22b4
Adding ability to add proxy_cache_use_stale and proxy_cache_key within a location resource
...
Adding spec tests for proxy_cache_key and proxy_cache_use_stale
2015-06-01 14:32:26 -07:00
Matthew Haughton
c143078763
spec: update upstream_spec for puppetlabs-concat 2
2015-05-19 11:55:41 -04:00
Matthew Haughton
678a361106
vhost: add ssl_crl parameter
2015-05-09 00:51:49 -04:00
Matthew Haughton
be4decdb78
vhost: don't copy any SSL files
2015-05-09 00:40:57 -04:00
James Fryman
086510c520
Merge pull request #398 from syscollective/master
...
Add uwsgi support
2015-05-08 10:12:40 -05:00
Marin Vintila
a8cb664ef5
Fix uwsgi related tests
2015-05-08 18:00:35 +03:00
Matthew Haughton
8fc4044162
spec: add some more nginx.conf tests
2015-05-08 08:36:42 -04:00
Marin Vintila
66ee87b89e
Fix diff lines leftover from merge
2015-05-08 12:22:31 +03:00
Marin Vintila
77aa952b20
Merge from master
2015-05-08 12:11:46 +03:00
Marin Vintila
5624e4ca55
Merge from master
2015-05-08 12:04:22 +03:00
Matthew Haughton
d1ff642c44
Merge pull request #618 from mmarod/passenger_header
...
Add passenger_set_header and passenger_env_var parameters for Passenger 5.0+
2015-04-29 23:30:37 -04:00
Michael Marod
7e524d0785
change variable names as requested to match nginx params exactly... Also passenger_env_var is not set with passenger_set_env_var and this commit undoes that
2015-04-29 17:37:58 -04:00
Michael Marod
d0464923d1
Add passenger_env_var parameter which deprecates passenger_cgi_param to support Passenger 5.0+
2015-04-29 12:33:42 -04:00
Michael Marod
0aed6c1978
Add passenger_header parameter which deprecates passenger_cgi_param to support Passenger 5.0+
2015-04-29 12:24:38 -04:00
Matthew Haughton
6062ecec5c
package/debian: support puppetlabs-apt 2.0.0
...
puppetlabs-apt 2.0.0 drops support in apt::source for key_source and required_packages.
* key_source will default to keyserver.ubuntu.com which carries both keys, so it
doesn't need to be explicitly defined
* required_packages can be emulated with the package resource
2015-04-21 22:08:53 -04:00
Matthew Haughton
031fb9d896
Merge pull request #607 from 3flex/beaker
...
Switch acceptance tests to Beaker
2015-04-21 13:43:57 -04:00
Matthew Haughton
cc2f6387f0
Merge pull request #608 from 3flex/572-remove-auth_basic_user_file-resource
...
location: remove the auth_basic_user_file resource
2015-04-21 13:42:20 -04:00
Matthew Haughton
d1b9221a51
location: remove the auth_basic_user_file resource
...
All it's doing right now is copying a file, but the copy of the file is
never referenced by the template.
2015-04-14 23:45:51 -04:00
Matthew Haughton
78218ac8c7
beaker: add some more basic tests
2015-04-14 00:01:51 -04:00
Matthew Haughton
69ccfae779
no need for suse tests, there's no nodeset for it
2015-04-13 23:28:51 -04:00
Matthew Haughton
fd069a3aec
beaker: add more nodesets
...
CentOS 5, 6 & 7
Debian 6 & 7
Ubuntu Server 12.04
2015-04-13 23:28:51 -04:00
Matthew Haughton
9dd92e7081
Convert acceptance specs to RSpec 3.2.2 syntax
...
This conversion is done by Transpec 3.1.0 with the following command:
transpec spec/acceptance/
* 16 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 6 conversions
from: obj.should
to: expect(obj).to
* 5 conversions
from: == expected
to: eq(expected)
* 1 conversion
from: it { should_not ... }
to: it { is_expected.not_to ... }
For more details: https://github.com/yujinakayama/transpec#supported-conversions
2015-04-13 23:28:51 -04:00
Matthew Haughton
e5085f39e6
switch to beaker-rspec from rspec-system-puppet
2015-04-13 23:28:51 -04:00
Matthew Haughton
3027d9f35a
location: move auth_basic directives to header
...
Allows setting these directives on any location:
* auth_basic
* auth_basic_user_file
2015-04-13 22:58:57 -04:00
Matthew Haughton
0cd258b310
Merge pull request #590 from 3flex/540-refine-worker_processes-validation
...
config: refined worker_processes validation
2015-04-10 12:00:44 -04:00
Matthew Haughton
810d36d3a8
config: refined worker_processes validation
...
Closes #540
2015-04-01 23:34:31 -04:00
Matthew Haughton
faa974b745
spec/Gemfile: switch to rspec-puppet 2
...
The big win is that it's now possible to test the future parser with the
latest Puppet release. In the past it wasn't possible to test future parser
with anything higher than 3.5.x.
2015-03-30 23:39:50 -04:00