Commit Graph

6750 Commits

Author SHA1 Message Date
Justin Page 2ecefe1670 Update Teardown instructions explicitly.
Explicitly define halting and destroying instructions. Leaves no room for implicit assumptions.
2014-06-18 19:51:39 -07:00
Shawn Neal 1e28f1ac31 Merge pull request #4059 from brettporter/windows-puppet-wd
Unable to use puppet.working_directory on Windows
2014-06-18 07:56:49 -07:00
Brett Porter 0c7c143ad1 fix escaping of powershell variable
As this is nested in a powershell variable $command, it must be escaped
otherwise it is evaluated when the variable is created, giving an error that
"The term 'True' is not recognized as the name of a cmdlet, function,
script". This prevented using a puppet.working_directory on Windows.
2014-06-18 16:05:17 +10:00
Mitchell Hashimoto f0cd8511ed Update CHANGELOG 2014-06-12 11:41:00 -07:00
Mitchell Hashimoto 0c3d677bf5 Merge pull request #4006 from mitchellh/fix-issue-3987
guests/windows: reboot after hostname change
2014-06-12 11:40:22 -07:00
Mitchell Hashimoto 4d76327382 guests/freebsd: style 2014-06-12 11:38:53 -07:00
Mitchell Hashimoto dec2760465 Update CHANGELOG 2014-06-12 11:38:03 -07:00
Mitchell Hashimoto dffdf763a6 Merge pull request #4009 from calvinhp/fix/master/freebsd_rsync_install
guest/freebsd: update rsync install for FreeBSD 10
2014-06-12 11:37:29 -07:00
Mitchell Hashimoto 4f0e527f5d core: don't delete data dir if no data dir [GH-4017] 2014-06-12 11:30:10 -07:00
Calvin Hendryx-Parker eda1ac5667 Updated the rsync freebsd plugin install process for FreeBSD 10 2014-06-10 15:07:50 -04:00
Shawn Neal d4bd05883d Fixed issue 3987
Reboot the Windows guest after renaming the computer so changes take affect immediately before attempting to provision the box.

- Changed rename from wmic to netdom since netdom seems to work correctly in Windows 2008R2 and newer OSs.
- Fixed Windows guest error translations, the wrong namespace was specified in the yaml file.
2014-06-09 22:46:03 -07:00
Mitchell Hashimoto 0a5f6bb77e Update CHANGELOG.md 2014-06-06 19:53:26 -07:00
Mitchell Hashimoto c5fa6b1191 Merge pull request #3983 from dougm/nixos-nfs-client
guest/nixos: nfs_client_installed capability
2014-06-06 19:52:38 -07:00
Doug MacEachern 3b1b3d0a00 Add nixos guest capability: nfs_client_installed 2014-06-05 17:53:32 -07:00
Teemu Matilainen 004ea50bf2 Fix doc link [GH-3978]
Fixes #3978
2014-06-05 09:18:36 +03:00
Mitchell Hashimoto fd4ecf8021 Update CHANGELOG.md 2014-06-02 22:08:43 -07:00
Mitchell Hashimoto 984bea0bd4 Merge pull request #3962 from StefanScherer/fix_hosts_windows_cap_rdp
hosts/windows: fixed writing rdp file on windows host
2014-06-02 22:08:13 -07:00
Mitchell Hashimoto 6859a4e132 Update CHANGELOG.md 2014-06-02 22:07:11 -07:00
Mitchell Hashimoto 8cd073b148 Merge pull request #3959 from benh57/master
provisioners/puppet: Backtick-escape the facter env command in powershell. Fixes issue 3958
2014-06-02 22:05:14 -07:00
StefanScherer 1b32cbade2 fixed writing rdp file 2014-06-03 06:57:14 +02:00
Ben Hines 7d52f0e14d Backtick-escape the facter env command in powershell. Fixes issue 3958 2014-06-02 19:37:29 -07:00
Andrew Melo f3067528c9 Updating docs to include :ip option 2014-06-02 21:16:41 -05:00
Mitchell Hashimoto af436553d3 Merge pull request #3946 from thierrymarianne/typo-fix-in-multiple-machine-doc
website/docs: Fix typo in multi-machine doc
2014-05-31 08:57:20 -07:00
Thierry Marianne 6a948d1e2f Fix typo in multi-machine doc 2014-05-31 13:40:33 +02:00
Mitchell Hashimoto db5c047072 Up version for dev 2014-05-29 12:23:22 -07:00
Mitchell Hashimoto a8b4ca2c58 website/www: up version 2014-05-29 12:13:13 -07:00
Mitchell Hashimoto 85d63a91f7 v1.6.3 2014-05-29 10:36:24 -07:00
steve 9444e2dc43 Disable automatic ennoblement of hostiocache
This can cause behavior that requires re stat’ing
files to for the guest to realize they have
changed. Prevents manually dialing this option.
2014-05-29 10:27:00 -07:00
Mitchell Hashimoto 91ba97f1df Merge pull request #3933 from catsby/update_website_vagrantfiles
Update the Vagrantfiles included in website
2014-05-29 10:09:04 -07:00
Mitchell Hashimoto d30efdcda9 Merge pull request #3926 from rockymadden/master
Fixed minor typo.
2014-05-29 07:43:15 -07:00
Mitchell Hashimoto 66cbe7da48 Merge pull request #3927 from rockymadden/master
Fixed minor typos.
2014-05-29 07:43:00 -07:00
Mitchell Hashimoto 393ff501f9 Merge pull request #3930 from catsby/remove_slave
website: Remove references to slave
2014-05-29 07:41:43 -07:00
Clint Shryock 179b5c8181 Update the Vagrantfiles included in website
use 'hashicorp/precise64', otherwise I get errors on initial `vagrant up`
2014-05-29 09:18:12 -05:00
Clint Shryock 7f7a107a3e Remove references to slave
Instead of calling things slaves, either rename them to "nodes" or "followers",
depending on the context
2014-05-29 09:12:23 -05:00
Rocky Madden 32029b91a0 Fixed minor typos. 2014-05-29 03:09:24 -06:00
Rocky Madden 3b4d575a02 Fixed minor typo. 2014-05-29 01:20:13 -06:00
Mitchell Hashimoto 188b26719c Update CHANGELOG.md 2014-05-28 13:07:06 -07:00
Mitchell Hashimoto 2eb6adae32 Merge pull request #3922 from mitchellh/fix-issue-3918
communicator/winrm: proper exit code for powershell
2014-05-28 13:06:08 -07:00
Shawn Neal 291f01045b Fixed issue 3918
Running Windows guest commands through a scheduled task were not returning the correct exit codes, they were only returning 1 or 0. This has negative consequences especially for Puppet which can return an exit code of 2 for partial success.

