Permalink
Browse files

877387 - Candlepin CA certificate mode in RPM

File mode is set to 0644 when RPM is generated.
  • Loading branch information...
1 parent 854d043 commit 65f1e42b7bda0f3410931c50598540d944d8bf0d @ares ares committed Jan 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 katello-configure/modules/certs/manifests/config.pp
@@ -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}"]]

0 comments on commit 65f1e42

Please sign in to comment.