1. 11 Apr, 2019 2 commits
  2. 02 Apr, 2019 3 commits
  3. 08 Jun, 2018 2 commits
  4. 07 Jun, 2018 5 commits
  5. 13 Oct, 2017 8 commits
  6. 10 Oct, 2017 4 commits
  7. 27 Sep, 2017 1 commit
  8. 26 Sep, 2017 3 commits
  9. 07 Sep, 2017 1 commit
    • Samuel Bernard's avatar
      feat: generate client.root certificate at install · c8a725a9
      Samuel Bernard authored
      To execute cockroachdb administration commands, local user must be
      authorized. To simplify it, we create an user for root at installation.
      
      This leads to the uselessness of the embedded test cookbook and so is
      removed by this patch.
      c8a725a9
  10. 06 Sep, 2017 1 commit
    • Samuel Bernard's avatar
      feat: create cluster if necessary then join mode · 2610c630
      Samuel Bernard authored
      A Cockroachdb cluster must be created by a node before other nodes can
      join it, that why this cookbook uses an "initiator". The problem is that
      once a cluster has been created, the initiator must use "join" option to
      rejoin the cluster after a restart or a reinstallation. Before this
      patch, the initiator will always attempt to recreate a cluster, leading
      to a potential data loss.
      
      This patch makes the initiator test if a cluster exist (by checking
      health status of potential member of the cluster [got from a chef
      search]. In this case, it joins it, if not, it creates the cluster
      and immediately quit to rejoin it with correct "join" option.
      
      For the tests, no_proxy must be set for node 2 and 3 in .kitchen.yml.
      2610c630
  11. 05 Sep, 2017 2 commits
    • Samuel Bernard's avatar
      feat: join all nodes, not just initiator · d40ca4f9
      Samuel Bernard authored
      - set join list to all nodes, not just the first one
      - simplify systemd unit resource
      - in test, do not wait for initiator
      d40ca4f9
    • Samuel Bernard's avatar
      feat: move default dirs, use journald for logging · 648151f4
      Samuel Bernard authored
      Change default directories:
      - store: /var/opt/cockroachdb/data (fix for more complicated store)
      - certs: /var/opt/cockroachdb/certs (independant from store)
      
      Set background to false, log-dir to '' and logtostderr to INFO to have
      journald receiving all the logs. Service is simple instead of fork.
      
      Adapt tests to new directories.
      648151f4
  12. 31 Aug, 2017 6 commits
  13. 16 May, 2017 2 commits