Resource Type: agent_package

Defined in:
lib/puppet/type/agent_package.rb

Summary

Downloads the agent package from the CheckMK server API

Overview

This type provides Puppet with the capabilities to download the agent package from the CheckMK server API.

Examples:

agent_package { '/tmp/check-mk-agent.deb':
  ensure       => 'present',
  url          => 'http://127.0.0.1',
  site_name    => 'default',
  bearer_token => 'testing123',
  os_type      => 'linux_deb',
}

Properties

  • ensure (defaults to: present)

    Whether this agent package should be present or absent on the target system.

Parameters

  • bearer_token

    The password for the ‘automation` user.

  • file_name (namevar)

    Where the downloaded agent package should be saved.

  • os_type

    The type of package to download.

  • site_name (defaults to: default)

    The site name on the CheckMK Server.

  • url

    The URL for the CheckMK server.