Closed iversond closed 6 years ago
Read the bs-manifest
file under DPK_INSTALL\setup
to determine which DPK commands to use? Or make it an option in config.rb
?
Here is a powershell command to capture the PeopleTools version from the bs-manifest
file
(((select-string -path .\bs-manifest -Pattern "version=(.*)").matches.groups[1].value).replace('.','')).substring(0,3)
OK, I was finally able to get this sorted out for the Linux provisioning script. Here's a rundown of what's changed.
bs-manifest
file to determine the tools version before proceedingpsft-dpk-setup.sh
script with the --no_env_setup
optionpsft_customizations.yaml
file into the $PUPPET_HOME/data
directorypuppet apply $PUPPET_HOME/manifests/site.pp
to apply the DPK$DPK_INSTALL/response.cfg
containing default credentials (these can still be overridden in psft_customizations.yaml
psft-dpk-setup.sh
script with the --customization_file=$CUSTOMIZATION_FILE
option and the and the --response_file $DPK_INSTALL/response.cfg
optionI tried using the --no_puppet_run
option for the 8.56 DPK (which is basically the same as --no_env_setup), but it looks like there's a bug in the psft_environment.py
script at line 108 which causes it to error out. It appears to be attempting to generate and execute a DMS script which modifies the PS_PTIASPDMPARAM
table (multilingual settings). Since puppet apply
hasn't been run, the database doesn't yet exist and the script fails. This wouldn't otherwise be an issue (prior 8.55 PUM images appear to fail on this step as well), except that it prevents the script from deploying Elasticsearch (which is now included in 8.56 DPK releases).
This has been resolved and working well.
HR Image 23 (and ELM Image 16) are based on PeopleTools 8.56 and the DPK has changed so the images fail to build (Windows and Linux).