attachmentgenie / attachmentgenie-ufw

MIT License
21 stars 27 forks source link

Rule not removed by absent #53

Open tdroenner opened 8 years ago

tdroenner commented 8 years ago

I added the following rule via hiera: ufw::allow: allow-docker-from-jenkins: port : '4243' proto : 'tcp' from : '172.24.0.201'

using absent will not remove the rule ufw::allow: allow-docker-from-jenkins: port : '4243' proto : 'tcp' from : '172.24.0.201' ensure : absent

Even the class notation is not working: ufw::allow { "allow-docker-from-jenkins": ensure => absent, port => '4243', proto => 'tcp', from => '172.24.0.201' }

What can I do?

Running on Ubuntu 14.04.5. sudo ufw --version ufw 0.34~rc-0ubuntu2 Copyright 2008-2012 Canonical Ltd.

sudo puppet --version 3.8.7

Commit used: f32a3069828234e7f3c9d13a2e00959309fe8a08 from master branch no forge repo

tdroenner commented 7 years ago

Possible workaround: sudo ufw reset sudo puppet agent -t