{"action":"created","issue":{"url":"https://api.github.com/repos/Katello/puppet-katello/issues/54","labels_url":"https://api.github.com/repos/Katello/puppet-katello/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/Katello/puppet-katello/issues/54/comments","events_url":"https://api.github.com/repos/Katello/puppet-katello/issues/54/events","html_url":"https://github.com/Katello/puppet-katello/pull/54","id":53605500,"number":54,"title":"Fixes #8849 - installs foreman_gutterball","user":{"login":"dustints","id":7284377,"avatar_url":"https://avatars.githubusercontent.com/u/7284377?v=3","gravatar_id":"","url":"https://api.github.com/users/dustints","html_url":"https://github.com/dustints","followers_url":"https://api.github.com/users/dustints/followers","following_url":"https://api.github.com/users/dustints/following{/other_user}","gists_url":"https://api.github.com/users/dustints/gists{/gist_id}","starred_url":"https://api.github.com/users/dustints/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustints/subscriptions","organizations_url":"https://api.github.com/users/dustints/orgs","repos_url":"https://api.github.com/users/dustints/repos","events_url":"https://api.github.com/users/dustints/events{/privacy}","received_events_url":"https://api.github.com/users/dustints/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-07T07:30:01Z","updated_at":"2015-01-08T11:07:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Katello/puppet-katello/pulls/54","html_url":"https://github.com/Katello/puppet-katello/pull/54","diff_url":"https://github.com/Katello/puppet-katello/pull/54.diff","patch_url":"https://github.com/Katello/puppet-katello/pull/54.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/Katello/puppet-katello/issues/comments/69165594","html_url":"https://github.com/Katello/puppet-katello/pull/54#issuecomment-69165594","issue_url":"https://api.github.com/repos/Katello/puppet-katello/issues/54","id":69165594,"user":{"login":"dustints","id":7284377,"avatar_url":"https://avatars.githubusercontent.com/u/7284377?v=3","gravatar_id":"","url":"https://api.github.com/users/dustints","html_url":"https://github.com/dustints","followers_url":"https://api.github.com/users/dustints/followers","following_url":"https://api.github.com/users/dustints/following{/other_user}","gists_url":"https://api.github.com/users/dustints/gists{/gist_id}","starred_url":"https://api.github.com/users/dustints/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustints/subscriptions","organizations_url":"https://api.github.com/users/dustints/orgs","repos_url":"https://api.github.com/users/dustints/repos","events_url":"https://api.github.com/users/dustints/events{/privacy}","received_events_url":"https://api.github.com/users/dustints/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T11:07:40Z","updated_at":"2015-01-08T11:07:40Z","body":"@ehelms added the spec but running into some issues getting a passing spec...\r\n\r\nforeman isn't being evaluated \r\nso foreman::plugin_prefix used in the foreman plugin type is empty causing it to install gutterball package\r\nbut gutterball module also installs the gutterball package.\r\nso getting duplicate declaration of package 'gutterball'\r\n\r\ndo you know any way around this issue?\r\n\r\n```\r\n [[1;31mWarning: Scope(Foreman::Plugin[gutterball]): Could not look up qualified variable 'foreman::plugin_prefix'; class foreman has not been evaluat»\r\n^[[0;36mDebug: importing '/home/dustin/puppet-katello/spec/fixtures/modules/foreman/manifests/service.pp' in environment production^[[0m¬\r\n^[[0;36mDebug: Automatically imported foreman::service from foreman/service into production^[[0m¬\r\n^[[1;31mError: Duplicate declaration: Package[gutterball] is already declared in file /home/dustin/puppet-katello/spec/fixtures/modules/gutterball/man»\r\nF¬                                                                                                                                                     \r\n¬\r\nFailures:¬\r\n¬\r\n  1) katello::plugin::gutterball should contain Class[certs]¬\r\n     Failure/Error: it { should contain_class('certs') }¬\r\n     Puppet::Error:¬\r\n       Duplicate declaration: Package[gutterball] is already declared in file /home/dustin/puppet-katello/spec/fixtures/modules/gutterball/manifests/i»\r\n     # ./spec/classes/plugin_gutterball_spec.rb:14:in `block (2 levels) in <top (required)>'¬\r\n¬\r\n  2) katello::plugin::gutterball should call the plugin¬\r\n     Failure/Error: should contain_foreman__plugin('gutterball')¬\r\n     Puppet::Error:¬\r\n       Duplicate declaration: Package[gutterball] is already declared in file /home/dustin/puppet-katello/spec/fixtures/modules/gutterball/manifests/i»\r\n     # ./spec/classes/plugin_gutterball_spec.rb:18:in `block (2 levels) in <top (required)>'¬\r\n¬\r\n```"}}