diff options
author | Emilien Macchi <emilien@redhat.com> | 2017-01-26 16:45:55 -0500 |
---|---|---|
committer | Emilien Macchi <emilien@redhat.com> | 2017-01-26 16:45:55 -0500 |
commit | 62bb10b8995b5b616bdfe98a4d76ebd84e50cfa0 (patch) | |
tree | 57162ebc3b639727ffe5d5a608bbbcea90846a4a /manifests | |
parent | 58200e33c29f15dbd7b2489789b0e8d7b0992c5d (diff) |
horizon: be more flexible in hiera neutron
Requiring the neutron mechanism driver from hiera is too rigid, if
Neutron is not deployed in the catalog.
Be more flexible so catalog won't fail if the value is not set in Hiera.
Change-Id: I1475687c4dc53c77e763f42a440355a7c8d014bc
Partial-Bug: #1659662
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/profile/base/horizon.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/profile/base/horizon.pp b/manifests/profile/base/horizon.pp index be07c0e..bd28ab0 100644 --- a/manifests/profile/base/horizon.pp +++ b/manifests/profile/base/horizon.pp @@ -30,7 +30,7 @@ class tripleo::profile::base::horizon ( # Horizon include ::apache::mod::remoteip include ::apache::mod::status - if 'cisco_n1kv' in hiera('neutron::plugins::ml2::mechanism_drivers') { + if 'cisco_n1kv' in hiera('neutron::plugins::ml2::mechanism_drivers', undef) { $_profile_support = 'cisco' } else { $_profile_support = 'None' |