Exclude machines from the selected label while deploying Scripts or Managed Install
Is there any possibility to exclude some machines from the selected label while deploying Scripts or Managed Install. I don’t want to change the filter criteria of lable because it is being used in many other deployments.
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
airwolf
14 years ago
Posted by:
snissen
14 years ago
Andy's right about the best solution, but there's a quicker one that I use only for temporary, quick-n-dirty fixes:
Create a new label, what I like to call a "compound label": a label that refers to other labels. The new label's logic is all machines that have your original label but not machine X. Use this new label for your MI or script.
There are down sides to this, of course. First, if you change the name of your original label, even a little bit, you break this compound label that depends on it. Second, the compound label might not be applied correctly until machines have done two check-ins: one to get your original label, and the second to get the compound label.
If you intend something supportable, then you're better off with the permanent solution Andy suggested: editing your original label's SQL to include and exclude exactly what you mean. Sande
Create a new label, what I like to call a "compound label": a label that refers to other labels. The new label's logic is all machines that have your original label but not machine X. Use this new label for your MI or script.
There are down sides to this, of course. First, if you change the name of your original label, even a little bit, you break this compound label that depends on it. Second, the compound label might not be applied correctly until machines have done two check-ins: one to get your original label, and the second to get the compound label.
If you intend something supportable, then you're better off with the permanent solution Andy suggested: editing your original label's SQL to include and exclude exactly what you mean. Sande
Posted by:
afzal
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.