Skip to content

Instantly share code, notes, and snippets.

@frankpinto
Created April 29, 2015 23:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankpinto/1e59d644bf957df10e32 to your computer and use it in GitHub Desktop.
Save frankpinto/1e59d644bf957df10e32 to your computer and use it in GitHub Desktop.
file.line not working
/home/vagrant/.bashrc:
file.append:
- text:
- "set -o vi"
temp_cleanup:
file.line:
- name: /home/vagrant/.bashrc
- path: /home/vagrant/.bashrc
- content: "alias l='ls -liah'"
- mode: delete
/home/vagrant/.bash_aliases:
file.managed:
- contents: "alias l='ls -liah'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment