Skip to content

Commit 1415477

Browse files
author
github-actions
committed
Site update
1 parent a735290 commit 1415477

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/release_notes/0.51.2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ <h2 id="base">Base</h2>
140140

141141
<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>
142142

143-
<pre><code class="hljs"><span class="hljs-keyword">use</span> Rex -feature =&gt; [&#39;<span class="hljs-string">0.51</span>&#39;];
143+
<pre><code class="hljs">use Rex -feature =&gt; [&#39;<span class="hljs-string">0.51</span>&#39;];
144144
task &quot;<span class="hljs-string">setup</span>&quot;, make {
145145
<span class="hljs-keyword">my</span> <span class="hljs-type">$maxconn</span> = get cmdb &quot;<span class="hljs-string">maxconn</span>&quot;;
146146
}; </code></pre>

docs/release_notes/0.54.3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h4 id="path_map-variablepathmapping">path_map - variable path mapping</h4>
130130

131131
<p>path_map is a new feature developed by Erik Huelsmann to ease the management of files for different hosts. In the past, if you wanted to upload a file (for example /etc/security/access.conf) to your servers and wanted to have different access.conf files per environment, or for a special host, you had to build this logic by yourself. With the <em>path_map</em> feature you only have to define the lookup path and Rex is doing this for you.</p>
132132

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

135135
set path_map =&gt; {
136136
&quot;<span class="hljs-string">files/</span>&quot; =&gt; [

docs/rex_book/writing_modules/getting_information_of_the_environment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ <h1>Getting information of the environment</h1>
125125

126126
<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>
127127

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

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

0 commit comments

Comments
 (0)