Skip to content

Commit

Permalink
Site update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 11, 2024
1 parent d0f3d5e commit 0e0e5ee
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.46.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h2 id="rex::test">Rex::Test</h2>

<p>To create a test just create a new file inside a <em>t</em> directory: <em>t/base.t</em>.</p>

<pre><code class="hljs">use <span class="hljs-function">Rex::Test</span>::<span class="hljs-function">Base</span>;
<pre><code class="hljs"><span class="hljs-keyword">use</span> <span class="hljs-function">Rex::Test</span>::<span class="hljs-function">Base</span>;
<span class="hljs-keyword">use</span> <span class="hljs-function">Data::Dumper</span>;
<span class="hljs-keyword">use</span> Rex -base;

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
2 changes: 1 addition & 1 deletion docs/release_notes/1.4.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h3 id="paramlookup">ParamLookup</h3>

<p><code>param_lookup</code> is a command to manage task parameters.</p>

<pre><code class="hljs"><span class="hljs-keyword">my</span> <span class="hljs-type">$var</span> = param_lookup &quot;<span class="hljs-string">param_name</span>&quot;, &quot;<span class="hljs-string">default_value</span>&quot;;</code></pre>
<pre><code class="hljs">my <span class="hljs-type">$var</span> = param_lookup &quot;<span class="hljs-string">param_name</span>&quot;, &quot;<span class="hljs-string">default_value</span>&quot;;</code></pre>

<p>First param_lookup checks the task parameters for <code>param_name</code>.
If it&#39;s not found, it tries to look it up from CMDB (if CMDB is used).
Expand Down

0 comments on commit 0e0e5ee

Please sign in to comment.