diff options
author | James Shubin <james@shubin.ca> | 2013-12-17 21:35:41 -0500 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2013-12-17 21:35:41 -0500 |
commit | 562da97b30ef55d8dca06dc9a920085e03d9fd56 (patch) | |
tree | 315865b5dafd7f25fa92e414b80517f037e5a2da /manifests/simple.pp | |
parent | 7b96488e80a78711539ac814e09892f6fd4afb0f (diff) | |
download | puppet-gluster-562da97b30ef55d8dca06dc9a920085e03d9fd56.tar.gz puppet-gluster-562da97b30ef55d8dca06dc9a920085e03d9fd56.tar.xz puppet-gluster-562da97b30ef55d8dca06dc9a920085e03d9fd56.zip |
Automatically add yum repository.
Support for other operating systems will have to come later, even if
this needs to be refactored. For now, CentOS/RHEL are automatic.
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 edd80ac..91847b4 100644 --- a/manifests/simple.pp +++ b/manifests/simple.pp @@ -21,6 +21,7 @@ class gluster::simple( $replica = 1, $stripe = 1, # TODO: not fully implemented in puppet-gluster $vip = '', # strongly recommended + $repo = true, $shorewall = true ) { include gluster::vardir @@ -58,6 +59,7 @@ class gluster::simple( class { '::gluster::server': vip => "${vip}", + repo => $repo, #zone => 'net', # defaults to net shorewall => $shorewall, } |