forked from redhat-openstack/openstack-puppet-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix puppet resource acceptance tests
The dport/sport test needs iptables-persistent pre-installed in order for the iptables_persistent_version fact to work. This commit also changes the test to create the rule with a comment and with the default protocol so that the puppet resource command is checking the existence of a resource and not creating a new one or altering an existing one. After those changes, checking stderr still fails because of puppet's deprecation warnings. This commit fixes puppet.conf to avoid the warnings so that we can actually check stderr. With that accomplished I added checks for stderr to the other puppet resource tests since they should now be reliable.
- Loading branch information
Colleen Murphy
committed
Dec 30, 2014
1 parent
8b5a8ab
commit d0f4c84
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters