Frank Shearar
2eb97b518c
You need to include the module to use the class without ::s.
2013-05-22 16:29:58 +01:00
Frank Shearar
caf4ea722e
Import the TemplateRenderer (like the other guests do).
2013-05-14 21:22:19 +01:00
Andrzej Szeszo
c47522658e
#1639 Better Solaris OS detection (use portable method that actually works)
2013-05-10 15:19:47 +02:00
Govinda Fichtner
270913b7b9
fix uninitialized constant error for gentoo plugin
2013-05-07 11:38:46 +02:00
Mitchell Hashimoto
4f563e3be6
Allow network names to be strings in V1 config
2013-05-01 21:29:28 -07:00
Mitchell Hashimoto
4d26f01b7b
SmartOS should be OmniOS
2013-05-01 19:02:00 -07:00
Mitchell Hashimoto
6e4a9e15f7
Puppet provisioner supports hiera by specifying hiera_config_path
2013-05-01 18:44:36 -07:00
Fabio Rehm
4625d77072
More reliable Ubuntu and Debian guest detection
...
When dealing with lxc containers, '/proc/version' will have information
about the host machine kernel that can possibly have information about
an Ubuntu / Debian host, messing up with guest container detection.
2013-05-01 21:00:39 -03:00
Mitchell Hashimoto
617bf08f9e
Use the proper path on Puppet apply to the manifest
2013-04-30 18:31:06 -07:00
Mitchell Hashimoto
436a942492
Support working_directory option for Puppet [GH-1670]
2013-04-30 18:27:33 -07:00
Mitchell Hashimoto
7f32af980e
SmartOS support for setting hostnames [GH-1672]
2013-04-30 15:07:41 -07:00
Mitchell Hashimoto
e0f8114103
Detect missing Linux kexts via vboxnetctl error message [GH-1671]
2013-04-30 09:45:00 -07:00
Mitchell Hashimoto
ad5873d330
More robust VBoxManage error checking. [GH-1669]
2013-04-29 10:11:53 -07:00
Mitchell Hashimoto
bd1467dfe8
Better message when using VirtualBox config
2013-04-23 11:58:47 -07:00
Mitchell Hashimoto
40e9ce6252
Convert DOS line endings to Unix in shell provisioner [GH-1495]
2013-04-22 23:32:13 -07:00
Mitchell Hashimoto
d8ff2cb5ad
Attempt to read guest additions version from showvminfo [GH-1575]
2013-04-22 20:38:57 -07:00
Mitchell Hashimoto
efcb25693e
Update CHANGELOG for GH-1639
2013-04-22 20:29:17 -07:00
Andrzej Szeszo
b0ad782249
#1639 Better Solaris OS detection
2013-04-22 19:05:15 +02:00
Mitchell Hashimoto
280afa96c4
Fix default encrypted data bag secret
2013-04-22 08:43:20 -07:00
Mitchell Hashimoto
9dd582be3a
Compile the provider overrides early so config caching works
2013-04-19 23:16:09 -06:00
Mitchell Hashimoto
780a312fc9
Built-in DestroyConfirm middleware
2013-04-19 14:14:29 -06:00
Mitchell Hashimoto
105bf6129c
Improved SSH logging for connections
2013-04-19 10:14:45 -06:00
Mitchell Hashimoto
c0539d6e31
Warn if run list on Chef is empty, not error [GH-1620]
2013-04-19 10:12:09 -06:00
Neil Wilson
f7ce0bc893
Add ssh username to ssh connection log message
2013-04-19 17:03:26 +01:00
Mitchell Hashimoto
45267c85fe
Fix vagrant package --base [GH-1615]
2013-04-17 08:22:26 -07:00
Mitchell Hashimoto
0e7a9d3c91
Mount VBox shared folders with proper owner/group [GH-1611]
2013-04-16 17:09:32 -07:00
Mitchell Hashimoto
0f089c5671
`--[no-]parallel` for vagrant up
2013-04-16 15:22:14 -07:00
Mitchell Hashimoto
4bb5da7232
Chef client config defaults are correct [GH-1609]
2013-04-16 15:07:37 -07:00
Mitchell Hashimoto
8322f20f4b
Get rid of arbitrary 4 second sleep for SSH
2013-04-16 13:50:02 -07:00
Mitchell Hashimoto
b49bd8b8ea
Properly set the chef-solo run list [GH-1608]
2013-04-16 13:23:00 -07:00
Mitchell Hashimoto
9fe59d9863
Fix regression that @geetarista fixed.
2013-04-15 17:03:22 -07:00
Mitchell Hashimoto
a3fdfa0989
Default node name
2013-04-15 17:02:53 -07:00
Robby Colvin
845e966e0b
Fix typo in chef provisioning
2013-04-15 16:34:22 -07:00
Mitchell Hashimoto
79099086f5
Switch chef configuration to new-style
2013-04-15 12:08:08 -07:00
Shawn Dahlen
8afd3f105c
Fix use of config.ssh.username and reset provisioning path permissions.
...
This commit contains two fixes:
- The Chef provisioner was incorrectly referencing config.ssh.username
instead of machine.ssh_info[:username]. With the new change to default
ssh configuration, if a user had not set config.ssh.username,
provisioning would fail.
- The shell provisioner was not appropriately changing permissions to
the upload path. If a different ssh user attempted to use a shell
provisioner, provisioning would fail. The same case applied to
the Chef provisioner -- while permissions were being reset, they
were not done recursively.
2013-04-11 08:05:50 -04:00
Mitchell Hashimoto
e64696e839
Automatically override forwarded ports if host ports match
2013-04-10 15:37:04 -07:00
Mitchell Hashimoto
c4422d7198
FreeBSD and OpenBSD guest detection
2013-04-10 14:15:02 -07:00
Mitchell Hashimoto
d76f964470
Linux guest detection
2013-04-10 13:39:21 -07:00
Mitchell Hashimoto
6b3e028166
Output shell script that is running [GH-1568]
2013-04-10 11:27:45 -07:00
Mitchell Hashimoto
28de46f3b4
Not an error if cookbooks path is missing
2013-04-10 11:21:18 -07:00
Mitchell Hashimoto
f48587bcd1
Shared folders with the same guest path overwrite each other
2013-04-10 10:44:53 -07:00
Mitchell Hashimoto
ba07d303e5
More robust hostname checking for RedHat [GH-1566]
2013-04-10 09:33:33 -07:00
Mitchell Hashimoto
5690aef4b0
Don't duplicate names when defining new machines in VFile
2013-04-09 19:05:35 -07:00
Mitchell Hashimoto
c1f53a4ace
ssh-config doesn't raise exception when VB machine not created [GH-1562]
2013-04-09 08:47:52 -07:00
Mitchell Hashimoto
41d6553a5d
Don't allow the forward_* SSH option sto be default, no sense
2013-04-08 21:03:51 -07:00
Mitchell Hashimoto
d03938e3c1
config.ssh properly overrides provder-detected [GH-1479]
2013-04-08 20:50:15 -07:00
Mitchell Hashimoto
66ff86fda5
Auto-detect policy server IP for CFEngine
2013-04-08 15:30:41 -07:00
Mitchell Hashimoto
9b9ed2d2aa
files_path setting for CFEngine
2013-04-08 15:15:45 -07:00
Mitchell Hashimoto
b279f222a2
run_file path validation for CFEngine
2013-04-08 15:02:33 -07:00
Mitchell Hashimoto
67917353b7
Add support for policy hub bootstrapping
2013-04-08 14:47:11 -07:00
Mitchell Hashimoto
28432fc813
Specify extra args for the cf-agent call
2013-04-08 14:27:27 -07:00
Mitchell Hashimoto
292bada134
Support config.classes for extra classes in CFEngine
2013-04-08 14:24:46 -07:00
Mitchell Hashimoto
c25ce9f732
run_file and single_run mode in CFEngine
2013-04-08 14:21:10 -07:00
Mitchell Hashimoto
ae8e8830c4
Some CFEngine config validation
2013-04-08 13:51:40 -07:00
Mitchell Hashimoto
c457285fb6
Basic CFEngine boostrapping
2013-04-08 13:46:03 -07:00
Mitchell Hashimoto
53e15263f5
Start working on CFEngine bootstrap
2013-04-08 13:28:54 -07:00
Mitchell Hashimoto
8f9a5671de
Support installing CFEngine on RedHat
2013-04-08 13:09:52 -07:00
Mitchell Hashimoto
9599d8a45d
Starting work on CFEngine, installs on Debian
2013-04-08 13:05:53 -07:00
Mitchell Hashimoto
4d3159ff7e
Fix configure_networks for Fedora as well
2013-04-08 11:08:14 -07:00
Mitchell Hashimoto
78d4d0a790
Networks come back up properly after reboot on RedHat [GH-921]
2013-04-08 11:02:03 -07:00
Mitchell Hashimoto
fd157476b4
extend should be include for TemplateRenderer in caps
2013-04-08 10:47:19 -07:00
Mitchell Hashimoto
a9b2ab33ad
Convert network type to symbol so that strings can be used
2013-04-08 10:39:26 -07:00
Mitchell Hashimoto
88b34d3b71
Message on `up` that VM is already running [GH-1558]
2013-04-08 09:09:23 -07:00
Mitchell Hashimoto
c1acdc2409
Get rid of ruby warning from shadowing in SSH command
2013-04-07 22:10:50 -07:00
Mitchell Hashimoto
8b2bf72e8a
Fix parsing SSH extra args in multi-machine envs [GH-1545]
2013-04-07 22:07:55 -07:00
Mitchell Hashimoto
7fa9892b75
Send SSH keep-alive packets [GH-516]
2013-04-07 21:51:14 -07:00
Mitchell Hashimoto
142cc4bef7
rtcuseutc as sane default for VBox [GH-912]
2013-04-07 15:04:38 -07:00
Mitchell Hashimoto
c34c8b39c3
Expand Cygwin path to Windows for VirtualBox shared folders
2013-04-06 22:08:41 -07:00
Mitchell Hashimoto
373a1d8633
Properly expand cygwin paths to Windows path for vboxmanage
2013-04-06 22:06:33 -07:00
Mitchell Hashimoto
d7990721a0
s/not/!/ in ansible provisioner config
2013-04-05 09:43:56 -07:00
Collin Allen
d783b33fe2
Validate that extra_vars is a hash
2013-04-05 09:40:32 -07:00
Collin Allen
c2b43787c5
Make Ansible extra_vars a hash instead of a string
2013-04-05 08:43:45 -07:00
Mitchell Hashimoto
1957efb4e1
Nicer error if ansible-playbook is not installed on the host
2013-04-04 14:01:26 -07:00
Mitchell Hashimoto
896db2f190
Ansible provisioner support CHANGELOG
2013-04-04 13:48:58 -07:00
Mitchell Hashimoto
1c2a46ba72
Merge ansible provisioner [GH-1465]
2013-04-04 13:39:36 -07:00
Mitchell Hashimoto
7b9e5fd4a7
Include should be extend for class methods
2013-04-04 12:25:40 -07:00
Mitchell Hashimoto
439499fc11
Solaris capabilities
2013-04-04 12:25:10 -07:00
Mitchell Hashimoto
5e09577a76
Lots more guest capabilities converted
2013-04-04 12:09:40 -07:00
Mitchell Hashimoto
2c362d4d28
FreeBSD capabilities
2013-04-04 11:56:42 -07:00
Mitchell Hashimoto
8bf9fb17b1
Remove freeBSD config because it isn't used anymore
2013-04-04 11:50:05 -07:00
Mitchell Hashimoto
0e4e347308
Fedora capabilities
2013-04-04 11:49:26 -07:00
Mitchell Hashimoto
7f33081387
Convert arch to capabilities
2013-04-04 11:39:58 -07:00
Collin Allen
2aa96fc550
Enable Ansible color output
2013-04-04 11:31:27 -07:00
Collin Allen
b52d4dcd58
Add config.rb newline
2013-04-04 00:24:14 -07:00
Collin Allen
bbe08744a2
Use Vagrant::Util::Subprocess.execute instead of SafeExec
2013-04-04 00:07:59 -07:00
Collin Allen
28f4a4c890
Update 'require' calls to resemble shell provisioner
2013-04-04 00:07:30 -07:00
Mitchell Hashimoto
0fbe9b0aca
Ubuntu change_host_name cap
2013-04-03 23:53:17 -07:00
Mitchell Hashimoto
22f3ea6606
Remove the linux config, not used anyways
2013-04-03 23:50:12 -07:00
Mitchell Hashimoto
067f431ee9
Better debugging on searching for capabilities
2013-04-03 23:46:39 -07:00
Mitchell Hashimoto
2f232e0175
Halt and mount NFS are caps
2013-04-03 23:33:20 -07:00
Mitchell Hashimoto
61d2f9f96f
SetHostname uses new cap system
2013-04-03 23:18:12 -07:00
Mitchell Hashimoto
63f28a9011
Nicer error messages for new linux caps
2013-04-03 23:14:24 -07:00
Mitchell Hashimoto
2a542dab02
Switch configure_networks to capabilities system
2013-04-03 23:08:33 -07:00
Collin Allen
5a052874b4
Improve ansible provisioner error checks
2013-04-03 23:07:07 -07:00
Mitchell Hashimoto
28d3f274d8
First capability for linux
2013-04-03 23:01:43 -07:00
Collin Allen
a1ad1207bd
Add ansible provisioner
2013-04-03 22:56:32 -07:00
Mitchell Hashimoto
52f3847b0a
Laying the foundation for the new guest plugin
2013-04-03 21:47:57 -07:00
Mitchell Hashimoto
4ffc2c3b74
Invalid configuration keys are caught and shown in user friendly way
...
[GH-1484]
2013-04-03 16:18:37 -07:00
Mitchell Hashimoto
fc708bc139
Respect :mac option for networks [GH-1536]
2013-04-03 15:41:42 -07:00
Mitchell Hashimoto
52a2f48b20
Provider-specific configuration overrides via 2nd block param
...
Example:
Vagrant.configure("2") do |config|
# ...
config.vm.provider :virtualbox do |p, vb_config|
vb_config.vm.box = "virtualbox_box"
end
end
2013-04-03 14:57:14 -07:00