Skip to content

Latest commit

 

History

History
84 lines (45 loc) · 1.33 KB

REFERENCE.md

File metadata and controls

84 lines (45 loc) · 1.33 KB

Reference

Table of Contents

Classes

Functions

Classes

downtime

The downtime class.

Parameters

The following parameters are available in the downtime class.

when

Data type: Variant[ Enum[always, never], Struct[{ start_time => Pattern[/[012]?\d:\d\d/], Optional[week_days] => Array[Enum[monday, tuesday, wednesday, thursday, friday, saturday, sunday]], Optional[hours] => Variant[Float, Integer], }] ]

Default value: always

Functions

downtime::in_window

Type: Puppet Language

The downtime::in_window function.

downtime::in_window()

The downtime::in_window function.

Returns: Boolean

downtime::outside_window

Type: Puppet Language

The downtime::outside_window function.

downtime::outside_window()

The downtime::outside_window function.

Returns: Boolean

downtime::upgrade

Type: Puppet Language

The downtime::upgrade function.

downtime::upgrade(String $to_version = 'latest')

The downtime::upgrade function.

Returns: String

to_version

Data type: String