Ask Your Question

pupplet-labs/firewall errors

asked 2013-08-28 16:10:26 -0600

mandm_zoom gravatar image

updated 2013-08-28 19:20:59 -0600

GregLarkin gravatar image

I am using the puppetlabs firewall module and i get the following error on the agent

once i downloaded the puppet module i created another module called myfw for pre and post.pp files myfw/manifests/pre.pp my_fw/manifests/post.pp

and in my site.pp i included these lines

resources { "firewall":
  purge => true
Firewall {
  before  => Class['my_fw::post'],
  require => Class['my_fw::pre'],
class { ['my_fw::pre', 'my_fw::post']: }
class { 'firewall': }

i see this error on the daemon.log of the agent machine

Aug 28 17:11:07 dev2-db puppet-agent[5154]: (/Stage[main]//Node[dev2-db]/Resources[firewall]) Failed ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-08-28 17:01:33 -0600

doc75 gravatar image


It seems that there is a pretty similar issue reported here:

There is also this one when some comments mention a workaround:

Hope this helps.

edit flag offensive delete link more


Thanks doc, but i couldn't understand the workaround, can you explain it a bit? for me i am using ubuntu 10.04 and master is on 12.04 and ...(more)

mandm_zoom gravatar imagemandm_zoom ( 2013-08-28 21:51:26 -0600 )edit

Hi mandm_zoom. You juste have to replace this line (the 138th) : unless line =~ /^\#\s+|^\:\S+|^COMMIT|^FATAL/ By this one : unless line =~ /^\#\s+|^\:\S+|^COMMIT|^FATAL|virbr0|\/24|\/

ouzmoutous gravatar imageouzmoutous ( 2013-08-29 02:38:12 -0600 )edit

Great that did the trick thanks

mandm_zoom gravatar imagemandm_zoom ( 2013-08-29 10:19:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-08-28 16:10:26 -0600

Seen: 203 times

Last updated: Aug 28 '13