Skip to content

Instantly share code, notes, and snippets.

@lucky-sideburn
Created February 6, 2013 08:21
Show Gist options
  • Save lucky-sideburn/4721143 to your computer and use it in GitHub Desktop.
Save lucky-sideburn/4721143 to your computer and use it in GitHub Desktop.
Is corret?
# attributes/default.rb
set['rvm']['user_installs'] = [
{ 'user' => 'eugenio',
'default_ruby' => 'ruby',
'rubies' => ['1.9.2', '1.8.7']
}
]
#recepes/default.rb
include_recipe "rvm::system"
include_recipe "rvm::user"
user "eugenio" do
action :create
end
group "eugenio" do
action :create
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment