{"action":"opened","issue":{"url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/461","labels_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/461/comments","events_url":"https://api.github.com/repos/jenkinsci/puppet-jenkins/issues/461/events","html_url":"https://github.com/jenkinsci/puppet-jenkins/issues/461","id":126225592,"number":461,"title":"Unbuntu apt-get and plugins gives wrong version of jenkins","user":{"login":"athingisathing","id":1684028,"avatar_url":"https://avatars.githubusercontent.com/u/1684028?v=3","gravatar_id":"","url":"https://api.github.com/users/athingisathing","html_url":"https://github.com/athingisathing","followers_url":"https://api.github.com/users/athingisathing/followers","following_url":"https://api.github.com/users/athingisathing/following{/other_user}","gists_url":"https://api.github.com/users/athingisathing/gists{/gist_id}","starred_url":"https://api.github.com/users/athingisathing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athingisathing/subscriptions","organizations_url":"https://api.github.com/users/athingisathing/orgs","repos_url":"https://api.github.com/users/athingisathing/repos","events_url":"https://api.github.com/users/athingisathing/events{/privacy}","received_events_url":"https://api.github.com/users/athingisathing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-12T17:05:37Z","updated_at":"2016-01-12T17:05:37Z","closed_at":null,"body":"So after a week of fighting with the code i realized that jenkins was installing at the wrong version when i use a plugin hash.\r\n\r\nWhen installing jenkins on unbuntu 12 using this code it works fine, also when you add in the plugins one by one it works, but when you switch to hiera and use a plugin hash the wrong version of jira gets installed.  I new jira did not look right but it took me a week of focusing on the dam plugins not working to give up and start with the basics lol my bad!!!!!\r\n\r\nif you add this to debian.pp file after the source it fixed it for me. Tbis is a common fix for debian it forces the apt-update at the correct location.\r\n ->\r\n    Exec['apt_update'] -> Package['jenkins'] "}}