Skip to content

Various backports (3.27)#3732

Open
olehermanse wants to merge 10 commits into
cfengine:3.27from
olehermanse:3.27
Open

Various backports (3.27)#3732
olehermanse wants to merge 10 commits into
cfengine:3.27from
olehermanse:3.27

Conversation

@olehermanse

Copy link
Copy Markdown
Member

No description provided.

olehermanse and others added 10 commits July 10, 2026 03:17
CFEngine is not compiled with guest_environments by default,
so this promise type is not available in most installations.
It also hasn't been updated in a long time, so we decided
it's better to mark it as deprecated.

The defaults promise type is still possible to use, but
seems to not be widely used, nor encouraged. You can achieve
similar functionality through the use of conditionally
setting variables, often by using isvariable() function, and
also by having default values in augments files (def.json).

Thus, since we don't use defaults ourselves, and encourage
users to use normal variables and/or augments instead, it
makes sense to mark it as deprecated in docs to discourage its
use.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit dd7ba0b)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit ca763e1)
…) apt-get update for install.sh script

Without this change, you can end up in a situaton where the lines above from the Dockerfile are cached and outdated.

The apt-get update is especially relevant since the install.sh script tries to do apt-get install things,
which has a tendency to fail if apt-get update is not recent.

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit f7307ea)
…in a browser

Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit c1bb05b)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit 627d42a)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit 44456aa)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit d0888bd)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit 344e3ff)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
(cherry picked from commit 57361b7)
Signed-off-by: Ole Herman Schumacher Elgesem <ole@northern.tech>
@olehermanse olehermanse requested a review from nickanderson July 10, 2026 01:27
@olehermanse olehermanse marked this pull request as ready for review July 10, 2026 01:27
@olehermanse

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants