-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set env vars for service instead of machine (#3930)
* Set env vars for service instead of machine * Fix copy and pasted typo * Remove unused variable * Update chocolatey to use env vars at the service scope * Fix check for "SPLUNK_ACCESS_TOKEN" * Handle upgrade in chocolatey * Get-Package not available on all Windows versions * Add messages to track stage on chocolatey install * Adding more messages to chocolatey script * Fix service on the registry but no env * Restore $regKey on install.ps1 * Add helper allow running the collector manually on Windows * Add breaking change to CHANGELOG.md * Add -config_path switch to install.ps1 * Fix pipeline collector for Windows ZC IIS test * MSI to set SPLUNK_CONFIG at the service scope * Minor doc updates * Update ansible tests for Windows env vars * Correct type of *_ENABLE_PROFILING value * ansible: Windows deployment updates * fix yamllint issues * fix yamllint * Output vagrant.err in case of failure * Fix splunk_trace_url check * Always try to display the vagrant errors * Check if event log has some info about failure * Remove event log steps: running on mac not Windows * Launch vagrant * Init vagrant * Drop launch vagrant step * Fix ansible Windows * Fix yamllint issues * Remove vagrant init * Updates to pass local run of molecule tests * Update chef deployment * Proper data type for multi_string registry entry * Fix var name typo * Fix order of collector environment variables * Experiment custom_vars test * Pay attention to conditional variables * First try with Puppet * Fix syntax for Puppet * Back to curly brackets * Try extension fixes * Fix conditional * Remove to_s * Use empty instead of is_empty * Fix re-declaration of registry_key * Fix puppet lint issue * Do not re-use registry_key * Use array instead of multi_string * Ensure side effects * Update test to use REG_MULTI_SZ * Immutability? * Fix lint error * Fix test * Removing name re-use * Update CHANGELOG and README for Puppet * Updates to mass deployments docs * Update last version deploying with machine wide env vars * Sort service environment variables set via PowerShell * Improve handling of collector restart in Ansible * Remove extra double-quotes in SPLUNK_CONFIG for Ansible * Fix Ansible verify SPLUNK_CONFIG strings * Fix Windows testing checking for legacy versions of the collector * Update CHANGELOG.md Co-authored-by: Ryan Fitzpatrick <10867373+rmfitzpatrick@users.noreply.github.com> * Update last version still setting machine wide env vars --------- Co-authored-by: Ryan Fitzpatrick <10867373+rmfitzpatrick@users.noreply.github.com>
- Loading branch information
1 parent
3d2d87b
commit 1da0e2c
Showing
33 changed files
with
529 additions
and
569 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
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
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
Oops, something went wrong.