Revert "changed $::operatingsystemmajrelease to $::lsbmajdistrelease for Debian"
This commit is contained in:
parent
2c52e08925
commit
99998deb38
2 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ class nginx::params {
|
|||
}
|
||||
'Debian': {
|
||||
if ($::operatingsystem == 'ubuntu' and $::lsbdistcodename in ['lucid', 'precise', 'trusty'])
|
||||
or ($::operatingsystem == 'debian' and $::lsbmajdistrelease in ['6', '7']) {
|
||||
or ($::operatingsystem == 'debian' and $::operatingsystemmajrelease in ['6', '7']) {
|
||||
$_module_os_overrides = {
|
||||
'manage_repo' => true,
|
||||
'daemon_user' => 'www-data',
|
||||
|
|
|
@ -52,10 +52,10 @@ describe 'nginx::package' do
|
|||
end
|
||||
end
|
||||
|
||||
shared_examples 'debian' do |operatingsystem, lsbdistcodename, lsbdistid, lsbmajdistrelease|
|
||||
shared_examples 'debian' do |operatingsystem, lsbdistcodename, lsbdistid, operatingsystemmajrelease|
|
||||
let(:facts) {{
|
||||
:operatingsystem => operatingsystem,
|
||||
:lsbmajdistrelease => lsbmajdistrelease,
|
||||
:operatingsystemmajrelease => operatingsystemmajrelease,
|
||||
:osfamily => 'Debian',
|
||||
:lsbdistcodename => lsbdistcodename,
|
||||
:lsbdistid => lsbdistid
|
||||
|
|
Loading…
Reference in a new issue