Github user ahgittin commented on the pull request:

    https://github.com/apache/incubator-brooklyn/pull/62#issuecomment-54076989
  
    sounds like you're right, `iptables-save` is not very helpful here; instead 
we need a
    
    `alternatives(sudo("service iptables save"), 
installPackage("iptables-persistent"))`
    
    the commands above should be sufficient to have the iptables changes 
persisted. i don't think we have a use case for a manual 
`restoreIptablesRules`; but probably worth a comment in the text pointing at 
this issue in case we need more functionality in future, or discover that our 
thinking right now is wrong.
    
    AFAIK we don't have any major use cases so would be good to do this small 
change now, test it, and close this issue.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to