Skip to content

Commit

Permalink
no longer testing against puppet 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Dorman committed Aug 27, 2014
1 parent fc9718e commit cf3e1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ rvm:
- 2.1.1
env:
matrix:
- PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
- PUPPET_GEM_VERSION="~> 3.4.0"
- PUPPET_GEM_VERSION="~> 3.5.0"
global:
Expand All @@ -26,12 +25,6 @@ env:
495e61kP5cxcKNVdDJSiUPPK6fNGQ1xX8=
matrix:
exclude:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
- rvm: 2.0.0
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
- rvm: 2.1.1
env: PUPPET_GEM_VERSION="~> 2.7.0" FACTER_GEM_VERSION="~> 1.7.0"
- rvm: 2.1.1
env: PUPPET_GEM_VERSION="~> 3.4.0"
notifications:
Expand Down
8 changes: 2 additions & 6 deletions lib/puppet/provider/rabbitmq_exchange/rabbitmqadmin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
Puppet::Type.type(:rabbitmq_exchange).provide(:rabbitmqadmin) do

commands :rabbitmqctl => '/usr/sbin/rabbitmqctl'
if Puppet::Util::Package.versioncmp(Puppet.version, '3.0') >= 0
has_command(:rabbitmqadmin, '/usr/local/bin/rabbitmqadmin') do
environment( { 'HOME' => '' })
end
else
commands :rabbitmqadmin => '/usr/local/bin/rabbitmqadmin'
has_command(:rabbitmqadmin, '/usr/local/bin/rabbitmqadmin') do
environment( { 'HOME' => '' })
end
defaultfor :feature => :posix

Expand Down

0 comments on commit cf3e1a5

Please sign in to comment.