Jira (PUP-8018) ENC option to run catalog in noop mode

5 views
Skip to first unread message

Pat Riehecky (JIRA)

unread,
Oct 3, 2017, 11:17:02 AM10/3/17
to puppe...@googlegroups.com
Pat Riehecky created an issue
 
Puppet / New Feature PUP-8018
ENC option to run catalog in noop mode
Issue Type: New Feature New Feature
Assignee: Unassigned
Components: Settings
Created: 2017/10/03 8:16 AM
Priority: Minor Minor
Reporter: Pat Riehecky

Currently the ENC can provide the environment to the client. However, when testing a new environment on a client the workflow can result in running the catalog before I'm ready.

Example workflow:
1. disable puppet on the client
2. build testing environment on the puppet master
3. configure the ENC to send the new environment
4. enable puppet in noop mode on the client

If step 1 is not complete, the client may apply the catalog.

This may also be useful in another workflow: if puppet needs to be temporarily disabled on a host. Puppet can set noop=true via a catalog run, but once this is done, there isn't a way to undo that without manual intervention.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Pat Riehecky (JIRA)

unread,
Oct 3, 2017, 11:22:05 AM10/3/17
to puppe...@googlegroups.com
Pat Riehecky updated an issue
Change By: Pat Riehecky
Currently the ENC can provide the environment to the client.  However, when testing a new environment on a client the workflow can result in running the catalog before I'm ready.

Example workflow:
1. disable puppet on the client
2. build testing environment on the puppet master
3. configure the ENC to send the new environment
4. enable puppet in noop mode on the client

If step 1 is not complete, the client may apply the catalog.

This may also be useful in another workflow: if puppet needs to be temporarily disabled on a host.  Puppet can set noop=true via a catalog run, but once this is done, there isn't a way to undo that without manual intervention.

Henrik Lindberg (JIRA)

unread,
Oct 3, 2017, 2:08:03 PM10/3/17
to puppe...@googlegroups.com
Henrik Lindberg updated an issue
Change By: Henrik Lindberg
Team: Platform Core

Josh Cooper (Jira)

unread,
Jun 11, 2021, 8:04:02 PM6/11/21
to puppe...@googlegroups.com
Josh Cooper commented on New Feature PUP-8018
 
Re: ENC option to run catalog in noop mode

Puppet supports an agent specified workflow, which puppet enterprise describes here: https://puppet.com/docs/pe/2019.8/environment_based_testing.html

The idea is that you can configure the ENC to allow the agent to choose which environment to use. Background agent runs will continue to use the old environment, while you can run puppet agent -t --environment <feature> to test new changes. I think you'd want to implement something like that in your ENC. Note you'd want to make sure only select nodes can choose their own environment, based on trusted facts.

I'm going to close this as the requested functionality is a bit out of scope for open source.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages