evilham
fc9bd40c9a
Improve bullseye support, perticularly __letsencrypt_cert
9 months ago
evilham
15c642a9b7
[__debconf_set_selections] Fix --file not being supported
...
Even if deprecated, the parameter *must* be supported, which isn't the case
right now.
This was due to a misunderstanding of how deprecating parameters work, see:
https://www.cdi.st/manual/latest/cdist-type.html#deprecated-parameters
9 months ago
ander
72ff48154c
add comments, add -u to diff
9 months ago
matze
3d7b31cbb4
__package_apt: fix complain about suite change
...
the last fix for ticket #861 :-)
10 months ago
matze
d246e06710
__apt_update_index: fix complain about suite change
...
1 of 4th fix for ticket #861
10 months ago
matze
12787ffe2c
__apt_source: fix complain about suite change
...
3 of 4th fix for ticket #861
10 months ago
matze
7b6789ddeb
__package_update_index: fix complain about suite change
...
2 of 4th fix for ticket #861
10 months ago
ander
cd4acde67e
grammar
10 months ago
ander
5bf0c71e7a
update man
10 months ago
ander
aabef7f44a
remove reading script from file
10 months ago
ander
b7f392fa37
use -E for better compat (not really sure if it is posix at all)
10 months ago
ander
90488fcebc
use -e
10 months ago
ander
0f6e48dbc6
use $__object/tempfile in target instead of mktemp, add comments
10 months ago
ander
d7fdc8006f
allow empty file
10 months ago
Darko Poljak
0546283d0e
Update shellcheck disable
10 months ago
ander
e1e1348998
[explorer/os_version] use 99.99 as fallback for unknown code names in */sid
10 months ago
ander
67f85546ec
[explorer/os_version] add new debian code names: bookworm and trixie
10 months ago
Dennis Camera
05c2a62191
[explorer/machine_type] Implement chroot detection using /proc/.../mountinfo
11 months ago
Dennis Camera
5af1317c29
[explorer/machine_type] Try to detect chroot path
11 months ago
Dennis Camera
4a05669765
[explorer/machine_type] Implement chroot detection
11 months ago
Dennis Camera
23fbfaf035
[explorer/machine_type] Use systemd-detect-virt (if available) to detect containers and VMs
11 months ago
Dennis Camera
2ffa895f57
[explorer/machine_type] Remove CPUID check
...
it's a lot of code and depends on a binary helper unlikely to be installed.
11 months ago
Dennis Camera
abc6d009b2
[explorer/machine_type] Print top most machine layer as first line (fallback to physical)
11 months ago
Dennis Camera
edcac70b2a
[explorer/machine_type] Reimplement
11 months ago
Dennis Camera
2a0c073d40
[explorer/os_version] Fix for legacy Mac OS X versions
11 months ago
Dennis Camera
bbcc81a984
[type/__update_alternatives] Fix for non-English locales
...
Since update-alternatives(1) is localized, screen scraping its output breaks
if the locale is set to non-English.
11 months ago
Dennis Camera
0b3b47396f
[type/__update_alternatives] dry-run fixes
11 months ago
Dennis Camera
a7d6481a7d
[type/__update_alternatives] Secure cdist-defined environment variables with :?
11 months ago
Dennis Camera
83fe6e9f5b
[explorer/memory] Fix conversion of large numbers (>= 2GiB)
...
At least mawk uses scientific notation when using print for
numbers >=2^31 (INT_MAX of a signed 32-bit int).
`printf "%.f\n"` works around this.
11 months ago
Dennis Camera
e108cbc205
[explorer/os_version] Ubuntu: fall back to os-release/lsb-release files
11 months ago
Dennis Camera
53334fb4eb
[explorer/os_version] Fix for FreeBSD < 10.0 (again)
11 months ago
sparrowhawk
4156fea900
[filesystem] Add ubuntu as supported distribution.
11 months ago
Dennis Camera
fed01ded83
[cdist.log] Define custom log functions on logging.Logger
...
Define out custom logger functions on logging.Logger so that they are passed on
to all other loggers.
Also, the logger functions need to take a self argument so that they can log on
the corrent Logger.
11 months ago
Dennis Camera
24c9406ea0
[explorer/os_version] Convert Devuan ceres to version number
...
Conversion of Devuan ceres to version numbers is done based on Devuan codenames.
The version number is the version number of the final release - 0.01.
Analogous to Debian.
11 months ago
ander
46b5c24cd2
use $__remote_exec for RSYNC_RSH
11 months ago
ander
0e611af2a6
[__rsync] rewrite
12 months ago
Darko Poljak
65c43d3c1d
Fix docs code block errors
12 months ago
ander
cf0032d667
add messaging and exit earlier
12 months ago
ander
7a5896acfa
add --onchange, fix shellcheck
12 months ago
ander
485283f2e5
new type: __sed
12 months ago
fancsali
166b58aeea
Fix typo in distro names...
12 months ago
fancsali
521241d741
Refine docs even more
12 months ago
fancsali
be92731c5c
Shell check quoting
...
We're actually echo-ing the command, hence the escape in front of the
quotes - the issue Shellcheck alludes too would actually occur, had the
escaping bakcslashes been omitted.
12 months ago
ander
30ba796d06
new type: __snakeoil_cert
1 year ago
ander
60753ddfcc
fix shellcheck
1 year ago
fancsali
d937d53f3d
Add quotes to rsync command
1 year ago
fancsali
2db40d8d70
Use $__remote_exec and thus the ssh multiplexing
1 year ago
ander
7b3f268df2
[__download] improvements
...
1. post download checksum verification
2. detect hashes without prefix
3. add optional --destination
4. updated man
1 year ago
fancsali
b726697e07
Add documentation
1 year ago
fancsali
a3102022e1
More sensible defaults; reword debian-only error message
1 year ago