Hi,
I want to put values ordered in (here) sshd_config. I tried with
ins...after but get only errors:
'sshd_config PrintMotd':
context: '/files/etc/ssh/sshd_config'
changes:
- 'set PrintMotd yes'
'sshd_config PasswordAuthentication':
context: '/files/etc/ssh/sshd_config'
changes:
- 'ins PasswordAuthentication after
/files/etc/ssh/sshd_config/PrintMotd'
- 'set PasswordAuthentication no'
Error: /Stage[main]/My_sshd/Augeas[/files/etc/ssh/sshd_config:
sshd_config PasswordAuthentication]: Could not evaluate: Save failed,
see debug output for details
I want to add an entry "PasswordAuthentication no" after "PrintMotd
yes". What is the correct syntax?
Thank you!
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/re7226%24bhj%241%40ciao.gmane.io.