diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-01-17 14:47:54 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2014-01-17 15:34:53 +0200 |
commit | c0be1f26ec77439770ded5482142f1e3237eb4e6 (patch) | |
tree | 50d021ee38e980e4e9fbcb05177ca99b665029ed /acf2/modules/sshd.lua | |
parent | 1ea210d97969bc8da465c0f35b2abd3678af08e3 (diff) | |
download | aconf-0.2.1.tar.bz2 aconf-0.2.1.tar.xz |
model: make '_' and '-' interchangeable in model field namesv0.2.1
Diffstat (limited to 'acf2/modules/sshd.lua')
-rw-r--r-- | acf2/modules/sshd.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/acf2/modules/sshd.lua b/acf2/modules/sshd.lua index c79afd4..458d2d7 100644 --- a/acf2/modules/sshd.lua +++ b/acf2/modules/sshd.lua @@ -1,22 +1,22 @@ --[[ Copyright (c) 2013 Natanael Copa <ncopa@alpinelinux.org> -Copyright (c) 2013 Kaarle Ritvanen +Copyright (c) 2013-2014 Kaarle Ritvanen See LICENSE file for license details --]] local M = require('acf2.model') local Sshd = M.service('sshd') -Sshd['root-login'] = M.Boolean{ +Sshd.root_login = M.Boolean{ addr='PermitRootLogin', ui_name='Permit root login', default=true } -Sshd['password-auth'] = M.Boolean{ +Sshd.password_auth = M.Boolean{ addr='PasswordAuthentication', ui_name='Password authentication', default=true } -Sshd['use-dns'] = M.Boolean{addr='UseDNS', ui_name='Use DNS', default=true} -Sshd['agent-forward'] = M.Boolean{ +Sshd.use_dns = M.Boolean{addr='UseDNS', ui_name='Use DNS', default=true} +Sshd.agent_forward = M.Boolean{ addr='AllowAgentForwarding', ui_name='Allow agent forwarding', default=true } |