Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/base/manifests/init.pp

Issue 5831969988411392: Issue 2585 - Ensure /etc/ssh/ssh_known_hosts being readable (Closed)
Patch Set: Created May 26, 2015, 1:57 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/base/manifests/init.pp
===================================================================
--- a/modules/base/manifests/init.pp
+++ b/modules/base/manifests/init.pp
@@ -85,9 +85,16 @@
key => $ssh_public_key,
type => ssh-rsa,
host_aliases => $ip,
+ tag => 'base::explicit_host_record',
}
}
+ }
+ # Work around https://projects.puppetlabs.com/issues/4145
+ Sshkey<| |> ->
+ file {'/etc/ssh/ssh_known_hosts':
+ ensure => 'present',
+ mode => 0644,
}
}
« no previous file with comments | « no previous file | modules/statsmaster/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld