diff --git a/README.md b/README.md index 3c83d60fb..6dd620d6c 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,24 @@ Unacceptable input example: ../relative_path ``` +#### `Stdlib::Ensure::Service` + +Matches acceptable ensure values for service resources. + +Acceptable input examples: + +```shell +stopped +running +``` + +Unacceptable input example: + +```shell +true +false +``` + #### `Stdlib::Httpsurl` Matches HTTPS URLs. diff --git a/types/ensure/service.pp b/types/ensure/service.pp new file mode 100644 index 000000000..fba66acc9 --- /dev/null +++ b/types/ensure/service.pp @@ -0,0 +1 @@ +type Stdlib::Ensure::Service = Enum['stopped', 'running']