Since we're running an executable from inside a powershell encoded command we need to ensure we explicitly propagate the exit code to the original caller just like a regular PowerShell script - in this case cmd /c which in return is called from a scheduled task.
2014-05-28 08:54:36 -07:00
Marno van der Molen 127ef683e7 make sure C:\tmp\ exists before downloading salt installer 2014-05-28 15:24:47 +02:00
Marno van der Molen d93a2c0e55 Made Salt Minion version to install a variable - ideally Salt would offer a -latest.exe or something for Windows 2014-05-28 11:09:59 +02:00
Mitchell Hashimoto 70df09e297 Update CHANGELOG.md 2014-05-26 08:12:15 -07:00
Mitchell Hashimoto db35efb956 Merge pull request #3903 from emyl/puppet-elevated
provisioners/puppet: run in elevated mode on Win guests
2014-05-26 08:11:38 -07:00
Emiliano Ticci 6bd7359c1b provisioners/puppet: run in elevated mode on Win guests 2014-05-26 11:23:14 +02:00
Mitchell Hashimoto 29bb106c13 Merge pull request #3902 from zigg/fix/osx-xargs-r-flag
guests/darwin: drop `-r` flag from `xargs` on OS X
2014-05-25 16:08:55 -07:00
Matt Behrens ef44f19601 drop `-r` flag from `xargs` on OS X
OS X's `xargs` does not support the `-r` flag (which means "do not
execute the command even once if there are no arguments"), but
behaves by default as if it was specified.

You can verify this yourself with this test:

    $ touch zero-length-file
    $ xargs echo <zero-length-file

If `echo` is executed, you will see a blank line.  If it is not
executed (i.e. `-r` is specified or the behavior is implied) then
you will see no blank line.
2014-05-25 18:42:40 -04:00
Mitchell Hashimoto f99b2bac5d comamnds/box/add: change help text 2014-05-25 12:54:48 -07:00
Mitchell Hashimoto 82ad8c84e1 Merge pull request #3899 from aspiers/help-text
commands/box/add: make --help text slightly more accurate
2014-05-25 12:54:11 -07:00
Adam Spiers 930254c304 make init --help text more accurate 2014-05-24 20:38:24 +01:00
Adam Spiers a87cfbeea2 make box add --help text more accurate
Fixes #3898.
2014-05-24 20:37:47 +01:00