{"action":"created","issue":{"url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/29","labels_url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/29/comments","events_url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/29/events","html_url":"https://github.com/vshn/puppet-gitlab/pull/29","id":108811311,"number":29,"title":"Fix unrecognized datatypes inside array in decorate method","user":{"login":"deadratfink","id":5829423,"avatar_url":"https://avatars.githubusercontent.com/u/5829423?v=3","gravatar_id":"","url":"https://api.github.com/users/deadratfink","html_url":"https://github.com/deadratfink","followers_url":"https://api.github.com/users/deadratfink/followers","following_url":"https://api.github.com/users/deadratfink/following{/other_user}","gists_url":"https://api.github.com/users/deadratfink/gists{/gist_id}","starred_url":"https://api.github.com/users/deadratfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadratfink/subscriptions","organizations_url":"https://api.github.com/users/deadratfink/orgs","repos_url":"https://api.github.com/users/deadratfink/repos","events_url":"https://api.github.com/users/deadratfink/events{/privacy}","received_events_url":"https://api.github.com/users/deadratfink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-29T07:36:42Z","updated_at":"2015-09-29T07:49:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/vshn/puppet-gitlab/pulls/29","html_url":"https://github.com/vshn/puppet-gitlab/pull/29","diff_url":"https://github.com/vshn/puppet-gitlab/pull/29.diff","patch_url":"https://github.com/vshn/puppet-gitlab/pull/29.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/comments/143976304","html_url":"https://github.com/vshn/puppet-gitlab/pull/29#issuecomment-143976304","issue_url":"https://api.github.com/repos/vshn/puppet-gitlab/issues/29","id":143976304,"user":{"login":"deadratfink","id":5829423,"avatar_url":"https://avatars.githubusercontent.com/u/5829423?v=3","gravatar_id":"","url":"https://api.github.com/users/deadratfink","html_url":"https://github.com/deadratfink","followers_url":"https://api.github.com/users/deadratfink/followers","following_url":"https://api.github.com/users/deadratfink/following{/other_user}","gists_url":"https://api.github.com/users/deadratfink/gists{/gist_id}","starred_url":"https://api.github.com/users/deadratfink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadratfink/subscriptions","organizations_url":"https://api.github.com/users/deadratfink/orgs","repos_url":"https://api.github.com/users/deadratfink/repos","events_url":"https://api.github.com/users/deadratfink/events{/privacy}","received_events_url":"https://api.github.com/users/deadratfink/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T07:49:53Z","updated_at":"2015-09-29T07:49:53Z","body":"Hi,\r\n\r\nfirst thx for the nice module. I think I found an error when handling param values in the gitlab.rb.erb.\r\nThe current impl does not allow to process e.g. hashes which are handled in the decorate(v) method, for instance:\r\n\r\n```\r\n      gitlab_rails => {\r\n...\r\n          'omniauth_providers'                => [\r\n              {\r\n                  \"name\"  => \"crowd\",\r\n                  \"args\"  => {\r\n                      \"crowd_server_url\"     => \"my_url\",\r\n                      \"application_name\"     => \"Gitlab\",\r\n                      \"application_password\" => \"my_passwd\"\r\n                  }\r\n              }\r\n          ],\r\n...\r\n      },\r\n```\r\nwill result in:\r\n\r\n```\r\ngitlab_rails['omniauth_providers'] = [\"{\"name\"=>\"crowd\", \"args\"=>{\"crowd_server_url\"=>\"my_url\", \"application_name\"=>\"Gitlab\", \"application_password\"=>\"my_passwd\"}}\"]\r\n```\r\n\r\nwhich is incorrect and leads to an error in provision, it should be without the double colons around the hash:\r\n\r\n```\r\ngitlab_rails['omniauth_providers'] = [{\"name\"=>\"crowd\", \"args\"=>{\"crowd_server_url\"=>\"my_url\", \"application_name\"=>\"Gitlab\", \"application_password\"=>\"my_passwd\"}}]\r\n```\r\n\r\nBest Regards\r\nJens"}}