https://github.com/marclop/alias-formula
SaltStack Formula for various bash aliases
https://github.com/marclop/alias-formula
Last synced: about 1 year ago
JSON representation
SaltStack Formula for various bash aliases
- Host: GitHub
- URL: https://github.com/marclop/alias-formula
- Owner: marclop
- License: mit
- Created: 2015-02-24T15:50:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-24T15:51:28.000Z (over 11 years ago)
- Last Synced: 2025-02-15T02:19:04.302Z (over 1 year ago)
- Language: Shell
- Size: 102 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alias formula
Formula to set up bash aliases for different users.
### Note
See the full [Salt Formulas installation and usage instructions](http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html)
Available states
================
- [alias](#alias)
``alias``
---------
Sets up the specified aliases from pillar data, which has is expected to be in the format specified bellow:
```
alias:
root: # User which will have the alias
vim: 'vi' # Aliases...
ll: ls -l
la: "ls -la"
user2:
alias2: 'command2'
```
``Tested platforms``
--------------------
This formula has only been tested in those Operating Systems:
* RHEL 5
* RHEL 6
* RHEL 7