Project

General

Profile

Actions

User story #9110

closed

Make the package_module bodies configurable

Added by Alexis Mousset about 8 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
To do
Regression:

Description

Each module needs a body like:

body package_module apt_get
{
    # Query list of installed packages from package manager
    query_installed_ifelapsed => "60";
    # Query list of available updates from package manager
    query_updates_ifelapsed => "1440";
}

We should probably have default values and can make them overridable:

  • With a specific call/generic method
  • Using ncf.conf

I think I prefer the second, as it is really a global configuration parameter and not a part of any policy (like execution frequency for example).
Ideally, It would be great to have a setting in Rudder to set this parameter by node/group/global.


Related issues 4 (0 open4 closed)

Related to Rudder - User story #8952: Add generic methods using new package promisesReleasedJonathan CLARKEActions
Related to Rudder - User story #11961: Add an interface to manage parameters of package methodsResolvedActions
Has duplicate Rudder - User story #2221: Check which packages are installed frequencyRejectedActions
Blocks Rudder - User story #10237: Make package cache refresh frequency configurableReleasedActions
Actions

Also available in: Atom PDF