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:
Derek Higgins
2012-12-21 12:06:50 -05:00
parent 56d0faff44
commit 6c21f1572d

View File

@@ -5,6 +5,14 @@ class { 'swift::storage::all':
require => Class['swift'],
}
if(!defined(File['/srv/node'])) {
file { '/srv/node':
owner => 'swift',
group => 'swift',
ensure => directory,
}
}
swift::ringsync{["account","container","object"]:
ring_server => '%(CONFIG_SWIFT_BUILDER_HOST)s',
notify => Class['swift::storage::all']