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

Add alias to ensure value #17

Open
raphink opened this issue Jul 30, 2015 · 3 comments
Open

Add alias to ensure value #17

raphink opened this issue Jul 30, 2015 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@raphink
Copy link
Member

raphink commented Jul 30, 2015

Augeas can now parse alias entries so it should be possible to add this syntax:

shellvar { 'ls':
  ensure => alias,
  value  => 'ls $LS_OPTIONS',
}
@raphink raphink added the enhancement New feature or request label Jul 30, 2015
@raphink raphink self-assigned this Jul 30, 2015
@gregswift
Copy link

.... i'm not sure if i'd use it because i never manage my bashrc bits with puppet.. but i can definitely see a benefit to it

@raphink
Copy link
Member Author

raphink commented Aug 4, 2015

I see quite a few people trying to manage bashrc files with Puppet. Usually, they end up using file_line for that. I don't know which part (the problem or the solution) is the worst tbh…

@gregswift
Copy link

+1 for making the problem the decidedly worse part of the equation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants