Revision fbb47ea5
Added by Timo Goebel over 8 years ago
test/factories/host_related.rb | ||
---|---|---|
end
|
||
end
|
||
|
||
trait :with_puppet_ca do
|
||
environment
|
||
puppet_ca_proxy do
|
||
FactoryGirl.create(:smart_proxy, :features => [FactoryGirl.create(:feature, :puppetca)])
|
||
end
|
||
end
|
||
|
||
trait :managed do
|
||
managed true
|
||
architecture { operatingsystem.try(:architectures).try(:first) }
|
Also available in: Unified diff
fixes #13647 - change puppet ca proxy for several hosts at once