Method: Furnish::Provisioner::API#furnish_group_name
- Defined in:
- lib/furnish/provisioners/api.rb
#furnish_group_name ⇒ Object
The furnish_group_name is set by Furnish::ProvisionerGroup when scheduling is requested via Furnish::Scheduler. It is a hint to the provisioner as to what the name of the group it’s in is, which can be used to persist data, name things in a unique way, etc.
Note that furnish_group_name will be nil until the Furnish::ProvisionerGroup is constructed. This means that it will not be set when #initialize runs, or any time before it joins the group. It is wise to only rely on this value being set when #startup or #shutdown execute.
264 265 266 |
# File 'lib/furnish/provisioners/api.rb', line 264 def furnish_group_name @furnish_group_name end |