VL
Size: a a a
VL
a
VL
VL
VL
A
DS
a
DS
$ puppet query "reports { certname = 'node-name' and logs ~ 'blabla' }"
Error response 400 Bad Request from server: 'logs' is not a queryable object for reports. Known queryable objects are 'cached_catalog_status', 'catalog_uuid', 'certname', 'code_id', 'configuration_version', 'corrective_change', 'end_time', 'environment', 'hash', 'job_id', 'latest_report?', 'noop', 'noop_pending', 'producer', 'producer_timestamp', 'puppet_version', 'receive_time', 'report_format', 'start_time', 'status', and 'transaction_uuid'DS
a
DS
DS
DS
VL
reports {certname ~ "node-name.*" order by receive_time desc, certname desc limit 10} показывает поле logs, но почему-то да, нее получается из него что-то спроситьDS
a
DS
class { 'unattended_upgrades':
age => {
'min' => 10,
'max' => 30,
},
auto => {
reboot => false,
},
blacklist => ['libc6', 'libc6-dev', 'libc6-i686', '^percona-server.*$', '^docker.*', '^php.*', '^nginx.*', '^proxysql.*', '^kube.*', '^redis.*', '^container.*'],
enable => 1,
mail => {
only_on_error => false,
to => a@example.com
},
origins => ['${distro_id}:${distro_codename}', '${distro_id}:${distro_codename}-security', '${distro_id}:${distro_codename}-updates', '${distro_id}:${distro_codename}-backports']
}a