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':