Sha256: 3052878d631ffac892a0a5c4613793da67d7e5fc69af0843a45cdb6b0440814e

Contents?: true

Size: 864 Bytes

Versions: 47

Compression:

Stored size: 864 Bytes

Contents

# CMDB plugin: `config`

The `config` CMDB plugin sets metadata from the Hybrid Platforms Conductor's configuration.

## Metadata set by this plugin

| Metadata | Type | Dependent metadata | Usage
| --- | --- | --- |
| * | Any | None | Any metadata can be set through the `set_metadata` config DSL method |

## Config DSL extension

### `set_metadata`

Set metadata for a set of nodes.
It takes the metadata as a `Hash<Symbol,Object>`.

Example:
```ruby
# 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
```

## Used credentials

| Credential | Usage
| --- | --- |

## Used Metadata

| Metadata | Type | Usage
| --- | --- | --- |

## Used environment variables

| Variable | Usage
| --- | --- |

## External tools dependencies

None

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.5 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.9.4 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.9.2 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.9.1 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.9.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.8.4 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.8.3 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.8.2 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.8.1 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.8.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.7.4 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.7.3 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.7.2 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.7.1 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.7.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.6.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.5.1 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.5.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.4.0 docs/plugins/cmdb/config.md
hybrid_platforms_conductor-33.3.0 docs/plugins/cmdb/config.md