fuel-plugin-external-nfs/deployment_scripts/puppet/site.pp
Alexander Kislitsky e4f3ba26d6 NFS plugin
Provides external NFS server as Cinder backend
.build and *.fp added to .gitignore

Change-Id: Ibb98cf483ce8f45466555b9e1e1a939f85a6f4da
Implements: blueprint cinder-neutron-plugins-in-fuel
2015-01-20 16:29:55 +03:00

9 lines
335 B
Puppet

$fuel_settings = parseyaml(file('/etc/astute.yaml'))
# Just apply nfs volumes
class { 'cindernfs::volume::nfs':
nfs_shares => split($fuel_settings['external_nfs']['endpoint'], ','),
nfs_mount_options => $fuel_settings['external_nfs']['mount_options'],
nfs_sparsed_volumes => $fuel_settings['external_nfs']['sparsed_volumes'],
}