Brian Schonecker
08/29/2022, 12:05 PM$customer = $my_customer.upcase
file {"/mnt/${customer}": ensure => directory}
vs:
$customer = $fact{'application.customer'}
file {"/mnt/${customer}": ensure => directory}
that upper-cases the customer name. That seems like I'm obfuscating things even more, however it does solve all of my issues. I keep going back and forth on the design of this module. About 95% of what's already in the data/application/brooklyn hierarchy works fine. It seems silly to me to move all of that stuff into the puppet-brooklyn module just to take care of the edge case (ie: upper-case naming) but it also seems silly to have my 'brooklyn' data in two places.
Every time I start moving my hiera stuff to my brooklyn application I question why I'm doing so because 95% of the existing hierarchy is already working perfectly.
Any comments or suggestions are highly appreciated!tutelacool
08/29/2022, 1:05 PMtestfile
in that example below is a F*function*.
How should I formulate.
I tried several ays and puppet-lint still complains about
“Could not parse for environment root: Syntax error at ‘test’
should be something like this ?
content => testfile${test},
tutelacool
08/29/2022, 1:06 PMtestfile
in that example below is a Function.
How should I formulate.
I tried several ays and puppet-lint still complains about
“Could not parse for environment root: Syntax error at ‘test’
should be something like this ?
content => testfile${test},
tutelacool
08/29/2022, 1:06 PMtestfile
in that example below is a Function.
How should I formulate.
I tried several ays and puppet-lint still complains about
“Could not parse for environment root: Syntax error at ‘test’
It should be something like this ?
content => testfile${test},
rnelson0
08/29/2022, 1:16 PMSlackbot
08/29/2022, 2:00 PMSlackbot
08/29/2022, 5:41 PMAndrew
08/29/2022, 5:42 PMbastelfreak
08/29/2022, 5:49 PMPatrick Brideau
08/29/2022, 7:27 PMfile { '/etc/pki/rpm-gpg/RPM-GPG-KEY-puppet' :
ensure => file,
source => '<https://yum.puppetlabs.com/RPM-GPG-KEY-puppet>',
}
Defining the environment variable http_proxy=<https://PROXY>
works with curl
, but I don’t have success using the proxy within puppet. It works as expected when I disable the TLS part (and variable http_proxy=<http://PROXY>
) in my squid proxy, but no success with TLS... Is there something I must enable in the puppet config such as the path of the CA? (My CA is defined systemwide in /etc/pki/tls/cert.pem)Patrick Brideau
08/29/2022, 7:31 PMfile { '/etc/pki/rpm-gpg/RPM-GPG-KEY-puppet' :
ensure => file,
source => '<https://yum.puppetlabs.com/RPM-GPG-KEY-puppet>',
}
Defining the environment variable http_proxy=<https://PROXY>
works with curl
, but I don’t have success using the proxy within puppet. It works as expected when I disable the TLS part (and variable http_proxy=<http://PROXY>
) in my squid proxy, but no success with TLS... Is there something I must enable in the puppet config such as the path of the CA? (My CA is defined systemwide in /etc/pki/tls/cert.pem)Lumiere
08/29/2022, 7:45 PMPatrick Brideau
08/29/2022, 7:48 PM/etc/puppetlabs/puppet/ssl/certs/xxxx.pem
) without success either... So it does not seems to be a problem of certificate...Lumiere
08/29/2022, 7:48 PMPatrick Brideau
08/29/2022, 7:49 PMbastelfreak
08/29/2022, 7:51 PMbastelfreak
08/29/2022, 7:52 PMbastelfreak
08/29/2022, 7:53 PMLumiere
08/29/2022, 7:56 PMLumiere
08/29/2022, 7:56 PMPatrick Brideau
08/29/2022, 7:56 PM:~# grep https_port /etc/squid/squid.conf
# fragment for https_port 192.168.56.31:3128
https_port 192.168.56.31:3128 cert=/etc/pki/tls/certs/xxxx.crt key=/etc/pki/tls/private/xxxx.key
Lumiere
08/29/2022, 7:56 PMbastelfreak
08/29/2022, 7:57 PMLumiere
08/29/2022, 7:57 PMbastelfreak
08/29/2022, 7:58 PMLumiere
08/29/2022, 7:58 PMLumiere
08/29/2022, 7:58 PMbastelfreak
08/29/2022, 7:58 PMbastelfreak
08/29/2022, 7:58 PMbastelfreak
08/29/2022, 7:58 PM