Hi,
Some of our groups have spaces in their name (for example "Domain Users"). While this works fine in sshd_config (you just have to put quotes around the name), it breaks augeasproviders_ssh. For example:
Error: /Stage[main]/Asc_sshd/Sshd_config[group with space]: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.
I've also tried setting: value => [ '"Domain Users"' ] - but I still get the error.
I've just checked with augtool and it looks like it's an Augeas issue, so I'll open a ticket there (I'll leave this ticket open until I get confirmation that it's a problem with the sshd lens).
Hi, Some of our groups have spaces in their name (for example "Domain Users"). While this works fine in sshd_config (you just have to put quotes around the name), it breaks augeasproviders_ssh. For example:
sshd_config { "group with space": ensure => present, key => 'AllowGroups', value => [ "Domain Users" ], target => '/etc/ssh/sshd_config', }
Throws an error:
Error: /Stage[main]/Asc_sshd/Sshd_config[group with space]: Could not evaluate: Failed to save Augeas tree to file. See debug logs for details.
I've also tried setting: value => [ '"Domain Users"' ] - but I still get the error.
I've just checked with augtool and it looks like it's an Augeas issue, so I'll open a ticket there (I'll leave this ticket open until I get confirmation that it's a problem with the sshd lens).