Darko Poljak
e6c5563a16
NoSuchTypeError -> InvalidTypeError
7 years ago
Kamila Součková
4799e43516
new type: __letsencrypt_cert ( #591 )
7 years ago
Thomas Eckert
5eb478da95
Add messaging to __ssh_authorized_key. ( #590 )
7 years ago
Dominique Roux
2cd006de79
F/ccollect create destination ( #548 )
7 years ago
Kamila Součková
da8f6efafc
fix explorer/os for devuan ascii ( #588 )
7 years ago
Ľubomír Kučera
36302f7541
Add support for CoreOS to __timezone type ( #587 )
7 years ago
Ľubomír Kučera
5c4cda589c
Add support for CoreOS to __hostname type ( #586 )
7 years ago
Thomas Eckert
d1c3e2420f
Add messaging to __process
7 years ago
Ander Punnar
8b78001c9e
fix running scripts with execute bit ( #583 )
7 years ago
Thomas Eckert
7ee56d099f
resolved #444 add messaging to __line-type ( #580 )
...
#444 Add messaging to __line-type
7 years ago
Darko Poljak
966bf30bee
Fix \n thing.
7 years ago
Darko Poljak
ea58cbd171
Better format command error output.
7 years ago
Darko Poljak
764ea49904
Log more data.
7 years ago
Darko Poljak
8883196efb
Bugfix for: __ssh_authorized_keys overwrites existing keys #577 ( #579 )
...
* Fix a bug where invalid key removes all file entries.
* __ssh_authorized_key: add key validation.
7 years ago
Darko Poljak
ac04edc233
Change path removal suitable for integration and normal run.
7 years ago
Darko Poljak
47d72fb83a
Create control path only if needed.
7 years ago
Darko Poljak
08bc38dd0f
Log ERROR to stderr and rest to stdout. ( #576 )
7 years ago
Darko Poljak
f2614469c5
configuration: converter() -> get_converter()
7 years ago
Darko Poljak
f0dc21ec0c
__cdist_log_level=<log level int value>; __cdist_log_level_name=<log level name> ( #574 )
7 years ago
Darko Poljak
1ae5b1732e
Fix missing dirs cleanup.
7 years ago
Darko Poljak
519eb60664
Fix exec/{local,remote} tests. Add exec/local test to make test.
7 years ago
Kamila Součková
1f00a35795
fixes + go version bump in __prometheus_exporter ( #573 )
7 years ago
Darko Poljak
3454da076f
Add -l/--log-level option. Honor __cdist_loglevel env var. ( #572 )
...
Add -l/--log-level option, __cdist_loglevel -> __cdist_log_level; honor __cdist_log_level env var
7 years ago
Darko Poljak
f08ac264a0
pep8
7 years ago
Darko Poljak
57f15f9cce
Make __cdist_loglevel value more expressive. ( #571 )
7 years ago
Darko Poljak
2e4c0d3465
Improve dry run logging.
7 years ago
Darko Poljak
97f6517715
Configuration fixes.
7 years ago
Darko Poljak
28d3466e9d
Fix logging dry run line.
7 years ago
Darko Poljak
cb38354df3
Run cleanup commands in quiet mode for DEBUG, TRACE.
7 years ago
Darko Poljak
e0a4fc4ea7
verbose -> info
7 years ago
Darko Poljak
dd48c82656
Log 'Processing' line even if dry run.
7 years ago
Darko Poljak
92488e83d6
__debug -> __cdist_loglevel
7 years ago
Philippe Grégoire
b2fb38d1f4
__package_pkg_openbsd: fix pkg_version explorer
...
The pkg_version explorer will fail to properly detect if a package
is installed when a package's name is present in the description of
a package (as returned by pkg_info).
Currently, trying to install libtool fails due to incorrect parsing:
$ pkg_info | grep libtool
libltdl-2.4.2p1 GNU libtool system independent dlopen wrapper
Additionally, trying to install nagios results in the following output:
$ pkg_info | grep nagios
nagios-4.0.8p3-chroot host and service monitor
nagios-web-4.0.8p2-chroot cgis and webpages for nagios
This commit fixes detection by properly parsing pkg_info's output.
Specifically, descriptions are ignored and package names are properly
extracted.
7 years ago
uqam-fob
0dd5411216
__package_pkg_openbsd: fix use of --name ( #568 )
...
Fixes the improper use of the file holding the value of the 'name'
option.
7 years ago
Darko Poljak
fb3cd98b54
Minor fixes to man page.
7 years ago
Kamila Součková
b8a1ad0ebd
Improve __daemontools on FreeBSD ( #567 )
...
Improve __daemontools on freebsd
7 years ago
Kamila Součková
a9f338b6a5
new type: __prometheus_exporter ( #566 )
7 years ago
Kamila Součková
7564038f04
fixes to __prometheus_{server,alertmanager} ( #565 )
7 years ago
Darko Poljak
99133219bc
Add another test case.
7 years ago
Sven Wick
ed55d01b35
Update machine_type ( #564 )
...
detect kvm on proxmox
7 years ago
Darko Poljak
5213f343c0
pep8
7 years ago
Darko Poljak
136f2ecd87
Add helpers for cdist config/install integration. ( #551 )
...
Implement simple integration API.
7 years ago
Darko Poljak
4af3c0c6d5
Fix empty conf_dir configuration value.
7 years ago
Darko Poljak
2f10353156
Fix configuration bugs.
7 years ago
Darko Poljak
bdee7273af
Configfile ( #559 )
...
Add cdist configuration/config file support.
7 years ago
Darko Poljak
eae399b025
Fix removing ssh key that is last one in the file.
7 years ago
Steven Armstrong
3c3b29f710
allow hostnamectl to fail silently
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Steven Armstrong
0114001627
remember default __remote_{copy,exec} so we can use it ourself in custom __remote_{copy,exec} scripts
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Steven Armstrong
04c8415060
use __remote_{exec,copy} instead of plain ssh/scp in remote exec scripts
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
7 years ago
Philippe Grégoire
0e3c7545cc
__user_groups: Support OpenBSD
...
OpenBSD's usermod(8) interface is similary to NetBSD's.
This commit makes __user_groups support it explicitly.
https://man.openbsd.org/usermod.8
http://netbsd.gw.com/cgi-bin/man-cgi?usermod++NetBSD-current
7 years ago