Skip to content

Commit

Permalink
877387 - Candlepin CA certificate mode in RPM
Browse files Browse the repository at this point in the history
File mode is set to 0644 when RPM is generated.
  • Loading branch information
ares committed Jan 22, 2013
1 parent 854d043 commit 65f1e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion katello-configure/modules/certs/manifests/config.pp
Expand Up @@ -112,7 +112,7 @@

exec { "generate-candlepin-consumer-certificate":
cwd => "${katello_www_pub_dir}",
command => "gen-rpm.sh --name '${candlepin_consumer_name}' --version 1.0 --release 1 --packager None --vendor None --group 'Applications/System' --summary '${candlepin_consumer_summary}' --description '${candlepin_consumer_description}' --requires subscription-manager --post ${ssl_build_path}/rhsm-katello-reconfigure /etc/rhsm/ca/candlepin-local.pem:666=${ssl_build_path}/$candlepin_cert_name.crt 2>>${katello::params::configure_log_base}/certificates.log && /sbin/restorecon ./*rpm",
command => "gen-rpm.sh --name '${candlepin_consumer_name}' --version 1.0 --release 1 --packager None --vendor None --group 'Applications/System' --summary '${candlepin_consumer_summary}' --description '${candlepin_consumer_description}' --requires subscription-manager --post ${ssl_build_path}/rhsm-katello-reconfigure /etc/rhsm/ca/candlepin-local.pem:644=${ssl_build_path}/$candlepin_cert_name.crt 2>>${katello::params::configure_log_base}/certificates.log && /sbin/restorecon ./*rpm",
path => "/usr/share/katello/certs:/usr/bin:/bin",
creates => "${katello_www_pub_dir}/${candlepin_consumer_name}-1.0-1.noarch.rpm",
require => [Exec["generate-candlepin-certificate"], File["${ssl_build_path}/rhsm-katello-reconfigure"], File["${katello::params::configure_log_base}"]]
Expand Down

0 comments on commit 65f1e42

Please sign in to comment.