diff options
author | James Shubin <james@shubin.ca> | 2014-01-21 11:03:11 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-01-21 11:03:11 -0500 |
commit | a9e809ff7ae6b30fc5051b3a43166a3caa5c137f (patch) | |
tree | 85a12b46a5bd12873409e9d0c9e1963157df01fa /vagrant/gluster/puppet/manifests/site.pp | |
parent | 51fea724f4b606326489636a0ffb7e9673600f9b (diff) | |
download | puppet-gluster-a9e809ff7ae6b30fc5051b3a43166a3caa5c137f.tar.gz puppet-gluster-a9e809ff7ae6b30fc5051b3a43166a3caa5c137f.tar.xz puppet-gluster-a9e809ff7ae6b30fc5051b3a43166a3caa5c137f.zip |
Add support for setting the replica through vagrant.
This adds the --gluster-replica=N flag to the 'vagrant up' command.
Diffstat (limited to 'vagrant/gluster/puppet/manifests/site.pp')
-rw-r--r-- | vagrant/gluster/puppet/manifests/site.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vagrant/gluster/puppet/manifests/site.pp b/vagrant/gluster/puppet/manifests/site.pp index a26200f..7e6d53d 100644 --- a/vagrant/gluster/puppet/manifests/site.pp +++ b/vagrant/gluster/puppet/manifests/site.pp @@ -52,6 +52,7 @@ node /^annex\d+$/ inherits default { # annex{1,2,..N} # this is a simple way to setup gluster class { '::gluster::simple': volume => 'puppet', + replica => "${::vagrant_gluster_replica}", vip => "${::vagrant_gluster_vip}", # from vagrant version => "${::vagrant_gluster_version}", vrrp => true, |