Skip to content

Commit

Permalink
Ref #8548 - optionally configure gutterball
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Tsang committed Dec 11, 2014
1 parent d968091 commit bee6321
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#
# $cdn_ssl_version:: SSL version used to communicate with the CDN. Optional. Use SSLv23 or TLSv1
#
# $gutterball:: Configures gutterball
# type:boolean
class katello (

$user = $katello::params::user,
Expand All @@ -55,6 +57,8 @@
$proxy_password = $katello::params::proxy_password,
$cdn_ssl_version = $katello::params::cdn_ssl_version,

$gutterball = $katello::params::gutterball

) inherits katello::params {

Class['certs'] ~>
Expand Down Expand Up @@ -112,5 +116,14 @@

Service['httpd'] -> Exec['foreman-rake-db:seed']

if $katello::gutterball {
notify{ 'gutterball enabled:' }
Class[ 'certs' ] ->
class { 'certs::gutterball': } ->
class { 'gutterball':
keystore_password_file => $certs::gutterball::password_file,
}
}

User<|title == apache|>{groups +> $user_groups}
}
2 changes: 2 additions & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@
$pulp_url = subsystem_url('pulp/api/v2/')
$foreman_url = subsystem_url('foreman')

$gutterball = true

# database reinitialization flag
$reset_data = 'NONE'

Expand Down

0 comments on commit bee6321

Please sign in to comment.