Remove version check regex from puppet
This commit removes the version test method in
default.rb, which is the sudo-equivalent of e30d6ef
in the 3.x branch. AFAICT this method is not called
anywhere in puppet, and since we've started using
RC versions it won't work as-is if called.
Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
This commit is contained in:
Родитель
0b22ec17bc
Коммит
82ebe28b74
|
@ -13,10 +13,6 @@ class TestPuppetDefaults < Test::Unit::TestCase
|
||||||
@@normals = %w{puppetport masterport server}
|
@@normals = %w{puppetport masterport server}
|
||||||
@@booleans = %w{noop}
|
@@booleans = %w{noop}
|
||||||
|
|
||||||
def testVersion
|
|
||||||
assert( Puppet.version =~ /^[0-9]+(\.[0-9]+)*/, "got invalid version number #{Puppet.version}")
|
|
||||||
end
|
|
||||||
|
|
||||||
def testStringOrParam
|
def testStringOrParam
|
||||||
[@@dirs,@@files,@@booleans].flatten.each { |param|
|
[@@dirs,@@files,@@booleans].flatten.each { |param|
|
||||||
assert_nothing_raised { Puppet[param] }
|
assert_nothing_raised { Puppet[param] }
|
||||||
|
|
Загрузка…
Ссылка в новой задаче