Issue #9082 has been reported by Justin Ellison.

----------------------------------------
Bug #9082: puppetlabs-firewall: using an array for the state property results 
in rule updating on every run
https://projects.puppetlabs.com/issues/9082

Author: Justin Ellison
Status: Unreviewed
Priority: Normal
Assignee: 
Category: firewall
Target version: 
Keywords: 
Branch: 


Didn't know whether to file this here, or over at github.  Let me know if it 
needs to go over there.

Given:
    firewall { '995 accept all established connections':
      state => ['ESTABLISHED', 'RELATED'],
      jump => 'ACCEPT',
    }

Upon every run, you will get 
    notice: /Firewall[995 accept all established connections]/state: state 
changed 'RELATEDESTABLISHED' to 'ESTABLISHED,RELATED'
    notice: Firewall[995 accept all established 
connections](provider=iptables): Properties changed - updating rule

When you don't use an array, it works as expected:
    firewall { '995 accept all established connections':
      state => 'ESTABLISHED',
      jump => 'ACCEPT',
    }
    firewall { '996 accept all related connections':
      state => 'RELATED',
      jump => 'ACCEPT',
    }
    


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to