vagrant/templates
Lamont Granquist 2c9f83a690 fix chef version checking
the version checking here uses a function which is intended only
for chef cookbook versions, which must be x.y or x.y.z.  when fed
a legal chef prerelease version the prior code throws an exception:

[2014-05-01T22:08:01+00:00] FATAL: Configuration error Chef::Exceptions::InvalidCookbookVersion: '11.14.0.alpha.1' does not match 'x.y.z' or 'x.y'
[2014-05-01T22:08:01+00:00] FATAL:   /tmp/vagrant-chef-2/solo.rb:6:in `from_string'
[2014-05-01T22:08:01+00:00] FATAL: Aborting due to error in '/tmp/vagrant-chef-2/solo.rb'

since we only need to compare the major and minor version numbers a
simple #to_f sufficies for this test.

alternative, we could use Gem::Version here, but i didn't really see
the need to...
2014-05-01 15:26:34 -07:00
..
commands Clean up the Vagrantfile template 2014-04-09 08:49:25 -07:00
config Support warnings/errors when upgrading Vagrantfiles internally 2013-01-20 22:04:50 -05:00
guests Fix a network configuration issue of Fedora [GH-1997] 2014-03-14 15:12:51 +09:00
locales providers/docker: be more lenient about deleting built image 2014-04-28 09:36:55 -07:00
nfs core: Arbitrary NFS options with nfs_options [GH-1029] 2013-09-01 13:08:02 -07:00
provisioners fix chef version checking 2014-05-01 15:26:34 -07:00
package_Vagrantfile.erb New `vagrant package` option `--vagrantfile` and changed semantics of `--include` (see CHANGELOG) 2010-09-12 23:20:13 -06:00
rgloader.rb Extra protection in the rgloader file 2013-01-31 19:54:50 -08:00