summaryrefslogtreecommitdiffstats
path: root/manifests
Commit message (Collapse)AuthorAgeFilesLines
* Clean up / make more consistent CentOS 7 fixes.James Shubin2014-11-242-4/+5
| | | | | | | | | | | This does some small fixes to rbarlow's original commit (merged). Originally, I wasn't sure it was the correct patch, and I implemented something different to try it out a different way, but in the end, I realized that rbarlow's method was better! rbarlow, you're on your way to becoming a puppet superstar! This patch just makes some small changes so that the code is consistent, and nitpitcks a bit.
* Add support for CentOS 7.0.Randy Barlow2014-11-222-3/+6
|
* Small whitespace nitpick.James Shubin2014-11-221-1/+1
|
* Added nfs.mount-rmtab feature property to volumeCyril Peponnet2014-11-211-0/+3
| | | | | | | Feature: Persistent caching of connected NFS-clients Source: http://review.gluster.org/#/c/4430/ Note: this property will apply for all your gluster node.
* Add btrfs support.James Shubin2014-09-263-0/+44
| | | | | | | | | | | | | | This patch adds btrfs support to puppet-gluster. This is not (yet) officially supported by GlusterFS but should work. It is being added here to make it easier to test with GlusterFS and report bugs. Special thanks to Eric Sandeen for adding --uuid support to mkfs.btrfs: https://bugzilla.redhat.com/show_bug.cgi?id=1094857 Tracker bug for this feature is: https://bugzilla.redhat.com/show_bug.cgi?id=1094860
* Fix erroneous extra space.James Shubin2014-08-271-1/+1
| | | | Many thanks to CyrilP for filing in a lot of this data file.
* Added truefalse / falsetrue $etype and fix all missing data types.Cyril Peponnet2014-08-272-49/+86
|
* Make puppet::facter optional.James Shubin2014-08-041-11/+24
| | | | | | This can be set with hiera: gluster::params::include_puppet_facter can be set to false or 'false' to make puppet::facter optional. The downside is that setting gluster::params::program_gluster won't apply to facts.
* Ensure that UUID directory is actually managed.James Shubin2014-07-101-12/+13
| | | | | This isn't necessary, but is more correct. I realized how I could do this, and have now implemented it.
* Pull the repo base directly from the centralized params.pp file.James Shubin2014-05-082-1/+4
|
* Fix erroneous underscore.James Shubin2014-05-081-1/+1
|
* Workaround regression in newer puppet releases.James Shubin2014-05-081-3/+3
| | | | | In newer puppet versions the parser changed... I think it's requiring code in parse order now.
* Comma fixGilles Dubreuil2014-05-071-1/+1
|
* Make argparse optional on platforms where it is built into python.James Shubin2014-05-071-7/+8
|
* Use the correct path for findmnt on Fedora.James Shubin2014-05-072-1/+2
| | | | | | This patch is dedicated to Gilles who didn't like the findmnt patch initially, but now loves it because it is cross distro friendly :) Thanks for all your time testing Puppet-Gluster... More eyes helps!
* Add Debian/Ubuntu specific service naming changes.James Shubin2014-05-074-17/+20
| | | | | This patch also generalizes the service name, so that other operating systems will also benefit from this patch by dropping in a yaml file.
* Add Debian/Ubuntu specific packaging changes.James Shubin2014-05-074-17/+36
|
* Pull more operating system specific data from yaml files.James Shubin2014-05-075-34/+75
| | | | This patch includes program paths.
* Pull operating system specific data from yaml files.James Shubin2014-05-0713-20/+82
| | | | This patch includes package names.
* Add an extra mkfs blocker.James Shubin2014-04-231-0/+1
|
* Include glusterfs-api package for client and server.James Shubin2014-04-103-0/+53
| | | | | | In the future this package should only be pulled in when a known dependency tells puppet-gluster that it needs it. For now it's fine. In any case, this is Mostly Harmless (tm).
* Support LVM thin provisioning.James Shubin2014-04-101-7/+50
| | | | | | | This adds the ability to do LVM thin provisioning. If you haven't fully read 'man 7 lvmthin' then please do as this will answer most of your questions. LVM thin provisioning is used for doing one form of GlusterFS snapshots.
* Make Exec['again'] optional. As a result puppet-common is optional.James Shubin2014-04-103-14/+34
| | | | Although if you remove all the features, it's not as awesome anymore :)
* Allow raid_su and raid_sw to be blank, even if it is not recommended.James Shubin2014-04-101-2/+8
| | | | | | There could be some cases when you want to omit these choices. Bug reported by Gilles Dubreuil.
* Remove leading colons.James Shubin2014-04-101-1/+1
| | | | | This is actually valid in Puppet 3.x, but removing the colons doesn't break the 3.x tree.
* Refactor the previous patch for the sake of future maintainability.James Shubin2014-03-241-37/+27
| | | | | | I wasn't able to test this patch, for lack of hardware at the moment. A patch for: https://github.com/pradels/vagrant-libvirt/issues/162 would also help solve my testing issue. Please report any issues!
* Add per brick defaults to gluster::simple for easier [physical] clusters.James Shubin2014-03-241-20/+36
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Improved UUID validation logic for manual UUID selection.rhsJames Shubin2014-03-161-1/+1
| | | | Fixed the logic that was backwards when you chose a UUID manually.
* Type name should be 'array', not 'list'.James Shubin2014-03-161-1/+1
| | | | Small bug due to lesser used code path, now squashed!
* Add typing for storage-{uid,gid} volume properties.James Shubin2014-03-161-2/+2
|
* Add automatic generation of fs UUID's per brick filesystem.James Shubin2014-03-162-20/+80
| | | | | | | | | | This automatically generates UUID's for each physical filesystem, or alternatively, you can specify one manually with the $fsuuid argument. This will make a _big_ difference when using gluster::simple to automatically deploy a large cluster of physical machines, since you don't have to manually generate one uuid per device (which is time consuming and could be a lot to do and a lot to maintain).
* Setting volume properties should be race-free.James Shubin2014-03-163-14/+30
| | | | | | | This isn't essential, as ensuring this is race-free is really up to glusterfs, but with this patch you reduce the likelihood to ~0% that you'll see a: "volume set: failed: Another transaction is in progress." error. The error isn't harmful, but now we'll see less unnecessary red.
* Improve brick count input and parsing.James Shubin2014-03-161-6/+6
|
* Silence unnecessary warnings if we know they're unnecessary.James Shubin2014-03-161-2/+5
|
* Add per volume support for brick chaining.James Shubin2014-03-162-1/+13
| | | | | | | | | | * 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-164-11/+18
|
* Add advanced set group support for anyone without stock support.James Shubin2014-03-162-12/+63
| | | | | | | 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-165-3/+97
| | | | | | | | 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.
* Add in a custom sponge utility to break the dependence on the EPEL repo.James Shubin2014-03-162-3/+15
|
* 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-162-4/+64
| | | | | 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.
* Add consistent arg ordering.James Shubin2014-02-042-7/+7
|
* Small bugfixes.James Shubin2014-01-241-2/+2
| | | | | | | 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-242-0/+8
|