Forge Home

webcheck

This module ships two resources which help to create http dependencies

844 downloads

771 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Mar 20th 2021
This version is compatible with:
  • Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0 < 8.0.0
  • , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'ningyou-webcheck', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add ningyou-webcheck
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install ningyou-webcheck --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

ningyou/webcheck — version 0.1.1 Mar 20th 2021

Reference

Table of Contents

Classes

  • webcheck: Contains the wait_for_connection and wait_for_response resources

Resource types

Classes

webcheck

Contains the wait_for_connection and wait_for_response resources

Resource types

wait_for_connection

Waits until a socket is available.

Properties

The following properties are available in the wait_for_connection type.

ensure

Valid values: present, absent

The basic property that the resource should be in.

Default value: present

Parameters

The following parameters are available in the wait_for_connection type.

host

The DNS name or IP address of the server.

port

The port that the server should be listening on.

provider

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

refreshonly

Valid values: true, false

Only run on refreshs

Default value: false

retry_sleep

The number of seconds to wait betweet each connection attempt.

Default value: 2

timeout

The max. number of seconds to wait for a valid connection.

Default value: 10

wait_for_response

Waits until a certain response is received.

Properties

The following properties are available in the wait_for_response type.

ensure

Valid values: present, absent

The basic property that the resource should be in.

Default value: present

Parameters

The following parameters are available in the wait_for_response type.

expected_json

A hash of key/values the reponse should be checked for.

expected_keywords

A list of keywords the response should be checked for.

Default value: []

expected_status_codes

A list of status codes which a valid response should have.

Default value: [200]

provider

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

refreshonly

Valid values: true, false

Only run on refreshs

Default value: false

retry_sleep

The number of seconds to wait betweet each connection attempt.

Default value: 2

timeout

The max. number of seconds to wait for a valid connection.

Default value: 10

uri

The uri to perform a http-get request on.