parent
53b21178f7
commit
bf540836f8
@ -0,0 +1,3 @@ |
||||
sync: |
||||
.rsync lyni@tablett:cdist
|
||||
.rsync nicosc@free.ethz.ch:cdist
|
@ -1,6 +1,9 @@ |
||||
# works |
||||
cdist_package install vim zsh rxvt-unicode |
||||
|
||||
# works |
||||
cdist_file files/notebook /etc/nicos_notebook |
||||
|
||||
#collectd |
||||
#cdist_file /etc/issue issue |
||||
#cdist_file /etc/issue --via my_func |
||||
|
@ -1,29 +0,0 @@ |
||||
#!/bin/sh |
||||
# |
||||
# 2010 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 <http://www.gnu.org/licenses/>. |
||||
# |
||||
# |
||||
|
||||
cdist_explore_os() |
||||
{ |
||||
[ -f /etc/arch-release ] && echo archlinux |
||||
|
||||
[ -f /etc/debian_version ] && echo debian |
||||
|
||||
grep -q ^DISTRIB_ID=Ubuntu /etc/lsb-release 2>/dev/null && echo ubuntu |
||||
} |
@ -0,0 +1,5 @@ |
||||
efsh() |
||||
{ |
||||
cdist_dir /home/services /home/users /home/groups |
||||
|
||||
} |
@ -0,0 +1,12 @@ |
||||
[12:15] kr:cdist% CDIST_DEBUG=1 cdist-config |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_dir.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_explore_hostname.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_explore_os.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_explore_pkg_system.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_file.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_package.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_package_backend_pacman_install.sh ... |
||||
Debug: Loading /home/users/nico/p/cdist/conf/lib/cdist_package_select_backend.sh ... |
||||
[12:15] kr:cdist% cdist-config |
||||
[12:15] kr:cdist% |
||||
|
@ -0,0 +1,2 @@ |
||||
export PATH=$PATH:$HOME/cdist/bin |
||||
export CDIST_CONFIG=$HOME/cdist/conf |
Loading…
Reference in new issue