lib/knife-solo/bootstraps/freebsd.rb in knife-solo-0.3.0.pre1 vs lib/knife-solo/bootstraps/freebsd.rb in knife-solo-0.3.0.pre2
- old
+ new
@@ -2,14 +2,10 @@
class FreeBSD < Base
def issue
run_command("uname -sr").stdout.strip
end
- def gem_packages
- ['chef']
- end
-
def prepare_make_conf
ui.msg "Preparing make.conf"
run_command <<-EOF
echo 'RUBY_DEFAULT_VER=1.9' >> /etc/make.conf
EOF
@@ -45,10 +41,10 @@
end
def distro
return @distro if @distro
case issue
- when %r{FreeBSD 9.0-RELEASE}
+ when %r{FreeBSD 9\.[01]}
{:type => 'freebsd_port'}
else
raise "#{issue} not supported"
end
end