[chef] Re: List all tags


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: List all tags
  • Date: Mon, 12 Nov 2012 16:24:53 +1100

'knife search node "tags:*" -a tags' or equivalent in a recipe (etc). Search for all nodes with any tags and print the tags attribute.

Cheers,

AJ


On 12 November 2012 16:21, < " target="_blank"> > wrote:
Is there an easy/efficient way to list all the tags rather than the list of
tags for a given node(s)? I suppose I could list all the tags for all nodes and
build a unique list of those.

Apologies for this naive question because I am new to Chef and Ruby but I
failed to find an answer via on-line search of Chef documentation and the
mailing list archive. Thanks.




Archive powered by MHonArc 2.6.16.

§