dns: if at first you don't succeed...

... wrap with array() to proceed!
This commit is contained in:
Franco Fichtner 2017-03-21 09:16:41 +01:00
parent 399b9090a4
commit a561aa5ef8
2 changed files with 4 additions and 4 deletions

View File

@ -39,8 +39,8 @@ function dnsmasq_enabled()
function dnsmasq_configure()
{
return array(
'dns' => 'dnsmasq_configure_do',
'hosts' => 'dnsmasq_hosts_generate:0',
'dns' => array('dnsmasq_configure_do'),
'hosts' => array('dnsmasq_hosts_generate:0'),
);
}

View File

@ -39,8 +39,8 @@ function unbound_enabled()
function unbound_configure()
{
return array(
'dns' => 'unbound_configure_do',
'hosts' => 'unbound_hosts_generate:0',
'dns' => array('unbound_configure_do'),
'hosts' => array('unbound_hosts_generate:0'),
);
}