mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
waagent: improve code readability and doc
This commit is contained in:
parent
2e1477ddc8
commit
d07d8a5589
3 changed files with 8 additions and 5 deletions
|
@ -22,6 +22,8 @@
|
||||||
|
|
||||||
- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](options.html#opt-services.agorakit.enable).
|
- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](options.html#opt-services.agorakit.enable).
|
||||||
|
|
||||||
|
- [waagent](https://github.com/Azure/WALinuxAgent), the Microsoft Azure Linux Agent (waagent) manages Linux provisioning and VM interaction with the Azure Fabric Controller. Available with [services.waagent](options.html#opt-services.waagent.enable).
|
||||||
|
|
||||||
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
<!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->
|
||||||
|
|
||||||
## Backward Incompatibilities {#sec-release-25.05-incompatibilities}
|
## Backward Incompatibilities {#sec-release-25.05-incompatibilities}
|
||||||
|
@ -70,7 +72,7 @@
|
||||||
|
|
||||||
- `nodePackages.ganache` has been removed, as the package has been deprecated by upstream.
|
- `nodePackages.ganache` has been removed, as the package has been deprecated by upstream.
|
||||||
|
|
||||||
- `services.waagent` option has been added, making `/etc/waagent.conf` customizable. `virtualisation.azure.agent` option provided by `azure-agent.nix` module has been deprecated and the module will be removed in a future release.
|
- `virtualisation.azure.agent` option provided by `azure-agent.nix` is replaced by `services.waagent`, and will be removed in a future release.
|
||||||
|
|
||||||
- `containerd` has been updated to v2, which contains breaking changes. See the [containerd
|
- `containerd` has been updated to v2, which contains breaking changes. See the [containerd
|
||||||
2.0](https://github.com/containerd/containerd/blob/main/docs/containerd-2.0.md) documentation for more
|
2.0](https://github.com/containerd/containerd/blob/main/docs/containerd-2.0.md) documentation for more
|
||||||
|
|
|
@ -247,7 +247,7 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
assertions = [
|
assertions = [
|
||||||
{
|
{
|
||||||
assertion = cfg.settings.HttpProxy.Host == null || cfg.settings.HttpProxy.Port != null;
|
assertion = (cfg.settings.HttpProxy.Host != null) -> (cfg.settings.HttpProxy.Port != null);
|
||||||
message = "Option services.waagent.settings.HttpProxy.Port must be set if services.waagent.settings.HttpProxy.Host is set.";
|
message = "Option services.waagent.settings.HttpProxy.Port must be set if services.waagent.settings.HttpProxy.Host is set.";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
|
@ -74,7 +74,7 @@ python.pkgs.buildPythonApplication rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Microsoft Azure Linux Agent (waagent)";
|
description = "Microsoft Azure Linux Agent (waagent)";
|
||||||
mainProgram = "waagent";
|
mainProgram = "waagent";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
@ -82,7 +82,8 @@ python.pkgs.buildPythonApplication rec {
|
||||||
manages Linux provisioning and VM interaction with the Azure
|
manages Linux provisioning and VM interaction with the Azure
|
||||||
Fabric Controller'';
|
Fabric Controller'';
|
||||||
homepage = "https://github.com/Azure/WALinuxAgent";
|
homepage = "https://github.com/Azure/WALinuxAgent";
|
||||||
maintainers = with maintainers; [ codgician ];
|
maintainers = with lib.maintainers; [ codgician ];
|
||||||
license = with licenses; [ asl20 ];
|
license = with lib.licenses; [ asl20 ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue