hbui
08/11/2022, 4:36 PMkeys($facts)
?Joel Wilson
08/11/2022, 4:37 PMhbui
08/11/2022, 4:37 PM$facts.keys()
Joel Wilson
08/11/2022, 4:37 PMhbui
08/11/2022, 4:39 PMJoel Wilson
08/11/2022, 4:53 PM$facts.keys().collect()
natemccurdy
08/11/2022, 4:54 PMSlackbot
08/11/2022, 4:56 PMnatemccurdy
08/11/2022, 5:03 PMundef
values from the array afterwards.
But also, there’s `filter()`: https://puppet.com/docs/puppet/7/function.html#filterKyle Vandoremalen
08/11/2022, 5:23 PMJoel Wilson
08/11/2022, 6:55 PMJoel Wilson
08/11/2022, 7:18 PMbastelfreak
08/11/2022, 7:21 PMJoel Wilson
08/11/2022, 7:32 PMJoel Wilson
08/11/2022, 7:33 PMallow: "*"
and it’s still getting 403s.bastelfreak
08/11/2022, 7:34 PMLumiere
08/11/2022, 7:35 PMLumiere
08/11/2022, 7:35 PMJoel Wilson
08/11/2022, 7:35 PMCVQuesty
08/11/2022, 8:06 PMJoel Wilson
08/11/2022, 8:08 PMJoel Wilson
08/11/2022, 8:11 PMallow-header-cert-info: true
on for those.natemccurdy
08/11/2022, 8:19 PMallow-header-cert-info: true
unless you are.Joel Wilson
08/11/2022, 8:20 PMnatemccurdy
08/11/2022, 8:20 PM# Puppet expects the X-Client-Verify, X-Client-DN, and X-Client-Cert
# headers for authentication and trusted facts.
proxy_set_header X-Client-Verify $ssl_client_verify;
proxy_set_header X-Client-DN $ssl_client_s_dn;
proxy_set_header X-Client-Cert $ssl_client_escaped_cert;
natemccurdy
08/11/2022, 8:21 PM# Puppet expects the X-Client-Verify, X-Client-DN, and X-Client-Cert
# headers for authentication and trusted facts.
proxy_set_header X-Client-Verify $ssl_client_verify;
proxy_set_header X-Client-DN $ssl_client_s_dn;
proxy_set_header X-Client-Cert $ssl_client_escaped_cert;
Joel Wilson
08/11/2022, 8:24 PMnatemccurdy
08/11/2022, 8:25 PM# Puppet expects the X-Client-Verify, X-Client-DN, and X-Client-Cert
# headers for authentication and trusted facts.
proxy_set_header X-Client-Verify $ssl_client_verify;
proxy_set_header X-Client-DN $ssl_client_s_dn;
proxy_set_header X-Client-Cert $ssl_client_escaped_cert;
Slackbot
08/12/2022, 4:50 PMvchepkov
08/13/2022, 3:11 PMinclude STRING
match
augtool> context /files/etc/httpd/conf.d/05-foreman-ssl.conf/
augtool> match VirtualHost/directive[. = 'ProxyPassReverse']
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[18] = ProxyPassReverse
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[20] = ProxyPassReverse
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[23] = ProxyPassReverse
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[33] = ProxyPassReverse
How do I match entry with arg[2]
including foreman.sock
?
augtool> print /files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[33]
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[33] = "ProxyPassReverse"
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[33]/arg[1] = "/"
/files/etc/httpd/conf.d/05-foreman-ssl.conf/VirtualHost/directive[33]/arg[2] = "unix:///run/foreman.sock|<http://foreman/>"