Ask Your Question
0

puppet-jira: could not find class staging

asked 2016-03-01 05:47:09 -0500

djmentos gravatar image

Hello,

I'm trying to use puppet-jira module (https://github.com/voxpupuli/puppet-jira) under Profile/Role architecture.

/manifests/site.pp:

node 'jira.intranet' {
include role::jira
}

/modules/role/manifests/jira.pp:

class role::jira {
notify { 'This is a JIRA Server role': }
include profile::jira_instance
}

/modules/profile/manifests/jira_instance.pp:

class profile::jira_instance {
notify { 'This is a JIRA instance profile': }

file { '/opt/atlassian':
ensure => 'directory',
}

class { '::jira':
javahome => '/opt/java',
}

include ::jira::facts
}

Puppet returns:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class staging for jira.intranet on node jira.intranet

What am I doing wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-03 22:10:25 -0500

maynero gravatar image

I did a quick check on the puppet-jira and it requires nanliu-staging. How did you install the module? Anyways, you can manually install staging module

sudo puppet module install nanliu-staging
edit flag offensive delete link more

Comments

I second what maynero has to say above. If you didn't install it in a way that automatically fetches it's dependancies, you need to put them inplace yourself.

DarylW gravatar imageDarylW ( 2016-03-03 22:33:25 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-03-01 05:47:09 -0500

Seen: 90 times

Last updated: Mar 03 '16