Hello community, here is the log from the commit of package saphanabootstrap-formula for openSUSE:Factory checked in at 2020-01-25 13:24:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/saphanabootstrap-formula (Old) and /work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "saphanabootstrap-formula" Sat Jan 25 13:24:51 2020 rev:9 rq:766941 version:0.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/saphanabootstrap-formula/saphanabootstrap-formula.changes 2020-01-10 17:51:49.650135687 +0100 +++ /work/SRC/openSUSE:Factory/.saphanabootstrap-formula.new.26092/saphanabootstrap-formula.changes 2020-01-25 13:24:58.896058155 +0100 @@ -1,0 +2,6 @@ +Tue Jan 21 14:41:29 UTC 2020 - Dario Maiocchi <dmaioc...@suse.com> + +- Version 0.4.3 + * Add saptune module to apply a specific solution + +------------------------------------------------------------------- Old: ---- saphanabootstrap-formula-0.4.2.tar.gz New: ---- saphanabootstrap-formula-0.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ saphanabootstrap-formula.spec ++++++ --- /var/tmp/diff_new_pack.DoYZRx/_old 2020-01-25 13:24:59.704058509 +0100 +++ /var/tmp/diff_new_pack.DoYZRx/_new 2020-01-25 13:24:59.708058511 +0100 @@ -19,7 +19,7 @@ # See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: saphanabootstrap-formula -Version: 0.4.2 +Version: 0.4.3 Release: 0 Summary: SAP HANA platform deployment formula License: Apache-2.0 ++++++ saphanabootstrap-formula-0.4.2.tar.gz -> saphanabootstrap-formula-0.4.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/saphanabootstrap-formula-0.4.2/hana/init.sls new/saphanabootstrap-formula-0.4.3/hana/init.sls --- old/saphanabootstrap-formula-0.4.2/hana/init.sls 2020-01-08 18:09:15.008475999 +0100 +++ new/saphanabootstrap-formula-0.4.3/hana/init.sls 2020-01-22 18:17:54.931430466 +0100 @@ -5,6 +5,7 @@ - hana.packages {% endif %} - hana.pre_validation + - hana.saptune - hana.install - hana.enable_primary - hana.enable_secondary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/saphanabootstrap-formula-0.4.2/hana/saptune.sls new/saphanabootstrap-formula-0.4.3/hana/saptune.sls --- old/saphanabootstrap-formula-0.4.2/hana/saptune.sls 1970-01-01 01:00:00.000000000 +0100 +++ new/saphanabootstrap-formula-0.4.3/hana/saptune.sls 2020-01-22 18:17:54.931430466 +0100 @@ -0,0 +1,14 @@ +{%- from "hana/map.jinja" import hana with context -%} +{% set host = grains['host'] %} + +{% for node in hana.nodes if node.host == host and (hana.saptune_solution is defined or node.saptune_solution is defined) %} + +{% set saptune_solution = node.saptune_solution|default(hana.saptune_solution) %} +{% set instance = '{:0>2}'.format(node.instance) %} +{% set name = '{}_{}'.format(node.sid, instance) %} + +apply_saptune_solution_{{ host }}_{{ name }}: + saptune.solution_applied: + - name: {{ saptune_solution }} + +{% endfor %} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/saphanabootstrap-formula-0.4.2/pillar.example new/saphanabootstrap-formula-0.4.3/pillar.example --- old/saphanabootstrap-formula-0.4.2/pillar.example 2020-01-08 18:09:15.008475999 +0100 +++ new/saphanabootstrap-formula-0.4.3/pillar.example 2020-01-22 18:17:54.931430466 +0100 @@ -3,6 +3,12 @@ # If set to false, this packages must be installed before the formula # execution manually # install_packages: true + + # saptune solution to apply to all nodes ( by default nothing is applied) + # you can also use this to a single node if need to differ. see hana2 + # Warning: only a unique solution can exist into a node. + saptune_solution: 'HANA' + nodes: - host: 'hana01' sid: 'prd' @@ -46,6 +52,7 @@ sid: 'prd' instance: 00 password: 'Qwerty1234' + saptune_solution: 'MAXDB' install: software_path: '/root/sap_inst/51052481' root_user: 'root' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/saphanabootstrap-formula-0.4.2/saphanabootstrap-formula.changes new/saphanabootstrap-formula-0.4.3/saphanabootstrap-formula.changes --- old/saphanabootstrap-formula-0.4.2/saphanabootstrap-formula.changes 2020-01-08 18:09:15.008475999 +0100 +++ new/saphanabootstrap-formula-0.4.3/saphanabootstrap-formula.changes 2020-01-22 18:17:54.931430466 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Jan 21 14:41:29 UTC 2020 - Dario Maiocchi <dmaioc...@suse.com> + +- Version 0.4.3 + * Add saptune module to apply a specific solution + +------------------------------------------------------------------- Thu Jan 2 23:25:35 UTC 2020 - Simranpal Singh <simranpal.si...@suse.com> - Version 0.4.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/saphanabootstrap-formula-0.4.2/saphanabootstrap-formula.spec new/saphanabootstrap-formula-0.4.3/saphanabootstrap-formula.spec --- old/saphanabootstrap-formula-0.4.2/saphanabootstrap-formula.spec 2020-01-08 18:09:15.008475999 +0100 +++ new/saphanabootstrap-formula-0.4.3/saphanabootstrap-formula.spec 2020-01-22 18:17:54.931430466 +0100 @@ -19,7 +19,7 @@ # See also http://en.opensuse.org/openSUSE:Specfile_guidelines Name: saphanabootstrap-formula -Version: 0.4.2 +Version: 0.4.3 Release: 0 Summary: SAP HANA platform deployment formula License: Apache-2.0