A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.

May 11, 2015

Puppet - JIRA module not connecting to mySQL

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.)"


Click Here!