You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a great need to modify the .bash_profile for individual users. I am working on a pull request but would like feedback on how to implement such a feature.
I was thinking about adding a key in the bashrc::users variable called 'bashprofile' and then have the puppet template iterate over all of the key/pair values. Of course, there wouldn't be any kind of sanity checking doing it this way.
Hi !
As you notice, this project is not currently under a heavy dvelopment.
Feel free to propose your PR and I will merge it as long as it is runnable :)
I think your proposal is quite interesting !
Kr
I have a great need to modify the .bash_profile for individual users. I am working on a pull request but would like feedback on how to implement such a feature.
I was thinking about adding a key in the bashrc::users variable called 'bashprofile' and then have the puppet template iterate over all of the key/pair values. Of course, there wouldn't be any kind of sanity checking doing it this way.
templates/skel/profile.erb additions:
This PR gives an example of what I'm thinking.
This module comes up as the first or second hit when searching for 'puppet module bash_profile'.
Thoughts?
The text was updated successfully, but these errors were encountered: