summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix small chaining bugs.James Shubin2014-03-161-3/+3
|
* Fix small bugs with chaining.James Shubin2014-03-162-4/+4
|
* Remove algorithmic brick layout ordering that happens in the fact.James Shubin2014-03-162-46/+8
| | | | | Since different brick layouts are now implemented, it makes sense to remove any remaining traces of the algorithmic work from the fact...
* Add per volume support for brick chaining.James Shubin2014-03-164-1/+255
| | | | | | | | | | * Don't use this feature unless you _really_ know what you're doing. * Managing chained volumes is much harder than managing normal ones. * If some of the volumes in the cluster use this, and others don't, then you'll probably have an even crazier time with management. * Please verify my algorithm and feel free to suggest changes. * Some edge cases haven't been tested. * This patch breaks out brick layout ordering into individual functions.
* Fix small bugs and warnings.James Shubin2014-03-161-2/+2
|
* Fix small bugs for setgroups.James Shubin2014-03-165-13/+20
|
* Add advanced set group support for anyone without stock support.James Shubin2014-03-165-29/+124
| | | | | | | This adds custom set group support for users that might not have the feature (I think it might only exist in RHS) and also to users who want to add their own custom groups! Please ping me if the stock groups gain or lose parameters, or if their set values change!
* Small fixes to avoid warnings.James Shubin2014-03-161-5/+5
|
* Add support for volume set groups.James Shubin2014-03-168-4/+175
| | | | | | | | 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.
* Directory variables should be nil if invalid.James Shubin2014-03-164-2/+6
|
* Add in a custom sponge utility to break the dependence on the EPEL repo.James Shubin2014-03-163-3/+59
|
* Make use of ping (actually, fping) optional in gluster::simple.James Shubin2014-03-161-0/+2
| | | | | | This is useful for environments that don't include fping. Usage of fping (or similar) is still recommended to make you less likely to get an error on volume creation if one host isn't up.
* Allow specifying brick device and other parameters in gluster::simple.James Shubin2014-03-163-4/+104
| | | | | 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.
* Lower case use of k, not upper case, as per performance documentation.James Shubin2014-03-161-1/+1
|
* Small LVM fixes.James Shubin2014-03-161-5/+12
| | | | | | | Secret pop quiz Q: What characters are [in]valid in LVM VG names? Hint: The + char is valid, but the # char is not.
* Add LVM support, and use recommended xfs settings, as per RHS.James Shubin2014-03-161-24/+197
| | | | | | | | * Add LVM support. * Add optional partitioning. * Set xfs inode size, for xattr performance. * Set xfs logical block size for directory performance. * Set xfs stripe unit size and stripe width for RAID alignment.
* Update the puppet submodule.James Shubin2014-03-111-0/+0
|
* Add in a commented out prefix option.James Shubin2014-03-111-0/+1
| | | | This option is available in newer vagrant-libvirt.
* Double the default power of the puppet vm.James Shubin2014-03-031-0/+5
| | | | (I think it's a resource hog...)
* Add consistent arg ordering.James Shubin2014-02-042-7/+7
|
* Update .gitignore file.James Shubin2014-01-271-0/+3
|
* Catch empty arrays.James Shubin2014-01-271-0/+0
|
* Small bugfixes.James Shubin2014-01-243-3/+15
| | | | | | | It seems the seluser is now server_t. If someone thinks it should be different, please let me know! I think the --xml output of gluster volume status --xml <v> changed.
* Add support for more volume options.James Shubin2014-01-242-44/+94
|
* Add support for setting: 'rpc-auth-allow-insecure' in glusterd.vol.James Shubin2014-01-243-0/+11
|
* Add support for specifying the base-port option in glusterd.volJames Shubin2014-01-233-1/+12
| | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=987555 for info.
* Add client entries to their /etc/hosts so that puppet sees the FQDN.James Shubin2014-01-211-7/+5
|
* Update builder Makefile to enable SELinux and run the relabelling.James Shubin2014-01-211-14/+13
| | | | Thanks: rwmjones in #libguestfs for help and discussion.
* Add more notes from rwmjones.James Shubin2014-01-211-0/+1
|
* Add support for setting the replica through vagrant.James Shubin2014-01-212-1/+18
| | | | This adds the --gluster-replica=N flag to the 'vagrant up' command.
* Add client mounting and associated magic.James Shubin2014-01-2114-142/+483
| | | | | | | | | | | * 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
* Disable cachier by default until author is more responsive.James Shubin2014-01-211-12/+27
| | | | | | | Cachier needs at least one patch to work properly with vagrant-libvirt. This patch is: https://github.com/fgrehm/vagrant-cachier/pull/68 The author has said he likes the patch, but has seemingly gone awol. Until this is merged or gets a new maintainer, we'll disable cachier.
* Add short README for builder process.James Shubin2014-01-201-0/+13
|
* Add support for automatic qa-release detection.James Shubin2014-01-161-1/+15
| | | | | Did this at the last minute for the "glusterfest". John Mark Walker now owes me two t-shirts, and a polo. Now it's in the permanent record ;)
* Be more correct with how we run make and fail.James Shubin2014-01-161-1/+1
|
* Use the latest shorewall to avoid some warnings.James Shubin2014-01-151-0/+0
|
* Make it easier to enable/disable the firewall.James Shubin2014-01-152-7/+41
| | | | This patch adds a --gluster-firewall=true|false option for vagrant.
* Update documentation to mention vagrant.James Shubin2014-01-132-4/+15
|
* Builder scripts for building vagrant base image "boxes".James Shubin2014-01-1110-0/+337
| | | | | | | | | Elegant system using a Makefile to build base image "boxes". It's recommended that you use the pre-built boxes, but the infrastructure is being provided here for completeness. You'll probably want to set the $(OUTPUT) variable first. Then use the 'box' target (make box) to produce output into the $(OUTPUT) directory.
* This is Puppet-Gluster+Vagrant! (https://ttboj.wordpress.com/)James Shubin2014-01-0822-7/+692
| | | | Puppet-Gluster, now with Vagrant! - Initial release. Happy hacking!
* Keepalived should properly integrate with shorewall zone.James Shubin2014-01-041-0/+2
|
* Try and pick the _right_ default IP address.James Shubin2014-01-022-6/+52
| | | | | | If you choose your IP addresses manually, this won't affect you. If you're automatically deploying Puppet-Gluster with Vagrant, this will probably be the missing piece that makes your build more automatic.
* The volume create script shouldn't depend on VIP existence.James Shubin2013-12-311-19/+16
| | | | | | | * If VIP comes and goes, the create script gets added/deleted too. * If VIP isn't present on first run (it usually isn't) then the Exec['again'] won't get run because it's inside the VIP check. * This also consolidates the two identical conditional blocks.
* Update template variables to use the '@' prefix.James Shubin2013-12-316-33/+33
| | | | I've updated wrapper.pp too, but I haven't tested it recently.
* Add VRRP integration.James Shubin2013-12-315-1/+303
| | | | | | | | | | | | | | | | This adds VRRP integration to puppet-gluster. All you need to do is set vrrp => true, and set a vip, and the rest should happen automatically. The shared keepalived password is built by a distributed password selection algorithm that I made up. Feel free to review this if you'd like. It's probably as secure as your puppet server and clients are. If you'd prefer to specify each token manually, you can do so in the gluster::host password argument, or you can set one global vrrp password in the gluster::server or gluster::simple classes. There's a chance that you'll see a bit of VRRP flip-flop when you add/remove hosts because the distributed password should change. The benefit is that by default you don't need to set or manage any of those passwords! This doesn't add firewalling so that the VIP can be used by clients.
* Properly iterate over all the peers.James Shubin2013-12-281-2/+5
| | | | | Not sure how this bug ever happened. Did the format of the xml ever change? In any case, now it's squashed.
* Updated shell scripts to use sponge.James Shubin2013-12-242-2/+7
| | | | Avoids any chance of a race due to modifying the file in place.
* Added preliminary Exec['again'] support to puppet-gluster.James Shubin2013-12-242-1/+51
| | | | | | | * This will make magic things happen faster. * This doesn't give you an option to disable it. * This doesn't let you set the timeout. * This isn't necessarily complete. There might be more notify's needed.
* README maintenanceJames Shubin2013-12-231-2/+4
|
* Removed three (mostly) harmless slashes.James Shubin2013-12-221-3/+3
|