The config
CMDB plugin sets metadata from the Hybrid Platforms Conductor's configuration.
| Metadata | Type | Dependent metadata | Usage
| --- | --- | --- |
| * | Any | None | Any metadata can be set through the set_metadata
config DSL method |
Set metadata for a set of nodes.
It takes the metadata as a Hash<Symbol,Object>
.
Example:
# Make sure all test nodes have the environment set correctly and run under CentOS 7.
for_nodes('/tst.*/') do
set_metadata(
environment: 'test',
image: 'centos_7'
)
end
Credential | Usage |
---|
Metadata | Type | Usage |
---|
Variable | Usage |
---|
None