wso2 / puppet-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading Phase 01 of WSO2 Puppet Modules to Puppet 5.x from 3.x

DilanUA opened this issue · comments

Description:
Existing puppet modules to support WSO2 products have been written sometime back
to run on top of Puppet 3.x base which was the latest by then.
However, over time Puppet base has evolved quite a lot from its version 3.x family
(3.8 was the last of that family) to version 4.x and by now even to version 5.x (5.3 is the latest).
Due to substantial changes introduced internally to the base with this evolution, currently the compatibility of our existing WSO2 puppet modules remain only with version 3.x family of Puppet base.
Neither on top of Puppet 4.x or 5.x base, we could straightaway run our modules meaning that there exists a timely need for an upgrade depending on the implementation level changes
suggested by Puppet for an upgrade from version 3.x to 5.x.

Phase 1 includes:
[a] - Changes at code-level, required due to non stringified facts
since facter module now supports proper datatypes.
[b] - Directory structure changes - Introduction to a new config and code directory.
[c] - Data directory path change in heira.yaml due to above directory structure changes.
[d] - Change of puppet parser and syntax changes arose due to this parser change.

Suggested Labels:
Puppet, WSO2 Puppet Modules