Resource Type: reboot_notify

Defined in:
lib/puppet/type/reboot_notify.rb
Providers:
notify

Overview

Notifies users when a system reboot is required.

This type creates a file at $target the contents of which provide a summary of the reasons why the system requires a reboot.

NOTE: This type will only register entries on refresh. Any other use of the type will not report the necessary reboot.

A reboot notification will be printed at each puppet run until the system is successfully rebooted.

Properties

  • ensure (defaults to: present)

    Whether the notification should be added or removed

    Supported values:
    • present
    • absent

Parameters

  • control_only (defaults to: false)

    This resource is only for control and should not add an item to the notification list

    You may only have ONE resource with this set to ‘true` in your catalog

    Supported values:
    • true
    • false
    • yes
    • no
  • log_level (defaults to: notice)

    Set the message log level for notifications

    This is only active with :control_only set to ‘true`

    Supported values:
    • alert
    • crit
    • debug
    • notice
    • emerg
    • err
    • info
    • warning
  • name (namevar)

    The item that is being modified that requires a reboot

  • provider

    The specific backend to use for this ‘reboot_notify` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • reason (defaults to: modified)

    An optional reason for rebooting