diff options
author | James Shubin <james@shubin.ca> | 2013-12-22 18:38:04 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2013-12-22 18:38:04 -0500 |
commit | ca290d42f9d97e4db3a85429a0374319fc4a4b91 (patch) | |
tree | 93f61598e40ee965b99ee0e1cbe1d3153bf971e4 /manifests/simple.pp | |
parent | 8ebe677878f9195e0cfe7d9512e8f466b3aab9e0 (diff) | |
download | puppet-gluster-ca290d42f9d97e4db3a85429a0374319fc4a4b91.tar.gz puppet-gluster-ca290d42f9d97e4db3a85429a0374319fc4a4b91.tar.xz puppet-gluster-ca290d42f9d97e4db3a85429a0374319fc4a4b91.zip |
Improved auto repo management and version selection.
Introduced a split between repo management and version choosing.
You can now:
* Choose a package version or leave it at the default (latest).
If you choose a package version it must include the release string.
eg: in foobar-3.2.1-42.el6 the release is 42.el6
This doesn't check to see if your version is valid!
* Choose whether you want a gluster repo added automatically.
If you did specify a version, it will pick the correct repo.
This doesn't check that the repo for your os/version exists!
Diffstat (limited to 'manifests/simple.pp')
-rw-r--r-- | manifests/simple.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/simple.pp b/manifests/simple.pp index dec6dc7..63bc914 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -22,6 +22,7 @@ class gluster::simple( $stripe = 1, # TODO: not fully implemented in puppet-gluster $vip = '', # strongly recommended $repo = true, + $version = '', $shorewall = true ) { include gluster::vardir @@ -60,6 +61,7 @@ class gluster::simple( class { '::gluster::server': vip => "${vip}", repo => $repo, + version => "${version}", #zone => 'net', # defaults to net shorewall => $shorewall, } |