tbpgr / bash_profile

chef cookbook for bash_profile

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash_profile Cookbook

  • 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}.

Requirements

packages

  • vim - alias vi='vim' require install vim.

Attributes

nothing

Usage

bash_profile::default

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

License and Authors

Authors: tbpgr

About

chef cookbook for bash_profile

License:MIT License


Languages

Language:Ruby 85.2%Language:Shell 14.8%