Ensure trove services are up before managing datastore
... because these resource types require API access. Change-Id: Ibf90912fef56fcbe81bbd40691a7fd172fce9b5b
This commit is contained in:
parent
0ca65d22c5
commit
ea9d67ad7b
@ -22,5 +22,9 @@ Puppet::Type.newtype(:trove_datastore) do
|
||||
validate do
|
||||
raise(Puppet::Error, 'Version must be set') unless self[:version]
|
||||
end
|
||||
|
||||
autorequire(:anchor) do
|
||||
['trove::service::end']
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -35,4 +35,8 @@ Puppet::Type.newtype(:trove_datastore_version) do
|
||||
raise(Puppet::Error, 'Packages must be set') unless self[:packages]
|
||||
raise(Puppet::Error, 'State must be set') unless self[:active]
|
||||
end
|
||||
|
||||
autorequire(:anchor) do
|
||||
['trove::service::end']
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user