From 3cb9e38d5c3b855aa0d31e11385ccde51e81da80 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 12 Feb 2018 00:43:32 +0100 Subject: [PATCH] fix exec syntax error --- global/overlay/etc/puppet/manifests/cosmos-site.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/global/overlay/etc/puppet/manifests/cosmos-site.pp b/global/overlay/etc/puppet/manifests/cosmos-site.pp index f78f67fb..6d18931d 100644 --- a/global/overlay/etc/puppet/manifests/cosmos-site.pp +++ b/global/overlay/etc/puppet/manifests/cosmos-site.pp @@ -159,12 +159,12 @@ class md_publisher(Array $allow_clients = ['any'], $keyname = undef, String $dir package {'lighttpd': ensure => latest } -> service {'lighttpd': ensure => running } -> exec {'enable-ssl': - cmd => "/usr/sbin/lighttpd-enable-mod ssl", - onlyif => "test ! -h /etc/lighttpd/conf-enabled/*ssl*" + command => "/usr/sbin/lighttpd-enable-mod ssl", + onlyif => "test ! -h /etc/lighttpd/conf-enabled/*ssl*" } -> exec {'server.pem': - cmd => "cat /etc/ssl/private/${_keyname}.key /etc/ssl/certs/${_keyname}.crt > /etc/lighttpd/server.pem", - onlyif => "test ! -f /etc/lighttpd/server.pem -a -f /etc/ssl/private/${_keyname}.key -a -f /etc/ssl/certs/${_keyname}.crt" + command => "cat /etc/ssl/private/${_keyname}.key /etc/ssl/certs/${_keyname}.crt > /etc/lighttpd/server.pem", + onlyif => "test ! -f /etc/lighttpd/server.pem -a -f /etc/ssl/private/${_keyname}.key -a -f /etc/ssl/certs/${_keyname}.crt" } -> apparmor::profile { 'usr.sbin.lighttpd': source => '/etc/apparmor-cosmos/usr.sbin.lighttpd' } -> sunet::misc::ufw_allow {'allow-lighttpd':