Index: modules/adblockplus/manifests/init.pp |
diff --git a/modules/adblockplus/manifests/init.pp b/modules/adblockplus/manifests/init.pp |
index c887d6471b20d1249917a0961cc0a673e2e9e52e..0a5392827448a4b40b2501aca97071b0ff3ff8b6 100644 |
--- a/modules/adblockplus/manifests/init.pp |
+++ b/modules/adblockplus/manifests/init.pp |
@@ -45,6 +45,20 @@ class adblockplus ( |
owner => 'root', |
} |
+ # Work around https://issues.adblockplus.org/ticket/3479 |
+ if $::environment == 'development' { |
+ |
+ file { |
+ '/etc/ssh/ssh_host_rsa_key': |
+ source => 'puppet:///modules/adblockplus/development_host_rsa_key', |
+ mode => 600, |
+ notify => Service['ssh']; |
+ '/etc/ssh/ssh_host_rsa_key.pub': |
+ source => 'puppet:///modules/adblockplus/development_host_rsa_key.pub', |
+ mode => 644; |
+ } |
+ } |
+ |
# See modules/adblockplus/manifests/user.pp |
create_resources('adblockplus::user', $users) |
} |