Skip to content

Fix Augeas state documentation example - #42203

Merged
cachedout merged 1 commit into
saltstack:developfrom
amontalban:augeas_doc_fix
Jul 17, 2017
Merged

cachedout merged 1 commit into
saltstack:developfrom
amontalban:augeas_doc_fix

Conversation

@amontalban

@amontalban amontalban commented Jul 7, 2017 •

Copy link
Copy Markdown
Contributor

What does this PR do?

It fixes the Augeas state documentation example

What issues does this PR fix or reference?

#34918
#16383
#38115

Description

  • The doc says .lns suffix is needed in - lens but the examples lack of it and Zabbix doesn't work because of this.
  • Order of set attributes are wrong according to Augeas Services lens documentation.
  • Lines like service-name[. = 'zabbix-agent'] needs to be quoted otherwise augeas_cfg.execute will fail because it's expecting 2 arguments and more than 2 are provided. The cause is described in 38115.

@ghost

ghost commented Jul 7, 2017

Copy link
Copy Markdown

@amontalban, thanks for your PR! By analyzing the history of the files in this pull request, we identified @pkruithof, @akissa and @terminalmage to be potential reviewers.

@akissa akissa 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.

All good

@cachedout
cachedout merged commit 7ff39c1 into saltstack:develop Jul 17, 2017
@amontalban
amontalban deleted the augeas_doc_fix branch July 17, 2017 18:31
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.

3 participants