-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi Guys!,
Just wanted to know if this module has some kind of limit when searching for multiple nodes.
Im using partialSearch method and no matter what I do, I only get 1000 rows as response. Althoug when manually run "knife node list" on that environment, I get 1396 nodes, which is the right number of nodes I should be getting.
Can someone advise how to fix this?
Extract of code :
chef.config(SetOptions(environment));
console.log("About to search for any servers ...");
chef.partialSearch('node',
{
q: "name:*"
},
{
name: ['name'] ,
'ipaddress': ['ipaddress'] ,
'chef_environment': ['chef_environment'] ,
'ip6address': ['ip6address'],
'run_list': ['run_list'],
'chef_client': ['chef_client'],
'ohai_time': ['ohai_time']
}
, function(err, chefRes) {
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels