Use openstack spec helper for spec defaults
* Add puppet-openstack_spec_helper to Gemfile * Use puppet-openstack_spec_helper/defaults in spec_helper * Delete spec/defaults.rb, useless now Change-Id: Iba85d84a1dfec3721a3e5c76d4633aad2806af18changes/24/267224/1
parent
fc8fc7fd26
commit
277cf7ae23
@ -1,44 +0,0 @@
|
||||
# This file contains a module to return a default set of facts and supported
|
||||
# operating systems for the tests in this module.
|
||||
module OSDefaults
|
||||
def self.get_facts(extra_facts={})
|
||||
{ :os_service_default => '<SERVICE DEFAULT>' }.merge(extra_facts)
|
||||
end
|
||||
|
||||
def self.get_supported_os
|
||||
[
|
||||
{
|
||||
"operatingsystem" => "CentOS",
|
||||
"operatingsystemrelease" => [
|
||||
"7.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem" => "RedHat",
|
||||
"operatingsystemrelease" => [
|
||||
"7.0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem" => "Fedora",
|
||||
"operatingsystemrelease" => [
|
||||
"21",
|
||||
"22"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem" => "Ubuntu",
|
||||
"operatingsystemrelease" => [
|
||||
"14.04"
|
||||
]
|
||||
},
|
||||
{
|
||||
"operatingsystem" => "Debian",
|
||||
"operatingsystemrelease" => [
|
||||
"7",
|
||||
"8"
|
||||
]
|
||||
}
|
||||
]
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue