You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
network broadcast, the only one with compound filters
puppetdb
text file 1 node per line
json file - an array with just nodes in it
yaml file - an array with just nodes in it
a previous request as JSON
We are busy adding project based configuration and I think it might be useful to also have project based inventory in that case, and just in general inventory files might be handy.
Compound Filters
We can support the same compound filters as -S, but without the future data plugin feature
Choria can publish all the above information as part of its registration feature, that data can go into our upcoming Streaming Server for analysis and query
This will go back 10 minutes in time and any node seen in the last 10 minutes from the stream REGISTRATION created via registration that match an expr filter will be persisted to the file.
It can also build the file by simply listening to the registration stream passively,:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Today we support the following discovery methods:
We are busy adding project based configuration and I think it might be useful to also have project based inventory in that case, and just in general inventory files might be handy.
Compound Filters
We can support the same compound filters as
-S
, but without the future data plugin featureConfiguration
In a per project
choria.conf
one can have:which will ensure the local
nodes.yaml
takes precedence.Inventory format
Here we define named groups as filters that get applied over the data in the file, effectively a pre-baked discovery query with a name.
CLI Usage
Normal discovery for class/agent/identity/fact/etc
Reference a group:
Maintaining the file
Existing files can be validated against the schema:
The file can be created using another discovery method and the
rpcutil#inventory
agent and action:Future Streaming Integration
Choria can publish all the above information as part of its registration feature, that data can go into our upcoming Streaming Server for analysis and query
One could create/update the above file like this:
This will go back 10 minutes in time and any node seen in the last 10 minutes from the stream REGISTRATION created via registration that match an
expr
filter will be persisted to the file.It can also build the file by simply listening to the registration stream passively,:
This will run until ^C is pressed, any node seen during this time will be persisted.
If it's an existing file the nodes will be updated, groups will be kept
Beta Was this translation helpful? Give feedback.
All reactions