Commit graph

1198 commits

Author SHA1 Message Date
Martin Loy
23fe0404c8 require conf.d folder 2015-05-06 12:03:26 -03:00
Matthew Haughton
3f95e281b9 Merge pull request #616 from Cofyc/cofyc_master
fix docs
2015-05-05 00:07:32 -04:00
Matthew Haughton
fd6b4cc088 Merge pull request #621 from 3flex/620-debian-8
Add support for Debian 8
2015-05-05 00:06:40 -04: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
Matthew Haughton
b8454400ac Merge pull request #613 from 3flex/test-on-puppet-4
travis: test on Puppet 4 for real
2015-05-01 12:00:27 -04: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
Matthew Haughton
6bf4b7b7b1 Merge pull request #612 from 3flex/611-puppetlabs-apt-2-fixes
package/debian: support puppetlabs-apt 2.0.0
2015-04-29 15:04:24 -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
Yecheng Fu
b65a5f08f7 fix docs 2015-04-28 12:44:44 +08:00
Matthew Haughton
941de4674e travis: test on Puppet 4 for real
No need to test with future parser, the real thing is here.
2015-04-23 09:45:19 -04:00
Matthew Haughton
8d36089dff location: mini-refactor for puppet 4
Without this an undef will be passed to regsubst when vhost => undef,
which causes an error with Puppet 4 so the friendly message from the
module won't be shown.
2015-04-23 09:45:19 -04:00
Matthew Haughton
ae8a60da13 metadata: require puppetlabs-apt 1.8.0 or higher
Support for full fingerprints was only added in puppetlabs-apt 1.8.0

This module started using full fingerprints as of d9b1d8c
2015-04-22 15:46:07 -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
c78ef6e4f7 fastcgi_params: adjust whitespace for consistency 2015-04-15 14:15:45 -04:00
Matthew Haughton
51291ebee6 Merge pull request #530 from scottsb/master
Fixing default location to use specified index files.
2015-04-15 12:51:19 -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
b65080c625 Merge pull request #605 from 3flex/600-make-auth-available-everywhere
location: move auth_basic directives to header
2015-04-14 11:05:46 -04:00
Matthew Haughton
143e840ed1 Merge pull request #606 from 3flex/602-fix-redundant-code
vhost: simplify maintenance variable code
2015-04-14 11:05:35 -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
f18e83f4b0 vhost: simplify maintenance variable code 2015-04-13 23:02:48 -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
c54359f5fe Merge pull request #604 from 3flex/550-fix-create_resources-on-old-puppet
init: fix create_resources declarations for old puppet versions
2015-04-13 16:27:06 -04:00
Matthew Haughton
dfaa572525 init: fix create_resources declarations for old puppet versions
Fixes #550
2015-04-13 15:41:25 -04:00
James Fryman
6975ad000c Merge pull request #598 from 3flex/metadata-update
metadata: add Puppet version compatibility
2015-04-10 12:57:54 -04:00
Matthew Haughton
6fc2f6f9ec metadata: add Puppet version compatibility
Also:
* Remove "description" field (is deprecated)
* Declare support for Debian 7
* Remove the ".0" part of the version number for Debian & Red Hat
2015-04-10 12:39:40 -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
James Fryman
a40dbfd8e5 Merge pull request #597 from 3flex/gitattributes-for-linguist
gitattributes: add file so all *.pp is recognized as Puppet on Github
2015-04-09 13:19:49 -05:00
Matthew Haughton
413fcbd6ab gitattributes: add file so all *.pp is recognized as Puppet on Github
The Github file type detection is not foolproof, and .pp file extension is shared by Pascal.
Sometimes our files are detected as Pascal, not Puppet as they should be.

This change ensures all *.pp files are recognized as Puppet files.
2015-04-09 13:34:29 -04:00
James Fryman
0a741c8713 Merge pull request #595 from 3flex/correct-package-dependency
package/redhat: correct dependency on package
2015-04-08 15:06:06 -05:00
Matthew Haughton
446ab37979 package/redhat: correct dependency on package
When $package_name is not 'nginx' the dependency on the package resource would be incorrect.

Probably never an issue in practice since 'nginx' is the package name in the nginx.org repo.
2015-04-08 15:16:53 -04:00
James Fryman
733b44bd27 Merge pull request #594 from 3flex/puppetforge-shield
readme: add Puppet Forge version badge
2015-04-07 13:47:38 -05:00
Matthew Haughton
b3de6d7a16 readme: add Puppet Forge version shield 2015-04-07 14:38:16 -04:00
James Fryman
8134c5fbf2 bump to 0.2.6 2015-04-07 09:56:29 -05:00
James Fryman
93197b6cea Merge pull request #593 from mcanevet/patch-1
Fix typo
2015-04-07 09:49:24 -05:00
Mickaël Canévet
29e327aa96 Fix typo 2015-04-07 10:56:15 +02:00
James Fryman
22f54d0299 bump to 0.2.5 2015-04-02 10:58:50 -05:00
James Fryman
4c83aefae1 Merge pull request #588 from 3flex/fail-on-future-parser-problem
Don't allow failures when using the future parser
2015-04-02 10:57:33 -05:00
James Fryman
90cb9721d8 Merge pull request #587 from 3flex/rspec-puppet-2
Rspec puppet 2
2015-04-02 10:57:13 -05:00
Matthew Haughton
810d36d3a8 config: refined worker_processes validation
Closes #540
2015-04-01 23:34:31 -04:00
Matthew Haughton
abf6f870e5 don't allow future parser failures 2015-03-30 23:42:50 -04:00
Matthew Haughton
82e3bc5071 travis: test future parser on latest puppet 2015-03-30 23:40:00 -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