Fix /etc/repro/radius-servers
authorJulien Cristau <jcristau@debian.org>
Mon, 26 Feb 2018 20:43:29 +0000 (21:43 +0100)
committerJulien Cristau <jcristau@debian.org>
Mon, 26 Feb 2018 20:43:29 +0000 (21:43 +0100)
modules/roles/manifests/rtc.pp

index b505764..9e1c754 100644 (file)
@@ -124,9 +124,7 @@ class roles::rtc {
                target  => '../mods-available/passwd_rtc',
        }
        file { '/etc/repro/radius-servers':
-               content => @(EOF),
-                       localhost/localhost ${radius_password}
-                       | EOF
+               content => inline_template('localhost/localhost <%= @radius_password} %>'),
                mode    => '0440',
                group   => repro,
                notify  => Service['repro'],