1. 28 Apr, 2022 1 commit
    • Thomas Leymonerie's avatar
      Clean up slapos.recipe.template · f5ebda78
      Thomas Leymonerie authored
      Use slapos.recipe.template instead of slapos.recipe.template if possible
      
      Harmonize template keys :
      rendered -> output
      template -> url
      template = inline: -> inline =
      
      Delete "mode" key
      
      See merge request !1151
      f5ebda78
  2. 25 Sep, 2020 1 commit
  3. 04 Oct, 2019 1 commit
    • Thomas Gambier's avatar
      do not create two wrappers for the same executable if hash change · ed707d3b
      Thomas Gambier authored
      Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start:
      
          slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch                RUNNING   pid 27835, uptime 0:03:45
          slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch                EXITED    Mar 06 04:52 PM
      
      To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe
      
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      
      /reviewed-on !525
      ed707d3b
  4. 26 Mar, 2019 2 commits
  5. 08 Oct, 2018 1 commit
  6. 16 Mar, 2018 1 commit
  7. 12 Apr, 2017 1 commit
  8. 07 Apr, 2017 1 commit
  9. 03 Mar, 2017 1 commit
  10. 16 Feb, 2017 1 commit
    • Vincent Pelletier's avatar
      stack.logrotate: Fix support for stopped processes. · b0d0efc2
      Vincent Pelletier authored
      When a process is stopped:
      - it may not have emitted logs since previous rotation: add "missingok"
        As a direct consequence: stop using logrotate recipe.
      - its pid file (if applicable) may be missing: test its non-empty presence
        before calling slapos-kill
      Also, stop using slapos.cookbook:logrotate.
      Update obvious users (cloudooo, neoppod, erp5, monitor, re6stnet).
      b0d0efc2
  11. 30 Jan, 2017 1 commit
  12. 13 Jul, 2016 1 commit
  13. 08 Jul, 2015 1 commit
    • Saurabh's avatar
      Make it possible to instanciate 1 NEO DB inside an ERP5 instance · d35284d8
      Saurabh authored
      Before it was only possible to make an ERP5 cluster connect to a NEO cluster
      that was instanciated separately, by passing "name" and "master_nodes"
      connection parameters in "storage-dict".
      
      For an internal NEO DB, "name" and "master_nodes" is filled automatically
      and you must instead pass a "server" dict, with same parameters as in NEO SR.
      Currently, a NEO cluster name must be given. Later, we hope to generate a good
      name automatically.
      
      All this was implemented by refactoring NEO & ERP5 SR, with common files.
      For the ERP5 SR, the root partition also serves as "root" partition for NEO
      partitions: in other words, there's no second empty partition.
      d35284d8
  14. 16 Jul, 2013 1 commit
  15. 04 Feb, 2013 1 commit
  16. 03 Oct, 2012 1 commit