diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-05-15 17:46:17 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-05-15 17:46:17 +0000 |
commit | b8d86b7008b1a8a4f90391a19298ae8de80235c9 (patch) | |
tree | a6100dedcf56314d37704567e28606c838bf392f /manifests/profile/base/neutron/ovs.pp | |
parent | ae2c883ac56aea5ce881a0f8a8721c9cda965f34 (diff) | |
parent | 2556c56b5b8bb84b1846683bb4a21881b35fad08 (diff) |
Merge "vhostuser socket dir shall be created for vhostuserclient mode"
Diffstat (limited to 'manifests/profile/base/neutron/ovs.pp')
-rw-r--r-- | manifests/profile/base/neutron/ovs.pp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/manifests/profile/base/neutron/ovs.pp b/manifests/profile/base/neutron/ovs.pp index bec7e96..97eb8e9 100644 --- a/manifests/profile/base/neutron/ovs.pp +++ b/manifests/profile/base/neutron/ovs.pp @@ -23,12 +23,27 @@ # for more details. # Defaults to hiera('step') # +# [*vhostuser_socket_dir*] +# (Optional) vhostuser socket dir, The directory where $vhostuser_socket_dir +# will be created with correct permissions, inorder to support vhostuser +# client mode. + class tripleo::profile::base::neutron::ovs( - $step = hiera('step'), + $step = hiera('step'), + $vhostuser_socket_dir = hiera('neutron::agents::ml2::ovs::vhostuser_socket_dir', undef) ) { include ::tripleo::profile::base::neutron if $step >= 5 { + if $vhostuser_socket_dir { + file { $vhostuser_socket_dir: + ensure => directory, + owner => 'qemu', + group => 'qemu', + mode => '0775', + } + } + include ::neutron::agents::ml2::ovs # Optional since manage_service may be false and neutron server may not be colocated. |