diff --git a/spec/acceptance/nginx_server_spec.rb b/spec/acceptance/nginx_server_spec.rb index 6bbc85c87..da91a5821 100644 --- a/spec/acceptance/nginx_server_spec.rb +++ b/spec/acceptance/nginx_server_spec.rb @@ -6,7 +6,7 @@ context 'new server on port 80' do it 'configures a nginx server' do pp = " - class { 'nginx': } + class { 'nginx': nginx_version => '1.25.2'} nginx::resource::server { 'www.puppetlabs.com': ensure => present, www_root => '/var/www/www.puppetlabs.com', @@ -57,7 +57,7 @@ class { 'nginx': } it 'configures a nginx SSL server' do pp = " - class { 'nginx': } + class { 'nginx': nginx_version => '1.25.2'} nginx::resource::server { 'www.puppetlabs.com': ensure => present, ssl => true, @@ -121,7 +121,7 @@ class { 'nginx': } context 'should run successfully with encrypted ssl key' do it 'configures a nginx SSL server' do pp = " - class { 'nginx': } + class { 'nginx': nginx_version => '1.25.2'} nginx::resource::server { 'www.puppetlabs.com': ensure => present, ssl => true, @@ -171,7 +171,7 @@ class { 'nginx': } context 'should run successfully with ssl_redirect' do it 'configures a nginx SSL server' do pp = " - class { 'nginx': } + class { 'nginx': nginx_version => '1.25.2'} nginx::resource::server { 'www.puppetlabs.com': ensure => present, ssl => true,