diff options
Diffstat (limited to 'distro/common/html/knife_role.html')
-rw-r--r-- | distro/common/html/knife_role.html | 222 |
1 files changed, 23 insertions, 199 deletions
diff --git a/distro/common/html/knife_role.html b/distro/common/html/knife_role.html index 71c69b2e0f..0ed0deb624 100644 --- a/distro/common/html/knife_role.html +++ b/distro/common/html/knife_role.html @@ -1,5 +1,4 @@ - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> @@ -8,9 +7,9 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> - <title>knife role — Knife Man Pages</title> + <title>knife role — chef-client Man Pages</title> - <link rel="stylesheet" href="_static/chef.css" type="text/css" /> + <link rel="stylesheet" href="_static/guide.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javascript"> @@ -26,95 +25,20 @@ <script type="text/javascript" src="_static/underscore.js"></script> <script type="text/javascript" src="_static/doctools.js"></script> <link rel="shortcut icon" href="_static/chef.ico"/> - <link rel="top" title="Knife Man Pages" href="index.html" /> + + </head> <body> <div style="background-color: #212c35; text-align: left; padding: 0px 0px 0px 0px"> <a href="http://docs.opscode.com/"><img src="_static/chef_html_logo.png" border="0" alt="Chef"/></a> </div> - <div class="related"> - <h3>Navigation</h3> - <ul> - <li><a href="http://docs.opscode.com/chef/knife.html" target="_products">Knife</a>•</li> - <li><a href="http://docs.opscode.com/chef/resources.html" target="_products">Resources</a>•</li> - <li><a href="http://docs.opscode.com/chef/dsl_recipe.html" target="_products">Recipe DSL</a>•</li> - <li><a href="http://docs.opscode.com/chef/lwrps_custom.html" target="_products">LWRPs</a>•</li> - <li><a href="http://docs.opscode.com/search.html">Search the Docs</a>•</li> - <li><a href="http://docs.opscode.com/">Home</a> »</li> - - </ul> - </div> - <div class="sphinxsidebar"> - <div class="sphinxsidebarwrapper"> - <p class="logo"><a href="knife.html"> - <img class="logo" src="_static/chef_logo.png" alt="Logo"/> - </a></p> - <h3><a href="knife.html">Table Of Contents</a></h3> - <ul> -<li><a class="reference internal" href="#">knife role</a><ul> -<li><a class="reference internal" href="#bulk-delete">bulk delete</a><ul> -<li><a class="reference internal" href="#syntax">Syntax</a></li> -<li><a class="reference internal" href="#options">Options</a></li> -<li><a class="reference internal" href="#examples">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#create">create</a><ul> -<li><a class="reference internal" href="#id1">Syntax</a></li> -<li><a class="reference internal" href="#id2">Options</a><ul> -<li><a class="reference internal" href="#knife-rb-settings">knife.rb Settings</a></li> -</ul> -</li> -<li><a class="reference internal" href="#id3">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#delete">delete</a><ul> -<li><a class="reference internal" href="#id4">Syntax</a></li> -<li><a class="reference internal" href="#id5">Options</a></li> -<li><a class="reference internal" href="#id6">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#edit">edit</a><ul> -<li><a class="reference internal" href="#id7">Syntax</a></li> -<li><a class="reference internal" href="#id8">Options</a></li> -<li><a class="reference internal" href="#id9">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#from-file">from file</a><ul> -<li><a class="reference internal" href="#id10">Syntax</a></li> -<li><a class="reference internal" href="#id11">Options</a><ul> -<li><a class="reference internal" href="#id12">knife.rb Settings</a></li> -</ul> -</li> -<li><a class="reference internal" href="#id13">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#list">list</a><ul> -<li><a class="reference internal" href="#id14">Syntax</a></li> -<li><a class="reference internal" href="#id15">Options</a></li> -<li><a class="reference internal" href="#id16">Examples</a></li> -</ul> -</li> -<li><a class="reference internal" href="#show">show</a><ul> -<li><a class="reference internal" href="#id17">Syntax</a></li> -<li><a class="reference internal" href="#id18">Options</a><ul> -<li><a class="reference internal" href="#id19">knife.rb Settings</a></li> -</ul> -</li> -<li><a class="reference internal" href="#id20">Examples</a></li> -</ul> -</li> -</ul> -</li> -</ul> - - </div> - </div> + <div class="document"> <div class="documentwrapper"> - <div class="bodywrapper"> + <div class="body"> <div class="section" id="knife-role"> @@ -170,18 +94,6 @@ <dt><tt class="docutils literal"><span class="pre">-d</span> <span class="pre">DESCRIPTION</span></tt>, <tt class="docutils literal"><span class="pre">--description</span> <span class="pre">DESCRIPTION</span></tt></dt> <dd>The description of the role. This value will populate the description field for the role on the server.</dd> </dl> -<div class="section" id="knife-rb-settings"> -<h4>knife.rb Settings<a class="headerlink" href="#knife-rb-settings" title="Permalink to this headline">¶</a></h4> -<div class="admonition note"> -<p class="first admonition-title">Note</p> -<p class="last">See <tt class="xref doc docutils literal"><span class="pre">knife.rb</span></tt> for more information about how to add optional settings to the knife.rb file.</p> -</div> -<p>The following <tt class="docutils literal"><span class="pre">knife</span> <span class="pre">role</span> <span class="pre">create</span></tt> settings can be added to the knife.rb file:</p> -<dl class="docutils"> -<dt><tt class="docutils literal"><span class="pre">knife[:description]</span></tt></dt> -<dd>Use to add the <tt class="docutils literal"><span class="pre">--description</span></tt> option.</dd> -</dl> -</div> </div> <div class="section" id="id3"> <h3>Examples<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h3> @@ -288,21 +200,9 @@ <div class="section" id="id11"> <h3>Options<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h3> <p>This command does not have any specific options.</p> -<div class="section" id="id12"> -<h4>knife.rb Settings<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h4> -<div class="admonition note"> -<p class="first admonition-title">Note</p> -<p class="last">See <tt class="xref doc docutils literal"><span class="pre">knife.rb</span></tt> for more information about how to add optional settings to the knife.rb file.</p> -</div> -<p>The following <tt class="docutils literal"><span class="pre">knife</span> <span class="pre">role</span> <span class="pre">from</span> <span class="pre">file</span></tt> settings can be added to the knife.rb file:</p> -<dl class="docutils"> -<dt><tt class="docutils literal"><span class="pre">knife[:print_after]</span></tt></dt> -<dd>Use to add the <tt class="docutils literal"><span class="pre">--print-after</span></tt> option.</dd> -</dl> </div> -</div> -<div class="section" id="id13"> -<h3>Examples<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id12"> +<h3>Examples<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3> <p>The following examples show how to use this Knife subcommand:</p> <p><strong>Create a role using JSON data</strong></p> <p>To view role details based on the values contained in a JSON file:</p> @@ -314,23 +214,23 @@ <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 view a list of roles that are currently available on the server.</p> -<div class="section" id="id14"> -<h3>Syntax<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id13"> +<h3>Syntax<a class="headerlink" href="#id13" 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 role list </pre></div> </div> </div> -<div class="section" id="id15"> -<h3>Options<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id14"> +<h3>Options<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h3> <p>This argument has the following options:</p> <dl class="docutils"> <dt><tt class="docutils literal"><span class="pre">-w</span></tt>, <tt class="docutils literal"><span class="pre">--with-uri</span></tt></dt> <dd>Indicates that the corresponding URIs will be shown.</dd> </dl> </div> -<div class="section" id="id16"> -<h3>Examples<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id15"> +<h3>Examples<a class="headerlink" href="#id15" 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 roles</strong></p> <p>To view a list of roles on the server and display the URI for each role returned, enter:</p> @@ -342,35 +242,23 @@ <div class="section" id="show"> <h2>show<a class="headerlink" href="#show" title="Permalink to this headline">¶</a></h2> <p>The <tt class="docutils literal"><span class="pre">show</span></tt> argument is used to view the details of a role.</p> -<div class="section" id="id17"> -<h3>Syntax<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id16"> +<h3>Syntax<a class="headerlink" href="#id16" 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 role show ROLE_NAME </pre></div> </div> </div> -<div class="section" id="id18"> -<h3>Options<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id17"> +<h3>Options<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h3> <p>This argument has the following options:</p> <dl class="docutils"> <dt><tt class="docutils literal"><span class="pre">-a</span> <span class="pre">ATTR</span></tt>, <tt class="docutils literal"><span class="pre">--attribute</span> <span class="pre">ATTR</span></tt></dt> <dd>The attribute (or attributes) to show.</dd> </dl> -<div class="section" id="id19"> -<h4>knife.rb Settings<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h4> -<div class="admonition note"> -<p class="first admonition-title">Note</p> -<p class="last">See <tt class="xref doc docutils literal"><span class="pre">knife.rb</span></tt> for more information about how to add optional settings to the knife.rb file.</p> -</div> -<p>The following <tt class="docutils literal"><span class="pre">knife</span> <span class="pre">role</span> <span class="pre">show</span></tt> settings can be added to the knife.rb file:</p> -<dl class="docutils"> -<dt><tt class="docutils literal"><span class="pre">knife[:environment]</span></tt></dt> -<dd>Use to add the <tt class="docutils literal"><span class="pre">--environment</span></tt> option.</dd> -</dl> -</div> </div> -<div class="section" id="id20"> -<h3>Examples<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h3> +<div class="section" id="id18"> +<h3>Examples<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h3> <p>The following examples show how to use this Knife subcommand:</p> <p><strong>Show as JSON data</strong></p> <p>To view information in JSON format, use the <tt class="docutils literal"><span class="pre">-F</span></tt> common option as part of the command like this:</p> @@ -393,78 +281,14 @@ </div> - </div> - </div> - <div class="clearer"></div> - </div> - <div class="related"> - <h3>Navigation</h3> - <ul> - <li><a href="http://docs.opscode.com/chef/knife.html" target="_products">Knife</a>•</li> - <li><a href="http://docs.opscode.com/chef/resources.html" target="_products">Resources</a>•</li> - <li><a href="http://docs.opscode.com/chef/dsl_recipe.html" target="_products">Recipe DSL</a>•</li> - <li><a href="http://docs.opscode.com/chef/lwrps_custom.html" target="_products">LWRPs</a>•</li> - <li><a href="http://docs.opscode.com/search.html">Search the Docs</a>•</li> - <li><a href="http://docs.opscode.com/">Home</a> »</li> - - </ul> - </div> - - <div class="footer"> - Documentation for current man pages for Knife. - - Send feedback to <a href="mailto:docs@getchef.com">docs@getchef.com</a>. - This work is licensed under a Creative Commons Attribution 3.0 Unported License. + </div> + + <div class="clearer"></div> </div> -<!-- Start of Async Google Analytics Code --> -<script type="text/javascript"> -var _gaq = _gaq || []; -var pluginUrl = (('https:' == document.location.protocol) ? 'https://ssl.' : 'http://www.') + 'google-analytics.com/plugins/ga/inpage_linkid.js'; -_gaq.push(['_setAccount', 'UA-6369228-7']); -_gaq.push(['_setDomainName', '.opscode.com']); -_gaq.push(['_setAllowHash', false]); -_gaq.push(['_setAllowLinker', true]); -_gaq.push(['_addIgnoredRef','opscode.com']); -_gaq.push(['_trackPageview']); - -(function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; - ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(ga, s); })(); -</script> -<!-- End of Async Google Analytics Code --> - - -<!-- Start of Contact Analytics Code --> -<script type="text/javascript"> -(function() { - var didInit = false; - function initMunchkin() { - if(didInit === false) { - didInit = true; - Munchkin.init('255-VFB-268'); - } - } - var s = document.createElement('script'); - s.type = 'text/javascript'; - s.async = true; - s.src = document.location.protocol + '//munchkin.marketo.net/munchkin.js'; - s.onreadystatechange = function() { - if (this.readyState == 'complete' || this.readyState == 'loaded') { - initMunchkin(); - } - }; - s.onload = initMunchkin; - document.getElementsByTagName('head')[0].appendChild(s); -})(); -</script> -<!-- End of Contact Analytics Code --> </body> |