spec/lib/packaging/config_spec.rb in packaging-0.99.42 vs spec/lib/packaging/config_spec.rb in packaging-0.99.43
- old
+ new
@@ -230,11 +230,13 @@
windows_artifacts = \
"./artifacts/windows/puppet-agent-x64.msi\n" \
"./artifacts/windows/puppet-agent-5.3.2-x86.wixpdb\n" \
"./artifacts/windows/puppet-agent-5.3.2-x86.msi\n" \
- "./artifacts/windows/puppet-agent-5.3.2-x64.msi"
+ "./artifacts/windows/puppet-agent-5.3.2-x64.msi\n"\
+ "./artifacts/windowsfips/puppet-agent-x64.msi\n" \
+ "./artifacts/windowsfips/puppet-agent-5.3.2-x64.msi"
solaris_artifacts = \
"./artifacts/solaris/11/PC1/puppet-agent@5.3.2,5.11-1.sparc.p5p\n" \
"./artifacts/solaris/10/PC1/puppet-agent-5.3.2-1.i386.pkg.gz"
@@ -295,9 +297,10 @@
it "should collect versioned msis" do
allow(Pkg::Util::Net).to receive(:remote_ssh_cmd).and_return(windows_artifacts, nil)
data = Pkg::Config.platform_data
expect(data['windows-2012-x86']).to include(:artifact => './windows/puppet-agent-5.3.2-x86.msi')
expect(data['windows-2012-x64']).to include(:artifact => './windows/puppet-agent-5.3.2-x64.msi')
+ expect(data['windowsfips-2012-x64']).to include(:artifact => './windowsfips/puppet-agent-5.3.2-x64.msi')
end
it "should not collect debug packages" do
allow(Pkg::Util::Net).to receive(:remote_ssh_cmd).and_return(stretch_artifacts, nil)
data = Pkg::Config.platform_data