Ask Your Question
0

How to update agent in a Code Manager workflow?

asked 2016-05-10 08:16:23 -0500

ory gravatar image

Hi, I'm trying to accomplish a full workflow with Code Manager and GitLab. I added a webhook to the control repo that updates the pe-master after git commit. After the master pulls the latest code I need to manually update the agent or wait for the update interval.

How can I force agent update as past of the workflow?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-05-10 08:27:52 -0500

look at a post-receive git update - essentially can add whatever you want in this - I'd suggest checking you have correct git branch, some basic tests (i know probably done already) - and if all ok then run puppet

edit flag offensive delete link more

Comments

Thanks! How can I trigger puppet agent update with the hook?

ory gravatar imageory ( 2016-05-16 06:28: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-05-10 08:16:23 -0500

Seen: 46 times

Last updated: May 10 '16