summaryrefslogtreecommitdiffstats
path: root/manifests/host.pp
Commit message (Collapse)AuthorAgeFilesLines
* Add Gluster 3.6.1 compatibility for CentOS 6.6 and SELinux support.Jack D Peterson2015-01-191-2/+2
| | | | | | | | | This resolves repeated modification to --- /var/lib/glusterd/glusterd.info @@ -1,2 +1 @@ UUID=abc.def.xyz -operating-version=1
* fixed typo on L#103 $operating_version = ↵Alexey Amerik2014-12-231-1/+1
| | | | "${::gluster::versions::operating_version}"
* Replace the hard-coded gluster operating version table with hiera data.James Shubin2014-12-161-19/+4
|
* Add operating-version field values for 3.5 and 3.6.James Shubin2014-12-161-1/+7
|
* 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.
* Add Debian/Ubuntu specific service naming changes.James Shubin2014-05-071-7/+7
| | | | | This patch also generalizes the service name, so that other operating systems will also benefit from this patch by dropping in a yaml file.
* Pull operating system specific data from yaml files.James Shubin2014-05-071-1/+2
| | | | This patch includes package names.
* 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.
* 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.
* Keepalived should properly integrate with shorewall zone.James Shubin2014-01-041-0/+2
|
* Try and pick the _right_ default IP address.James Shubin2014-01-021-6/+17
| | | | | | 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.
* Add VRRP integration.James Shubin2013-12-311-1/+90
| | | | | | | | | | | | | | | | 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.
* Woops, tiny bugfix.James Shubin2013-10-301-1/+1
|
* Set the generated UUID to have the value of the user generated one.James Shubin2013-10-261-0/+15
| | | | | | | If a user decides to manually set a host UUID, then save that UUID so that subsequent removal of manual UUID settings won't cause the UUID to change. This is useful if you want to start using automatic UUID's when you weren't previously.
* Ensure user selected UUID's are valid.James Shubin2013-10-261-0/+4
|
* Module needs a better description.James Shubin2013-10-101-1/+1
| | | | | | | While the module can still be used in a simple way: * It is pretty complicated at this point. It does some advanced stuff. * I wanted to avoid confusion with gluster::simple which is coming soon.
* Add gluster version fact and operating-version templating.James Shubin2013-09-231-3/+27
| | | | | | Puppet-gluster now correctly picks the operating-version value from a table of known version -> value correspondences. Future value additions should be added to this table.
* Better notification of glusterd reloads.James Shubin2013-09-181-4/+20
| | | | It seems the propagate up isn't 100% reliable.
* Set operating-version in glusterd.infoJames Shubin2013-09-181-0/+2
| | | | | | This should really be switched based on the operating gluster version. A table of values and gluster versions is needed. The gluster version could be created as a fact.
* Misc comments.James Shubin2013-09-181-0/+1
|
* Finally, Fancy Firewalling...James Shubin2013-09-181-1/+9
| | | | | | | | | | | This adds experimental support for automatic firewalling. Initially, we don't know the other hosts (until they are exported and collected) so we start with an blank firewall to all hosts. After hosts start checking in, we start only allowing specify host ips. For the volume building, we can't predict (AFAICT) which ports will be used until after the volume is started, so we initially allow all ports inbound, until the fact gets the data from the started volume and uses those specific ports. This naturally takes multiple puppet runs to complete.
* Some initial firewalling cleanups.James Shubin2013-09-161-0/+73
| | | | | | | Appropriate firewalling support is a hard thing in gluster if you take in to account all the bootstrapping problems of what needs to be open before subsequent things can work. Hopefully this patch is a good first step in finally doing the right things.
* Remove redundant hosts specification in gluster::server()James Shubin2013-09-081-1/+4
| | | | At the moment, this is redundant, and not needed.
* This patch adds fact magic to make specifying host uuid's optional.James Shubin2013-09-081-53/+99
| | | | | | | | | | | | 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!
* Set proper selinux context and perms. Keep Dan Walsh from crying.James Shubin2013-09-071-2/+6
| | | | | | This avoids the constant flip flops you'll see during puppet runs. I think glusterd might be setting them correctly, but puppet kept changing them back to the default. All fixed now :)
* I was bored, so I updated all the numbers!James Shubin2013-06-041-1/+1
|
* Small comment changes.James Shubin2012-08-231-0/+4
|
* Sadly, I could not read my own code, so I had to revert back to tabs. Sorry ↵James Shubin2012-07-271-57/+58
| | | | bodepd!
* Whitespace cleanup.James Shubin2012-07-271-3/+3
|
* Change tabs to spaces as per bodepd's insistence :)James Shubin2012-07-261-60/+60
|
* Initial commit. puppet-gluster, welcome to git.James Shubin2012-07-241-0/+81