diff --git a/manifests/init.pp b/manifests/init.pp index 0c1dbdc..3d01123 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -75,7 +75,7 @@ if ($manage_default_ca_cert) and ($facts['os']['family'] == 'RedHat') { exec { 'download_install_katello_cert_rpm': path => ['/usr/bin', '/bin',], - command => "curl -k -o /tmp/katello-ca-consumer-latest.noarch.rpm ${satellite_url}/pub/katello-ca-consumer-latest.noarch.rpm && yum -y install /tmp/katello-ca-consumer-latest.noarch.rpm", # rubocop:disable Layout/LineLength + command => ['curl', '-k', '-o', '/tmp/katello-ca-consumer-latest.noarch.rpm', "${satellite_url}/pub/katello-ca-consumer-latest.noarch.rpm", '&&', 'yum', '-y', 'install', '/tmp/katello-ca-consumer-latest.noarch.rpm'], # rubocop:disable Layout/LineLength creates => '/etc/rhsm/ca/katello-server-ca.pem', }