summaryrefslogtreecommitdiffstats
path: root/examples/gluster-simple-example.pp
blob: 02e59f3abb65059c71e4c7696dbaa4a0937f1801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#	simple gluster setup. yeah, that's it.
#	this should run on *every* gluster host
#	NOTE: this should use a VIP.
#

node /^annex\d+$/ {	# annex{1,2,..N}

	# NOTE: this class offers some configuration, see the source for info.
	# NOTE: this is mostly intended for fast gluster testing. for more
	# complex setups, you might want to look at the other examples.
	class { '::gluster::simple':
		setgroup => 'virt',	# or: 'small-file-perf', or others too!
	}

}