saltstack-formulas / librenms-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
4 stars 9 forks source link

feat(23.10): support LibreNMS 23.10 #12

Closed alxwr closed 7 months ago

alxwr commented 10 months ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

Support the newest changes in LibreNMS 23.10.0.

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

----------
          ID: librenms_crontab
    Function: cmd.run
        Name: sed 's#  librenms    #  #g' '/dispensables/librenms/dist/librenms.cron' '/dispensables/librenms/dist/librenms-scheduler.cron' | sed 's#/opt/librenms#/dispensables/librenms#g' > /var/cron/tabs/librenms
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Started: 22:31:56.649781
    Duration: 0.005 ms
     Changes:   
----------
          ID: librenms_crontab
    Function: file.managed
        Name: /var/cron/tabs/librenms
      Result: True
     Comment: File /var/cron/tabs/librenms exists with proper permissions. No changes made.
     Started: 22:31:56.649916
    Duration: 3.517 ms
     Changes:   
----------
          ID: librenms_update_cmd
    Function: cmd.run
        Name: socat - EXEC:'php ./lnms --no-interaction --no-ansi update',pty,setsid,ctty
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Started: 22:31:56.654752
    Duration: 0.005 ms
     Changes:   
----------
          ID: librenms_validate_cmd
    Function: cmd.run
        Name: php ./validate.php
      Result: True
     Comment: State was not run because none of the onchanges reqs changed
     Started: 22:31:56.656382
    Duration: 0.005 ms
     Changes:

Documentation checklist

Testing checklist

Additional context

alxwr commented 7 months ago

selfie-merge according to https://docs.saltproject.io/en/latest/topics/development/conventions/formulas.html#get-involved-creating-new-formulas