Hello community,

here is the log from the commit of package saphanabootstrap-formula for 
openSUSE:Factory checked in at 2019-12-21 12:32:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/saphanabootstrap-formula (Old)
 and      /work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "saphanabootstrap-formula"

Sat Dec 21 12:32:34 2019 rev:7 rq:758457 version:0.4.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/saphanabootstrap-formula/saphanabootstrap-formula.changes
        2019-12-17 13:30:48.215395708 +0100
+++ 
/work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.6675/saphanabootstrap-formula.changes
      2019-12-21 12:33:06.311412421 +0100
@@ -1,0 +2,6 @@
+Thu Dec 19 12:18:22 UTC 2019 - Xabier Arbulu <[email protected]>
+
+- Version 0.4.1
+  * Update cloud provider usage 
+
+-------------------------------------------------------------------

Old:
----
  saphanabootstrap-formula-0.4.0.tar.gz

New:
----
  saphanabootstrap-formula-0.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ saphanabootstrap-formula.spec ++++++
--- /var/tmp/diff_new_pack.V2s0iC/_old  2019-12-21 12:33:06.855412680 +0100
+++ /var/tmp/diff_new_pack.V2s0iC/_new  2019-12-21 12:33:06.863412683 +0100
@@ -19,7 +19,7 @@
 # See also http://en.opensuse.org/openSUSE:Specfile_guidelines
 
 Name:           saphanabootstrap-formula
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
 Summary:        SAP HANA platform deployment formula
 License:        Apache-2.0

++++++ saphanabootstrap-formula-0.4.0.tar.gz -> 
saphanabootstrap-formula-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/saphanabootstrap-formula-0.4.0/saphanabootstrap-formula.changes 
new/saphanabootstrap-formula-0.4.1/saphanabootstrap-formula.changes
--- old/saphanabootstrap-formula-0.4.0/saphanabootstrap-formula.changes 
2019-12-17 11:56:28.137048633 +0100
+++ new/saphanabootstrap-formula-0.4.1/saphanabootstrap-formula.changes 
2019-12-19 14:28:47.048955999 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Thu Dec 19 12:18:22 UTC 2019 - Xabier Arbulu <[email protected]>
+
+- Version 0.4.1
+  * Update cloud provider usage 
+
+-------------------------------------------------------------------
 Thu Dec 12 11:52:23 UTC 2019 - Xabier Arbulu <[email protected]>
 
 - Version bump 0.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/saphanabootstrap-formula-0.4.0/saphanabootstrap-formula.spec 
new/saphanabootstrap-formula-0.4.1/saphanabootstrap-formula.spec
--- old/saphanabootstrap-formula-0.4.0/saphanabootstrap-formula.spec    
2019-12-17 11:56:28.137048633 +0100
+++ new/saphanabootstrap-formula-0.4.1/saphanabootstrap-formula.spec    
2019-12-19 14:28:47.048955999 +0100
@@ -19,7 +19,7 @@
 # See also http://en.opensuse.org/openSUSE:Specfile_guidelines
 
 Name:           saphanabootstrap-formula
-Version:        0.4.0
+Version:        0.4.1
 Release:        0
 Summary:        SAP HANA platform deployment formula
 License:        Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/saphanabootstrap-formula-0.4.0/templates/scale_up_resources.j2 
new/saphanabootstrap-formula-0.4.1/templates/scale_up_resources.j2
--- old/saphanabootstrap-formula-0.4.0/templates/scale_up_resources.j2  
2019-12-17 11:56:28.137048633 +0100
+++ new/saphanabootstrap-formula-0.4.1/templates/scale_up_resources.j2  
2019-12-19 14:28:47.048955999 +0100
@@ -1,6 +1,7 @@
 {% set data = pillar.cluster.configure.template.parameters %}
 {% set sid = data.sid.upper() %}
 {% set instance = '{:0>2}'.format(data.instance) %}
+{% set cloud_provider = grains['cloud_provider'] %}
 
 #
 # defaults
@@ -17,11 +18,11 @@
 # production HANA
 #
 
-{% set nic = "nic="~pillar.cluster.interface|default('eth0')|json if 
data.platform == "gcp" else "nic="~pillar.cluster.interface|json if 
pillar.cluster.interface is defined else "" %}
+{% set nic = "nic="~pillar.cluster.interface|default('eth0')|json if 
cloud_provider == "google-cloud-platform" else 
"nic="~pillar.cluster.interface|json if pillar.cluster.interface is defined 
else "" %}
 
 primitive rsc_ip_{{ sid }}_HDB{{ instance }} ocf:heartbeat:IPaddr2 \
     params \
-    ip="{{ data.virtual_ip }}" cidr_netmask="{{ 32 if data.platform == "gcp" 
else data.virtual_ip_mask }}" {{ nic }} \
+    ip="{{ data.virtual_ip }}" cidr_netmask="{{ 32 if cloud_provider == 
"google-cloud-platform" else data.virtual_ip_mask }}" {{ nic }} \
     op start timeout="20" op stop timeout="20" \
     op monitor interval="10" timeout="20"
 
@@ -52,7 +53,7 @@
 ms msl_SAPHana_{{ sid }}_HDB{{ instance }} rsc_SAPHana_{{ sid }}_HDB{{ 
instance }} \
     meta clone-max="2" clone-node-max="1" interleave="true"
 
-{% if data.platform == "azure" %}
+{% if cloud_provider == "microsoft-azure" %}
 
 primitive rsc_socat_{{ sid }}_HDB{{ instance }} anything \
   params binfile="/usr/bin/socat" cmdline_options="-U TCP-LISTEN:625{{ 
instance }},backlog=10,fork,reuseaddr /dev/null" \


Reply via email to