aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/ssh/config.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-09-12 14:35:07 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-09-12 14:35:07 -0300
commited828e73209ac44cdd50a6f00d605b047ab64be4 (patch)
tree09f7140a14529d8e68a1ba846cc03694417479ef /manifests/subsystem/ssh/config.pp
parent3ab9ca9a2ea8ce995286e43887e6e23cba2be816 (diff)
downloadpuppet-nodo-ed828e73209ac44cdd50a6f00d605b047ab64be4.tar.gz
puppet-nodo-ed828e73209ac44cdd50a6f00d605b047ab64be4.tar.bz2
Switch to file_line
Diffstat (limited to 'manifests/subsystem/ssh/config.pp')
-rw-r--r--manifests/subsystem/ssh/config.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystem/ssh/config.pp b/manifests/subsystem/ssh/config.pp
index 6c9fbc3..d790562 100644
--- a/manifests/subsystem/ssh/config.pp
+++ b/manifests/subsystem/ssh/config.pp
@@ -23,8 +23,8 @@ define nodo::subsystem::ssh::config(
# for automated deployment environments so your ikiwiki user doesn't
# get stuck with the fingerprint confirmation prompt when pushing
# content via ssh in the first time it runs.
- line { 'NoHostAuthenticationForLocalhost-${owner}':
- file => "${home}/.ssh/config",
+ file_line { 'NoHostAuthenticationForLocalhost-${owner}':
+ path => "${home}/.ssh/config",
line => "NoHostAuthenticationForLocalhost yes",
ensure => $ssh_localhost_auth ? {
'auto' => present,