Commit graph

1234 commits

Author SHA1 Message Date
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
James Fryman
e6d1695f82 Merge pull request #571 from mayflower/fix/package-name
Fix possibility to set package name
2015-03-26 07:06:52 -05:00
James Fryman
2354132aa9 Merge pull request #584 from brunoleon/maintenance
feat (maintenance): allow to specify maintenance behavior. Add docs.
2015-03-26 07:06:29 -05:00
James Fryman
ef98b6324f Merge pull request #569 from Zophar78/master
Flags parameter supported only on OpenBSD
2015-03-26 07:05:38 -05:00
James Fryman
2d8dab7518 bump to v0.2.4 2015-03-24 14:13:01 -05:00
James Fryman
124b1c07b8 Merge pull request #583 from errygg/errygg-patch-1
Changing apt key to 40 characters to support new apt module
2015-03-24 13:45:12 -05:00
Erik R. Rygg
b8c2f44aa1 One more update to the spec test 2015-03-24 12:28:46 -06:00
Erik R. Rygg
493e5c3eec Add key for passenger and update spec tests 2015-03-24 11:51:52 -06:00
Bruno Léon
6f1744b11d feat (maintenance): allow to specify maintenance behavior. Add docs. 2015-03-24 15:45:29 +01:00
James Fryman
0c1d60b13f bumping version to v0.2.3 2015-03-23 17:31:01 -05:00
Erik R. Rygg
d9b1d8cf8c Changing apt key to 40 characters to support new apt module 2015-03-23 16:03:56 -06:00
James Fryman
acaa4e99ee Merge pull request #582 from jamescarr/support-ssl-client-verify
Support ssl client verify
2015-03-23 15:05:39 -05:00
James R. Carr
1c5b453d76 spec matched against the wrong thing 2015-03-23 14:50:28 -05:00
James R. Carr
6891c37864 added tests 2015-03-23 14:40:13 -05:00
James R. Carr
466641a1f0 Copy and pasta error. 2015-03-23 14:14:15 -05:00