Skip to content

[WIP]define opts conf_file even if path is not readable - #45330

Closed
gtmanfred wants to merge 2 commits into
saltstack:2016.11from
gtmanfred:2016.11
Closed

gtmanfred wants to merge 2 commits into
saltstack:2016.11from
gtmanfred:2016.11

Conversation

@gtmanfred

Copy link
Copy Markdown
Contributor

This way the path will still be used for stuff like grains even if the minion
file is not there.

What issues does this PR fix or reference?

Fixes #45315

Tests written?

No

Commits signed with GPG?

Yes

This way the path will still be used for stuff like grains even if the minion
file is not there.
Comment thread salt/config/__init__.py

opts = {}

opts['conf_file'] = path

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.

What will the effect be if the path is not readable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If the path is not readable, it should default to using the configurations from salt.config.init

Don't merge this yet, i need to look at the tests.

@gtmanfred gtmanfred changed the title define opts conf_file even if path is not readable [WIP]define opts conf_file even if path is not readable Jan 9, 2018
@rallytime

Copy link
Copy Markdown
Contributor

@gtmanfred Just bumping this here - is this still a WIP?

@gtmanfred

Copy link
Copy Markdown
Contributor Author

Yeah, but I am going to close it since I don't have time right now, I have assigned the original issue to myself, for when I get time to get back to it.

@gtmanfred gtmanfred closed this Feb 28, 2018
@rallytime

Copy link
Copy Markdown
Contributor

Ok sounds good. Thanks @gtmanfred! 😄

@gtmanfred gtmanfred reopened this Apr 19, 2018
@gtmanfred

Copy link
Copy Markdown
Contributor Author

re-run py

@gtmanfred gtmanfred closed this Apr 24, 2018
@gtmanfred
gtmanfred deleted the 2016.11 branch July 18, 2018 17:42
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