Commit Graph

10 Commits

Author SHA1 Message Date
Megan Marsh 817957fe4f
Merge pull request #8616 from hashicorp/packer-plugin-path
add PACKER_PLUGIN_PATH for plugin discovery
2020-01-28 12:09:55 -08:00
Megan Marsh 6eda9504c9 remove second dir 2020-01-27 16:20:59 -08:00
Megan Marsh 69e7d39fd3 add some tests for packer_plugin_path 2020-01-27 16:19:03 -08:00
nywilken 93640b0854 Update test case for Windows 2020-01-17 14:03:35 -05:00
nywilken c93a076698 config: Update loading of packerconfig to only log when a plugin is loaded
Before this change loading of a packerconfig would display `loaded
plugin ...` for any plugin defined in the packerconfig - even if it
didn't exist on disk. This change updates how plugins defined in
packerconfig are loaded to ensure that only successfully loaded plugins
get the lovely message `loaded plugin ...`. For any plugin that fails to
load Packer will log that it failed to load the plugin and continue
processing any other defined plugins.

* Add a test to ensure loadSingleComponent errors when plugin does not
exists
2020-01-17 13:33:51 -05:00
nywilken fb76323c4d config: Fix loading external plugins from a packerconfig
This change introduces a loadExternalComponent which can be used for
loading a single plugin path. The function is a combination of
the discoverSingle and discoverExternalComponents functions.
2020-01-15 13:08:30 -05:00
Mitchell Hashimoto 7edfb66293 Clean up the configuration loading mechanisms, ditch toml 2013-06-08 22:26:49 -07:00
Mitchell Hashimoto cd5cecfe89 app: support merging configs 2013-05-08 20:40:04 -07:00
Mitchell Hashimoto 085533c17f packer: Test to ensure the default config can parse 2013-05-08 18:14:40 -07:00
Mitchell Hashimoto 5f8330ecc2 Parse/load configs 2013-05-08 18:13:15 -07:00