From 5f6c2591f964349caae888771c387b4442a3a966 Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 21 Jun 2019 14:48:04 +0200 Subject: [PATCH] Propagate release parameter --- manifests/client.pp | 2 ++ manifests/init.pp | 1 + manifests/install.pp | 2 ++ manifests/repo.pp | 3 ++- 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/manifests/client.pp b/manifests/client.pp index 5c801b86..0213fe83 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -31,6 +31,7 @@ $repo = $::gluster::params::repo, $client_package = $::gluster::params::client_package, $version = $::gluster::params::version, + $release = $::gluster::params::release, ) inherits ::gluster::params { class { 'gluster::install': @@ -38,6 +39,7 @@ client => true, repo => $repo, version => $version, + release => $release, client_package => $client_package, } } diff --git a/manifests/init.pp b/manifests/init.pp index 17c4ee26..5e9c6408 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -61,6 +61,7 @@ client_package => $client_package, version => $version, repo => $repo, + release => $release, } if $server { diff --git a/manifests/install.pp b/manifests/install.pp index 78a7e9df..7f2b66e3 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -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 { @@ -42,6 +43,7 @@ if ! defined ( Class['::gluster::repo'] ) { class { 'gluster::repo': version => $version, + release => $release, } } } diff --git a/manifests/repo.pp b/manifests/repo.pp index 7af80212..b1e19c3f 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -36,7 +36,8 @@ } 'Debian': { class { 'gluster::repo::apt': - version => $version, + version => $version, + release => $release, } } default: { fail("${::osfamily} not yet supported!") }