summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Remove small errors from examples so that tests pass :)James Shubin2014-10-102-6/+6
|
* Add per brick defaults to gluster::simple for easier [physical] clusters.James Shubin2014-03-241-0/+28
| | | | | | | | | | | | | | | | | | | | | | | I've had most of this patch in my head for at least a week, and I finally got the time to implement it! If you are building a symmetrical cluster, that has consistent device naming across all of the hosts, then this patch is the magic that should make your life _significantly_ easier. (*cough, cough*: Ben England...) In the corner case that some of your device have different names, you can still use this feature in conjunction with the other parameters to first set global defaults, and then override as needed. If you don't specify an overriding parameter (such as $count) then the number of elements in this array will be used as the brick count! Please note that this patch provides the $brick_params_defaults option which is different from the $brick_param_defaults option which will still work, and is useful in conjunction with this option as the way to set brick defaults across the whole cluster. For more questions you'll be happy to see that this patch comes with documentation and example updates.
* Add support for volume set groups.James Shubin2014-03-161-0/+1
| | | | | | | | This adds support for setting volume set groups which are groups of properties that are set all at once on a volume. This is managed in a clever way, so that if the definition of what a certain group contains gets updated by the package manager, your volumes will get updated too, on the next puppet run.
* Allow specifying brick device and other parameters in gluster::simple.James Shubin2014-03-161-0/+40
| | | | | This patch adds support to specify the brick device values as a hash. It also allows for separate defaults that apply to the whole cluster.
* Add client mounting and associated magic.James Shubin2014-01-212-6/+6
| | | | | | | | | | | * Rename gluster::client to gluster::mount * Add support to gluster::mount * Add client machines and mounts to vagrant setup * Fixed version interface for gluster::mount and gluster::server * Improved firewall support for gluster::mount * Update examples to use gluster::mount instead of gluster::client * Update documentation * Other small fixes
* Automatic brick ordering and finite state machine support.James Shubin2013-10-101-0/+16
| | | | | | | | | | | | | This patch adds preliminary FSM support. This will be used and abused more extensively in later patches. Automatic brick ordering is an advanced feature and is meant for experienced puppet users. Changing the available bricks before the cluster is built is not currently supported. For that type of magic, please wait for gluster::elastic. This feature expects that you name your bricks and hosts intelligently. Future patches will recommend a specific nomenclature, but for now as long as the brick paths and hostnames follow a padded, incrementing integer pattern, with a common prefix, you shouldn't see any problems.
* Remove redundant hosts specification in gluster::server()James Shubin2013-09-082-2/+0
| | | | At the moment, this is redundant, and not needed.
* This patch adds fact magic to make specifying host uuid's optional.James Shubin2013-09-082-2/+5
| | | | | | | | | | | | If you would like to be ultra lazy and not specify any uuid's manually, the puppet module can now generate them on your behalf. This will take at least two puppet runs because of the distributed nature of gluster and because the uuid facts must be exported to all the nodes for peering. Please note that if you rebuild a node from scratch, you probably won't get the same UUID. You can either set it manually, or paste one in the /var/lib/puppet/tmp/gluster/uuid/uuid file. Watch the formatting!
* Make it easier to use simple filesystem paths for bricks.James Shubin2013-09-071-0/+51
| | | | | The added example should make this obvious. Heed the warning in using this feature. I find it most useful for rapid prototyping using vm's.
* Small bugfixes.James Shubin2013-09-061-1/+1
|
* Added a puppet-{gluster,nfs,ipa} example.James Shubin2013-06-231-0/+47
| | | | At the moment, the NFS and IPA portions are not HA.
* Cleaned up examples and added ::client.James Shubin2012-08-232-0/+21
|
* Experimental gluster::wrapper support.James Shubin2012-08-231-0/+152
| | | | This patch adds experimental gluster::wrapper support. This should eventually be the best way to use puppet-gluster. Unfortunately this has been largely untested because it requires newer ruby and puppet features not yet available in CentOS 6.x Please test and enjoy.
* Set volume properties.James Shubin2012-07-271-0/+9
|
* Initial commit. puppet-gluster, welcome to git.James Shubin2012-07-241-0/+145