Ensure that directories to create bridge are present
Change-Id: I5dc785ad3c8966669ed37db5e3fd34c4f4e87efd
This commit is contained in:
parent
a6fb65afd1
commit
724bf44094
|
@ -97,10 +97,16 @@ class infracloud::bifrost (
|
|||
before => Exec['install bifrost'],
|
||||
}
|
||||
|
||||
file { ['/opt/stack/elements/infra-cloud-bridge/static',
|
||||
'/opt/stack/elements/infra-cloud-bridge/static/opt']:
|
||||
ensure => directory,
|
||||
require => File['/opt/stack/elements'],
|
||||
}
|
||||
|
||||
file { '/opt/stack/elements/infra-cloud-bridge/static/opt/create_bridge.py':
|
||||
ensure => present,
|
||||
content => template('infracloud/bifrost/create_bridge.py.erb'),
|
||||
require => File['/opt/stack/elements'],
|
||||
require => File['/opt/stack/elements/infra-cloud-bridge/static/opt'],
|
||||
before => Exec['install bifrost'],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue