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
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
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>
10 years ago
Steven Armstrong
28027f4261
dont fail just because grep in subshell exited non-zero
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 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>
10 years ago
Steven Armstrong
9f83622d38
remove legacy/unused explorer
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Ricardo Catalinas Jiménez
967652b5fe
Make __package_{update_index,upgrade_all} quieter
...
And more non-interactive for the APT case.
10 years ago
Ricardo Catalinas Jiménez
5cfe569369
Make __package_apt even more non-interactive
10 years ago
Ricardo Catalinas Jiménez
81bd4c3338
Add types __package_{update_index,upgrade_all}
10 years ago
Ricardo Catalinas Jiménez
ff880b4287
Fix comment
10 years ago
Ricardo Catalinas Jiménez
fd6b90a736
Cosmetic
10 years ago
Daniel Heule
c70834eaff
implemented some sugestions from nico
10 years ago
Steven Armstrong
41782cb107
workaround special case where the desired key was already present more then once in target file
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
4c52b10f93
maybe better define variable _before_ using it
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago
Steven Armstrong
4125dfaab0
them files should end in newline stupid
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
10 years ago