{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/668","repository_url":"https://api.github.com/repos/elastic/puppet-elasticsearch","labels_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/668/comments","events_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/668/events","html_url":"https://github.com/elastic/puppet-elasticsearch/issues/668","id":167864363,"number":668,"title":"Error: Could not set 'present' on ensure: Failed to install plugin","user":{"login":"craigcarnell","id":1188869,"avatar_url":"https://avatars.githubusercontent.com/u/1188869?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/milestones/17","html_url":"https://github.com/elastic/puppet-elasticsearch/milestones/0.13.0","labels_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/milestones/17/labels","id":1894494,"number":17,"title":"0.13.0","description":"","creator":{"login":"tylerjl","id":1733846,"avatar_url":"https://avatars.githubusercontent.com/u/1733846?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerjl","html_url":"https://github.com/tylerjl","followers_url":"https://api.github.com/users/tylerjl/followers","following_url":"https://api.github.com/users/tylerjl/following{/other_user}","gists_url":"https://api.github.com/users/tylerjl/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerjl/subscriptions","organizations_url":"https://api.github.com/users/tylerjl/orgs","repos_url":"https://api.github.com/users/tylerjl/repos","events_url":"https://api.github.com/users/tylerjl/events{/privacy}","received_events_url":"https://api.github.com/users/tylerjl/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2016-07-20T16:03:04Z","updated_at":"2016-07-27T14:48:33Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-07-27T14:14:20Z","updated_at":"2016-07-27T14:48:33Z","closed_at":"2016-07-27T14:48:33Z","body":"Puppet config:\r\n\r\n```\r\n# Elastic\r\n    class { 'elasticsearch':\r\n        package_url => 'https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.1.deb',\r\n    }\r\n\r\n    elasticsearch::instance { '9200':\r\n    }\r\n      \r\n    elasticsearch::plugin{'mobz/elasticsearch-head':\r\n        module_dir => 'head',\r\n        instances  => '9200'\r\n    }\r\n```\r\n\r\n```\r\nError: Could not set 'present' on ensure: Failed to install plugin. Received error: #<Puppet::ExecutionFailure: Execution of '/usr/share/elasticsearch/bin/plugin -Des.path.conf=/usr/share/elasticsearch install mobz/elasticsearch-head' returned 74: -> Installing mobz/elasticsearch-head...\r\nFailed to install mobz/elasticsearch-head, reason: plugin directory /usr/share/elasticsearch/plugins/head already exists. To update the plugin, uninstall it first using -remove mobz/elasticsearch-head command> at 141:/etc/puppet/modules/elasticsearch/manifests/plugin.pp\r\n```\r\n\r\nIt throws this error every time, plugin is active and working"},"comment":{"url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/comments/235609060","html_url":"https://github.com/elastic/puppet-elasticsearch/issues/668#issuecomment-235609060","issue_url":"https://api.github.com/repos/elastic/puppet-elasticsearch/issues/668","id":235609060,"user":{"login":"tylerjl","id":1733846,"avatar_url":"https://avatars.githubusercontent.com/u/1733846?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerjl","html_url":"https://github.com/tylerjl","followers_url":"https://api.github.com/users/tylerjl/followers","following_url":"https://api.github.com/users/tylerjl/following{/other_user}","gists_url":"https://api.github.com/users/tylerjl/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerjl/subscriptions","organizations_url":"https://api.github.com/users/tylerjl/orgs","repos_url":"https://api.github.com/users/tylerjl/repos","events_url":"https://api.github.com/users/tylerjl/events{/privacy}","received_events_url":"https://api.github.com/users/tylerjl/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T14:48:33Z","updated_at":"2016-07-27T14:48:33Z","body":"Thanks for the report - we just merged #660, which should permit the use of the `module_dir` parameter again (the current state is deprecated and doesn't actually do anything). The fix is in `master` and should be a part of the next release."}}
{"actor":{"display_login":"tylerjl"}}