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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).

## [v2.0.0](https://github.com/puppetlabs/puppetlabs-transition/tree/v2.0.0) (2023-06-02)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-transition/compare/v1.0.0...v2.0.0)

### Changed

- \(SUP-4197\) Puppet 8 release prep [\#25](https://github.com/puppetlabs/puppetlabs-transition/pull/25) ([elainemccloskey](https://github.com/elainemccloskey))

## [v1.0.0](https://github.com/puppetlabs/puppetlabs-transition/tree/v1.0.0) (2022-02-28)

[Full Changelog](https://github.com/puppetlabs/puppetlabs-transition/compare/0.1.3...v1.0.0)
Expand Down
22 changes: 11 additions & 11 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The following properties are available in the `transition` type.

##### `enable`

Valid values: ``true``, ``false``
Valid values: `true`, `false`

Enable or disable this conditional state transition. Valid values
are true or false.
Expand All @@ -31,38 +31,38 @@ Default value: `true`

The following parameters are available in the `transition` type.

* [`attributes`](#attributes)
* [`name`](#name)
* [`prior_to`](#prior_to)
* [`provider`](#provider)
* [`resource`](#resource)
* [`attributes`](#-transition--attributes)
* [`name`](#-transition--name)
* [`prior_to`](#-transition--prior_to)
* [`provider`](#-transition--provider)
* [`resource`](#-transition--resource)

##### <a name="attributes"></a>`attributes`
##### <a name="-transition--attributes"></a>`attributes`

The hash of attributes to set on the resource when applying a
transitional state. Each hash key must be a valid attribute for the
resource being transitioned.

##### <a name="name"></a>`name`
##### <a name="-transition--name"></a>`name`

namevar

This parameter does not serve any function beyond setting the
resource's name.

##### <a name="prior_to"></a>`prior_to`
##### <a name="-transition--prior_to"></a>`prior_to`

An array of resources to check for synchronization. If any of these
resources are out of sync (change pending), then this transitional state
will be applied. These resources will each be made to autorequire the
transitional state.

##### <a name="provider"></a>`provider`
##### <a name="-transition--provider"></a>`provider`

The specific backend to use for this `transition` resource. You will seldom need to specify this --- Puppet will usually
discover the appropriate provider for your platform.

##### <a name="resource"></a>`resource`
##### <a name="-transition--resource"></a>`resource`

The resource for which a transitional state is being defined. This
should be a resource reference (e.g. Service['apache']). This resource
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppetlabs-transition",
"version": "1.0.0",
"version": "2.0.0",
"author": "puppetlabs",
"summary": "Provides a Puppet type and provider for describing conditional transition states.",
"license": "Apache-2.0",
Expand Down