Project

General

Profile

Actions

Architecture #19089

closed

Architecture #19037: Refactor the system techniques by component

Add a Rudder webapp system technique

Added by Félix DALLIDET over 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Effort required:
Name check:
To do
Fix check:
To do
Regression:

Description

It should be able to manage the webapp with minimal dependencies from other system techniques.
Minimum requirements:

Jetty

  • Restart rudder-jetty if the API is down in 2 consecutives runs
  • Reload the technique library if the file /opt/rudder/etc/force_technique_reload exists, and remove it afterward
  • Compress webapp logs
  • Verify that the /var/rudder/configuration-repository exists and is not locked for more thant 5 minutes
  • Insert disclaimer in:
    • /opt/rudder/etc/rudder-web.properties
  • Force 600 root root on:
    • /opt/rudder/etc/rudder-web.properties
    • /opt/rudder/etc/rudder-passwords.conf
    • /opt/rudder/etc/rudder-users.xml
  • Force postgres password from /opt/rudder/etc/rudder-passwords.conf in:
    • /opt/rudder/etc/rudder-web.properties
  • Force ldap password from /opt/rudder/etc/rudder-passwords.conf in:
    • /opt/rudder/etc/rudder-web.properties
  • Force webdav login/password from /opt/rudder/etc/rudder-passwords.conf in:
    • /opt/rudder/etc/rudder-web.properties
  • Symlink the ppkey of the root server from ${sys.workdir}/ppkeys/localhost.pub to ${sys.workdir}/ppkeys/root-${sys.key_digest}.pub
  • Force service to be started and enabled
  • Restart jetty if needed

common

  • Configure the file /etc/logrotate.d/rudder from the template ${sys.workdir}/inputs/server-roles/logrotate.conf/rudder
  • Define the roles classes
Actions #1

Updated by Félix DALLIDET over 3 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Félix DALLIDET to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1654
Actions #3

Updated by Félix DALLIDET over 3 years ago

  • Subject changed from Add a rudder webapp system technique to Add a Rudder webapp system technique
Actions #4

Updated by Félix DALLIDET over 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta1 which was released today.

Actions

Also available in: Atom PDF