Sha256: 52fb73abc171aefe2337c03b2da327b3007afd5a1bc923bb4e22216c17e761e2
Contents?: true
Size: 696 Bytes
Versions: 2
Compression:
Stored size: 696 Bytes
Contents
# This tests is intended to verify that passing the `--list-block-groups` flag # will cause the names of blockable resolvers to be printed to stdout. It should not list # any resolver name that is not blockable. test_name "the `--list-block-groups` command line flag prints available block groups to stdout" do tag 'risk:medium' agents.each do |agent| step "the EC2 blockgroup should be listed" do on(agent, facter("--list-block-groups")) do |facter_output| assert_match(/EC2/, facter_output.stdout, "Expected the EC2 group to be listed") assert_match(/ec2_metadata/, facter_output.stdout, "Expected the EC2 group's facts to be listed") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.29 | acceptance/tests/options/list_block_groups_facter_4.rb |
facter-4.0.28 | acceptance/tests/options/list_block_groups_facter_4.rb |