Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.
This repository was archived by the owner on May 17, 2023. It is now read-only.

conditional entry #13

@dgtim

Description

@dgtim

Was trying to add 'uptime' to hosts page, but based on the host status, that is if not in sync, then leave blank, otherwise report fact_hash['uptime'], should this one work? while it doesn't

:uptime_hosts_page:
:title: Uptime
:after: last_report
:content: facts_hash['uptime']
:conditional: :last_report < "60 minutes ago"

Thnx in advance for any advice on that!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproducingTo be verified on nightly and/or latest release of Foreman

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions