{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/191","labels_url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/191/comments","events_url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/191/events","html_url":"https://github.com/theforeman/puppet-foreman_proxy/issues/191","id":106730042,"number":191,"title":"plugin templates use wrong variable module_enabled?","user":{"login":"cristifalcas","id":3647635,"avatar_url":"https://avatars.githubusercontent.com/u/3647635?v=3","gravatar_id":"","url":"https://api.github.com/users/cristifalcas","html_url":"https://github.com/cristifalcas","followers_url":"https://api.github.com/users/cristifalcas/followers","following_url":"https://api.github.com/users/cristifalcas/following{/other_user}","gists_url":"https://api.github.com/users/cristifalcas/gists{/gist_id}","starred_url":"https://api.github.com/users/cristifalcas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristifalcas/subscriptions","organizations_url":"https://api.github.com/users/cristifalcas/orgs","repos_url":"https://api.github.com/users/cristifalcas/repos","events_url":"https://api.github.com/users/cristifalcas/events{/privacy}","received_events_url":"https://api.github.com/users/cristifalcas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-09-16T09:00:08Z","updated_at":"2015-11-21T18:44:20Z","closed_at":"2015-11-21T18:34:54Z","body":"In almost all plugin templates there is this line:\r\n    :enabled: <%= @module_enabled %>\r\n\r\n Shouldn't that be something like:\r\n    :enabled: <%= scope.lookupvar('::foreman_proxy::plugin::_name_::enabled') %>\r\n?"},"comment":{"url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/comments/158671416","html_url":"https://github.com/theforeman/puppet-foreman_proxy/issues/191#issuecomment-158671416","issue_url":"https://api.github.com/repos/theforeman/puppet-foreman_proxy/issues/191","id":158671416,"user":{"login":"mmoll","id":1434927,"avatar_url":"https://avatars.githubusercontent.com/u/1434927?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoll","html_url":"https://github.com/mmoll","followers_url":"https://api.github.com/users/mmoll/followers","following_url":"https://api.github.com/users/mmoll/following{/other_user}","gists_url":"https://api.github.com/users/mmoll/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoll/subscriptions","organizations_url":"https://api.github.com/users/mmoll/orgs","repos_url":"https://api.github.com/users/mmoll/repos","events_url":"https://api.github.com/users/mmoll/events{/privacy}","received_events_url":"https://api.github.com/users/mmoll/received_events","type":"User","site_admin":false},"created_at":"2015-11-21T18:44:20Z","updated_at":"2015-11-21T18:44:20Z","body":"thanks!"}}