Joshua Hoblitt
8a1981f640
update nginx::package to select the package class by $::osfamily
...
There were some bugs in the existing $::operatingsystem based approach.
* amazon was it's own package set when it's properly part of $::osfamily ==
'redhat' as of facter >= 1.7.2
* gentoo was improperly part of the amazon package set; this patch removes
support for gentoo but it was broken anyways
modifications to nginx:📦 :redhat were made as well
* it no longer tries to setup the nginx.org yumrepo for fedora as no packages
for fedora are currently provided
* amazon release numbers are inconsistent with EL. Unknown
$::lsbmajdistrelease values are now mapped to 6 so it's no longer nessicary to
test for $::lsbmajdistrelease being undefined. This logic will need to be
reworked after RHEL7.x is released.
* the url to the nginx repo was including $::operatingsystem in it but
nginx.org only has package dirs for 'rhel' & 'centos' which are presently
identical; the usage of the 'rhel' dir has been hardcoded. This fixes broken
yum repo setup for all $::osfamily == 'redhat' platforms other than redhat and
centos.
2013-08-22 13:32:54 -07:00
James Fryman
f98feea476
Merge pull request #114 from helldorado/master
...
Please reconsidere my pull request: Fix syntax "each" for ruby1.9 => each_line and add listen_port on rewrite_www_to_non_www
2013-08-22 13:22:41 -07:00
James Fryman
304c12974e
Last webhook Fixes #118
2013-08-18 16:26:38 -05:00
James Fryman
5f69bd3c3a
Merge branch 'master' of https://github.com/jfryman/puppet-nginx
2013-08-18 16:12:37 -05:00
James Fryman
eb438df54e
Another ServiceHook Test Fixes #117
2013-08-18 16:12:28 -05:00
James Fryman
07ff2d821e
Merge pull request #109 from vikraman/patch-1
...
Fix the error 'You cannot specify more than one of content, source, target'
2013-08-18 14:03:27 -07:00
James Fryman
9bc079f7cd
testing close webhook Fixes #116
2013-08-18 15:58:39 -05:00
Abdoul Bah
b40196f843
Update vhost_location_stub_status.erb
...
this does not affect ruby1.9
2013-08-15 21:08:03 +02:00
Abdoul Bah
e0f2666077
Update vhost_location_proxy.erb
...
this does not affect ruby1.9
2013-08-15 21:07:40 +02:00
Abdoul Bah
81c46e165e
Update vhost_location_fastcgi.erb
2013-08-15 21:07:06 +02:00
Abdoul Bah
2915ff22db
Update vhost_location_empty.erb
...
this does not affect ruby1.9
2013-08-15 21:06:23 +02:00
Abdoul Bah
e408cdc2f4
Update vhost_location_directory.erb
...
this does not affect ruby1.9
2013-08-15 21:05:38 +02:00
Abdoul Bah
3a2dd716a0
Update vhost_location_alias.erb
...
this does not affect ruby1.9
2013-08-15 21:05:02 +02:00
Abdoul Bah
029e40b836
Update vhost_location_stub_status.erb
2013-08-15 18:57:22 +02:00
Abdoul Bah
be5dd67875
Update vhost_location_proxy.erb
2013-08-15 18:56:58 +02:00
Abdoul Bah
0be9924df5
Update vhost_location_fastcgi.erb
2013-08-15 18:56:05 +02:00
Abdoul Bah
f87d4770df
Update vhost_location_empty.erb
2013-08-15 18:55:14 +02:00
Abdoul Bah
d10eaa423a
Update vhost_location_directory.erb
2013-08-15 18:54:41 +02:00
Abdoul Bah
939d0bd458
Update vhost_location_alias.erb
2013-08-15 18:53:45 +02:00
Abdoul Bah
b432d5269c
Update vhost_header.erb
2013-08-15 18:52:35 +02:00
Abdoul Bah
90c5b7349e
Update vhost_footer.erb
2013-08-15 18:50:20 +02:00
Abdoul Bah
1f007e3587
add listen_port on rewrite_www_to_non_www
...
Adding the port in case it is not by default.
2013-08-15 17:04:36 +02:00
Vikraman
b20b616bed
Fix the error 'You cannot specify more than one of content, source, target'
...
I get the above error message. It is easily fixed by removing the `ensure` inside `ensure_resource`, since `ensure_resource` should already be setting `$ensure` to `file`.
2013-08-11 12:15:26 +05:30
James Fryman
8997529a6c
Bumping version: Bugfixes
2013-08-04 17:06:09 -05:00
James Fryman
c534763c64
Merge pull request #107 from ubc/fix-wildcard-cert
...
Fix #106 when using wildcard certificate on multiple vhosts
2013-08-04 14:59:25 -07:00
Pan
126fb413ea
Fix #106 when using wildcard certificate on multiple vhosts
2013-08-04 14:54:41 -07:00
James Fryman
d15509e6cd
Merge pull request #97 from justicel/master
...
Fixed RHEL package install and added some fastcgi options
2013-08-04 11:27:06 -07:00
Justice London
6911b91f9e
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into jfryman-master
...
Conflicts:
templates/vhost/vhost_location_fastcgi.erb
2013-08-02 13:07:53 -04:00
James Fryman
fd4e3c5a37
Merge pull request #101 from adambrenecki/fix-ssl-config
...
auth_basic lines appearing in SSL vhost header when they shouldn't
2013-08-01 10:27:22 -07:00
James Fryman
b384339fa2
Merge pull request #103 from abraham1901/dev
...
Some changes have been made
2013-08-01 10:26:59 -07:00
James Fryman
1ca6a64f29
bumping to v0.0.2
2013-08-01 10:15:47 -07:00
James Fryman
1e91fdb9a3
Merge pull request #68 from maestrodev/forge
...
Push to forge
2013-08-01 10:09:48 -07:00
Lebedev Vadim
49b5b79b76
* Option fastcgi_script fixed
...
* Options location_cfg_append and location_cfg_prepend added to fastcgi template
* Option www_root is optional now
* Options logging fixed in http template
* Auth_basic fixed in SSL vhost header
2013-08-01 01:07:59 +04:00
Lebedev Vadim
5522f27d9b
* Option fastcgi_script fixed
...
* Options location_cfg_append and location_cfg_prepend added to fastcgi template
* Option www_root is optional now
* Options logging fixed in http template
2013-08-01 00:56:32 +04:00
Adam Brenecki
58f2d2f7fc
Fix erroneous auth_basic lines in SSL vhost header
2013-07-29 14:14:33 +09:30
James Fryman
4f5ea94b46
Merge pull request #98 from mnencia/patch-1
...
Inverted condition for IPv6 warning
2013-07-26 03:06:57 -07:00
Marco Nenciarini
e104fc5a89
Inverted condition for IPv6 warning
...
If $ipv6_enable is true ypu sshould warn the user only if the machine _doesn't have_ an ip address.
At the moment the warning is raised when ipv6 is configured properly
2013-07-26 10:15:55 +02:00
Justice London
30e9773aeb
Merge pull request #1 from jfryman/master
...
Merging upstream changes
2013-07-25 09:51:45 -07:00
James Fryman
17d1edaf74
Merge pull request #96 from abraham1901/dev
...
Adding option http_cfg_append to class nginx
2013-07-21 11:30:02 -07:00
Lebedev Vadim
ae9303233c
Merge branch 'master' of https://github.com/jfryman/puppet-nginx into dev
...
Conflicts:
manifests/init.pp
2013-07-21 19:40:29 +04:00
James Fryman
a552e6b25a
Merge pull request #90 from michaeltchapman/vhost_index
...
Add index_files to location for vhost
2013-07-21 04:33:04 -07:00
James Fryman
7b082fa823
Merge pull request #95 from ubc/hiera-support
...
Add Hiera support
2013-07-21 04:16:13 -07:00
James Fryman
3655f97078
Merge pull request #94 from ubc/fix-test
...
Remove GeoIP in spec to fix the tests
2013-07-21 04:12:23 -07:00
James Fryman
143d6122b1
Merge pull request #93 from ubc/fix-custom_cfg
...
Fix undefined method `sort_by' error from vhost_location_empty.erb
2013-07-21 04:11:34 -07:00
Lebedev Vadim
386026fda8
Adding option http_cfg_append to class nginx
...
Fix puppet-lint
2013-07-21 04:12:18 +04:00
Justice London
06f50454cb
Small doc fix
2013-07-19 12:07:41 -04:00
Justice London
362dd85386
Added file definition to redhat package repo
2013-07-19 12:04:27 -04:00
Justice London
aeef0711bb
Added split file support to location (for fastcgi)
2013-07-19 11:56:03 -04:00
Pan
1257cb3355
Add Hiera support
...
This supports creating resourses directly in Hiera for better separation of data
2013-07-18 15:10:12 -07:00
Pan
6ca7a8bd38
Remove GeoIP in spec to fix the tests
...
The GeoIP package has been removed from c01a7a8280
but not in tests
2013-07-18 14:46:27 -07:00