Bring in newer glusterfs for mtime unsplit brain
[fuel.git] / mcp / patches / 0013-maas-region-Allow-subnets-without-fabrics.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
10 Date: Thu, 23 Nov 2017 03:33:01 +0200
11 Subject: [PATCH] maas: region: Allow subnets without fabrics
12
13 Configuring subnets should be possible without explicitly configuring
14 fabrics.
15
16 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
17 ---
18
19 diff --git a/maas/region.sls b/maas/region.sls
20 --- a/maas/region.sls
21 +++ b/maas/region.sls
22 @@ -186,7 +186,9 @@
23    - name: maas.process_subnets
24    - require:
25      - module: maas_config
26 +    {%- if region.get('fabrics', False)  %}
27      - module: maas_fabrics
28 +    {%- endif %}
29  {%- endif %}
30
31  {%- if region.get('devices', False)  %}