Ask Your Question

How to update agent in a Code Manager workflow?

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

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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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


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

ory gravatar imageory ( 2016-05-16 06:28:25 -0600 )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


Asked: 2016-05-10 08:16:23 -0600

Seen: 66 times

Last updated: May 10 '16