Skip to content

Commit

Permalink
Merge pull request #541 from fsdef/patch-1
Browse files Browse the repository at this point in the history
(MODULES-2118) Fix severe installation hang on jessie.
  • Loading branch information
jonnytdevops committed Jun 18, 2015
2 parents e6bdc85 + 5b3a16f commit f0fb719
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion manifests/linux/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@
) inherits ::firewall::params {

if $package_name {
#Fixes hang while installing iptables-persistent on debian 8
exec {'iptables-persistent-debconf':
command => "/bin/echo \"${package_name} ${package_name}/autosave_v4 boolean false\" | /usr/bin/debconf-set-selections && /bin/echo \"${package_name} ${package_name}/autosave_v6 boolean false\" | /usr/bin/debconf-set-selections",
refreshonly => true
}
package { $package_name:
ensure => present,
ensure => present,
require => Exec['iptables-persistent-debconf']
}
}

Expand Down

0 comments on commit f0fb719

Please sign in to comment.