Skip to content

Commit

Permalink
Contain classes in init to preserve relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Mar 29, 2017
1 parent 450b31c commit daad399
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,13 @@
$katello_server_ca_cert = "${pki_dir}/certs/${server_ca_name}.crt"
$katello_default_ca_cert = "${pki_dir}/certs/${default_ca_name}.crt"

class { '::certs::install': } ->
class { '::certs::config': } ->
class { '::certs::ca': }
contain ::certs::install
contain ::certs::config
contain ::certs::ca

Class['::certs::install'] ->
Class['::certs::config'] ->
Class['::certs::ca']

$default_ca = $::certs::ca::default_ca
$server_ca = $::certs::ca::server_ca
Expand Down

0 comments on commit daad399

Please sign in to comment.