Create the /srv/node for storage devices
/srv/node wasn't being created for swift storage devices this will need to go into the swift puppet module
This commit is contained in:
@@ -5,6 +5,14 @@ class { 'swift::storage::all':
|
|||||||
require => Class['swift'],
|
require => Class['swift'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!defined(File['/srv/node'])) {
|
||||||
|
file { '/srv/node':
|
||||||
|
owner => 'swift',
|
||||||
|
group => 'swift',
|
||||||
|
ensure => directory,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
swift::ringsync{["account","container","object"]:
|
swift::ringsync{["account","container","object"]:
|
||||||
ring_server => '%(CONFIG_SWIFT_BUILDER_HOST)s',
|
ring_server => '%(CONFIG_SWIFT_BUILDER_HOST)s',
|
||||||
notify => Class['swift::storage::all']
|
notify => Class['swift::storage::all']
|
||||||
|
|||||||
Reference in New Issue
Block a user