Skip to content

Instantly share code, notes, and snippets.

@joejulian
Last active December 21, 2015 08:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joejulian/6276090 to your computer and use it in GitHub Desktop.
Save joejulian/6276090 to your computer and use it in GitHub Desktop.
Sample server
include glusterfs
@@glusterfs_peer { $fqdn: tag => 'assassinscreedonline_content', ensure => absent }
Glusterfs_peer <<| (tag == 'peergroup1') and (title != $fqdn) |>>
glusterfs::brick { '/data/gluster/aco/content/brick': host => $fqdn, tag => 'aco_c' }
glusterfs::volume { 'aco_content':
bricktag => 'aco_c',
settings => { 'nfs.disable' => 'on' }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment