Commit graph

502 commits

Author SHA1 Message Date
Tristan Helmich
4fb4129aa4 Update tests accroding to changed templates
Specs no longer require `ipv6only=on` in listen option when using user
supplied value since it is no longer hardcoded in the template.
2014-02-03 13:13:06 +01:00
Tristan Helmich
15a2695442 Move ipv6only=on option from template into puppet
See jfryman#30
2014-02-03 12:54:44 +01:00
James Fryman
eeb0830b7f Merge pull request #246 from inflection/add_client_max_body_size
Adding client_max_body_size.
2014-01-28 13:08:28 -08:00
James Fryman
8b29715179 Merge pull request #171 from thomasbiddle/upstream_fail_timeout
Adding upstream fail_timeout.
2014-01-28 12:57:14 -08:00
TJ Biddle
52b124e505 Adding client_max_body_size. 2014-01-28 12:52:56 -08:00
James Fryman
9b357bcad4 Merge pull request #243 from huandu/master
Sort @passenger_cgi_param to make sure generated config file content is stable.
2014-01-24 09:07:24 -08:00
Huan Du
542cbbef2c use stable sort to ensure passenger_set_cgi_param key sequence stable. 2014-01-24 20:25:12 +08:00
James Fryman
d1dc560a37 Merge pull request #233 from abraham1901/dev
Fixed long names virtual hosts...
2014-01-23 13:47:04 -08:00
Lebedev Vadim
6997df9d5a Merge branch 'dev' of https://github.com/abraham1901/puppetlabs-nginx into dev 2014-01-21 15:23:06 +04:00
Lebedev Vadim
2252d96fe8 Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev 2014-01-21 15:22:19 +04:00
Vadim Lebedev
520b8fe9b4 Merge pull request #1 from 3flex/rspec-tests
test vhost name is sanitized
2014-01-18 12:25:48 -08:00
Matthew Haughton
325ae7e6de test vhost name is sanitized 2014-01-18 13:31:05 -05:00
James Fryman
6f56cd206e Merge pull request #239 from oxilion/gzip
Make gzip configurable
2014-01-17 16:28:49 -08:00
Lebedev Vadim
26cf99c8e4 Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev 2014-01-17 20:08:56 +04:00
Lebedev Vadim
d340eea512 remove sort array in location_custom_cfg_* 2014-01-17 20:08:01 +04:00
Lebedev Vadim
22b3f5a8c6 fix README 2014-01-17 16:49:28 +04:00
Maurits Landewers
e36aa73b6e Make gzip configurable 2014-01-17 10:29:56 +01:00
James Fryman
eb7776fc7f Merge pull request #237 from 3flex/patch-1
workaround missing librarian-puppet-maestrodev dependencies
2014-01-16 08:54:57 -08:00
Matthew Haughton
b790d96446 workaround missing librarian-puppet dependencies
librarian-puppet-maestrodev gem specifies Ruby 1.8 dependencies incorrectly. open3_backport and json are required on Ruby 1.8
but are not currently installed. See
https://github.com/maestrodev/librarian-puppet/issues/16
2014-01-16 11:39:08 -05:00
James Fryman
32539e80a0 Merge pull request #236 from php-coder/patch-1
manifests/conf.pp: fixed a typo in error message.
2014-01-14 11:25:08 -08:00
Lebedev Vadim
f4d543e0e9 update tests 2014-01-14 22:07:17 +04:00
Lebedev Vadim
a4ddf886b2 Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev 2014-01-14 19:57:45 +04:00
Lebedev Vadim
088f1414c9 revert change priority type 2014-01-14 19:57:13 +04:00
Slava Semushin
643e803298 manifests/conf.pp: fixed a typo in error message. 2014-01-14 14:46:26 +03:00
James Fryman
42c290d87b Merge pull request #235 from 3flex/location-rewrite-rules
added rewrite to location/proxy & vhost
2014-01-13 11:05:16 -08:00
Matthew Haughton
dc3817f9ae added rewrite to location/proxy & vhost
With credit to https://github.com/OmarzT
2014-01-13 13:20:02 -05:00
Lebedev Vadim
e94af129e4 Fixed long names virtual hosts, such as nginx::resource::vhost { 'name1.domainname.org name2.domainname.org': }
Add example nginx::vhost with HTTPS FastCGI and redirection of HTTP
Add location_custom_cfg_prepend & location_custom_cfg_append. Used for logical structures such as if.
Fix puppet-lint
2014-01-12 23:15:14 +04:00
James Fryman
74a8ed1e87 Merge pull request #231 from CpuID/master
(Revised Commit) Support for server_names_hash_bucket_size and server_names_hash_max_size
2014-01-10 09:27:27 -08:00
Nathan Sullivan
70256dcb2a improved version of support for server_names_hash_bucket_size and server_names_hash_max_size for https://github.com/jfryman/puppet-nginx/pull/178 - also a few puppet-lint fixes 2014-01-10 13:42:16 +10:00
James Fryman
fa6be86dc2 Merge pull request #230 from 3flex/README-updates
README updates
2014-01-09 13:39:18 -08:00
Matthew Haughton
dd7df92ea2 cleanup README
* Make a hypothetical puppet-lint run happy
* Remove redundant parameters from resource declarations (e.g. 'ensure')
* Unquote a boolean which would fail with the recently added validations
* Simplify Puppet w/ Passenger example by removing SSL cipher/cache settings
* Add syntax highlighting where it was missing
* Provide complete vhost example for "Nginx with precompiled Passenger"
2014-01-09 16:37:47 -05:00
Matthew Haughton
12ecdadc35 add SSL configuration instructions to README 2014-01-09 16:33:44 -05:00
James Fryman
cd06f3593e Merge pull request #226 from huandu/master
Fix a config error in the last sample in README
2014-01-08 08:40:51 -08:00
James Fryman
7086aea8c0 Merge pull request #228 from PierreR/patch-1
Fix multi-line comment indentation
2014-01-08 08:40:25 -08:00
James Fryman
e0dbf1173c Merge pull request #227 from 3flex/validations
Validations for all parameters in the public classes
2014-01-08 08:40:06 -08:00
Pi3r
d26d9a41a8 Fix multi-line comment indentation
`puppetresources` is complaining about the wrong indentation scheme.
2014-01-08 15:46:56 +01:00
Matthew Haughton
2a82028a7b warn on inclusion of nginx:📦:suse 2014-01-07 23:16:54 -05:00
Matthew Haughton
5309136fc8 warn on inclusion of nginx:📦:redhat 2014-01-07 23:16:54 -05:00
Matthew Haughton
d7800f44ee warn on inclusion of nginx:📦:debian 2014-01-07 23:16:54 -05:00
Matthew Haughton
e2eba1dbe9 warn on inclusion of nginx::service 2014-01-07 23:16:54 -05:00
Matthew Haughton
2f36def38a warn on inclusion of nginx::params 2014-01-07 23:16:54 -05:00
Matthew Haughton
2fb7072e6e warn on inclusion of nginx::package 2014-01-07 23:16:54 -05:00
Matthew Haughton
ac8c74d78b warn on inclusion of nginx::config 2014-01-07 23:16:54 -05:00
Matthew Haughton
545056cb1a validations for nginx::resource::upstream 2014-01-07 23:16:54 -05:00
Matthew Haughton
10a1691b9e validations for nginx::resource::mailhost 2014-01-07 23:16:54 -05:00
Matthew Haughton
d683fae9ff validations for nginx::resource::vhost 2014-01-07 23:16:52 -05:00
Matthew Haughton
8e71d33121 validations for nginx::resource::location 2014-01-07 23:04:49 -05:00
Matthew Haughton
5a9767dcd8 validations for nginx::init 2014-01-07 22:17:03 -05:00
Matthew Haughton
5756568f21 variables should not be substituted in message
Using $priority meant it would be substituted with the value of the
parameter when it should be shown as static text.
2014-01-07 22:12:31 -05:00
Huan Du
a7436dbbba fix puppet master sample config error. 2014-01-07 18:47:25 +08:00