diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-11-18 02:43:19 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-11-18 02:43:19 -0500 |
commit | f5580a320d84d861c9869ad28fecb21a40d35265 (patch) | |
tree | bb739d763c5391fcdbab533fcb90f9b1de60f209 /modules/sshd | |
parent | 415a3014a5d357c3f207e41a1bdb1ba44f140885 (diff) | |
download | puppet-tozt-f5580a320d84d861c9869ad28fecb21a40d35265.tar.gz puppet-tozt-f5580a320d84d861c9869ad28fecb21a40d35265.zip |
fix sshd_config generation
Diffstat (limited to 'modules/sshd')
-rw-r--r-- | modules/sshd/manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sshd/manifests/init.pp b/modules/sshd/manifests/init.pp index 542758d..3b894ac 100644 --- a/modules/sshd/manifests/init.pp +++ b/modules/sshd/manifests/init.pp @@ -20,7 +20,7 @@ class sshd { exec { 'assemble sshd_config': provider => 'shell', - command => 'cat $(ls /etc/ssh/sshd_config.d/) > /etc/ssh/sshd_config', + command => 'cd /etc/ssh/sshd_config.d && cat $(ls) > /etc/ssh/sshd_config', refreshonly => true; } |