如何使用puppetdb api获取puppet节点的报告?

时间:2016-10-27 06:48:54

标签: puppet

如何使用puppetdb report api从木偶节点获取报告?

1 个答案:

答案 0 :(得分:0)

在使用query parameters之后,似乎以下人员将继续工作:

SELECT object_name FROM dm_acl 
WHERE r_accessor_name IN ('group_A', 'group_B', 'group_C')  
GROUP BY object_name
HAVING COUNT(DISTINCT r_accessor_name) = 2 
ENABLE (row_based)