Giter Club home page Giter Club logo

Comments (9)

AlexanderNZ avatar AlexanderNZ commented on September 26, 2024 2

Thanks @philchristensen - your work around works well for jira versions between 7.1.1 and 7.1.4.
Hopefully this issue gets some love soon :)

from puppet-jira.

philchristensen avatar philchristensen commented on September 26, 2024 1

Aha! I found a workaround at least:

  class { '::jira':
    javahome     => '/usr/lib/jvm/default-java',
    product      => 'jira-software-7.1.1-jira',
    version      => '7.1.1',

This did the trick.

from puppet-jira.

rhoml avatar rhoml commented on September 26, 2024

@felipe1982 have you tried modifying $format to bin instead of tar.gz?

from puppet-jira.

felipe1982 avatar felipe1982 commented on September 26, 2024

I get an error when changing format.

  class {'jdk_oracle':
    version => '8',
    version_update => '51',
    version_build => '16',
  } ->
  class {'jira':
    # downloadURL => 'https://downloads.atlassian.com/software/jira/downloads/',
    format      => 'bin',
    javahome    => '/opt/java_home',
    version     => '7.0.5',

    db          => 'oracle',
    dbtype      => 'oracle10g',
    dbserver    => 'fred.example.com.au',
    dbport      => '1521',

    dbuser      => 'jira',
    dbpassword  => 'jira',
    dbname      => 'D11',

    proxy       => {
      scheme    => 'http',
      proxyName => 'jiratest.example.com.au',
      proxyPort => '80'
    },


  } ->
  class {'jira::facts': }
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: staging::extract: unsupported file format atlassian-jira-7.0.5.bin. at /etc/puppet/modules/staging/manifests/extract.pp:102

from puppet-jira.

rhoml avatar rhoml commented on September 26, 2024

So i tried to download the Jira tar.gz from https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.0.5-jira-7.0.5.tar.gz and it works properly. I don't have clear understanding why it is downloading from
http://www.atlassian.com/software/jira/downloads/binary//atlassian-jira-7.0.5.tar.gz in your case above since the only place where I see that download url is on the specs.

from puppet-jira.

felipe1982 avatar felipe1982 commented on September 26, 2024

I have removed format and downloadURL.

Now module tries to fetch

https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-7.0.5.tar.gz

but should fetch

https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.0.5-jira-7.0.5.tar.gz

from puppet-jira.

philchristensen avatar philchristensen commented on September 26, 2024

I'm having the same issue. My manifest reads as follows:

  class { '::jira':
    javahome     => '/usr/lib/jvm/default-java',
    version      => '7.1.1',
    installdir   => "/opt/jira",
    homedir      => "/var/lib/jira",
    proxy        => {
      scheme     => 'https',
      proxyName  => 'prod-project.aws.logicworks.net',
      proxyPort  => '443',
    },
    dbuser       => "jira",
    dbpassword   => "**********",
    dbserver     => "prod-jira-db.aws.logicworks.local",
    enable_connection_pooling => true,
    require      => Class['automation::common::java']
  }

I've read and re-read the source and I cannot figure out why this is trying to download the link from

http://www.atlassian.com/software/jira/downloads/binary//atlassian-jira-7.1.1.tar.gz

from puppet-jira.

sacres avatar sacres commented on September 26, 2024

Apparently we need a magic regex for this, this isn't scalable nor maintainable as is. I'll see how far I get with that.

from puppet-jira.

olevole avatar olevole commented on September 26, 2024

Up issue.

For 7.1.9 we need to change postfix:

diff -ruN install.pp-bak install.pp 
--- install.pp-bak      2016-08-08 13:03:34.220422399 +0300
+++ install.pp  2016-08-08 13:10:16.988347547 +0300
@@ -50,7 +50,7 @@
   if ((versioncmp($jira::version, '7.0.0') < 0) or ($jira::product_name == 'jira-core')) {
     $file = "atlassian-${jira::product_name}-${jira::version}.${jira::format}"
   } else {
-    $file = "atlassian-${jira::product_name}-${jira::version}-jira-${jira::version}.${jira::format}"
+    $file = "atlassian-${jira::product_name}-${jira::version}.${jira::format}"
   }

   if ! defined(File[$jira::extractdir]) {

Can anyone fix this problem ?

from puppet-jira.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.