Chef Tags created dynamically during a chef-client run


#1

Hi,

We have an vendor application that requires multiple stages to install. We would like to create a tag against the node at certain stages.

I can see https://docs.chef.io/knife_tag.html. Is there an alternative that can be run within a recipe?

Many thanks

David


#2

You can add tags in your recipes programmatically.

https://docs.chef.io/dsl_recipe.html#tag-tagged-untag