Robert Everson
10/03/2024, 2:59 PMpuppet_state
table, but when looking at my machine there is no data, though I do see I have a /opt/puppetlabs/puppet/cache/state/last_run_report.yaml
file. I'm not seeing any local errors in the orbit logs, is there something else I should be looking for?Tim Lee
10/03/2024, 9:30 PMsudo /opt/orbit/bin/orbit/orbit shell
Tim Lee
10/03/2024, 9:32 PMRobert Everson
10/08/2024, 9:39 PMosquery> SELECT * from puppet_state;
osquery>
I guess there isn't a whole lot of data in that state file anyway, but just interesting that I'm not seeing any errors or any data, though there is definitely data in the file.Tim Lee
10/09/2024, 11:12 PMTim Lee
10/09/2024, 11:13 PMstrings.Replace(yamlString, "\r", "\n", -1)
bwitt
10/18/2024, 5:15 AMTim Lee
10/18/2024, 1:14 PM/opt/puppetlabs/puppet/cache/state/last_run_report.yaml
) and i'm getting a result:
osquery> select * from puppet_info;
cached_catalog_status = not_used
catalog_uuid = 613a2dff-c90e-4198-a09b-65aebf9d983a
code_id =
configuration_version = puppet-xxxxx-531a4c76118
corrective_change = false
environment = production
host = <http://example.node.com|example.node.com>
kind =
master_used =
noop = false
noop_pending = false
puppet_version = 8.6.0
report_format = 12
status = unchanged
time = 2024-10-17T22:04:39.128389500-07:00
transaction_completed = true
transaction_uuid = true
Tim Lee
10/18/2024, 1:17 PMosquery> select * from puppet_state;
osquery>
it's because resource_statuses
is empty:
resource_statuses: {}
bwitt
10/19/2024, 5:16 AMbwitt
10/19/2024, 5:51 PMRobert Everson
10/24/2024, 6:35 PMbwitt
10/27/2024, 8:28 PM