[katello-devel] Fwd: Commit: Set pulp repo secured
Ohad Levy
ohadlevy at redhat.com
Sun Oct 2 07:04:11 UTC 2011
----- Original Message -----
| Hi,
| I've changed katello puppet manifest in order to set up the pulp
| secured. It expects katello, candlepin and pulp to be installed on
| one machine (could we so far count on this fact?).
| Ohad:
| Any comments/recommendations on the change?
| two minor:
| 1. You should use a variable in the params class instead of a hard
| coded path for the certs.
| 2. We might consider managing the repo_auth.conf, rather then
| replacing a oneliner.
| Thanks,
| Ohad
| -- Ivan
| -------- Original Message --------
| Subject: [katello-commits] [katello] Set pulp repo secured
| Date: Tue, 27 Sep 2011 16:07:07 +0000 (UTC)
| From: Ivan Nečas <inecas at fedoraproject.org>
| Reply-To: katello-commits at lists.fedorahosted.org
| To: katello-commits at lists.fedorahosted.org
| commit e37e99cb20d297438ba2c0e2d304282c4e7019b9
| Author: Ivan Necas <inecas at redhat.com> Date: Tue Sep 27 18:06:24
| 2011 +0200
| Set pulp repo secured
| puppet/modules/katello/manifests/config.pp | 11 +++++++++++
| 1 files changed, 11 insertions(+), 0 deletions(-)
| ---
| diff --git a/puppet/modules/katello/manifests/config.pp
| b/puppet/modules/katello/manifests/config.pp
| index a16cb31..606a5b8 100644
| --- a/puppet/modules/katello/manifests/config.pp
| +++ b/puppet/modules/katello/manifests/config.pp
| @@ -25,6 +25,17 @@ class katello::config {
| recurse => true;
| }
|
| + file{"/etc/pki/content/pulp-global-repo.ca":
| + ensure => link,
| + target => "/etc/candlepin/certs/candlepin-ca.crt",
| + require => [Class["candlepin::config"], Class["pulp::config"] ]
| + }
| +
| + exec {"set pulp secured repo":
| + command => "/bin/sed -i 's/enabled: false/enabled: true/'
| /etc/pulp/repo_auth.conf",
| + require => [Class["candlepin::config"], Class["pulp::config"] ]
| + }
| +
| exec {"katello_db_migrate":
| cwd => $katello::params::katello_dir,
| user => $katello::params::user,
| _______________________________________________
| katello-commits mailing list katello-commits at lists.fedorahosted.org
| https://fedorahosted.org/mailman/listinfo/katello-commits
| _______________________________________________
| katello-devel mailing list
| katello-devel at redhat.com
| https://www.redhat.com/mailman/listinfo/katello-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/katello-devel/attachments/20111002/711acfa0/attachment.htm>
More information about the katello-devel
mailing list