Skip to content
Snippets Groups Projects
  1. Feb 27, 2018
  2. Feb 19, 2018
    • elukey's avatar
      Simplify zookeeper's default template to be systemd friendly · 25fae48c
      elukey authored
      The current Debian's systemd unit for zookeeper contains something
      like the following:
      
      EnvironmentFile=/etc/zookeeper/conf/environment
      EnvironmentFile=-/etc/default/zookeeper
      ExecStart=/usr/bin/java -cp ${CLASSPATH} $JAVA_OPTS -Dcom.sun.management.jmxremote...
      
      EnvironmentFile does not support variable expansion so zookeeper
      doesn't start on stretch because "$JAVA_OPTS" is used as plain string.
      
      Bug: T166081
      Change-Id: I5dfcb19558cbb0e7e681056c07e311400c4ea5e9
      25fae48c
  3. Feb 14, 2017
    • elukey's avatar
      Add default JAVA_OPTS to the zookeeper server class · 44ed16f4
      elukey authored
      This change will allow us to tune the JVM on special
      use cases, for example changing the GC or its settings
      (like Xmx and Xms). It is currently a No-op.
      
      Bug: T157968
      Change-Id: I0ccb3e431933a8a4f1197b2dbbeaee36ac6f7639
      44ed16f4
  4. Feb 03, 2017
    • Antoine Musso's avatar
      Introduce linters using rake · d81e41e7
      Antoine Musso authored
      Add a Rakefile and depends on puppet-syntax/puppet-lint. That lets one
      easily check syntax of manifests and templates as well as puppet style
      recommandation (puppet-lint).
      
      Ignore puppet-lint 80 chars line limit.
      Instruct puppet-lint to threat module with relative path or it fails
      under Jenkins which checkout the source code in a directory named after
      the job.
      
      Fix ensure found on line but not as first attribute in
      manifests/server.pp
      
      Add Gem dependecy safe_yaml ~> 1.0.4 since Puppet 3.7 fails on ruby 2.2+
      (eg ruby2.4 on Mac). https://tickets.puppetlabs.com/browse/PUP-3796
      
      Git ignore Gemfile.lock, that is only needed for deployment purposes.
      
      Bug: T154894
      Change-Id: Id8e19ee14cc1673e84278b30a5e4eddf5192ea77
      d81e41e7
  5. Jan 09, 2017
  6. Sep 05, 2016
    • elukey's avatar
      Renamed the cleanup_cron_ensure variable to fix a typo · 80d47e19
      elukey authored
      ensure requires present/absent values, not true/false.
      This is an issue brough by the last commit.
      Fixed also documentation about the new variable.
      
      Change-Id: Ideb7e1fa06dbf71a6b21cc7832330b894cb0588a
      80d47e19
  7. Sep 02, 2016
    • elukey's avatar
      Allow a more custom set of arguments for the cleanup script · 61cb995c
      elukey authored
      A bit of refactoring has been done:
      1) Removed the cleanup count class parameter (now part of to cleanup_script_args)
      2) Introduced the more generic $cleanup_script_args class variable
         to pass any kind of parameter to the script
      3) Introduced the $cleanup_ensure_cron variable to control the deployment
         of the script, rather than rely on the $cleanup_script_args's value
      
      Change-Id: I5c186d7813305247e06eb2b24f5254edf867fc96
      61cb995c
  8. Jul 15, 2016
  9. Jul 14, 2016
  10. Jul 07, 2016
    • Mathias Klette's avatar
      server.pp: fix zkCleanup cron · 25adad1d
      Mathias Klette authored
      without thix fix zkCleanup runs every minute in given hour. adding value
      to minute-attribute avoids this behaviour.
      
      Change-Id: I389d6e8f78af43ef0cc54921a33b20a1a168d794
      25adad1d
  11. Jun 08, 2016
    • Andrew Otto's avatar
      Remove subscribe from zookeeper server · d46635af
      Andrew Otto authored
      This service should not subscribe its config files.
      
      Change-Id: I020347e4538950c7a503cf4c2154c31765185787
      d46635af
    • Marko Obrovac's avatar
      Set maxClientCnxns to 0 (unlimited) · c6e9bff5
      Marko Obrovac authored
      Zookeeper limits the number of connections per IP to 10 by default as an
      effort to prevent DoS attacks. Since we do not expose it publicly (and
      are protected against (D)DoS attacks by other means), it is safe to make
      that unlimited.
      
      Change-Id: I839d44d407b3c9b51cb16a0d3b773cef4ecd16db
      c6e9bff5
  12. May 21, 2016
  13. Jun 18, 2015
  14. May 22, 2015
    • gage's avatar
      zookeeper-cleanup: don't generate cron email for normal operation · 3272c7cc
      gage authored
      Avoids cron sending mail containing output like this every day:
      Removing file: May 11, 2015 11:33:50 AM /var/lib/zookeeper/version-2/log.c01939848
      Removing file: May 10, 2015 11:04:38 PM /var/lib/zookeeper/version-2/log.c0192b0cf
      Removing file: May 11, 2015 5:59:54 PM  /var/lib/zookeeper/version-2/log.c0194d6ee
      Removing file: May 10, 2015 11:04:38 PM /var/lib/zookeeper/version-2/snapshot.c01939846
      Removing file: May 11, 2015 11:33:50 AM /var/lib/zookeeper/version-2/snapshot.c0194d6ec
      Removing file: May 11, 2015 5:59:55 PM  /var/lib/zookeeper/version-2/snapshot.c0195b366
      
      Change-Id: I1fa0312aedf57c05dfd326b253b9f732abd4c20b
      3272c7cc
  15. Jul 03, 2014
  16. Apr 14, 2014
  17. Aug 23, 2013
  18. Jun 12, 2013
  19. Jun 06, 2013
  20. Jun 03, 2013
Loading