Shawn D'Souza
03/20/2024, 2:00 PM/etc/puppetlabs/code/environments/test
?Yorokobi
03/20/2024, 2:01 PM/etc/puppetlabs/code/
so yes, if you want to use an environment that isn't production, you'll need to create the test directory (cp -a production test)Lumiere
03/20/2024, 2:01 PMLumiere
03/20/2024, 2:01 PMCVQuesty
03/20/2024, 2:02 PMShawn D'Souza
03/20/2024, 2:02 PMCVQuesty
03/20/2024, 2:02 PMYorokobi
03/20/2024, 2:02 PM$codedir/environments
is a base directory, individual environments are subdirectories of that.Lumiere
03/20/2024, 2:02 PMYorokobi
03/20/2024, 2:02 PMYorokobi
03/20/2024, 2:03 PMcp -a /etc/puppetlabs/code/environments/production /etc/puppetlabs/code/environments/test
and try againCVQuesty
03/20/2024, 2:08 PMLumiere
03/20/2024, 2:08 PMTheMeier
03/20/2024, 2:11 PMDr Bunsen Honeydew
03/20/2024, 2:11 PMCVQuesty
03/20/2024, 2:14 PMrnelson0
03/20/2024, 2:14 PMCVQuesty
03/20/2024, 2:15 PMrnelson0
03/20/2024, 2:15 PMdefault_manifest = $codedir/environments/production/manifests
rnelson0
03/20/2024, 2:16 PMShawn D'Souza
03/20/2024, 2:21 PMYury Bushmelev
03/20/2024, 2:26 PMfpm
, there is nfpm
also, which is fpm
re-written in Go: https://github.com/goreleaser/nfpmCVQuesty
03/20/2024, 2:27 PMrnelson0
03/20/2024, 2:33 PMCVQuesty
03/20/2024, 2:33 PMrnelson0
03/20/2024, 2:34 PMrnelson0
03/20/2024, 2:35 PMredat
03/20/2024, 2:55 PMbucket
, which currently is a simple directory..
I wanted to know if it's possible to somehow ""type"" a small bucket object to use in an array ?
Currently :
[
{"name" => "test", "bucket" => "test"}
]
And I would like something like this :
[
Bucket {'test': bucket => "test" }
]
Thanks in advance for any help !Charles Williams
03/20/2024, 2:57 PMCharles Williams
03/20/2024, 2:57 PM