forked from puppetlabs/bolt
-
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.
(puppetlabsGH-1934) Add support for selective sync of plugins to targ…
…et nodes * **Added support for selective sync of plugins to target** ([puppetlabs#1934](puppetlabs#1934)) This feature allows a plan author to specificy what plugins need to be synced to the target node. You can do this by add an array of module names to the options parameter. Here is an example: apply($target, ‘required_modules => [‘stdlib’] ) { notice 'Hallo' } The apply block here ony sync’s the stdlib module to the target. The same feature also works on apply_prep functions. Here is an example: apply_prep($target, ‘required_modules => [‘stdlib’] ) When no required modules are specified, *ALL* plugins from *ALL* modules are synced. !feature
- Loading branch information
Showing
4 changed files
with
112 additions
and
19 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
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