Commit d6ef0944 authored by mh's avatar mh

must be a string

parent b7ecaf97
......@@ -15,7 +15,7 @@ define schleuder::list(
ensure => $ensure,
}
if $ensure == present {
if $admin_publickey =~ /^\// {
if "${admin_publickey}" =~ /^\// {
$real_admin_publickey = $admin_publickey
} else {
$real_admin_publickey = "/var/lib/schleuder/adminkeys/${name}_${admin}.pub"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment