From 6557dff350b9b3c5fe9cdb41433327378908d0a3 Mon Sep 17 00:00:00 2001 From: Patrick Brideau Date: Tue, 5 Dec 2023 13:31:53 -0500 Subject: [PATCH] test: fix new version require secret_key parameter --- spec/classes/apache/vhost_spec.rb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/spec/classes/apache/vhost_spec.rb b/spec/classes/apache/vhost_spec.rb index c7d7c258..44ce2936 100644 --- a/spec/classes/apache/vhost_spec.rb +++ b/spec/classes/apache/vhost_spec.rb @@ -52,7 +52,10 @@ context "with python_versions #{python_version}" do let(:pre_condition) do [ - "class { 'puppetboard': python_version => \"#{python_version}\", }" + "class { 'puppetboard': + python_version => \"#{python_version}\", + secret_key => 'this_should_be_a_long_secret_string', + }" ] end @@ -73,8 +76,9 @@ let(:pre_condition) do [ "class { 'puppetboard': - python_version => '3.7', - } + python_version => '3.7', + secret_key => 'this_should_be_a_long_secret_string', + } " ] end