From b93edfae6ffba54a80a8bba7f595d9ab64c7f005 Mon Sep 17 00:00:00 2001 From: Mihmet Akpinar Date: Wed, 18 Oct 2023 13:16:09 +0200 Subject: [PATCH] adding nginx version to acceptance tests --- spec/acceptance/nginx_server_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,