Nico Schottelius
70a5e012d8
need to issue rules twice (permanent & current)
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
e7308a1a61
use absent instead of present twice
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
64e22bdb11
add new cdist type: __firewalld_rule
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Steven Armstrong
72104184b5
ensure file exists
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
4061031035
add centos support to __postfix* types
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
0fe6b60efc
support for centos
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Christian Kruse
583aa41bf9
support FreeBSD in __timezone type
10 years ago
Steven Armstrong
79b16563ed
remove support for custom install location
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
b1ef2cffa4
hardcode path to binary
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
2bcaaa744f
remove support for custom install location; to much dependencies in other types
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
3c720640dd
start working on supporting different versions of consul-template
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
44d57497e0
first attempt to make this type actually work
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius
40a582ca45
remove config_dir from the consul configuration file - fixes #385
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Steven Armstrong
2c7ab566e1
add new types to manage consul and friends
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
4f7ae8425d
New type __staged_file: Manage staged files
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
041569b41c
new type __config_file to manage configuration files
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius
4496c579af
add warning for __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
0ddc848b1e
add missing leading / to destination in case object_id is taken
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
34253a5c30
update missing bits for __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
9d25295e1a
use source, not source dir
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
055eaed7ad
add hint for /
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
3cc2f13b9b
add initial version of __rsync
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
745f1e2984
support ubuntu upstart in __start_on_boot
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Steven Armstrong
26143b8b77
move code generation outside of loop
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
7d73cc5ed6
actually use new --state param
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
d247f083e8
cleanup and rewrite
...
- add new --state parameter and support for deleting groups
- add new --system parameter to create system groups if supported by the
os
- remove special case for legacy redhat/centos versions, they are long
gone
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius
0cf170b18e
prettier print when requirements are broken
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
42c393ca40
add ubuntu support to __locale
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Antoine Catton
2318c792d7
Fix test cdist_type.TypeTestCase.test_directory_in_default
10 years ago
Antoine Catton
9717d5d928
Add test case: what if there's a directory in defaults
...
The goal of the directory name is to be before foo and bar
10 years ago
Antoine Catton
a938468bb0
DRY: Remove default parameter value handeling in __package_rubygem
10 years ago
Antoine Catton
33cc3b0fa2
DRY: Remove default parameter value handeling in __package_pkg_openbsd
10 years ago
Antoine Catton
ebf0479f60
DRY: Remove default parameter value handeling in __package_pkgng_freebsd
...
flavor, repo and version are expected to be empty by default.
They're all checked with [ -n "$var" ]
10 years ago
Antoine Catton
f7bf6a058e
DRY: Remove default parameter value handeling in __package_pkg_freebsd
...
flavor, pkgsite and version are expected to be empty.
They're all checked with [ -n "$var" ]
10 years ago
Antoine Catton
9fd285da4c
DRY: Remove default parameter value handeling in __package_pip
10 years ago
Antoine Catton
5aaea37194
DRY: Remove default parameter value handeling in __package_pacman
10 years ago
Antoine Catton
65f50b64b7
DRY: Remove default parameter value handeling in __package_opkg
10 years ago
Antoine Catton
de282c50f3
DRY: Remove default parameter value handeling in __package_luarocks
10 years ago
Antoine Catton
601346d482
DRY: Remove default parameter value handeling in __package_apt
10 years ago
Antoine Catton
0844f717a8
Password is unused in the else branch
10 years ago
Antoine Catton
82f48ef271
DRY: Remove default parameter value handeling in __apt_source
10 years ago
Antoine Catton
17afb5f5ad
DRY: Remove default parameter value handeling in __apt_source
10 years ago
Nico Schottelius
77b96b97c8
fix #343 - close fds of mkstemp for messages
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
dd562befc9
add support for --target-release for __package_apt
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
11 years ago
Steven Armstrong
28027f4261
dont fail just because grep in subshell exited non-zero
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Nico Schottelius
b724881c6a
remove superfluous = from title to allow building when xsltproc is strict
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
11 years ago
Steven Armstrong
9f83622d38
remove legacy/unused explorer
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
11 years ago
Ricardo Catalinas Jiménez
967652b5fe
Make __package_{update_index,upgrade_all} quieter
...
And more non-interactive for the APT case.
11 years ago
Ricardo Catalinas Jiménez
5cfe569369
Make __package_apt even more non-interactive
11 years ago
Ricardo Catalinas Jiménez
81bd4c3338
Add types __package_{update_index,upgrade_all}
11 years ago