<htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>cdist-manifest(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-manifest(7)"lang="en"><divclass="titlepage"><div><div><h2class="title"><aid="id478535"></a>cdist-manifest(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="#_example">3. EXAMPLE</a></span></dt><dt><spanclass="section"><ahref="#_dependencies">4. DEPENDENCIES</a></span></dt><dt><spanclass="section"><ahref="#_see_also">5. SEE ALSO</a></span></dt><dt><spanclass="section"><ahref="#_copying">6. 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-manifest - Define types to be used</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>Manifests exist to define which configurations should be applied to a specific
host as well as to define which configurations should be applied within a
type. Manifests are executed locally and the resulting objects are stored in
an internal database.</p><p>The same object can be redefined in multiple different manifests as long as
the parameters are exactly the same.</p><p>In general, manifests are used to define which types are used depending
on given conditions.</p></div><divclass="section"title="3.EXAMPLE"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_example"></a>3.EXAMPLE</h2></div></div></div><p>The initial manifest may for instance contain the following code:</p><preclass="screen"># Always create this file, so other sysadmins know cdist is used.
esac</pre><p>The manifest of the type "nologin" may look like this:</p><preclass="screen">__file /etc/nologin --type file --source "$__type/files/default.nologin"</pre></div><divclass="section"title="4.DEPENDENCIES"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_dependencies"></a>4.DEPENDENCIES</h2></div></div></div><p>If you want to describe that something requires something else, just
setup the variable "require" to contain the requirements. Multiple
requirements can be added white space seperated.</p><preclass="screen"># No dependency
</li></ul></div></div><divclass="section"title="6.COPYING"><divclass="titlepage"><div><div><h2class="title"style="clear: both"><aid="_copying"></a>6.COPYING</h2></div></div></div><p>Copyright (C) 2010-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>