Skip to content

Commit

Permalink
Fixes #13200 - Ensure that the capsule installer sets up a standart p…
Browse files Browse the repository at this point in the history
…ulp server
  • Loading branch information
John Mitsch committed Mar 15, 2016
1 parent 5dbbd20 commit f087df5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@
}

class { '::certs::qpid': } ~>
class { '::certs::qpid_client': } ~>
class { '::qpid':
ssl => true,
ssl_cert_db => $::certs::nss_db_dir,
Expand All @@ -183,30 +184,18 @@
broker_url => "qpid://${qpid_router_broker_addr}:${qpid_router_broker_port}",
broker_use_ssl => true,
manage_broker => false,
manage_httpd => false,
manage_httpd => true,
manage_plugins_httpd => true,
manage_squid => true,
repo_auth => true,
node_oauth_effective_user => $pulp_oauth_effective_user,
node_oauth_key => $pulp_oauth_key,
node_oauth_secret => $pulp_oauth_secret,
node_server_ca_cert => $certs::params::pulp_server_ca_cert,
} ~>
class { '::pulp::child':
parent_fqdn => $parent_fqdn,
oauth_effective_user => $pulp_oauth_effective_user,
oauth_key => $pulp_oauth_key,
oauth_secret => $pulp_oauth_secret,
server_ca_cert => $certs::params::pulp_server_ca_cert,
}

pulp::child::fragment{'gpg_key_proxy':
ssl_content => template('capsule/_pulp_child_gpg_proxy.erb'),
}

class { '::certs::pulp_child':
hostname => $capsule_fqdn,
notify => [ Class['pulp'], Class['pulp::child'] ],
pulp::apache::fragment{'gpg_key_proxy':
ssl_content => template('capsule/_pulp_gpg_proxy.erb'),
}
}

Expand Down Expand Up @@ -243,7 +232,6 @@

if $pulp {
Certs::Tar_extract[$certs_tar] -> Class['certs'] -> Class['::certs::qpid']
Certs::Tar_extract[$certs_tar] -> Class['certs::pulp_child']
}

if $puppet {
Expand Down
File renamed without changes.

0 comments on commit f087df5

Please sign in to comment.