diff options
author | James Shubin <james@shubin.ca> | 2014-02-04 12:28:18 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-02-04 12:28:18 -0500 |
commit | 37d21dfed2322e4be86cdfb39999a4dd2c894152 (patch) | |
tree | 15cd079b528e13c9dc240f649d55ef017de1e2d9 /manifests | |
parent | d7fec3048cd684ddebc642f3dd78f0fe9a1b0d1d (diff) | |
download | puppet-gluster-37d21dfed2322e4be86cdfb39999a4dd2c894152.tar.gz puppet-gluster-37d21dfed2322e4be86cdfb39999a4dd2c894152.tar.xz puppet-gluster-37d21dfed2322e4be86cdfb39999a4dd2c894152.zip |
Add consistent arg ordering.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/server.pp | 6 | ||||
-rw-r--r-- | manifests/simple.pp | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/manifests/server.pp b/manifests/server.pp index 8274c02..6f4d5c9 100644 --- a/manifests/server.pp +++ b/manifests/server.pp @@ -16,12 +16,12 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. class gluster::server( - $vip = '', # vip of the cluster (optional but recommended) $nfs = false, # TODO - $repo = true, # add a repo automatically? true or false - $version = '', # pick a specific version (defaults to latest) + $vip = '', # vip of the cluster (optional but recommended) $vrrp = false, $password = '', # global vrrp password to use + $version = '', # pick a specific version (defaults to latest) + $repo = true, # add a repo automatically? true or false $baseport = '', # specify base port option as used in glusterd.vol file $rpcauthallowinsecure = false, # needed in some setups in glusterd.vol $shorewall = false, diff --git a/manifests/simple.pp b/manifests/simple.pp index 356ece7..ff7d49c 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -21,10 +21,10 @@ class gluster::simple( $replica = 1, $stripe = 1, # TODO: not fully implemented in puppet-gluster $vip = '', # strongly recommended - $repo = true, - $version = '', $vrrp = false, $password = '', # global vrrp password to use + $version = '', + $repo = true, $baseport = '', # specify base port option as used in glusterd.vol file $rpcauthallowinsecure = false, # needed in some setups in glusterd.vol $shorewall = true @@ -64,10 +64,10 @@ class gluster::simple( class { '::gluster::server': vip => "${vip}", - repo => $repo, - version => "${version}", vrrp => $vrrp, password => "${password}", + version => "${version}", + repo => $repo, baseport => $baseport, rpcauthallowinsecure => $rpcauthallowinsecure, #zone => 'net', # defaults to net |