mac_maker.jobs.filesystem

A provisioning job for a Job Spec file on the local file system.

class mac_maker.jobs.filesystem.FileSystemJob(spec_file_location)[source]

A provisioning job for a Job Spec file on the local file system.

Parameters

spec_file_location (str) – The path to the Job Spec file.

get_precheck_content()[source]

Read the Precheck data defined in a Job Spec file.

Return type

TypePrecheckFileData

Returns

The Precheck file data.

get_state()[source]

Read a Job Spec file and build a runtime state object.

Return type

TypeState

Returns

The created runtime state object.