9 Commits

Author SHA1 Message Date
Takashi Kajinami
790124110a Add support for parameters of the gatekeeper middleware
Change-Id: Icd9c77355025255a5280837e273fe74cdd7a6485
2021-12-19 23:08:38 +09:00
Tobias Urdin
e7d670b13a Fix rspec-puppet-facts testing
Moves all spec tests over to using rspec-puppet-facts
and runs the tests for all our supported operating systems.

Change-Id: Ie2d60acac835affaf46a5276c9755640a723bca4
2018-05-19 14:17:20 +02:00
Thomas Herve
1a22b511fd Use LOCAL2 consistently as default everywhere
The log facility was still set sometimes to LOCAL0 and LOCAL1, let's use
LOCAL2 everywhere for consistency and being able to fix redirects.

Change-Id: Ibaac93743877daef29901a87792ab9beafa1a490
2017-04-25 22:07:15 +02:00
Adam Vinsh
60ed2ee79c Replace proxy concat/template with ini provider
Maintains full backward compatibility.
Use swift_proxy_config ini provider to mange proxy-server.conf.
Remove all erb templates. Move all template logic into proxy
middleware classes. To purge proxy.conf of settings that are
not specified set the new paramater "purge_config" to "true".

Change-Id: I0a143cf812043ea0f9a008a6e5c60ec87f9a4e9a
2016-10-06 10:29:04 -04:00
Sergii Golovatiuk
a94df7b02a Fix tests for concat 2.1.0
Depends-On: I8e3cd60fa50e04221aedf5c153c1ecb8a5bd97b5

Change-Id: I920479f9d5f0d94151c63a5fdc1445edf984a01a
Signed-off-by: Sergii Golovatiuk <sgolovatiuk@mirantis.com>
2016-05-23 11:57:56 +02:00
Emilien Macchi
b73516aff6 Stop calling ::concat::setup
::concat::setup is a private class deprecated as a public class [1].
This patch makes sure we use concat module the right way and avoid
a warning.

[1] https://github.com/puppetlabs/puppetlabs-concat/blob/master/manifests/setup.pp#L14

Change-Id: Ib7f72f696e8704f3f4d5cff6b06dbcd981d6b395
2016-01-03 13:23:28 -05:00
Sebastien Badia
f4cfe8e8e4 spec: updates for rspec-puppet 2.x and rspec 3.x
This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax
in order to be prepared for rspec 3.x move.

In details:
  * Use shared_examples "a Puppet::Error" for puppet::error tests
  * Convert 'should' keyword to 'is_expected.to' (prepare rspec 3.x)
  * Fix spec tests for rspec-puppet 2.0.0
  * Upgrade and pin rspec-puppet from 1.0.1 to 2.0.0
  * Clean Gemfile (remove over-specificication of runtime deps of puppetlabs_spec_helper)
  * Remove un-used puppet-lint (name_containing_dash config)

Change-Id: I5488507176d4665895eef65ddb4b6f0fb4eda3e7
Card: https://trello.com/c/eHXc1Ryd/4-investigate-the-necessary-change-to-be-rspec-puppet-2-0-0-compliant
2015-03-24 15:22:16 +01:00
Michal Skalski
e6a225d79b Enlarging the scope of ssh module
Including only ssh::server::install class in init.pp give too small scope
and cause warnings about inability to look up ssh::server::ensure.

Closes-Bug: 1355873

Change-Id: I443c9f006b47c609e4a05da38b4a2124acbf886e
2014-12-03 11:11:18 +01:00
Xingchao Yu
e2c9415a35 Add proxyserver gatekeeper middleware
swift::proxy::gatekeeper class will be used to configure
gatekeeper middlerware.

Change-Id: I2f90ae41ba98f9b7d2bd7f3c5ed92fdbcd8fa999
Implements: blueprint icehouse-proxyserver-middlewares
2014-02-10 12:13:43 +08:00