Daniel Heule
62bd5898aa
fix for older linuxes where gpasswd doesn't have the relevant options ...
10 years ago
Dominique Roux
40d19a6bbb
Change from cat a variable to echo a variable
10 years ago
Nico Schottelius
5566062139
add debian support to __consul_agent
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Steven Armstrong
5239943bed
confirmed to work on ubuntu
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius
b0321895a7
fix all tests
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
b51e9daccc
fix all tests besides one
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
d08c29b581
fix most test cases broken by no-dot-cdist change
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Steven Armstrong
8820c1ca2b
add support for acl options
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
29cb89340e
bugfix: /___key_value/__key_value/
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Nico Schottelius
fa6e389fdd
cannot use False for object id, as it is being used for os.path.join() in object
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
73c77dd2d3
Let core use random .cdist directory for objects
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
Nico Schottelius
9af4fcabff
make firewalld more quiet
...
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
10 years ago
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