Skip to content

[RUN-4615] Document attribute substitution and presence operator for Attribute Match node enhancer - #1833

Merged
fdevans merged 1 commit into
6.1.0from
attribute-enhancer
Jul 15, 2026
Merged

[RUN-4615] Document attribute substitution and presence operator for Attribute Match node enhancer#1833
fdevans merged 1 commit into
6.1.0from
attribute-enhancer

Conversation

@fdevans

@fdevans fdevans commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Release Notes

Documentation for the Attribute Match node enhancer now covers the full set of match operators (including the new ~~ "is present" operator) and the new Enable Attribute Substitution option, which lets you build new attributes and tags from a node's existing attributes using ${attribute} syntax.

PR Details

Documents the new features from rundeck-plugins/attribute-match-node-enhancer#24.

Changes to docs/manual/node-enhancers.md:

  • Added a Match Operators section with a table of all supported operators (==, !=, =~, !~, ~~, !!), noting which require a value and which only check for presence.
  • Documented the new Enable Attribute Substitution property, including ${attribute} syntax and empty-string resolution for unknown references.
  • Added examples for building tags and attributes from existing node attributes (e.g. image-${ec2.imageId}).

Note: the upstream plugin PR is not yet merged, so timing of this doc merge may want to align with that release.

…atch node enhancer

Add a Match Operators table (including the new ~~ "is present" operator),
document the Enable Attribute Substitution property, and add examples for
building attributes and tags from existing node attributes.
@fdevans
fdevans requested review from a team and Copilot July 10, 2026 19:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Rundeck documentation for the Attribute Match node enhancer to cover newly added match behavior and configuration options, aligning the docs with the upstream plugin feature set.

Changes:

  • Expands Attribute Matches guidance to document the key<operator>value input format and link to operator details.
  • Adds documentation for Enable Attribute Substitution (${attribute}) including behavior for missing attributes.
  • Introduces a Match Operators section (including ~~ presence) plus examples for deriving tags/attributes from existing node attributes.


- **Attribute Matches**
: This is where you specify the attribute that you want to search for. By doing so, you can add new attributes to the nodes that match based off of what you input this section.
: This is where you specify the attribute that you want to search for. By doing so, you can add new attributes to the nodes that match based off of what you input this section. Each match is entered on its own line using the format `key<operator>value`, where `key` is the attribute name. All matches must succeed for a node to be enhanced. See [Match Operators](#match-operators) for the supported operators.
@fdevans fdevans changed the title Document attribute substitution and presence operator for Attribute Match node enhancer [RUN-4615] Document attribute substitution and presence operator for Attribute Match node enhancer Jul 10, 2026
@fdevans
fdevans changed the base branch from 4.0.x to 6.1.0 July 10, 2026 20:14
Base automatically changed from 6.1.0 to 4.0.x July 13, 2026 19:45
@fdevans
fdevans changed the base branch from 4.0.x to 6.1.0 July 13, 2026 19:58
@fdevans
fdevans merged commit f0d4cb3 into 6.1.0 Jul 15, 2026
3 of 4 checks passed
@fdevans
fdevans deleted the attribute-enhancer branch July 15, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants