Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 28, 2025
1 parent 2c18dd0 commit 6a17cd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/release_notes/0.4.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h2 id="rex">Rex</h2>

<p>Now you can get information of the servers hardware and configuration.</p>

<p></p><p></p><pre><code class="hljs"><span class="hljs-keyword">use</span> <span class="hljs-function">Rex::Hardware</span>;
<p></p><p></p><pre><code class="hljs">use <span class="hljs-function">Rex::Hardware</span>;
<span class="hljs-keyword">use</span> <span class="hljs-function">Data::Dumper</span>;</code></pre></li>
</ul>
desc &quot;<span class="hljs-string">Get Hardware Information</span>&quot;;
Expand Down
2 changes: 1 addition & 1 deletion docs/release_notes/0.51.2.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h2 id="base">Base</h2>

<p>For example, if you have a <strong>CentOS</strong> server with the hostname <strong>web01</strong>, this means that if you request the key <strong>maxconn</strong> Rex will first try to find the key inside <strong>cmdb/CentOS/web01.yml</strong> and if it doesn&#39;t find the Rex will try the next file in the lookup path.</p>

<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">0.51</span>&#39;];
<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">0.51</span>&#39;];
task &quot;<span class="hljs-string">setup</span>&quot;, make {
<span class="hljs-keyword">my</span> <span class="hljs-type">$maxconn</span> = get cmdb &quot;<span class="hljs-string">maxconn</span>&quot;;
}; </code></pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h1>Getting information of the environment</h1>

<p>Rex comes with a hardware gathering module. To display all the things Rex knows about the environment your can create a test task that just dumps all the information.</p>

<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">1.0</span>&#39;];
<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">1.0</span>&#39;];

task &quot;<span class="hljs-string">dump-info</span>&quot;, <span class="hljs-keyword">sub </span>{
dump_system_information;
Expand Down

0 comments on commit 6a17cd3

Please sign in to comment.