Skip to content

Commit

Permalink
Specs for FIPS runtime enabling
Browse files Browse the repository at this point in the history
Signed-off-by: tyler-ball <[email protected]>
  • Loading branch information
tyler-ball authored and rmoshier committed Jan 25, 2017
1 parent aea3cfa commit 7f04d10
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,17 @@ def config_for(hostname)
}
}

context "When FIPS is enabled at the kernel" do
let(:config) { <<-EOF
fips true
EOF
}
it "sets fips_enabled to true" do
rendered_config = config_for("api.chef.io")
expect(rendered_config["private_chef"]["fips_enabled"]).to eq(true)
end
end

context "in a standalone topology" do
let(:config) { <<-EOF
topology "standalone"
Expand Down

0 comments on commit 7f04d10

Please sign in to comment.