Skip to content

Latest commit

 

History

History
124 lines (66 loc) · 2.81 KB

REFERENCE.md

File metadata and controls

124 lines (66 loc) · 2.81 KB

Reference

Table of Contents

Classes

Defined types

Classes

pi::cmdline

Manages /boot/cmdline.txt parameters.

Parameters

The following parameters are available in the pi::cmdline class:

parameters

Data type: Hash[String[1], Hash]

A hash of pi::cmdline::parameter resources to create.

Default value: {}

reboot

Data type: Boolean

Whether or not to force a reboot when /boot/cmdline.txt parameters change.

Default value: true

pi::config

Manages /boot/config.txt

Parameters

The following parameters are available in the pi::config class:

fragments

Data type: Hash[String[1], Hash]

A hash of pi::config::fragments to be concatenated into /boot/config.txt.

Default value: {}

reboot

Data type: Boolean

Whether or not to force a reboot when /boot/config.txt changes.

Default value: true

Defined types

pi::cmdline::parameter

Manage a single /boot/cmdline.txt kernel parameter

Parameters

The following parameters are available in the pi::cmdline::parameter defined type:

parameter

Data type: Optional[String[1]]

The kernel parameter to manage. E.g. 8250.nr_uarts=1

Note that the management of parameters is not very intelligent. 8250.nr_uarts=1 and 8250.nr_uarts=2 would be treated as two different parameters.

Default value: undef

pi::config::fragment

Create a /boot/config.txt fragment

Parameters

The following parameters are available in the pi::config::fragment defined type:

content

Data type: Optional[String[1]]

/boot/config.txt configuration fragment

Default value: undef

order

Data type: Integer[1]

Order of the fragment within /boot/config.txt

Default value: 50