shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
# don't check stdout, some boxes come with rules, that is normal
- r.stderr.should be_empty
+ # don't check stderr, puppet throws deprecation warnings
end
end
end
it do
shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
- r.stderr.should be_empty
r.stdout.should == "\n"
end
end
shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
# don't check stdout, testing preexisting rules, output is normal
- r.stderr.should be_empty
+ # don't check stderr, puppet throws deprecation warnings
end
end
end
shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
# don't check stdout, testing preexisting rules, output is normal
- r.stderr.should be_empty
+ # don't check stderr, puppet throws deprecation warnings
end
end
end
shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
# don't check stdout, testing preexisting rules, output is normal
- r.stderr.should be_empty
+ # don't check stderr, puppet throws deprecation warnings
end
end
end
shell('puppet resource firewall') do |r|
r.exit_code.should be_zero
# don't check stdout, testing preexisting rules, output is normal
- r.stderr.should be_empty
+ # don't check stderr, puppet throws deprecation warnings
end
end
end