Cas Donoghue
03/14/2023, 2:32 PMvchepkov
03/14/2023, 2:35 PM2023-03-14T10:34:10.497352 INFO [exec-worker-1] [Bolt::Executor] {"target":"<http://host.example.com|host.example.com>","action":"task","object":null,"status":"failure","value":{"_error":{"details":{"file":"/Users/user/Bolt/home/.modules/facts/plans/info.pp","line":10},"kind":"puppetlabs.tasks/connect-error","msg":"Timeout after 10 seconds connecting to <http://host.example.com|host.example.com>","issue_code":"CONNECT_ERROR"}}}
vchepkov
03/14/2023, 2:36 PMtargets:
- name: <http://host.example.com|host.example.com>
alias: host
config:
ssh:
host: 192.168.8.1
pcp:
host: <http://host.example.com|host.example.com>
groups:
- name: virtual
targets:
- _plugin: puppetdb
query: "inventory[certname] { facts.is_virtual = true }"
vchepkov
03/14/2023, 2:37 PMvchepkov
03/14/2023, 2:44 PMvchepkov
03/14/2023, 2:44 PMCas Donoghue
03/14/2023, 2:44 PMDr Bunsen Honeydew
03/14/2023, 2:45 PMCas Donoghue
03/14/2023, 2:45 PMname
then host
should be the caseCas Donoghue
03/14/2023, 2:45 PMuri
in the config that would override the host
vchepkov
03/14/2023, 2:45 PMbolt inventory show --details
it is populatedvchepkov
03/14/2023, 2:46 PM$ grep -c uri inventory.yaml
0
Cas Donoghue
03/14/2023, 2:46 PMURI
in inventory show
?vchepkov
03/14/2023, 2:46 PMvchepkov
03/14/2023, 2:47 PM$ bolt inventory show -t host --detail|grep uri
uri: <http://host.example.com|host.example.com>
vchepkov
03/14/2023, 2:47 PM$ bolt inventory show -t host --detail|grep uri
uri: <http://host.example.com|host.example.com>
Cas Donoghue
03/14/2023, 2:48 PMhost
is somehow being overridden in the ssh
transportCas Donoghue
03/14/2023, 2:48 PMvchepkov
03/14/2023, 2:48 PMvchepkov
03/14/2023, 2:48 PMCas Donoghue
03/14/2023, 2:48 PMCas Donoghue
03/14/2023, 2:48 PMCas Donoghue
03/14/2023, 2:48 PMCas Donoghue
03/14/2023, 2:49 PMvchepkov
03/14/2023, 2:50 PMvchepkov
03/14/2023, 2:50 PMCas Donoghue
03/14/2023, 2:56 PMCas Donoghue
03/14/2023, 2:59 PMtarget_mapping
for the puppetdb defaults to URICas Donoghue
03/14/2023, 2:59 PMhost
etc then it should workvchepkov
03/14/2023, 3:00 PM