Skip to content

Fixes #29070: Document package state options envvar support#7207

Open
amousset wants to merge 1 commit into
Normation:branches/rudder/9.0from
amousset:enh_29070/document_package_state_options_envvar_support
Open

Fixes #29070: Document package state options envvar support#7207
amousset wants to merge 1 commit into
Normation:branches/rudder/9.0from
amousset:enh_29070/document_package_state_options_envvar_support

Conversation

@amousset

Copy link
Copy Markdown
Member

@amousset amousset requested a review from Fdall June 15, 2026 16:43
#
# This method adds an `options` parameter, which lets you pass options to the underlying
# package manager.
# Each space-separated option must be passed as a separate, space-separated value, and

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.

Suggested change
# Each space-separated option must be passed as a separate, space-separated value, and
# Each option must be passed as a separate, space-separated value, and

# environment variable:
#
# ```
# package_state_options("postgresql", "", "", "", "present", "env:EXTERNAL_URL=https://example.com");

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.

Can you add an exemple where 2 options are passed ?

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