1. 23 May, 2020 1 commit
  2. 22 May, 2020 1 commit
  3. 21 May, 2020 2 commits
  4. 18 May, 2020 5 commits
  5. 16 May, 2020 2 commits
    • matze's avatar
      [__file] add "default values" in manual for group, mode and owner · 086e683c
      matze authored
      Because at least the --mode default value may not be expected, the
      manual lists the "default values". As they are not explicitly set in the
      `__file` type, it is a bit more difficult, but should resolve to
      following:
        - the mode comes from the umask set in the cdist code to protect file
          creation and uses the strongest umask possible.
        - the owner and group comes from the ssh user, which should always be
          the root user. (I think this can be swaped, too, but who will?)
      
      At the owner and group parameter, it could be replaced with something
      like "the ssh user and group", which would be more correct, but less
      understandable.
      086e683c
    • matze's avatar
      [__cron] add hint for default values of time-related parameters · dcfabf92
      matze authored
      This should resolve some misunderstanding when leave a time-related
      parameter with it's default value.
      dcfabf92
  6. 09 May, 2020 1 commit
  7. 01 May, 2020 2 commits
  8. 28 Apr, 2020 1 commit
  9. 26 Apr, 2020 1 commit
  10. 25 Apr, 2020 2 commits
    • Evil Ham's avatar
      [__pf_ruleset] Fix shellcheck issue. · 29287954
      Evil Ham authored
      29287954
    • Evil Ham's avatar
      [__pf*] (~) __pf_ruleset (+)__pf_apply_anchor, deprecate __pf_apply · fefe90e9
      Evil Ham authored
      __pf_apply the way it exists on cdist is not really useful and __pf_ruleset does
      not take advantage of other types as it should, being instead overly complex and
      not as reliable.
      
      The new __pf_ruleset is compatible with the previous one, and __pf_apply_anchors
      allows for a simple and powerful way of managing pf anchors.
      The functionality previously provided by __pf_apply is still possible out of the
      box in __pf_ruleset.
      
      These patches were mostly contributed by Kamila Součková and made fit for
      upstreaming by Evilham.
      fefe90e9
  11. 24 Apr, 2020 3 commits
  12. 22 Apr, 2020 1 commit
  13. 15 Apr, 2020 1 commit
  14. 14 Apr, 2020 1 commit
  15. 11 Apr, 2020 1 commit
    • Darko Poljak's avatar
      Use OrderedDict to guarantee order · 704e7832
      Darko Poljak authored
      Note:
      > Changed in version 3.7: Dictionary order is guaranteed to be
      > insertion order. This behavior was an implementation detail of
      > CPython from 3.6.
      704e7832
  16. 10 Apr, 2020 2 commits
  17. 06 Apr, 2020 1 commit
  18. 02 Apr, 2020 3 commits
    • Darko Poljak's avatar
      Fix shellcheck issues · 890c73f6
      Darko Poljak authored
      890c73f6
    • Nico Schottelius's avatar
      [__pyvenv] use python3 -m venv on alpine · d034fe93
      Nico Schottelius authored
      Until python4 comes, this will work
      d034fe93
    • Nico Schottelius's avatar
      Make __cron nonparallel · 0f639a92
      Nico Schottelius authored
      It fails due to removal / edit of crontab at the same time
      
      VERBOSE: [18331]: uncloud.ungleich.ch: Running object __cron/pg_dump_cleanup
      VERBOSE: [18332]: uncloud.ungleich.ch: Running object __ungleich_packages/server
      VERBOSE: [18335]: uncloud.ungleich.ch: Running object __postgres_role/app
      INFO: [18335]: uncloud.ungleich.ch: Processing __postgres_role/app
      INFO: [18331]: uncloud.ungleich.ch: Processing __cron/pg_dump_cleanup
      ERROR: [16451]: uncloud.ungleich.ch: ssh -o User=root -o ControlPath=/tmp/tmp_8eu4oep/s -o ControlMaster=auto -o ControlPersist=2h uncloud.ungleich.ch /bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk;  export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote': ['ssh', '-o', 'User=root', '-o', 'ControlPath=/tmp/tmp_8eu4oep/s', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=2h', 'uncloud.ungleich.ch', "/bin/sh -c ' export __object=/var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk;  export __object_id=pg_dumpall_under_day;/bin/sh -e /var/lib/cdist/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk/code-remote'"]
      
      Error processing object '__cron/pg_dumpall_under_day'
      =====================================================
      name: __cron/pg_dumpall_under_day
      path: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/object/__cron/pg_dumpall_under_day/.cdist-mfd00npk
      source: /tmp/tmplaq9cwdh/6318c251013a449595327745daacf3ee/data/conf/type/__ungleich_postgresql/manifest
      type: /home/nico/vcs/cdist/cdist/conf/type/__cron
      
      code-remote:stderr
      ------------------
      crontab: can't move 'postgres.new' to 'postgres': No such file or directory
      
      VERBOSE: [16451]: config: Total processing time for 1 host(s): 13.98031210899353
      [18:09] line:~%
      0f639a92
  19. 27 Mar, 2020 1 commit
  20. 26 Mar, 2020 2 commits
  21. 14 Mar, 2020 1 commit
  22. 08 Mar, 2020 1 commit
  23. 26 Feb, 2020 3 commits
  24. 25 Feb, 2020 1 commit