Nico Schottelius
|
240b4aebbc
|
begin to add --preseed to __package_apt
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-21 09:14:42 +01:00 |
|
Nico Schottelius
|
c0705c1efd
|
update documentation for __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-21 08:54:12 +01:00 |
|
Nico Schottelius
|
a6b4c468e3
|
and add __issue parameter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-20 02:04:50 +01:00 |
|
Nico Schottelius
|
04a07cfaf6
|
enhance and fix __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-20 02:04:30 +01:00 |
|
Nico Schottelius
|
c87ecbe23f
|
update comment for __link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-19 23:44:25 +01:00 |
|
Nico Schottelius
|
c601298760
|
gencode -> gencode-remote in types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-19 23:39:01 +01:00 |
|
Nico Schottelius
|
a761a035fe
|
update __file with gencode-local and gencode-remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-19 23:26:41 +01:00 |
|
Nico Schottelius
|
3eed0f97ce
|
begin to migrate __file to new local/remote scheme
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-19 22:38:36 +01:00 |
|
Nico Schottelius
|
ea2cbb176a
|
fix generation of manpage for cdist-type__removeline
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-19 14:50:11 +01:00 |
|
Steven Armstrong
|
cef58ae85f
|
handle numeric group id as well as group name for consistency with usermod|groupmod
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-18 23:37:10 +01:00 |
|
Nico Schottelius
|
cbc8a254f4
|
+=
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-18 02:11:47 +01:00 |
|
Daniel Roth
|
74d3a23930
|
Removed a not
|
2011-03-17 19:06:33 +01:00 |
|
Daniel Roth
|
5c39063a89
|
Added type __removeline
|
2011-03-17 18:58:28 +01:00 |
|
Steven Armstrong
|
59e774b08d
|
fix merge conflict in changelog
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-16 14:41:43 +01:00 |
|
Nico Schottelius
|
1bc37f5ba2
|
setup mode 0644 for motd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 11:20:07 +01:00 |
|
Nico Schottelius
|
f94b39c22b
|
fix __file usage in __issue and add redhat support
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 11:16:45 +01:00 |
|
Nico Schottelius
|
aee6953ecd
|
[BUGFIX] __link: remove trailing 's' in variable name
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 10:28:00 +01:00 |
|
Nico Schottelius
|
d2c4ffb5f0
|
cleanup manpages for new types
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 08:45:01 +01:00 |
|
Nico Schottelius
|
0847b5b364
|
Merge branch 'master' into filedirectorylink
|
2011-03-16 08:36:40 +01:00 |
|
Nico Schottelius
|
bf60df1a9b
|
cleanup in __file manifest
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 08:31:30 +01:00 |
|
Nico Schottelius
|
501fcf36d1
|
remove old --destination parameter from __file explorers
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 08:30:02 +01:00 |
|
Nico Schottelius
|
f69802b3d8
|
s/md5sum/cksum/g
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-16 08:25:36 +01:00 |
|
Steven Armstrong
|
af0b62ecef
|
update man page for __group type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 23:41:30 +01:00 |
|
Steven Armstrong
|
ec99a22db6
|
add new type __group
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 23:37:17 +01:00 |
|
Steven Armstrong
|
58718f735a
|
use getent to get entry from shadow database
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 23:35:55 +01:00 |
|
Steven Armstrong
|
4432b476d0
|
__user: only set password if it changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 23:26:24 +01:00 |
|
Steven Armstrong
|
1518bf1935
|
__user: only run commands if value has changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 23:11:01 +01:00 |
|
Nico Schottelius
|
6f7312e877
|
some cleanups in cdist-type__addifnosuchline(7)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:25:09 +01:00 |
|
Nico Schottelius
|
4a44b3bdf5
|
__file: -destination
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:19:49 +01:00 |
|
Daniel Roth
|
2ed638a0a2
|
Minor doc fixes
|
2011-03-15 21:18:18 +01:00 |
|
Nico Schottelius
|
e06e8026dd
|
begin to cleanup __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:18:15 +01:00 |
|
Nico Schottelius
|
1619964cbb
|
__file does not require --type anymore
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:13:01 +01:00 |
|
Nico Schottelius
|
1202131195
|
update __directory parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:11:59 +01:00 |
|
Nico Schottelius
|
86d98ddec4
|
begin cleanup doc for __directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 21:06:18 +01:00 |
|
Daniel Roth
|
c010c9b288
|
moved manpages
|
2011-03-15 21:02:47 +01:00 |
|
Steven Armstrong
|
42c87edad1
|
moved __package_gentoo to gentoo branch
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 20:52:52 +01:00 |
|
Nico Schottelius
|
4c59a0fde1
|
cleanup __link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 20:51:09 +01:00 |
|
Nico Schottelius
|
b8c68fcb9e
|
remove explorer for __directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 20:37:51 +01:00 |
|
Nico Schottelius
|
3d24edae51
|
+ template for __link
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 20:37:23 +01:00 |
|
Steven Armstrong
|
bead47f6bf
|
remove currently unhandled parameter
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 17:10:27 +01:00 |
|
Steven Armstrong
|
f2f67ad0ad
|
+man __package_emerge/man.text
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 17:09:45 +01:00 |
|
Steven Armstrong
|
26b10dec69
|
+man
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 17:01:35 +01:00 |
|
Steven Armstrong
|
a9d0bfee16
|
new type __user
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-15 16:47:40 +01:00 |
|
Nico Schottelius
|
8d8491232c
|
add template for type __directory
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 16:41:04 +01:00 |
|
Nico Schottelius
|
63452e0fee
|
document __package_apt
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 16:37:34 +01:00 |
|
Nico Schottelius
|
77381b9981
|
cleanup manpages for __issue and __motd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 16:35:04 +01:00 |
|
Nico Schottelius
|
aa4a23e7dd
|
doc: -\n
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 00:18:31 +01:00 |
|
Nico Schottelius
|
fe2d4877ce
|
-plural (old stuff)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 00:06:50 +01:00 |
|
Nico Schottelius
|
2d4cbdddab
|
document new features
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 00:05:38 +01:00 |
|
Nico Schottelius
|
5821ceebbc
|
add support for --owner and --group in __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-15 00:00:25 +01:00 |
|
Nico Schottelius
|
49d3548f46
|
support debian/ubuntu in __motd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-14 23:41:36 +01:00 |
|
Nico Schottelius
|
710ce98386
|
[DOC] __package_pacman gained manpage
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-14 23:23:32 +01:00 |
|
Steven Armstrong
|
a50e380174
|
fix merge conflict
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-14 09:26:18 +01:00 |
|
Nico Schottelius
|
d8ab38d846
|
[DOC] type __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-12 19:48:37 +01:00 |
|
Nico Schottelius
|
bfb43079e3
|
Merge branch 'dev' of git://git.d-roth.li/cdist
Conflicts:
conf/manifest/init
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-12 19:11:24 +01:00 |
|
Nico Schottelius
|
32042aba8f
|
cleanup motd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-12 18:58:22 +01:00 |
|
Nico Schottelius
|
ff1eb0895b
|
add new type: __motd
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-12 18:47:34 +01:00 |
|
Nico Schottelius
|
783c4b12ca
|
[__issue] remove unneeded parameters
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-11 19:08:52 +01:00 |
|
Nico Schottelius
|
d4fac09518
|
fail, if source is not existing
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 19:16:21 +01:00 |
|
Nico Schottelius
|
a190ee13b8
|
__file: --type symlink supported
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 18:14:35 +01:00 |
|
Nico Schottelius
|
5ababb1249
|
correct manifest of __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 17:09:04 +01:00 |
|
Nico Schottelius
|
ddc1724ae0
|
Merge branch 'master' into only_once
|
2011-03-10 17:08:22 +01:00 |
|
Nico Schottelius
|
03502567e3
|
check for existence before (re-)creation
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 13:40:05 +01:00 |
|
Nico Schottelius
|
e48458f27f
|
add explorer to find out whether file exists
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 13:38:12 +01:00 |
|
Nico Schottelius
|
62c6446412
|
exit true in case packet is not installed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 13:36:58 +01:00 |
|
Nico Schottelius
|
637163d4af
|
only md5sum if file is a regular file (not a directory)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-10 13:31:00 +01:00 |
|
Nico Schottelius
|
a67073a45b
|
add example for singleton
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-09 22:21:39 +01:00 |
|
Nico Schottelius
|
41d82ea89a
|
add only once to __issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-09 21:58:34 +01:00 |
|
Nico Schottelius
|
1c45e4fe17
|
begin the manpage integration with man.text
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-09 13:06:23 +01:00 |
|
Daniel Roth
|
35df795342
|
Return values replaced
|
2011-03-08 20:21:10 +01:00 |
|
Daniel Roth
|
ac815524f4
|
Implementation of addifnosuchline type
|
2011-03-08 19:51:47 +01:00 |
|
Steven Armstrong
|
885f362066
|
Merge remote branch 'nico/master'
|
2011-03-08 18:17:59 +01:00 |
|
Nico Schottelius
|
cc28d4ddbb
|
do not exit 0 if __package_$type does not exit 0
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-08 12:39:05 +01:00 |
|
Steven Armstrong
|
a6b88d323e
|
Merge remote branch 'nico/master'
|
2011-03-07 23:08:37 +01:00 |
|
Nico Schottelius
|
d3fe22b281
|
update __file to allow md5 also locally
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-07 18:04:59 +01:00 |
|
Nico Schottelius
|
5b2c52b977
|
__file: support md5 of macosx
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-07 17:51:34 +01:00 |
|
Nico Schottelius
|
62b392e65d
|
use __global in type __package
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-04 15:11:37 +01:00 |
|
Nico Schottelius
|
b739f452b0
|
-debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-03 15:43:55 +01:00 |
|
Nico Schottelius
|
1d133ecb0a
|
fix type __file: md5sum from stdin (=same name) and prepend / to object_id
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-03 15:42:09 +01:00 |
|
Steven Armstrong
|
614ff21f4a
|
/deinstalled/uninstalled/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-03 10:37:49 +01:00 |
|
Steven Armstrong
|
b9ff43c657
|
use $__global instead of ./out/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
2011-03-03 10:37:11 +01:00 |
|
Nico Schottelius
|
442a175755
|
update explorer for __package_apt and install only if not already installed (same for deinstall)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-03 09:12:55 +01:00 |
|
Nico Schottelius
|
baea18be5f
|
Merge remote-tracking branch 'sans/master'
|
2011-03-03 08:51:22 +01:00 |
|
Steven Armstrong
|
0d88bccead
|
update to work with new tree layout and variables
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
2011-03-03 08:39:37 +01:00 |
|
Steven Armstrong
|
fe5e0c7541
|
update to work with new variables
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
2011-03-03 08:33:14 +01:00 |
|
Steven Armstrong
|
4c447b59ac
|
need value from file not file itself
Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>
|
2011-03-03 08:28:24 +01:00 |
|
Nico Schottelius
|
ae4ff8b497
|
-debug + fix
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 23:58:44 +01:00 |
|
Nico Schottelius
|
34fa8260f5
|
finish __package_pacman
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 21:23:43 +01:00 |
|
Nico Schottelius
|
ddbcaf5152
|
add template for __package_pacman
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 21:15:03 +01:00 |
|
Nico Schottelius
|
3a10475151
|
only install/deinstall apt packages if necessary
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 19:21:15 +01:00 |
|
Nico Schottelius
|
c90ae945a8
|
add explorer for apt to find out pkg_status
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 19:14:32 +01:00 |
|
Nico Schottelius
|
7c34ccde99
|
update gencode to contain something useful
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 18:54:31 +01:00 |
|
Nico Schottelius
|
5594669b86
|
add template for __package_apt
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-03-02 18:37:15 +01:00 |
|
Nico Schottelius
|
c27d052890
|
cleanup issue
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-26 10:44:50 +01:00 |
|
Nico Schottelius
|
1ed0b6d474
|
export __cdist_local_base_dir in cdist-deploy-to for others
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-26 10:42:06 +01:00 |
|
Nico Schottelius
|
06a56ab6d2
|
AR Steven: DOC: manifest can access $__type (implement $__type ;-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 18:42:38 +01:00 |
|
Nico Schottelius
|
918bb8bb5a
|
in theory, finish __file/gencode (with debug)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 18:33:12 +01:00 |
|
Nico Schottelius
|
45429c2ca0
|
Allow ids to contain slashes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 02:13:11 +01:00 |
|
Nico Schottelius
|
1a718e7c23
|
adjust gencode of type __file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 01:20:34 +01:00 |
|
Nico Schottelius
|
e4377f7532
|
remove debug
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 00:58:38 +01:00 |
|
Nico Schottelius
|
66610155ae
|
add some debug to md5sum explorer
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 00:55:06 +01:00 |
|
Nico Schottelius
|
72f62a8734
|
cleanup and fix some missing } in cdist-config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-25 00:14:26 +01:00 |
|
Nico Schottelius
|
df2bbebed7
|
params -> parameter
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-24 21:37:55 +01:00 |
|
Nico Schottelius
|
b683b8ca70
|
more plural -> singular cleanups
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-24 21:36:11 +01:00 |
|
Nico Schottelius
|
238b5119eb
|
begin to migrate from plural to singular, CONSISTENTLY
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
|
2011-02-24 21:32:01 +01:00 |
|