[Puppet Users] puppetlabs/mysql won't install MySQL on RHEL9

2024-07-05 Thread Go Iwai
Hello, I am working on migrating MariaDB/CentOS7 to MySQL/RHEL9. The module puppetlabs/mysql (v15) attempts to install MariaDB v10 on RHEL9 by default but not MySQL v8. Even if I gave the package_name => mysql-server to the class mysql::server, it doesn't work because the post process requires my

Re: [Puppet Users] Getting the location of the manifest file

2021-08-26 Thread Go Iwai
Hello Ben, On Wednesday, August 18, 2021 at 2:25:19 AM UTC+9 Ben Ford wrote: > Hiera provides an environment hierarchy. Is that what you're looking for? > https://puppet.com/docs/puppet/latest/hiera_config_yaml_5.html > No, it is not. I know that the environmental hierarchy provided by hiera r

Re: [Puppet Users] Getting the location of the manifest file

2021-08-16 Thread Go Iwai
rds, Go On Mon, Aug 16, 2021 at 7:53 PM Martin Alfke wrote: > > Hi Go, > > what do you want to achieve? > When using puppet apply, a manifest can be anywhere on the filesystem. > > Best, > Martin > > > > On 16. Aug 2021, at 03:18, Go Iwai wrote: > > >

[Puppet Users] Getting the location of the manifest file

2021-08-15 Thread Go Iwai
Hello, I want to know the location where puppet-apply locally applied the manifest file. $ pwd /path/to/manifests $ puppet apply file.pp In this case above, can I anyhow get the location of /path/to/manifests/file.pp within file.pp? Kind regards, Go -- You received this message because you ar

Re: [Puppet Users] Looking up the value defined in the hiera.yaml

2020-12-06 Thread Go Iwai
at 3:44 AM Martin Alfke wrote: > > Hi Go, > > > On 24. Nov 2020, at 00:06, Go Iwai wrote: > > > > Hello Dirk, > > > > Thank you for replying to the mail. However, your code doesn't work for the > > resource of exec like below: > > > >

Re: [Puppet Users] Looking up the value defined in the hiera.yaml

2020-11-30 Thread Go Iwai
e: cwd => /etc/puppetlabs/code, # pkcs7_private_key: '/etc/puppetlabs/code/keys/private_key.pkcs7.pem' # pkcs7_public_key: '/etc/puppetlabs/code/keys/public_key.pkcs7.pem' I gratefully thank for any further advises. Kind regards, Go 2020年11月24日火曜日 0:55:31 UTC+9 Dirk Heinrichs: &g

[Puppet Users] Looking up the value defined in the hiera.yaml

2020-11-23 Thread Go Iwai
Hello, I am writing this to ask you if/how I can lookup values defined in the hiera.yaml. My hiera.yaml looks like: hierarchy: - name: "sensitive data" lookup_key: eyaml_lookup_key path: sensitive.eyaml options: pkcs7_public_key: /etc/puppetlabs/puppet/keys/public_key.pkcs7.p