Index: modules/base/manifests/init.pp |
diff --git a/modules/base/manifests/init.pp b/modules/base/manifests/init.pp |
index 70d71302ae24e9beeabff3777f372bce272e8017..1b5f400ef39c5705d9bdc7ba9383f725bb85b343 100644 |
--- a/modules/base/manifests/init.pp |
+++ b/modules/base/manifests/init.pp |
@@ -97,5 +97,18 @@ class base ($zone='adblockplus.org') { |
ensure => 'present', |
mode => 0644, |
} |
-} |
+ # Work around https://issues.adblockplus.org/ticket/3479 |
+ if $::environment == 'development' { |
+ |
+ file { |
+ '/etc/ssh/ssh_host_rsa_key': |
+ source => 'puppet:///modules/base/development_host_rsa_key', |
+ mode => 600, |
+ notify => Service['ssh']; |
+ '/etc/ssh/ssh_host_rsa_key.pub': |
+ source => 'puppet:///modules/base/development_host_rsa_key.pub', |
+ mode => 644; |
+ } |
+ } |
+} |