Ask Your Question
0

Is it possible to do a human approval

asked 2015-03-16 07:09:44 -0600

da_oli gravatar image

Hi all,

i'm really new to puppet and i have a question about the workflows. Is it possible to involve a human approval process. For example, there a some new OS updates, but the manager has to acknowledge them first.

Regards

Oliver

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-03-16 15:07:44 -0600

doc75 gravatar image

Hello,

This is not the spirit of puppet. With a standard install, puppet client runs every 30 minutes to get any update pushed from the master. It is not possible to imagine that a human intervention is needed.

Hope this helps.

edit flag offensive delete link more

Comments

Hi, thank you for the response. I understand that but i hoped that there is a solution. Oliver

da_oli gravatar imageda_oli ( 2015-03-17 03:03:44 -0600 )edit
0

answered 2015-03-18 21:07:36 -0600

rnelson0 gravatar image

Yes and no. Puppet itself has no concept of approvals, but if you put your puppet code in version control, you can do code reviews and approvals to merge it into master. That's fairly common. See http://rnelson0.com/2014/06/09/puppet... as an example.

edit flag offensive delete link more
0

answered 2015-03-17 04:12:25 -0600

dlevene gravatar image

updated 2015-03-17 04:14:01 -0600

There is the option to run servers in noop mode, which means it will report back what changes are pending to be made and someone will then need to then perform a puppet run on the node with --no-noop. It does kinda defeat the purpose of having puppet running.

Perhaps having your puppet changes controlled upstream by git and use a program like gerrit for the manager approval before they even get into the puppet manifests. Workflow would look like this

  • Someone writes a change and submits it to a git repo (via gerrit).
  • Gerrit can control when a change is "merged" to the master repo and is customisable to require reviews (eg your managers approval)
  • Gerrit, once approved pushes the change to the puppet master and its rolled out automatically across your nodes.

Hope this helps you with another alternative, that works well with puppet & many other code bases.

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2015-03-16 07:09:44 -0600

Seen: 174 times

Last updated: Mar 18 '15