hashicorp / hashicorp/consul-template

Feature-request: one-shot exec mode support

Open
#1,105 1 comment 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
4.8k
Forks
801
Avg merge
4h 5m
Merged PRs (30d)
6

Description

To be able to notify some external services it will be great to have one-shot exec mode.

Issues of using template commands for this purpose:

- It is per-template - there is no way to know when all templates are done.
- It is not executed if no changes are required(file already exists)

Related thread:
https://github.com/hashicorp/consul-template/issues/1011

Contributor guide

Open the contributing guide

Research direction

Review the related thread in issue #1011 first, then trace the existing template command and execution entry points in the repository. Define how one-shot execution detects completion of all templates and behaves when no files change; the feature is done when both notification cases are covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.