Ask Your Question
0

Error with puppet job list

asked 2016-03-21 06:57:49 -0500

Deepmangal gravatar image

updated 2016-03-22 09:50:26 -0500

Puppet job list command says:

Failed to list jobs: SSL peer certificate or SSH remote key was not OK. Why? Where is the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-03-22 09:50:03 -0500

Hi Deepmangal, have you configured the puppet jobclient tool to point at your Puppet Server? You can do that with a CLI flag or by writing a configuration file. Here's more on both: https://docs.puppetlabs.com/pe/latest...

Note that you'll need the full url including the 8143 port where the Orchestrator listens. ie. https://master.example.com:8143

If you're not running puppet-job on a machine already connected to PE with a signed certificate, you'll need to do that first.

Finally, out of curiosity, what will you be doing with the orchestrator?

edit flag offensive delete link more

Comments

Thanks for your reply. I had followed all the steps mentioned on the link but still getting the same error. Through orchestration, we are targeting continuous delivery where we have a bunch of jboss servers on linux machines. We need to stop all of them, deploy the war/jar and start them one by one.

Deepmangal gravatar imageDeepmangal ( 2016-03-23 04:09:29 -0500 )edit

Thanks, finally I got it working.

Deepmangal gravatar imageDeepmangal ( 2016-03-23 10:06:21 -0500 )edit

Good to hear it's working, but was there something missing from the documentation or anything unclear about configuring the client tool?

ryanycoleman gravatar imageryanycoleman ( 2016-03-23 10:15:16 -0500 )edit

No, nothing was missing. I want to stop jboss servers(by executing a shell command), copy war files in jboss deploy folder, and start the jboss servers (with shell script) one by one. Is this use case feasible with puppet orchestration. Can you help me out with that?

Deepmangal gravatar imageDeepmangal ( 2016-03-24 01:18:28 -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

2 followers

Stats

Asked: 2016-03-21 06:57:49 -0500

Seen: 198 times

Last updated: Mar 22 '16