{"action":"created","issue":{"url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/107","labels_url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/107/comments","events_url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/107/events","html_url":"https://github.com/martinisoft/chef-rvm/issues/107","id":4829931,"number":107,"title":"set rvmrc attributes for specific users","user":{"login":"stepheneb","id":7188,"avatar_url":"https://avatars.githubusercontent.com/u/7188?v=3","gravatar_id":"","url":"https://api.github.com/users/stepheneb","html_url":"https://github.com/stepheneb","followers_url":"https://api.github.com/users/stepheneb/followers","following_url":"https://api.github.com/users/stepheneb/following{/other_user}","gists_url":"https://api.github.com/users/stepheneb/gists{/gist_id}","starred_url":"https://api.github.com/users/stepheneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepheneb/subscriptions","organizations_url":"https://api.github.com/users/stepheneb/orgs","repos_url":"https://api.github.com/users/stepheneb/repos","events_url":"https://api.github.com/users/stepheneb/events{/privacy}","received_events_url":"https://api.github.com/users/stepheneb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/martinisoft/chef-rvm/labels/Pending%20Feedback","name":"Pending Feedback","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2012-05-31T04:52:42Z","updated_at":"2015-03-07T06:39:01Z","closed_at":null,"body":"I've not been able to find a way in my json meta-data to get rvm-chef to set the some of the rvm settings:\n\nI'd like to be able to set these for the deploy user.\n\n  rvm_project_rvmrc\n  rvm_gemset_create_on_use_flag\n  rvm_trust_rvmrcs_flag\n\nHere's the full json meta-data file: https://github.com/concord-consortium/littlechef-servers/blob/ruby-lab-server/roles/lab-server.json\n\nI'm specifying: \"recipe[rvm::system]\" in the json.\n\nAnd here's just the rvm section:\n\n    \"rvm\": {\n      \"default_ruby\": \"ruby-1.9.3-p194\",\n      \"rvmc\": {\n        \"rvm_project_rvmrc\":             1,\n        \"rvm_gemset_create_on_use_flag\": 1,\n        \"rvm_trust_rvmrcs_flag\":         1,\n        \"group_users\": [ \"deploy\" ]\n      },\n      \"user_installs\": [\n        {\n          \"user\": \"deploy\",\n          \"rvm_project_rvmrc\":             1,\n          \"rvm_gemset_create_on_use_flag\": 1,\n          \"rvm_trust_rvmrcs_flag\":         1\n        }\n      ]\n    },\n\nUnder the user_installs section I was hoping to be able to set those rvm variables\n\nI AM seeing some variable written into ~/.rvmrc for the deploy user:\n\n    $ cat  /home/deploy/.rvmrc\n\n    # rvm configuration\n    #\n    # Generated by Chef for ip-10-32-174-243.ec2.internal\n    # Local modifications will be overwritten.\n    #\n    export rvm_path=\"/home/deploy/.rvm\"\n\n    export rvm_gem_options=\"--no-rdoc --no-ri\"\n\nIs this a bug, or am I misunderstanding something, or is this feature not implemented?\n\nThanks"},"comment":{"url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/comments/77676534","html_url":"https://github.com/martinisoft/chef-rvm/issues/107#issuecomment-77676534","issue_url":"https://api.github.com/repos/martinisoft/chef-rvm/issues/107","id":77676534,"user":{"login":"stepheneb","id":7188,"avatar_url":"https://avatars.githubusercontent.com/u/7188?v=3","gravatar_id":"","url":"https://api.github.com/users/stepheneb","html_url":"https://github.com/stepheneb","followers_url":"https://api.github.com/users/stepheneb/followers","following_url":"https://api.github.com/users/stepheneb/following{/other_user}","gists_url":"https://api.github.com/users/stepheneb/gists{/gist_id}","starred_url":"https://api.github.com/users/stepheneb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepheneb/subscriptions","organizations_url":"https://api.github.com/users/stepheneb/orgs","repos_url":"https://api.github.com/users/stepheneb/repos","events_url":"https://api.github.com/users/stepheneb/events{/privacy}","received_events_url":"https://api.github.com/users/stepheneb/received_events","type":"User","site_admin":false},"created_at":"2015-03-07T06:39:01Z","updated_at":"2015-03-07T06:39:01Z","body":"Sure, I can't confirm it;s fixed but if I find I can still reproduce it later I'll re-open it. Thanks"}}