Commit 72bf8664 authored by Nico Schottelius's avatar Nico Schottelius

Merge branch 'master' into feature_install_and_preos

Signed-off-by: default avatarNico Schottelius <nico@wurzel.schottelius.org>
parents ac866107 416eb300
......@@ -35,7 +35,7 @@ TYPEDIR=cdist/conf/type
WEBSRCDIR=docs/web
WEBDIR=$$HOME/www.nico.schottelius.org
WEBDIR=$$HOME/vcs/www.nico.schottelius.org
WEBBLOG=$(WEBDIR)/blog
WEBBASE=$(WEBDIR)/software/cdist
WEBPAGE=$(WEBBASE).mdwn
......
https://dl.bintray.com/mitchellh/consul/0.5.1_linux_amd64.zip
......@@ -43,7 +43,9 @@ if [ ! -d "$version_dir" ]; then
exit 1
fi
__staged_file /usr/local/bin/consul \
__package unzip
require="__package/unzip" __staged_file /usr/local/bin/consul \
--source "$(cat "$version_dir/source")" \
--cksum "$(cat "$version_dir/cksum")" \
--fetch-command 'curl -s -L "%s"' \
......
#!/bin/sh
#
# 2013-2015 Nico Schottelius (nico-cdist at schottelius.org)
# 2015 David Hürlimann (david at ungleich.ch)
#
# This file is part of cdist.
#
......@@ -29,7 +30,7 @@ case "$os" in
# Debian needs a seperate package
__package locales --state present
;;
archlinux|suse|ubuntu)
archlinux|suse|ubuntu|centos)
:
;;
*)
......
#!/bin/sh
#
# 2015 Steven Armstrong (steven-cdist at armstrong.cc)
# 2015 Nico Schottelius (nico-cdist at schottelius.org)
#
# This file is part of cdist.
#
......@@ -74,7 +75,7 @@ cat << DONE
verify_cksum() {
cksum_is="\$(cksum "$stage_file" | cut -d' ' -f1,2)"
cksum_should="$(cat "$__object/parameter/cksum" | cut -d' ' -f1,2)"
if [ "\$cksum_is" == "\$cksum_should" ]; then
if [ "\$cksum_is" = "\$cksum_should" ]; then
return 0
else
return 1
......
......@@ -13,10 +13,15 @@ Changelog
* Core: Integrate initial install support (Nico Schottelius)
* Core: Integrate initial preos support (Nico Schottelius)
next:
3.1.13: 2015-05-16
* Type __block: Fix support for non stdin blocks (Dominique Roux)
* Type __consul: Install package unzip (Nico Schottelius)
* Type __consul: Add source & cksum for 0.5.1 (Nico Schottelius)
* Type __consul_agent: Use systemd for Debian 8 (Nico Schottelius)
* Type __firewalld_rule: Ensure firewalld is present (David Hürlimann)
* Type __firewalld_rule: Ensure firewalld package is present (David Hürlimann)
* Type __locale: Support CentOS (David Hürlimann)
* Type __staged_file: Fix comparision operator (Nico Schottelius)
* Type __user_groups: Support old Linux versions (Daniel Heule)
3.1.12: 2015-03-19
* Core: Support object ids '.cdist' (Nico Schottelius)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment