Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions reference/promise-types/methods.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,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";
}
```

Expand All @@ -163,7 +165,7 @@ Return values are limited to scalars.

**Type:** `string`

**Allowed input range:** `[a-zA-Z0-9_$(){}\[\].:]+
**Allowed input range:** `[a-zA-Z0-9_$(){}\[\].:]+`

**Example:**

Expand Down
2 changes: 1 addition & 1 deletion reference/promise-types/roles.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ roles:
```

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.

****
Expand Down
2 changes: 1 addition & 1 deletion reference/promise-types/services.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
service_method => service_test;

"$(mail)" service_policy => "stop",
service_method => service_test;
service_method => service_test;
}

body service_method service_test
Expand Down