From 5594669b861aadebda41d1047175ebcd3cddfb4b Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Wed, 2 Mar 2011 18:37:15 +0100 Subject: [PATCH] add template for __package_apt Signed-off-by: Nico Schottelius --- conf/type/__package_apt/gencode | 23 ++++++++++++++++++++++ conf/type/__package_apt/parameter/optional | 2 ++ conf/type/__package_apt/parameter/required | 1 + 3 files changed, 26 insertions(+) create mode 100755 conf/type/__package_apt/gencode create mode 100644 conf/type/__package_apt/parameter/optional create mode 100644 conf/type/__package_apt/parameter/required diff --git a/conf/type/__package_apt/gencode b/conf/type/__package_apt/gencode new file mode 100755 index 00000000..24cb5686 --- /dev/null +++ b/conf/type/__package_apt/gencode @@ -0,0 +1,23 @@ +#!/bin/sh +# +# 2011 Nico Schottelius (nico-cdist at schottelius.org) +# +# This file is part of cdist. +# +# cdist is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# cdist is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with cdist. If not, see . +# +# +# Manage packages on Debian and co. +# + diff --git a/conf/type/__package_apt/parameter/optional b/conf/type/__package_apt/parameter/optional new file mode 100644 index 00000000..a52167d3 --- /dev/null +++ b/conf/type/__package_apt/parameter/optional @@ -0,0 +1,2 @@ +name +version diff --git a/conf/type/__package_apt/parameter/required b/conf/type/__package_apt/parameter/required new file mode 100644 index 00000000..ff72b5c7 --- /dev/null +++ b/conf/type/__package_apt/parameter/required @@ -0,0 +1 @@ +state