Welcome to the Linux Foundation Forum!

Puppet - JIRA module not connecting to mySQL

sndlt
sndlt Posts: 8
edited May 2015 in System Management

I'm in the process of deploying Atlassian's Confluence and JIRA on separate RHELs.

Confluence was simple. But on JIRA, I'm having trouble connecting JIRA to mySQL.

Can anyone see how my Puppet code is wrong here? Here I'm using modules to deploy mySQL first, then JIRA. Oracle JDK is running.

node 'jira.linux' {

class { '::mysql::server':

root_password => 'strongpassword',

remove_default_accounts => true,

override_options => $override_options

}

::mysql::db { 'mydb':

user => 'jira',

password => 'secret',

dbname => 'jiraDB',

host => 'localhost',

grant => ['SELECT', 'UPDATE'],

}

class { 'jira':

javahome => '/usr/java/jdk1.8.0_45',

mysql_connector_install => '/opt/MySQL-connector' ,

user => 'jira',

dbpassword => 'secret',

dbserver => 'localhost',

} }

(http://jira-IP-Address:8080) leads to "HTTP Status 500 - Could not determine database type. (Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)"

Thanks.

Categories

Upcoming Training