ander
d2eec60668
[__download] make --sum optional
2 years ago
Darko Poljak
750c71fb5a
Minor refactoring and remove code duplication
2 years ago
Darko Poljak
199effb7ef
Improve unfinished object requirements bool check
...
When we need only boolean value for unfinished object requirements then
we don't need to determine the whole list of unfinished objects.
2 years ago
Darko Poljak
ab811ad282
++changelog
2 years ago
poljakowski
ce79a2069c
Merge branch 'fix/type/__pyvenv/numeric-owner' into 'master'
...
__pyvenv: Fix if --owner / --group is numeric
See merge request ungleich-public/cdist!988
2 years ago
poljakowski
c981f654f1
Merge branch 'fix/type/__git/numeric-owner' into 'master'
...
__git: Fix if --owner / --group is numeric
See merge request ungleich-public/cdist!987
2 years ago
poljakowski
87698395b8
Merge branch 'cleanup/string-formatting' into 'master'
...
Cleanup/string formatting
Closes #855
See merge request ungleich-public/cdist!985
2 years ago
Darko Poljak
4c2d273f07
Unify string formatting
...
Use one way of string formatting: replace old `%` style with new `str.format`.
Resolve #855 .
2 years ago
Darko Poljak
f984a918b9
Fix log message string formatting
...
Use logging message format with args, instead of direct `%` or `str.format`.
Resolve #855 .
2 years ago
Darko Poljak
1e765fcab7
++changelog
2 years ago
poljakowski
28c13bd29b
Merge branch 'feature/type-relationship-graph' into 'master'
...
Implement maintaining object relationship graph
See merge request ungleich-public/cdist!986
2 years ago
Dennis Camera
985252585c
[type/__pyvenv] Fix if --owner / --group is numeric
...
Before, if --owner and/or --group was numeric, gencode-remote would generate
`chown` code every time.
2 years ago
Dennis Camera
167c2ad7ea
[type/__git] Fix if --owner / --group is numeric
...
Before, if --owner and/or --group was numeric, gencode-remote would generate
`chown` code every time.
2 years ago
Darko Poljak
7a0b697f4c
Implement maintaining object relationship graph
...
For each object maintain parent-child relationship graph, i.e. list of
parent objects ('parents' property) and list of children objects ('children'
property).
Objects without parent(s) are objects specified in init manifest.
Objects without children are object of types that do not reuse other types.
2 years ago
Darko Poljak
10ca1c12fd
++changelog
2 years ago
poljakowski
c55397766e
Merge branch 'feature/type/__sshd_config/whitelist-openbmc' into 'master'
...
__sshd_config: Whitelist OpenBMC
See merge request ungleich-public/cdist!980
2 years ago
Dennis Camera
e47c4dd8a4
[type/__sshd_config] Whitelist OpenBMC in manifest
2 years ago
Darko Poljak
31cc592aa1
++changelog
2 years ago
poljakowski
2f4a7e1a94
Merge branch 'fix/type/__ssh_authorized_key/grep-only-if-file-exists' into 'master'
...
__ssh_authorized_key: only grep if file exists
See merge request ungleich-public/cdist!979
2 years ago
Dennis Camera
fb19f34266
[type/__ssh_authorized_key] Only grep if file exists
2 years ago
Steven Armstrong
ecba284fc8
changelog++
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2 years ago
Steven Armstrong
ea0126dd81
Make local state dir available to custom remote scripts
...
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2 years ago
Darko Poljak
e7d33891df
++changelog
2 years ago
poljakowski
1bc0d912bf
Merge branch 'fix/type/__pyvenv/man-typo' into 'master'
...
__pyvenv: Fix user example
See merge request ungleich-public/cdist!978
2 years ago
Dennis Camera
8ef19d47f6
[type/__pyvenv] Fix example (--user -> --owner)
2 years ago
Darko Poljak
60fd7ba1f3
Release 6.9.5
2 years ago
fancsali
dc66efa690
Fix shellcheck issues
2 years ago
fancsali
1a74470c4d
__apt_pin: Always use $__object_id as preferences.d filename
2 years ago
fancsali
0734288483
First draft of __apt_pin
2 years ago
Darko Poljak
22f637c15b
++changelog
2 years ago
poljakowski
6358885d26
Merge branch 'feature/__package_pip/extras' into 'master'
...
__package_pip: add optional (extra) dependencies
See merge request ungleich-public/cdist!975
2 years ago
Darko Poljak
5e0572189f
++changelog
2 years ago
poljakowski
b3a9c907ad
Merge branch '__letsencrypt_cert-fix-hooks' into 'master'
...
[__letsencrypt_cert] Fix various issues with hooks.
Closes #853
See merge request ungleich-public/cdist!977
2 years ago
poljakowski
e854db096e
Merge branch 'fix/type/__postgres_role/implement-alter' into 'master'
...
__postgres_role: implement modification of roles
See merge request ungleich-public/cdist!973
2 years ago
matze
d1f45d3524
__package_pip: corrected typo in man
...
.. by fully replacing it with a smaller sentence.
2 years ago
Dennis Camera
0835f414a5
[type/__postgres_conf] Extract PostgreSQL service user detection to separate explorer
2 years ago
matze
2ce1fce767
__package_pip: match package names case insensitive
...
Pip matches them insensitive, so we need to do the same to avoid
problems by saying extras are not installed but already is there in
place.
2 years ago
matze
951712740f
__package_pip: update man.rst
...
Adjusted comments for `explorer/extras` and updated the man page for the
new behaviour of updating the extras.
2 years ago
matze
a9d7dfb2ed
__package_pip: split extra 'all' to a list of all extras
...
This will fix if a package will be upgraded from some extras to all
extras. Previously, it will not work because some dependencies of 'all'
are already installed, so the feature 'all' is already installed.
Now, it will use a list of all extras to iterate over them separatly. This
will result it will never install all extras via `[all]`, but rather
`[foo,bar]`.
2 years ago
matze
7398382890
__package_pip: fix shellcheck
...
Useless `cat $file`, use `< $file` instead.
2 years ago
matze
2db0ef7c98
__package_pip: updating real detection of extras
...
As the previous detection took the wrong values, this explorer now
checks if packages for an extra are installed or not. If not, the extra
is not installed.
Based on the information of the explorer, it will install the package
again with the absent extras.
2 years ago
matze
8dc6ab9738
__package_pip: install not found extras
...
Compares the explorer against the parameters and install those extras
that are not already installed.
2 years ago
matze
4717e5ceff
__package_pip: add extras explorer
...
The two new explorers detect all installed extras for this package.
2 years ago
evilham
aa80c09c80
[__letsencrypt_cert] Move hook contents generation out of manifest
...
While there address some minor issues in the comments in the hook contents.
2 years ago
evilham
b832af5e3b
[__letsencrypt_cert] Don't mess with user script indentation
...
This could break in odd ways if they passed sth like:
cat <<eof
bla bla
eof
2 years ago
evilham
e49da474c4
[__letsencrypt_cert] Remove problematic trailing slash in sed.
...
Happy fingers are happy and like adding slashes places.
2 years ago
evilham
bc145bbc27
[__letsencrypt_cert] Fix various issues with hooks.
...
Closes #853 , see issue for full description / discussion.
Short summary:
- There was about 6.53% chances of `--renewal-hook` not being applied
- Using --automatic-renewal in one cert and not in another was an error.
- It was not possible to use different hooks for different certificates.
- FreeBSD support was utterly broken.
2 years ago
Darko Poljak
65a6a2ed52
++changelog
2 years ago
poljakowski
c8141d28c3
Merge branch 'fix/explorer/memory' into 'master'
...
explorer/memory: fix to return result in kiB for all systems and add support for Solaris
See merge request ungleich-public/cdist!967
2 years ago
ssrq
cda17be38a
[explorer/memory] Clean up, return kiB for all systems, add SunOS
...
BSDs were MiB before.
2 years ago