attachmentgenie-ufw icon indicating copy to clipboard operation
attachmentgenie-ufw copied to clipboard

Rule not removed by absent

Open tdroenner opened this issue 8 years ago • 1 comments

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 avatar Oct 12 '16 14:10 tdroenner

Possible workaround: sudo ufw reset sudo puppet agent -t

tdroenner avatar Apr 20 '17 08:04 tdroenner