Skip to content

[Feature request]: allow configuration of fact based config options #125

Description

@tuxmea

Use Case

Prevent facter from hanging while waiting for a command to finish

Example: #46 Hung on stale NFS mounts

Describe the solution you would like

Allow configuration of options like timeout for an individual fact.

facter.conf could be the following:

options : {
 <factname> : {
    timeout: <seconds>,
  },
}

Check within the fact for the timeout setting from config file

Describe alternatives you've considered

Adding timeout to the fact without config file.
But this would affect all users.
Making it configurable sound more reasonable to me.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions