forked from garethr/garethr-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow for the refreshonly flag to be passed through to the underlying exec resource. This allows for Docker::Exec resources to be defined to only run when notified, which allows for construction of manifests that can check whether updated configuration made available to running containers (provided they are using directory mount binds) are valid before triggering a service restart. Use case for this is to test generated nginx configuration for the running nginx container using a Docker::Exec call that is notified by the file resource and in turn will notify the service resource to restart. Partial fix for garethr#687
- Loading branch information
1 parent
40194a2
commit 3f13650
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters