make cdist-tutorial compile

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-09-26 17:33:26 +02:00
parent c687dbdc70
commit 5e862c9ede
1 changed files with 21 additions and 34 deletions

View File

@ -1,40 +1,23 @@
#!/bin/sh cdist-tutorial(7)
# =================
# 2010-2011 Nico Schottelius (nico-cdist at schottelius.org) Nico Schottelius <nico-cdist--@--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 <http://www.gnu.org/licenses/>.
#
#
# Give the user an introduction into cdist
#
. cdist-config
set -eu
banner="cdist-quickstart>" NAME
continue="Press enter to continue or ctrl-c to abort." ----
create_continue="Press enter to create the described files/directories" cdist-tutorial - a guided introduction into cdist
__prompt()
{
echo -n "$banner" "$@"
read answer
}
################################################################################ INTRODUCTION
------------
This tutorial is aimed at people learning cdist and shows
typical approaches as well as gives an easy start into
the world of configuration management.
NOT MIGRATED
------------
# Intro of quickstart # Intro of quickstart
# #
cat << eof cat << eof
@ -305,6 +288,10 @@ That's it, this is the end of the cdist-quickstart.
I hope you've got some impression on how cdist works, here are again some I hope you've got some impression on how cdist works, here are again some
pointers on where to continue to read: pointers on where to continue to read:
cdist(7), cdist-deploy-to(1), cdist-type(7), cdist-stages(7)
eof eof
SEE ALSO
--------
cdist(1), cdist-type(7), cdist-stages(7)