~fuel-plugin-cinder-netapp-team/fuel-plugin-cinder-netapp/8.0

« back to all changes in this revision

Viewing changes to deployment_scripts/puppet/modules/plugin_cinder_netapp/manifests/controller.pp

  • Committer: Andrey Volochay
  • Author(s): Aleksandr Vorobiov
  • Date: 2015-09-23 10:26:24 UTC
  • Revision ID: git-v1:5f6860004b7a52fddb04366f5520a3899c834750
Add high availability of operations with Volumes

Change-Id: I4f078e43887fcb315c7941de2eaa7782d91b33ff

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#
6
6
class plugin_cinder_netapp::controller
7
7
inherits plugin_cinder_netapp::params {
 
8
 
 
9
    cinder_config {
 
10
      "DEFAULT/host": value => "str:netapp";
 
11
    }
 
12
 
8
13
    $cinder_hash = $::fuel_settings['cinder']
9
14
    if $::fuel_settings['cinder_netapp']['multibackend'] {
10
15
      class { 'plugin_cinder_netapp::multibackend_controller':
11
16
        cinder_user_password => $cinder_hash[user_password],
12
 
        auth_host            => $::fuel_settings['management_vip']
 
17
        auth_host            => hiera('management_vip', undef)
13
18
      } 
14
19
    } else {
15
20
      $section = 'DEFAULT'