diff options
author | Christoph <chris@inferno.nadir.org> | 2015-11-26 15:51:09 +0100 |
---|---|---|
committer | Christoph <chris@inferno.nadir.org> | 2015-11-26 20:30:31 +0100 |
commit | dc89ea4c67fcad2dc5f239c5d2c482f3b6e056e5 (patch) | |
tree | ffa908eb511a6c966f29ba7c8c7e14e659af9394 /spec/classes/couchdb_spec.rb | |
parent | 83a4d75bf8a480a98ac6fcdc220db59b9133112e (diff) |
use versioncmp instead of operatingsystemmajrelease
operatingsystemmajrelease does not work on wheezy
Diffstat (limited to 'spec/classes/couchdb_spec.rb')
-rw-r--r-- | spec/classes/couchdb_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/classes/couchdb_spec.rb b/spec/classes/couchdb_spec.rb index 0dd069a..e8e4174 100644 --- a/spec/classes/couchdb_spec.rb +++ b/spec/classes/couchdb_spec.rb @@ -5,7 +5,7 @@ describe 'couchdb' do let(:params) { {:admin_pw => 'foo'} } let(:facts) do { - :operatingsystemmajrelease => '7', + :operatingsystemrelease => '7', :operatingsystem => 'Debian', :lsbdistcodename => 'wheezy', } @@ -20,7 +20,7 @@ describe 'couchdb' do let(:params) { {:admin_pw => 'foo'} } let(:facts) do { - :operatingsystemmajrelease => '8', + :operatingsystemrelease => '8', :operatingsystem => 'Debian', :lsbdistcodename => 'jessie', } |