Skip to content

puppetlabs/teched_lab_tests

Repository files navigation

teched_lab_tests

Table of Contents

  1. Description
  2. Requirements
  3. Usage
  4. Development

Description

This module contains tests for Puppet TechEd lab nodes.

Requirements

To run these tests, you will need to install the Puppet Development Kit (PDK).

See the official Puppet documentation for instructions:

Usage

You will use PDK to run the tests in this module. All commands should go through PDK.

# To run all unit tests
pdk test unit

# To run localhost tests
pdk bundle exec rspec spec/localhost

Development

Writing Tests

For a localhost test, create a new *_spec.rb file under spec/localhost and add a header to include the spec_helper.rb file.

In the header, also configure the serverspec back end to use whatever service you plan to execute your tests with. For example, to execute locally on a Linux host:

```set :backend, :exec

About

A set of serverspec tests for Tech Ed lab nodes

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages