marcoduif
2b102f303a
changed package state from installed to present
2024-03-01 11:43:23 +00:00
Michelle
1450861e26
Updated the python version of cerbot freebsd
...
The package referenced for cerbot to be install in the FreeBSD platform
used python 3.7 package, updated to python 3.9
2023-02-02 18:21:43 -05:00
nico14571
5c85b04309
Merge pull request 'Initialise options variable to avoid unset variable expansion' ( #351 ) from mark/cdist:options-initialise into master
...
Reviewed-on: ungleich-public/cdist#351
2022-12-20 17:04:45 +00:00
marcoduif
ffeaafe9b6
Make grep more specific
...
package name should be an exact match, not a substring
2022-10-07 07:22:31 +00:00
Mark Verboom
62db96bb37
Initialise options variable so expansion when running files/source.list.template
...
there will not be an error when the variable is not set.
2022-09-29 16:19:07 +02:00
fancsali
0ae37b3445
Handle signed-by option in __apt_source
...
Allow users to specify a GPG key fingerprint or keyring file to be
included as the 'signed-by' option.
2022-07-01 16:14:38 +01:00
nico14571
e5adcf451b
Merge pull request 'bug: apt-ppa-noninteractive' ( #327 ) from romain-dartigues/cdist:apt-ppa-noninteractive into master
...
Reviewed-on: ungleich-public/cdist#327
2022-05-20 12:57:08 +00:00
stephan
3d58c9b24f
add optional file parameter to allow for use in a loop without object_id clashes
2022-05-20 13:48:07 +02:00
Steven Armstrong
6c8c692a22
__file: kiss and fix regression on Mac OSX
...
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-05-02 23:25:59 +02:00
Steven Armstrong
abbc7dfc37
since we already remove the destination, we have no need to use -T on move, fixes #333
...
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-04-16 19:05:31 +02:00
Steven Armstrong
8b915b15b5
__file: make the create-empty-file case work again
...
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-04-14 00:46:13 +02:00
Steven Armstrong
2df2578e36
__file: remove the questionable check for uploadfile existence
...
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-04-14 00:27:28 +02:00
Steven Armstrong
6f8c774cb0
workaround mktemp -u checking for write access
...
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-04-14 00:16:10 +02:00
romain-dartigues
54a5cb17b7
use add-apt-repository instead of add-apt-repository
...
Remove `remove-apt-repository` which is now no longer needed;
use `add-apt-repository` which allow removal through the `-r` flag.
2022-04-11 21:09:31 +02:00
romain-dartigues
cb0fa0f2e4
force add-apt-repository to act in non-interactive mode
2022-04-11 21:05:56 +02:00
Steven Armstrong
22039284f5
__file: make file uploading and attribute changes more atomic
...
Fixes ungleich-public/cdist#331
Signed-off-by: Steven Armstrong <steven@armstrong.cc>
2022-04-10 23:52:53 +02:00
fancsali
bd44c023d3
Fix typos; add default priority; comments in generated files
2022-03-09 16:17:11 +01:00
Mark Verboom
08ff41efde
Added rm of tmpfile.
2022-03-08 12:04:58 +01:00
evilham
6e3ad11ea0
[__package_upgrade_all] Add new --apt-with-new-pkgs argument
2021-12-23 20:07:28 +01:00
evilham
c33d99ee12
[__haproxy_dualstack] New type with PROXY protocol support
...
This is backwards compatible with what is already used internally @ungleich , but
adds on top of that the ability to customise ports and, most importantly, it
adds PROXY protocol support.
2021-10-31 17:38:10 +01:00
evilham
fc9bd40c9a
Improve bullseye support, perticularly __letsencrypt_cert
2021-10-01 13:14:57 +02:00
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
2021-10-01 12:06:45 +02:00
poljakowski
433399d4dc
Merge branch 'fix/__package_apt/allow-releaseinfo-change' into 'master'
...
__package_apt: fix complain about suite change
See merge request ungleich-public/cdist!1023
2021-09-21 08:55:06 +02:00
poljakowski
12c536dbf9
Merge branch 'fix/__apt_source/allow-releaseinfo-change' into 'master'
...
__apt_source: fix complain about suite change
See merge request ungleich-public/cdist!1022
2021-09-21 08:54:49 +02:00
poljakowski
67a6965e1d
Merge branch 'fix/__package_update_index/allow-releaseinfo-change' into 'master'
...
__package_update_index: fix complain about suite change
See merge request ungleich-public/cdist!1021
2021-09-21 08:54:27 +02:00
poljakowski
398ee1e416
Merge branch 'fix/__apt_update_index/allow-releaseinfo-change' into 'master'
...
__apt_update_index: fix complain about suite change
See merge request ungleich-public/cdist!1020
2021-09-21 08:53:29 +02:00
ander
72ff48154c
add comments, add -u to diff
2021-09-16 21:36:39 +03:00
matze
3d7b31cbb4
__package_apt: fix complain about suite change
...
the last fix for ticket #861 :-)
2021-09-15 15:22:16 +02:00
matze
d246e06710
__apt_update_index: fix complain about suite change
...
1 of 4th fix for ticket #861
2021-09-15 15:15:49 +02:00
matze
12787ffe2c
__apt_source: fix complain about suite change
...
3 of 4th fix for ticket #861
2021-09-15 15:13:52 +02:00
matze
7b6789ddeb
__package_update_index: fix complain about suite change
...
2 of 4th fix for ticket #861
2021-09-15 15:04:12 +02:00
ander
cd4acde67e
grammar
2021-09-15 09:22:27 +03:00
ander
5bf0c71e7a
update man
2021-09-14 22:45:36 +03:00
ander
aabef7f44a
remove reading script from file
2021-09-14 22:40:06 +03:00
ander
b7f392fa37
use -E for better compat (not really sure if it is posix at all)
2021-09-14 22:38:55 +03:00
ander
90488fcebc
use -e
2021-09-14 22:27:42 +03:00
ander
0f6e48dbc6
use $__object/tempfile in target instead of mktemp, add comments
2021-09-14 22:24:26 +03:00
ander
d7fdc8006f
allow empty file
2021-09-14 21:54:45 +03:00
ander
fcd730f905
Merge branch 'master' into ander/__sed
2021-09-14 21:52:12 +03:00
Darko Poljak
0546283d0e
Update shellcheck disable
2021-08-24 20:33:17 +02:00
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.
2021-08-04 21:44:04 +02:00
Dennis Camera
0b3b47396f
[type/__update_alternatives] dry-run fixes
2021-08-04 21:39:39 +02:00
Dennis Camera
a7d6481a7d
[type/__update_alternatives] Secure cdist-defined environment variables with :?
2021-08-04 21:38:21 +02:00
sparrowhawk
4156fea900
[filesystem] Add ubuntu as supported distribution.
2021-07-28 12:56:39 +02:00
poljakowski
8b160841ad
Merge branch 'apt-pin-type' into 'master'
...
New type: __apt_pin - manage apt pinning
See merge request ungleich-public/cdist!1005
2021-07-18 17:44:04 +02:00
ander
46b5c24cd2
use $__remote_exec for RSYNC_RSH
2021-07-18 16:25:00 +03:00
ander
0e611af2a6
[__rsync] rewrite
2021-07-17 11:44:09 +03:00
Darko Poljak
65c43d3c1d
Fix docs code block errors
2021-07-10 21:02:27 +02:00
poljakowski
b8f601ee15
Merge branch 'rsync-ssh-multiplex' into 'master'
...
__rsync: Use $__remote_exec and thus the ssh multiplexing
See merge request ungleich-public/cdist!1001
2021-07-08 08:05:52 +02:00
ander
cf0032d667
add messaging and exit earlier
2021-07-07 21:28:00 +03:00