{"action":"created","issue":{"url":"https://api.github.com/repos/mayflower/puppet-php/issues/161","repository_url":"https://api.github.com/repos/mayflower/puppet-php","labels_url":"https://api.github.com/repos/mayflower/puppet-php/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/mayflower/puppet-php/issues/161/comments","events_url":"https://api.github.com/repos/mayflower/puppet-php/issues/161/events","html_url":"https://github.com/mayflower/puppet-php/issues/161","id":135769381,"number":161,"title":"overriding fpm_service_name has no effect","user":{"login":"okolesnyk","id":10274436,"avatar_url":"https://avatars.githubusercontent.com/u/10274436?v=3","gravatar_id":"","url":"https://api.github.com/users/okolesnyk","html_url":"https://github.com/okolesnyk","followers_url":"https://api.github.com/users/okolesnyk/followers","following_url":"https://api.github.com/users/okolesnyk/following{/other_user}","gists_url":"https://api.github.com/users/okolesnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/okolesnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okolesnyk/subscriptions","organizations_url":"https://api.github.com/users/okolesnyk/orgs","repos_url":"https://api.github.com/users/okolesnyk/repos","events_url":"https://api.github.com/users/okolesnyk/events{/privacy}","received_events_url":"https://api.github.com/users/okolesnyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-23T15:33:05Z","updated_at":"2016-02-23T17:07:37Z","closed_at":null,"body":"Due to PHP 7 upgrade, I tried the following to announce the new service name to the module NOT VIA HIERA.\r\n\r\nREQUIRE HELP!\r\nError: Duplicate declaration: Class[Php::Params] is already declared; cannot redeclare\r\nor\r\nError: Duplicate declaration: Class[Php::Fpm::Service] is already declared; cannot redeclare"},"comment":{"url":"https://api.github.com/repos/mayflower/puppet-php/issues/comments/187794354","html_url":"https://github.com/mayflower/puppet-php/issues/161#issuecomment-187794354","issue_url":"https://api.github.com/repos/mayflower/puppet-php/issues/161","id":187794354,"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":"2016-02-23T17:07:37Z","updated_at":"2016-02-23T17:07:37Z","body":"@okolesnyk You don't state how you are specifing the name, but it sounds like something similar to https://github.com/eri-ca/puppet-php/commit/7e7ed2f91722a3b515d64ca1aec3bec0ce9bfc78 and refactoring variable usage (init vs. params) in fpm/service.pp is needed to solve this."}}