{"action":"created","issue":{"url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/18","repository_url":"https://api.github.com/repos/antoineco/aco-oracle_java","labels_url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/18/comments","events_url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/18/events","html_url":"https://github.com/antoineco/aco-oracle_java/issues/18","id":151423017,"number":18,"title":"Conflicts on the archive module","user":{"login":"dalesit","id":6924061,"avatar_url":"https://avatars.githubusercontent.com/u/6924061?v=3","gravatar_id":"","url":"https://api.github.com/users/dalesit","html_url":"https://github.com/dalesit","followers_url":"https://api.github.com/users/dalesit/followers","following_url":"https://api.github.com/users/dalesit/following{/other_user}","gists_url":"https://api.github.com/users/dalesit/gists{/gist_id}","starred_url":"https://api.github.com/users/dalesit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalesit/subscriptions","organizations_url":"https://api.github.com/users/dalesit/orgs","repos_url":"https://api.github.com/users/dalesit/repos","events_url":"https://api.github.com/users/dalesit/events{/privacy}","received_events_url":"https://api.github.com/users/dalesit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-27T15:59:13Z","updated_at":"2016-04-27T17:16:19Z","closed_at":null,"body":"I've run into a conflict with other modules' dependency on camptocamp's archive module, and this module's dependency on the puppetlabs-archive module. \r\n\r\n```\r\n[root@puppet:manifests]# puppet module install aco-oracle_java\r\nNotice: Preparing to install into /etc/puppetlabs/code/environments/production/modules ...\r\nNotice: Downloading from https://forgeapi.puppetlabs.com ...\r\nError: Could not install module 'aco-oracle_java' (latest)\r\n  Dependency 'puppet-archive' (v0.4.8) would overwrite /etc/puppetlabs/code/environments/production/modules/archive\r\n    Currently, 'camptocamp-archive' (v0.8.1) is installed to that directory\r\n    Use `puppet module install --ignore-dependencies` to install only this module\r\n[root@puppet:manifests]# puppet module uninstall camptocamp-archive\r\nNotice: Preparing to uninstall 'camptocamp-archive' ...\r\nError: Could not uninstall module 'camptocamp-archive'\r\n  Other installed modules have dependencies on 'camptocamp-archive' (v0.8.1)\r\n    'bfraser/grafana' (v2.5.0) requires 'camptocamp-archive' (>= 0.3.2 <2.0.0)\r\n    Use `puppet module uninstall --force` to uninstall this module anyway\r\n\r\n```\r\nThe only workaround I can think of is to use a separate environment for the servers that need Oracle-java installing. As far as I can see, the camptocamp-archive module doesn't allow the cookie to be set that allows you to download the archive directly from oracle. Any thoughts? This seems to be a big problem within the puppet community at the moment.\r\n"},"comment":{"url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/comments/215154795","html_url":"https://github.com/antoineco/aco-oracle_java/issues/18#issuecomment-215154795","issue_url":"https://api.github.com/repos/antoineco/aco-oracle_java/issues/18","id":215154795,"user":{"login":"antoineco","id":3299086,"avatar_url":"https://avatars.githubusercontent.com/u/3299086?v=3","gravatar_id":"","url":"https://api.github.com/users/antoineco","html_url":"https://github.com/antoineco","followers_url":"https://api.github.com/users/antoineco/followers","following_url":"https://api.github.com/users/antoineco/following{/other_user}","gists_url":"https://api.github.com/users/antoineco/gists{/gist_id}","starred_url":"https://api.github.com/users/antoineco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoineco/subscriptions","organizations_url":"https://api.github.com/users/antoineco/orgs","repos_url":"https://api.github.com/users/antoineco/repos","events_url":"https://api.github.com/users/antoineco/events{/privacy}","received_events_url":"https://api.github.com/users/antoineco/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T17:16:19Z","updated_at":"2016-04-27T17:16:19Z","body":"Hey Joel,\r\n\r\nThanks for reporting that. This is a pretty bad design within Puppet indeed, modules with the same name can't live together in the same environment since the namespace (author) is not taken into account.\r\n\r\nPlaying with environments could be am option but as far as I remember agents can execute only one environment at a time, so if you won't be able to include everything. \r\n\r\nYour best luck is probably to fork my module, rename the references to the archive module, and rename the archive module itself as well. Heavy procedure though..."}}