Skip to content

Commit

Permalink
Propagate release parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Jun 21, 2019
1 parent 61a380e commit 5f6c259
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manifests/client.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@
$repo = $::gluster::params::repo,
$client_package = $::gluster::params::client_package,
$version = $::gluster::params::version,
$release = $::gluster::params::release,
) inherits ::gluster::params {

class { 'gluster::install':
server => false,
client => true,
repo => $repo,
version => $version,
release => $release,
client_package => $client_package,
}
}
1 change: 1 addition & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
client_package => $client_package,
version => $version,
repo => $repo,
release => $release,
}

if $server {
Expand Down
2 changes: 2 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
Boolean $client = $gluster::params::install_client,
Boolean $repo = $gluster::params::repo,
String $version = $gluster::params::version,
String $release = $gluster::params::release,
String $server_package = $gluster::params::server_package,
String $client_package = $gluster::params::client_package,
) inherits ::gluster::params {
Expand All @@ -42,6 +43,7 @@
if ! defined ( Class['::gluster::repo'] ) {
class { 'gluster::repo':
version => $version,
release => $release,
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
}
'Debian': {
class { 'gluster::repo::apt':
version => $version,
version => $version,
release => $release,
}
}
default: { fail("${::osfamily} not yet supported!") }
Expand Down

0 comments on commit 5f6c259

Please sign in to comment.