Class: Ansible::Ruby::Modules::Gluster_peer
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gluster_peer
- Defined in:
- lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_peer.rb
Overview
Create or diminish a GlusterFS trusted storage pool. A set of nodes can be added into an existing trusted storage pool or a new storage pool can be formed. Or, nodes can be removed from an existing trusted storage pool.
Instance Method Summary collapse
-
#force ⇒ Symbol?
Applicable only while removing the nodes from the pool.
-
#nodes ⇒ Array<String>, String
List of nodes that have to be probed into the pool.
-
#state ⇒ :present, :absent
Determines whether the nodes should be attached to the pool or removed from the pool.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#force ⇒ Symbol?
Returns Applicable only while removing the nodes from the pool. gluster will refuse to detach a node from the pool if any one of the node is down, in such cases force can be used.
20 |
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_peer.rb', line 20 attribute :force |
#nodes ⇒ Array<String>, String
Returns List of nodes that have to be probed into the pool.
16 |
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_peer.rb', line 16 attribute :nodes |
#state ⇒ :present, :absent
Returns Determines whether the nodes should be attached to the pool or removed from the pool. If the state is present, nodes will be attached to the pool. If state is absent, nodes will be detached from the pool.
12 |
# File 'lib/ansible/ruby/modules/generated/storage/glusterfs/gluster_peer.rb', line 12 attribute :state |