Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to add bin_dir to path #246

Merged
merged 3 commits into from
Oct 11, 2018

Conversation

gilou
Copy link
Contributor

@gilou gilou commented Oct 10, 2018

When installed from repo, add a add_path option to include bin_dir in $PATH through a file in /etc/profile.d
Disabled by default, as it wasn't added before.

Copy link
Member

@javierbertoli javierbertoli left a comment

Choose a reason for hiding this comment

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

@gilou would you add an entry in pillar.example to document/show this variable usage?

Also, and this is just a suggestion, perhaps it's better to rename the var from add_path to add_profile? It's what it does and, perhaps in the future, other options might be added there, which will render the name add_path incorrect?

@gilou
Copy link
Contributor Author

gilou commented Oct 11, 2018

I agree for the name, maybe it can be extended, and I wasn't thrilled by my choice. Is the explanation I added clear enough?

@javierbertoli javierbertoli merged commit ccfe9c2 into saltstack-formulas:master Oct 11, 2018
@javierbertoli
Copy link
Member

Merged. Thanks, @gilou! 👍

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.

None yet

2 participants