diff options
Diffstat (limited to 'distro/common/html/knife_tag.html')
-rw-r--r-- | distro/common/html/knife_tag.html | 138 |
1 files changed, 0 insertions, 138 deletions
diff --git a/distro/common/html/knife_tag.html b/distro/common/html/knife_tag.html deleted file mode 100644 index 59e6aea142..0000000000 --- a/distro/common/html/knife_tag.html +++ /dev/null @@ -1,138 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - - <title>knife tag — chef-client Man Pages</title> - - <link rel="stylesheet" href="_static/guide.css" type="text/css" /> - <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> - - <script type="text/javascript"> - var DOCUMENTATION_OPTIONS = { - URL_ROOT: './', - VERSION: '', - COLLAPSE_INDEX: false, - FILE_SUFFIX: '.html', - HAS_SOURCE: true - }; - </script> - <script type="text/javascript" src="_static/jquery.js"></script> - <script type="text/javascript" src="_static/underscore.js"></script> - <script type="text/javascript" src="_static/doctools.js"></script> - - - </head> - <body> -<div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px"> -<a href="http://docs.getchef.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a> -</div> - - - - - <div class="document"> - <div class="documentwrapper"> - - <div class="body"> - - <div class="section" id="knife-tag"> -<h1>knife tag<a class="headerlink" href="#knife-tag" title="Permalink to this headline">¶</a></h1> -<p>A tag is a custom description that is applied to a node. A tag, once applied, can be helpful when managing nodes using knife or when building recipes by providing alternate methods of grouping similar types of information.</p> -<p>The <strong>knife tag</strong> subcommand is used to apply tags to nodes on a Chef server.</p> -<div class="admonition note"> -<p class="first admonition-title">Note</p> -<p class="last">Review the list of <a class="reference internal" href="knife_common_options.html"><em>common options</em></a> available to this (and all) knife subcommands and plugins.</p> -</div> -<div class="section" id="create"> -<h2>create<a class="headerlink" href="#create" title="Permalink to this headline">¶</a></h2> -<p>The <tt class="docutils literal"><span class="pre">create</span></tt> argument is used to add one or more tags to a node.</p> -<div class="section" id="syntax"> -<h3>Syntax<a class="headerlink" href="#syntax" title="Permalink to this headline">¶</a></h3> -<p>This argument has the following syntax:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag create NODE_NAME <span class="o">[</span>TAG...<span class="o">]</span> -</pre></div> -</div> -</div> -<div class="section" id="options"> -<h3>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h3> -<p>This command does not have any specific options.</p> -</div> -<div class="section" id="examples"> -<h3>Examples<a class="headerlink" href="#examples" title="Permalink to this headline">¶</a></h3> -<p>The following examples show how to use this knife subcommand:</p> -<p><strong>Create tags</strong></p> -<p>To create tags named <tt class="docutils literal"><span class="pre">seattle</span></tt>, <tt class="docutils literal"><span class="pre">portland</span></tt>, and <tt class="docutils literal"><span class="pre">vancouver</span></tt>, enter:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag create node seattle portland vancouver -</pre></div> -</div> -</div> -</div> -<div class="section" id="delete"> -<h2>delete<a class="headerlink" href="#delete" title="Permalink to this headline">¶</a></h2> -<p>The <tt class="docutils literal"><span class="pre">delete</span></tt> argument is used to delete one or more tags from a node.</p> -<div class="section" id="id1"> -<h3>Syntax<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h3> -<p>This argument has the following syntax:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag delete NODE_NAME <span class="o">[</span>TAG...<span class="o">]</span> -</pre></div> -</div> -</div> -<div class="section" id="id2"> -<h3>Options<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h3> -<p>This command does not have any specific options.</p> -</div> -<div class="section" id="id3"> -<h3>Examples<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3> -<p>The following examples show how to use this knife subcommand:</p> -<p><strong>Delete tags</strong></p> -<p>To delete tags named <tt class="docutils literal"><span class="pre">denver</span></tt> and <tt class="docutils literal"><span class="pre">phoenix</span></tt>, enter:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag delete node denver phoenix -</pre></div> -</div> -<p>Type <tt class="docutils literal"><span class="pre">Y</span></tt> to confirm a deletion.</p> -</div> -</div> -<div class="section" id="list"> -<h2>list<a class="headerlink" href="#list" title="Permalink to this headline">¶</a></h2> -<p>The <tt class="docutils literal"><span class="pre">list</span></tt> argument is used to list all of the tags that have been applied to a node.</p> -<div class="section" id="id4"> -<h3>Syntax<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h3> -<p>This argument has the following syntax:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag list <span class="o">[</span>NODE_NAME...<span class="o">]</span> -</pre></div> -</div> -</div> -<div class="section" id="id5"> -<h3>Options<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h3> -<p>This command does not have any specific options.</p> -</div> -<div class="section" id="id6"> -<h3>Examples<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h3> -<p>The following examples show how to use this knife subcommand:</p> -<p><strong>View a list of tags</strong></p> -<p>To view the tags for a node named <tt class="docutils literal"><span class="pre">devops_prod1</span></tt>, enter:</p> -<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>knife tag list devops_prod1 -</pre></div> -</div> -</div> -</div> -</div> - - - </div> - - </div> - - - <div class="clearer"></div> - </div> - - - - - </body> -</html>
\ No newline at end of file |