Steven Armstrong
ecc0b2136d
rename all occurences of hardware_type to machine
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Nico Schottelius
06f0e60705
more indent
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
682919c7db
+quotes +indent
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
d224a8b5fc
require package tzdata for the correct link
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Ramon Salvadó
bf27a177da
Added __timezone type (allows configuration of your localtime timezone)
14 years ago
Ramon Salvadó
9e7048b25d
Fixed package_yum to work on CentOS
14 years ago
Nico Schottelius
7d8a58e6d1
and - debug
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4d244e9ea2
import __ssh_authorized_key from Aurélien's tree
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Steven Armstrong
88a667b17f
docfix: add missing =
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
df6c2909cb
bow infront of the whitespace nazi
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
6784d4ca16
docfix: add missing =
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Steven Armstrong
b29538a784
new types: __autofs_map, __autofs_master
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Nico Schottelius
3c37ac0b0f
do not fail if nothing todo (__user and __group)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
9610dbf10f
__debconf_set_selections: cat the file referenced, not the parameter!
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
a493334431
[DOC] fixup manpage for type __package_pkg_openbsd
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Andreas Brönnimann
e289235589
Fix typo
14 years ago
Andreas Brönnimann
836c2ae7b8
Add error output to __package_pkg_openbsd
14 years ago
Andreas Brönnimann
8ec728fd4b
Type pkg_openbsd
14 years ago
Nico Schottelius
519212e396
error out if state given is unknown
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
ac976c9f70
find __package* -type f -exec sed -i 's/uninstalled/removed/g' {} \;
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4ebcdc3ef1
find __package* -type f -exec sed -i 's/deinstalled/removed/g' {} \;
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
5710d9a606
delay __package_openbsd_pkg / wait for input of justastudent
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
654512c209
add template for __package_openbsd_pkg
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
785ec3f36f
sort fields by alphabet
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
e464c5aaa2
simplify
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
d49e481a87
match on name: not name, may be invalid
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
db425d3925
use property, not key anymore
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4b76d8a7e0
__user: remove =~, cleanup and beautify, replace cut with awk
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
69a17d0b0e
remove unecessary set -- "$@"
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
18e433dd85
import corrected __group from nico/nico
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
5f0ecb0831
yum confuses me, document it, so others are saved
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
4ab1fdceff
remove evil debug
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
0b7024a2cc
adjust grep string
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
aedbc263d7
need to use --whatprovides
...
This ensure we also check for other packages which are used instead
of the requested one, which does not work with rpm -q:
[root@brett ~]# rpm -q vim
package vim is not installed
[root@brett ~]# yum --assumeyes --quiet install "vim"
Package 2:vim-enhanced-7.3.056-1.fc14.x86_64 already installed and
latest version
[root@brett ~]# rpm -q --whatprovides vim
vim-enhanced-7.3.056-1.fc14.x86_64
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
13f4140b3d
update manpage for __package_yum
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
a778dee9fc
use rpm -q to get status
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
bcc7d0e795
cleanup of gencode-remote
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
d9e2493eb9
add fedora support to __package
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
e19c079f24
add template for new type __package_yum
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
cee51f0088
make __package_apt use DEBIAN_FRONTEND=noninteractive
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
e21283c579
remove preseeding support from __package_apt
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
0db21eb308
document, cleanup and theoretically finish __debconf_set_selections
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
48a96591d1
add template for type __debconf_set_selections/
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Steven Armstrong
fb426bd412
__directory type does not have a destination parameter
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
14 years ago
Nico Schottelius
9bdba19d4a
prepend slash when using __object_id as name for __process
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
417ce61821
-''
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
271aa95a4d
add --name example to manpage
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
b8002efa6d
add support for __process --name (in theory)
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
40b7b158c0
-debug
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago
Nico Schottelius
0e8d36f592
add -x to pgrep
...
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
14 years ago