diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-03-10 21:11:19 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-03-11 16:54:19 +0200 |
commit | 31bd7bd491738d8653a9e181594969a3665aca22 (patch) | |
tree | b8710c5554c89bd698520fa3f2b80ef1faf454f1 /aconf/modules/openssh.lua | |
parent | 2d58b8f49ec03fe3d4ad843085ffe09880e3f888 (diff) | |
download | aconf-31bd7bd491738d8653a9e181594969a3665aca22.tar.bz2 aconf-31bd7bd491738d8653a9e181594969a3665aca22.tar.xz |
persistence: move augeas back-end directives out of addresses
Diffstat (limited to 'aconf/modules/openssh.lua')
-rw-r--r-- | aconf/modules/openssh.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/aconf/modules/openssh.lua b/aconf/modules/openssh.lua index 3b37759..4592c71 100644 --- a/aconf/modules/openssh.lua +++ b/aconf/modules/openssh.lua @@ -1,6 +1,6 @@ --[[ Copyright (c) 2013 Natanael Copa <ncopa@alpinelinux.org> -Copyright (c) 2013-2014 Kaarle Ritvanen +Copyright (c) 2013-2015 Kaarle Ritvanen See LICENSE file for license details --]] @@ -17,7 +17,7 @@ SshKey.type = M.String{ {'ssh-rsa', 'ssh-rsa'} } } -SshKey.key = M.String{addr='&'} +SshKey.key = M.String{be_mode=M.addr.special.value} SshKey.comment = M.String local Sshd = M.service('sshd') @@ -35,7 +35,8 @@ Sshd.agent_forward = M.Boolean{ } Sshd.root_auth_keys = M.List{ type=SshKey, - addr='/augeas/root/.ssh/authorized_keys/key/#', + addr='/augeas/root/.ssh/authorized_keys/key', + be_mode=M.addr.special.enum_keys, ui_name='Root login keys', ui_member='Key' } |