diff --git a/content/examples/tutorials/manage-ntp.markdown b/content/examples/tutorials/manage-ntp.markdown index 82cf8e8f6..28c406f3c 100644 --- a/content/examples/tutorials/manage-ntp.markdown +++ b/content/examples/tutorials/manage-ntp.markdown @@ -618,6 +618,7 @@ bundle agent ntp "servers" slist => getvalues("def.ntp[config][servers]"), if => isvariable("def.ntp[config][servers]"); +} ``` Notice two promises were introduced, one setting `driftfile` to the value of `$(def.ntp[config][driftfile])` if it is defined and one setting servers to the list of values for `def.ntp[config][servers]` if it is defined. [Augments][Augments] allows for variables to be set in the _def_ bundle scope very early before policy is evaluated. diff --git a/content/reference/components/cf-agent.markdown b/content/reference/components/cf-agent.markdown index 0350880ef..7d81bae34 100644 --- a/content/reference/components/cf-agent.markdown +++ b/content/reference/components/cf-agent.markdown @@ -529,7 +529,7 @@ body agent control copyfrom_restrict_keys => { "SHA=6565a8e647e61e4a7ff2c709e0fe772acce2e45aaa294b2bb713de0ba5a6d8c3", "SHA=727dd7f6f8b2344c6d69cf1d3ed0446c0f9f095ce1a114481d691bf1cb2b300d", - } + }; } ``` diff --git a/content/reference/components/cf-execd.markdown b/content/reference/components/cf-execd.markdown index c0761ce0f..6ab6044f2 100644 --- a/content/reference/components/cf-execd.markdown +++ b/content/reference/components/cf-execd.markdown @@ -43,7 +43,7 @@ body executor control mailto => "cfengine@example.org"; mailfrom => "cfengine@$(host).example.org"; smtpserver => "localhost"; - schedule => { "Min00", "Min30" } + schedule => { "Min00", "Min30" }; } ``` diff --git a/content/reference/promise-types/files/_index.markdown b/content/reference/promise-types/files/_index.markdown index 78562a950..45db130c9 100644 --- a/content/reference/promise-types/files/_index.markdown +++ b/content/reference/promise-types/files/_index.markdown @@ -2063,7 +2063,7 @@ body file_select example { leaf_name => { "prog.pid", "prog.log" }; path_name => { "/etc/.*", "/var/run/.*" }; - file_result => "leaf_name.path_name" + file_result => "leaf_name.path_name"; } ``` diff --git a/content/release-notes/supported-platforms.markdown b/content/release-notes/supported-platforms.markdown index 0bf0709c2..ed6e650e2 100644 --- a/content/release-notes/supported-platforms.markdown +++ b/content/release-notes/supported-platforms.markdown @@ -13,28 +13,28 @@ for all supported platforms and [binary packages for popular Linux distributions ## Hub -| Platform | Versions | Architecture | -| :---------: | :----------: | :----------: | -| CentOS/RHEL | 8.1+, 9, 10 | x86-64 | -| CentOS/RHEL | 10 | arm64 | -| Debian | 12, 13 | x86-64 | -| Debian | 12, 13 | arm64 | -| Ubuntu | 22.04, 24.04 | x86-64 | -| Ubuntu | 22.04, 24.04 | arm64 | +| Platform | Versions | Architecture | +| :---------: | :-----------------: | :----------: | +| CentOS/RHEL | 8.1+, 9, 10 | x86-64 | +| CentOS/RHEL | 10 | arm64 | +| Debian | 12, 13 | x86-64 | +| Debian | 12, 13 | arm64 | +| Ubuntu | 22.04, 24.04, 26.04 | x86-64 | +| Ubuntu | 22.04, 24.04, 26.04 | arm64 | Any supported host can be a policy server in Community installations of CFEngine. ## Clients -| Platform | Versions | Architectures | -| :---------: | :-----------------: | :-----------: | -| CentOS/RHEL | 7, 8.1+, 9, 10 | x86-64 | -| CentOS/RHEL | 10 | arm64 | -| Debian | 12, 13 | x86-64 | -| Debian | 12, 13 | arm64 | -| Ubuntu | 20.04, 22.04, 24.04 | x86-64 | -| Ubuntu | 22.04, 24.04 | arm64 | -| Windows | 2012, 2016, 2019 | x86-64 | +| Platform | Versions | Architectures | +| :---------: | :------------------------: | :-----------: | +| CentOS/RHEL | 7, 8.1+, 9, 10 | x86-64 | +| CentOS/RHEL | 10 | arm64 | +| Debian | 12, 13 | x86-64 | +| Debian | 12, 13 | arm64 | +| Ubuntu | 20.04, 22.04, 24.04, 26.04 | x86-64 | +| Ubuntu | 22.04, 24.04, 26.04 | arm64 | +| Windows | 2012, 2016, 2019 | x86-64 | [Known issues][] also includes platform-specific notes. diff --git a/content/resources/additional-topics/distributed-scheduling.markdown b/content/resources/additional-topics/distributed-scheduling.markdown index 4dafc1c8f..cc0749721 100644 --- a/content/resources/additional-topics/distributed-scheduling.markdown +++ b/content/resources/additional-topics/distributed-scheduling.markdown @@ -184,6 +184,7 @@ bundle agent workflow_one "/usr/local/bin/my_job", action => if_elapsed("100"), classes => state_repaired("did_my_job"); +} ``` ## Fancy distributed encapsulation @@ -366,6 +367,7 @@ bundle agent workflow_one "/usr/local/bin/my_job", action => if_elapsed("100"), classes => state_repaired("did_my_job"); +} ``` ## Self-healing workflows diff --git a/content/resources/additional-topics/security.markdown b/content/resources/additional-topics/security.markdown index 65939367c..295e55f66 100644 --- a/content/resources/additional-topics/security.markdown +++ b/content/resources/additional-topics/security.markdown @@ -450,6 +450,7 @@ bundle agent change_management ), depends_on => { "grant_hash_tables" }, action => neighbourwatch("File changes observed on $(neighbours)"); +} ``` It works by building a list of neighbours for each host. The function peers can