- create .bash_profile at /home/your_user
- if you want to change .bash_profile, you can change [./files/default/.bash_profile]
- you have to set data bags - users{id, name, group, password}.
vim
- alias vi='vim' require install vim.
nothing
Just include bash_profile
in your node's run_list
:
{
"name":"my_node",
"run_list": [
"recipe[bash_profile]"
]
}
if you use vagrant, you must write Vagrantfile:
config.vm.provision :chef_solo do |chef|
chef.run_list = [
"bash_profile"
]
end
Authors: tbpgr