diff --git a/content/reference/promise-types/methods.markdown b/content/reference/promise-types/methods.markdown index c7fbbc11d..786d94e7f 100644 --- a/content/reference/promise-types/methods.markdown +++ b/content/reference/promise-types/methods.markdown @@ -134,15 +134,18 @@ example: `$(bundle.variable)`. ```cf3 bundle agent name { -methods: +classes: + "name_class"; +methods: "group name" usebundle => my_method, inherit => "true"; } -body edit_defaults example +bundle agent my_method { -inherit => "true"; +reports: + "$(this.bundle) inherited class 'name_class'" if => "name_class"; } ``` @@ -161,7 +164,7 @@ Return values are limited to scalars. **Type:** `string` -**Allowed input range:** `[a-zA-Z0-9_$(){}\[\].:]+ +**Allowed input range:** `[a-zA-Z0-9_$(){}\[\].:]+` **Example:** diff --git a/content/reference/promise-types/roles.markdown b/content/reference/promise-types/roles.markdown index c8ec639cd..774466cdd 100644 --- a/content/reference/promise-types/roles.markdown +++ b/content/reference/promise-types/roles.markdown @@ -30,7 +30,7 @@ bundle server my_access_rules() ``` In this example user `mark` is granted permission to remotely activate -classes matching the regular expression `Myclass_.*` hen using the +classes matching the regular expression `Myclass_.*` when using the `cf-runagent` to activate CFEngine. --- diff --git a/content/reference/promise-types/services.markdown b/content/reference/promise-types/services.markdown index 778d1367b..b9067e2db 100644 --- a/content/reference/promise-types/services.markdown +++ b/content/reference/promise-types/services.markdown @@ -104,7 +104,7 @@ services: service_method => service_test; "$(mail)" service_policy => "stop", - service_method => service_test; + service_method => service_test; } body service_method service_test