<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>cdist-reference(7)</title><linkrel="stylesheet"type="text/css"href="docbook-xsl.css"/><metaname="generator"content="DocBook XSL Stylesheets V1.76.1"/></head><body><divxml:lang="en"class="article"title="cdist-reference(7)"lang="en"><divclass="titlepage"><div><div><h2class="title"><aid="id341151"></a>cdist-reference(7)</h2></div><div><divclass="author"><h3class="author"><spanclass="firstname">Nico</span><spanclass="surname">Schottelius</span></h3><codeclass="email"><<aclass="email"href="mailto:nico-cdist--@--schottelius.org">nico-cdist--@--schottelius.org</a>></code></div></div></div><hr/></div><divclass="toc"><p><strong>Table of Contents</strong></p><dl><dt><spanclass="section"><ahref="#_name">1. NAME</a></span></dt><dt><spanclass="section"><ahref="#_description">2. DESCRIPTION</a></span></dt><dt><spanclass="section"><ahref="#_paths">3. PATHS</a></span></dt><dt><spanclass="section"><ahref="#_types">4. TYPES</a></span></dt><dt><spanclass="section"><ahref="#_variables">5. VARIABLES</a></span></dt><dt><spanclass="section"><ahref="#_see_also">6. SEE ALSO</a></span></dt><dt><spanclass="section"><ahref="#_copying">7. COPYING</a></span></dt></dl></div><divclass="section"title="1.NAME"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_name"></a>1.NAME</h2></div></div></div><p>cdist-reference - Variable, path and type reference for cdist</p></div><divclass="section"title="2.DESCRIPTION"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_description"></a>2.DESCRIPTION</h2></div></div></div><p>Various scripts which are not in the core need information on how
to find information. This manpage summarises the available environment
variables, types and paths and clearifies with part may access which variables.</p></div><divclass="section"title="3.PATHS"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_paths"></a>3.PATHS</h2></div></div></div><p>If not specified otherwise, all paths are relative to the checkout directory.</p><divclass="variablelist"><dl><dt><spanclass="term">
conf/
</span></dt><dd>
Contains the (static) configuration like manifests, types and explorers.
</dd><dt><spanclass="term">
conf/manifest/init
</span></dt><dd><pclass="simpara">
This is the central entry point used by cdist-manifest-init(1).
It is an executable (+x bit set) shell script that can use
values from the explorers to decide which configuration to create
for the specified target host.
</p><preclass="literallayout">It should be primary used to define mapping from configurations to hosts.</pre></dd><dt><spanclass="term">
conf/manifest/*
</span></dt><dd>
All other files in this directory are not directly used by cdist, but you
can seperate configuration mappings, if you have a lot of code in the
manifest/init file. This may also be very helpful to have different admins
maintain different groups of hosts.
</dd><dt><spanclass="term">
conf/explorer/<name>
</span></dt><dd>
Contains explorers to be run on the target hosts, see cdist-explorer(7).
</dd><dt><spanclass="term">
conf/type/
</span></dt><dd>
Contains all available types, which are used to provide
some kind of functionality. See cdist-type(7).
</dd><dt><spanclass="term">
conf/type/<name>/
</span></dt><dd><pclass="simpara">
Home of the type <name>.
</p><preclass="literallayout">This directory is referenced by the variable __type (see below).</pre></dd><dt><spanclass="term">
conf/type/<name>/man.text
</span></dt><dd>
Manpage in Asciidoc format (nequired for inclusion into upstream)
</dd><dt><spanclass="term">
conf/type/<name>/manifest
</span></dt><dd>
Used to generate additional objects from a type.
</dd><dt><spanclass="term">
conf/type/<name>/gencode-local
</span></dt><dd>
Used to generate code to be executed on the server.
</dd><dt><spanclass="term">
conf/type/<name>/gencode-remote
</span></dt><dd>
Used to generate code to be executed on the client.
</dd><dt><spanclass="term">
conf/type/<name>/parameters/required
</span></dt><dd>
Parameters required by type, \n seperated list.
</dd><dt><spanclass="term">
conf/type/<name>/parameters/optional
</span></dt><dd>
Parameters optionally accepted by type, \n seperated list.
</dd><dt><spanclass="term">
conf/type/<name>/explorer
</span></dt><dd><pclass="simpara">
Location of the type specific explorers.
</p><preclass="literallayout">This directory is referenced by the variable __type_explorer (see below).</pre><preclass="literallayout">See cdist-explorer(7).</pre></dd><dt><spanclass="term">
out/
</span></dt><dd><pclass="simpara">
This directory contains output of cdist and is usually located
in a temporary directory and thus will be removed after the run.
</p><preclass="literallayout">This directory is referenced by the variable __global (see below).</pre></dd><dt><spanclass="term">
out/explorer
</span></dt><dd>
Output of general explorers.
</dd><dt><spanclass="term">
out/object
</span></dt><dd>
Objects created for the host.
</dd><dt><spanclass="term">
out/object/<object>
</span></dt><dd><pclass="simpara">
Contains all object specific information.
</p><preclass="literallayout">This directory is referenced by the variable __object (see below).</pre></dd><dt><spanclass="term">
out/object/<object>/explorers
</span></dt><dd>
Output of type specific explorers, per object.
</dd><dt><spanclass="term">
tmp_dir
</span></dt><dd>
A tempdir and a tempfile is used by cdist internally,
which will be removed when the scripts end automatically.
See cdist-config(1).
</dd></dl></div></div><divclass="section"title="4.TYPES"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_types"></a>4.TYPES</h2></div></div></div><p>The following types are available:</p><divclass="itemizedlist"><ulclass="itemizedlist"type="disc"><liclass="listitem">
</li></ul></div></div><divclass="section"title="7.COPYING"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_copying"></a>7.COPYING</h2></div></div></div><p>Copyright (C) 2011 Nico Schottelius. Free use of this software is
granted under the terms of the GNU General Public License version 3 (GPLv3).</p></div></div></body></html>