1. 08 Apr, 2020 10 commits
  2. 07 Apr, 2020 8 commits
  3. 06 Apr, 2020 6 commits
    • Jérome Perrin's avatar
      monitor: use monitor- prefix in cert and key · 854057ce
      Jérome Perrin authored
      By using a short filenames like "httpd.crt" or "httpd.key", we risk have
      conflict with users of this stack. Use a name with more context, that
      should likely not be used by applications.
      
      This solves an issue with lamp stack, that was visible with nextcloud
      software:
      
           While:
             Installing ca-apache-php.
           Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.key': 'ca-monitor-httpd', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.crt': 'ca-monitor-httpd'}
      854057ce
    • Jérome Perrin's avatar
      software/caddy-frontend: review caddy-log-access to not overwrite installed paths · 1771df7b
      Jérome Perrin authored
      We were using caddy-log-access-header to make sure we have at least one
      file to include, but this was implemented in a way that the config file
      was overwritten.
      Reimplement this by using caddy-log-access-empty to create an empty file
      when there are no slaves, caddy-log-access otherwise.
      1771df7b
    • Jérome Perrin's avatar
      software/caddy-frontend: don't install caucase eggs twice · 3446030d
      Jérome Perrin authored
      If we list eggs as eggs= of a zc.recipe.egg section, the scripts of these eggs
      will be installed again.
      
      This fixes this error while building:
      
          While:
            Installing extra-eggs.
          Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucased-manage': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-key-id': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-updater': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-rerequest': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucase-probe': 'caucase-eggs', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/soft/72b4c4e0472506664a0cb3cc44bbb0b2/bin/caucased': 'caucase-eggs'}
      3446030d
    • Jérome Perrin's avatar
      software/caddy-frontend: small cleanups · c5bfc990
      Jérome Perrin authored
      The same caddy-log-access section was defined more than once, keep only
      one implementation.
      Remove some trailing spaces.
      c5bfc990
    • Jérome Perrin's avatar
      component/rpy2: fix rpath for x86_64 · 710e0f2f
      Jérome Perrin authored
      library dir is lib64 in that case
      710e0f2f
    • Jérome Perrin's avatar
      software/dream: fix npm/nodejs invocation · 26f3a9a8
      Jérome Perrin authored
      npm invokes node from $PATH, so make sure we have proper node version in
      PATH.
      26f3a9a8
  4. 05 Apr, 2020 1 commit
  5. 03 Apr, 2020 8 commits
  6. 02 Apr, 2020 4 commits
  7. 01 Apr, 2020 1 commit
    • Jérome Perrin's avatar
      component/6tunnel: simplify pre-configure · 307dc455
      Jérome Perrin authored
      This does not seem to use autoheader and automake, these commands exists
      with error code and don't touch any local files when executed, so don't
      run them, because since slapos.recipe.cmmi 0.13, we check exit code of
      each command in multi line commands
      307dc455
  8. 31 Mar, 2020 2 commits
    • Julien Muchembled's avatar
      bbd70f7d
    • Jérome Perrin's avatar
      generic_mysql: shorter delays before retries · 2de4c80f
      Jérome Perrin authored
      This mysql_update service retries every 30 seconds, but what usually
      happens is that it starts at same time as mariadb, make a first attempt
      at connect which fails because mariadb is not ready, sleep for 30
      seconds, reties and succeed. Which is not efficient because we don't
      need to wait for so long.
      Instead of sleeping for 30 seconds between each retries, start with a
      short delay and increase each time, but not more than 30 seconds.
      2de4c80f