Ryan Kennedy
ddc52d1813
fixing issue #837
2016-07-23 17:13:05 -07:00
Matthew Haughton
5ffb235e21
params: support debian 8
...
Install from upstream by default like for other OSs
2015-05-01 14:39:34 -04:00
James Fryman
99998deb38
Revert "changed $::operatingsystemmajrelease to $::lsbmajdistrelease for Debian"
2015-02-06 15:59:14 -06:00
Jan Schumann
a98caa993c
changed $::operatingsystemmajrelease to $::lsbmajdistrelease for Debian as it does not exists in facter anymore
2015-02-03 19:54:31 +01:00
Matthew Haughton
78d3b101d0
package: only set manage_repo => true
when appropriate
...
i.e. upstream provides a package for it
2014-12-10 21:23:04 -05:00
Matthew Haughton
5b09b23b12
package: refactor
2014-12-10 21:23:04 -05:00
Frank Groeneveld
ad4e74d5a2
Add initial OpenBSD support.
2014-11-25 20:08:05 +01:00
James Fryman
0d939d3e13
fixing up specs/config parameters
2014-11-22 12:40:01 -06:00
James Fryman
c8e2b0eeaf
fix up mismatched params
2014-11-17 09:15:01 -06:00
James Fryman
a070813cc1
extracted all variables back to params.pp pattern
2014-11-08 17:22:30 +01:00
James Fryman
9bd63d348d
Introducing Puppet Module Tool
2014-09-20 13:29:40 -05:00
Matthew Haughton
a002d8932e
bug fixes surfaced by future parser
...
* concat::fragment requires 'order' to be a string
* init parameters added in #373 referred to wrong variable name in params.pp
* cannot perform regex match on a number, so make {fastcgi,proxy}_cache_levels
a string by default
* bug fixed in test suite
2014-09-04 23:24:14 -04:00
Zach Leslie
b00614162d
Remove logdir selector when everything is the same
2014-07-28 14:49:10 -07:00
Zach Leslie
529fabb866
Update $root_group in manifests to use platform specifics
2014-07-28 14:49:10 -07:00
Zach Leslie
edf9b54fe2
Add specials for FreeBSD and $root_group
2014-07-28 14:49:10 -07:00
Zach Leslie
ce933e4abe
Add FreeBSD case for $nx_daemon_user
2014-07-28 14:49:10 -07:00
Zach Leslie
305c439bc6
Fixup for matching $kernelversion on Joyent
...
This replaces the code that used to exist and now accommodates FreeBSD
using the $kernel fact, but still allows Joyent selection from
$kernelversion.
2014-07-28 14:48:56 -07:00
Zach Leslie
b939e92624
Update root group for wider support
...
The super group on many platforms is known as root, which a UID of 0.
However, on other platforms, the UID is still 0, but the group is
'wheel'. Largely historic UNIX jargon, but suffice to say that, to
support FreeBSD and others, setting the group of '0' has the same impact
while supporting a wider range of platforms.
2014-07-12 13:19:38 -07:00
Zach Leslie
f2a36f7a2f
Add support for FreeBSD package installation
2014-07-11 23:32:05 -07:00
Zach Leslie
622c3906e2
Initial Update to params for FreeBSD support
...
This adds the necessary changes the params class and associated
variables to support FreeBSD.
2014-07-11 23:32:05 -07:00
Alkivi
bfbded71d4
Added owner group and mode parameter. For all users, per sites-available directory and per sites conf
2014-07-03 16:06:54 +02:00
Maksym Melnychok
5b28d0553d
configuration revamp
...
- make many more things configurable
- stop using ::params::* for things that are configurable
- add worker_rlimit_nofile option
- add tcp_nopush option
2014-06-21 11:08:29 +02:00
Jan Örnstedt
f5a12bdb33
Add super_user option to be able to launch nginx as unprivileged user without complains.
2014-06-04 23:28:32 +02:00
James Fryman
8b7588dccc
Merge pull request #315 from gini/basic_auth_for_proxy_locations
...
Allow basic_auth for proxy locations and ...
2014-05-16 13:18:01 +02:00
Edvinas Klovas
949a000e80
Add Archlinux support
...
This commit adds Archlinux support. This needs changes in nginx.conf.erb
template and manifests to support pid value set to `false` (this skips it from
nginx.conf). This is due to `-pid /run/nginx.pid` being hardcoded to Archlinux
template. If you specify pid additionally in `nginx.conf` then nginx fails to
start.
2014-05-15 23:55:24 +02:00
Daniel Kerwin
d11c6be681
Allow basic_auth for proxy locations and introducing parameter proxy_headers_hash_bucket_size with default of 64
2014-05-15 16:18:27 +02:00
root
402febc599
Add fastcgi_cache_key and fastcgi_cache_use_stale parameters
2014-04-27 09:49:45 -04:00
root
659a8cd4d0
add additional fastcgi parameters
2014-04-26 11:14:55 -04:00
root
024cc33d62
add support for fastcgi_cache_path
2014-04-26 10:34:29 -04:00
James Fryman
6a425e4365
Update params.pp
2014-03-27 16:52:26 -05:00
Joshua Moore
64047f42fb
SmartOS support
2014-03-24 17:14:32 -04:00
Joshua Moore
6fe431f698
SmartOS support
2014-03-24 17:07:38 -04:00
Joshua Moore
8ee7964d2b
Replaced ::operatingsystem with ::kernelversion
2014-03-20 18:00:56 -04:00
Joshua Moore
c23e0ce7af
conditionals for nx_conf_dir and SmartOS nx_daemon_user
2014-03-20 11:42:18 -04:00
James Fryman
aa89b20f98
Merge pull request #272 from DracoBlue/custom-template
...
Make template for nginx.conf.erb configurable
2014-03-19 11:21:48 -05:00
James Fryman
15506a5f98
Merge pull request #275 from gini/worker_rlimit_nofile
...
New parameter worker_rlimit_nofile
2014-03-17 12:54:07 -05:00
James Fryman
e59468a71f
Merge pull request #264 from welterde/feature-service_disable
...
add service_ensure support
2014-03-17 12:29:02 -05:00
Daniel Kerwin
d831a869fc
Add setting worker_rlimit_nofile with default of 1024
2014-03-12 18:17:41 +01:00
DracoBlue
e11e932365
Added proxy_conf_template option
2014-03-10 21:44:46 +01:00
DracoBlue
7e6dcdc1ec
Added config variable for custom nginx.conf template
2014-03-10 21:19:25 +01:00
Zdenek Janda
58818b3a44
Ensure that vhosts are purged with new parameter purge_vhost
2014-03-07 22:18:10 +01:00
Tassilo Schweyer
7fc83f707d
add service_ensure support
2014-03-04 16:59:32 +01:00
Jan Örnstedt
7938f05d18
Whitespace fix.
2014-02-12 10:01:22 +01:00
Jan Örnstedt
9bb83dd426
Cut and paste error. Removed debian from solaris case.
2014-02-12 09:19:01 +01:00
Jan Örnstedt
75d1478b37
Merge branch 'master' of https://github.com/jfryman/puppet-nginx
2014-02-11 09:03:34 +01:00
Peter Rhoades
4b807acbef
Checks $caller_module_name is defined
...
[See #240 ]
2014-02-06 22:21:19 +00:00
Jan Örnstedt
4a0a857a38
Added basic support for nginx on Solaris.
2014-01-30 16:41:44 +01: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
7086aea8c0
Merge pull request #228 from PierreR/patch-1
...
Fix multi-line comment indentation
2014-01-08 08:40:25 -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