Commit graph

942 commits

Author SHA1 Message Date
oss-core-libraries-dashboard[bot]
1a8c7eb042
[COMPLIANCE] Update Copyright and License Headers (Batch 4 of 7) (#13762)
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2025-12-22 16:46:54 +05:30
oss-core-libraries-dashboard[bot]
ea57f40b89
[COMPLIANCE] Update Copyright and License Headers (#13752)
Some checks failed
/ sync-acceptance (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.1 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.2 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.3 (push) Has been cancelled
Vagrant Ruby Tests / Vagrant unit tests on Ruby 3.4 (push) Has been cancelled
Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
2025-12-04 17:07:40 +05:30
Sebastien Dionne
81e6dfa595
Merge pull request #13731 from survivant/main
Fix typos and linguistic errors in documentation / hacktoberfest
2025-11-21 10:52:25 +05:30
Taru Garg
91e63ec18d
chore: clean whitespaces 2025-11-19 17:25:52 +05:30
Taru Garg
3ce8ffb693
fix: cleanup implementation while setting package version 2025-11-19 12:11:37 +05:30
Taru Garg
dc373e4fc0
fix(provisioner/ansible): Allow for selection of inventory arg based on the ansible-core version 2025-11-18 18:24:12 +05:30
Conner Crosby
8867704e59
Replace deprecated Ansible inventory file option
This was done because the --inventory-file option for Ansible is
anticipated to be removed as of the ansible-core package version '2.23'.
2025-11-05 13:04:15 +05:30
Taru Garg
a241e79fc4
Fix Ansible Install capability for RHEL like system with version >= 10 (#13701)
On RHEL-like systems with major version >= 10, the current Ansible installation logic incorrectly parses the version from rpm -E %dist. This is because the current inline sed command that only extracts the first character of the version string—so for version 10, it extracts only 1, resulting in an incorrect download URL.
2025-08-07 20:07:19 +05:30
Chris Roberts
ea25996b21
Update Vagrant behavior outside of installers
Remove customized require behaviors and modify the bin executable
to check for missing tools that Vagrant expects to exist when
running outside of an installer.
2025-04-02 11:40:17 -07:00
Chris Roberts
8b06640fcf
Use helper for require calls 2024-11-06 17:33:00 -08:00
Chris Roberts
d43f154032
Merge pull request #13517 from max-arnold/fix-salt-bootstrap
Fix Salt bootstrap script URLs
2024-11-01 12:14:48 -07:00
Max Arnold
fd281cffcd
Switch to salt-bootstrap Github releases URLs
See https://saltproject.io/blog/salt-bootstrap-breakage-part-2/ for the explanation
2024-10-30 07:09:51 +07:00
Max Arnold
c9ca8e7c88
Fix Salt bootstrap script URLs
See https://saltproject.io/blog/salt-bootstrap-breakage/ for more details
2024-10-26 10:21:55 +07:00
Robin Mulder
b357829dcc
Fix double digits ansible version match 2024-08-26 16:20:30 +02:00
Patrick Poortman
94a888b260
Fix ansible version gathering in host provisioner 2024-04-02 14:37:07 +02:00
Chris Roberts
da8bdae003 Adjust string syntax 2024-01-10 16:47:59 -08:00
alexgit2k
a4e3a71de6 Support ansible pip-installation for RHEL 8 and greater 2024-01-09 14:47:45 +01:00
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
6809812965
Merge pull request #13086 from dafyddj/fix/salt-highstate
Fix Salt provisioner for Windows guests
2023-06-02 17:44:49 -07:00
Allison Larson
7db87b9da3 Salt: Remove old bootstrap scripts 2023-05-19 16:09:46 -07:00
Allison Larson
2fa539e499 Salt: Download & verify shasum of default bootstrap-salt file 2023-05-19 16:09:46 -07:00
Dafydd Jones
0c0b208741
fix(salt): fix highstate on Salt minions v3004+ 2023-02-15 18:53:07 +00:00
Dafydd Jones
26c227c978
fix(salt): prevent reinstalling of Salt minion on Windows
* fix minion detection on Windows
 * use new command-line option `-ConfigureOnly` to tell
   bootstrap not to try installing minion (on Windows)

Fixes GH-10531
2023-02-15 18:53:07 +00:00
Moritz Heiber
dfabbbb7fe
Forgot one occurance of using the raw python vs. python3 2023-01-11 12:54:42 +01:00
Moritz Heiber
5f82adf122
Replace python with python3, which is a common convention (and Ansible only works with Python 3) 2023-01-11 11:01:55 +01:00
Moritz Heiber
76ef7d3dc8
Fix installing Ansible provisioner with version and pip 2023-01-10 14:05:44 +01:00
Chris Roberts
ca7c05f09d Fix ansible install for older distributions
Before installing dependencies run a check for the python-dev-is-python3
package and only install it if found (otherwise use python-dev). This
allows older versions of debian (and derivatives) to properly install
the defined dependencies.
2022-12-08 17:10:00 -08:00
Marius Leonhardt
6fb60c9aea
Add workaround for Debian 10 and older
If `lsb_release -rs` returns a value greater than 10 the package `python-dev-is-python3` will be installed. If it is equal or less than 10 the package will not be installed.
2022-12-05 16:30:05 +01:00
Chris Roberts
0209cd21f9
Merge pull request #12832 from teh-syntax/main
Fixed issue provisioning ubuntu 22.04 python-dev has no install candidate
2022-11-08 15:25:22 -08:00
Nicolas St-Laurent
6f9f88e055 Replace deprecated File.exists? with File.exist?. 2022-09-22 08:54:46 -04:00
Robert McMahon
3f2d648691 Fixed issue provisioning ubuntu 22.04 python-dev has no install candidate 2022-08-06 20:24:17 -04:00
Chris Roberts
555d8ae7a3 Adjust provisioner to upload file before modifying it 2022-06-15 10:55:00 -07:00
sophia
b2dd5be282
Set a default environment for the puppet provisioner 2022-04-25 12:24:18 -05:00
Collin McNeese
0085124cd8
Updates chef_installed variable names to be more functional
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-10-24 12:32:37 -05:00
Collin McNeese
692cb1ae34
Updates install checks for Chef provisioners
Signed-off-by: Collin McNeese <cmcneese@chef.io>
2021-10-24 11:38:59 -05:00
Chris Roberts
bbd1404c1e
Merge pull request #12437 from chrisroberts/line-buf-shell-util
Line buffer utility and shell provisioner usage
2021-06-29 13:11:19 -07:00
Chris Roberts
de8da71c41
Merge pull request #12431 from chrisroberts/ui-tests
Update tests to use real UI instance
2021-06-29 12:47:26 -07:00
Chris Roberts
b1ae4d88fb Update shell provisioner usage of line buffer 2021-06-29 11:04:14 -07:00
Rui Lopes
ef18b45786 ensure that the shell provisioner only emits complete output lines to the ui
partial lines are buffered until they are complete (have a line ending)

see https://github.com/hashicorp/vagrant/issues/11047
2021-06-25 15:58:24 -07:00
Sophia Castellarin
ca686e3192
Merge pull request #12413 from max-arnold/salt-bootstrap-win-fix
Use more conservative TLS settings to work on older .NET versions
2021-06-24 10:09:10 -05:00
Chris Roberts
3d0d0148e9 Update tests to use real UI instance
Replaces use of UI doubles within tests to use actual UI instance
    to ensure calls are passing parameters correctly.
2021-06-23 14:04:48 -07:00
Chris Roberts
e7a6f397da Updates for Ruby 3.0 2021-06-21 15:57:46 -07:00
sophia
fecfe86cb8 Strip whitespace from ansible version
Note: strip! returns nil if there is nothing to be stripped
2021-06-15 15:24:39 -05:00
Max Arnold
0416180fb4 Use more conservative TLS settings to work on older .NET versions 2021-06-09 11:07:03 +07:00
Philipp Panzer
89c071d374
detects new versions of ansible-4.0.0+
Ansible has switched dependency between version 3.4.0 (ansible-base) and 4.0.0 (ansible-core), which now outputs new version scheme of "ansible [core 2.11.0]" instead of "ansible 2.10.9".
This fix keeps old and new version detection working.
2021-05-25 13:28:22 +02:00
Sophia Castellarin
8d38ba1cdf
Merge pull request #12127 from max-arnold/salt-bootstrap-win
Always use upstream Salt bootstrap script on Windows
2021-05-24 16:49:51 -05:00
Sergey Yelin
e95a7f3e8a
FreeBSD updated ansible to py37-ansible 2021-02-20 18:35:07 +03:00
Max Arnold
9f1c13d28c Modernize Salt bootstrap script 2021-01-07 17:07:20 +07:00
Max Arnold
e0211ebeb1 Use saltproject.io domain instead of saltstack.com 2021-01-07 02:13:19 +07:00
Max Arnold
f412672b24 Download upstream Salt bootstrap script into the same temp directory 2021-01-06 21:56:57 +07:00