Puppet gives an error with the new LTS (7.21) when it tries to create the ElasticSearch config:
"Error: /Stage[main]/Bitbucket::Config/File[/opt/bitbucket/atlassian-bitbucket-7.21.0/elasticsearch/config-template/elasticsearch.yml]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory - A directory component in /opt/bitbucket/atlassian-bitbucket-7.21.0/elasticsearch/config-template/elasticsearch.yml20220330-7562-ha56iz.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/external-modules/bitbucket/manifests/config.pp, line: 101)"
Puppet gives an error with the new LTS (7.21) when it tries to create the ElasticSearch config:
"Error: /Stage[main]/Bitbucket::Config/File[/opt/bitbucket/atlassian-bitbucket-7.21.0/elasticsearch/config-template/elasticsearch.yml]/ensure: change from 'absent' to 'file' failed: Could not set 'file' on ensure: No such file or directory - A directory component in /opt/bitbucket/atlassian-bitbucket-7.21.0/elasticsearch/config-template/elasticsearch.yml20220330-7562-ha56iz.lock does not exist or is a dangling symbolic link (file: /etc/puppetlabs/code/environments/production/external-modules/bitbucket/manifests/config.pp, line: 101)"
There is a bundled OpenSearch Folder instead.
https://confluence.atlassian.com/bitbucketserver/bitbucket-data-center-and-server-7-21-release-notes-1115129015.html