Commit Graph

8 Commits

Author SHA1 Message Date
Clark Boylan 8f55da407f Retire this repo
The opendev project has been moving away from puppet and this is one of
the puppet modules that is no longer used. To simplify things for us we
are taking the extra step of retiring this repo.

Change-Id: Ibbd66faf35447c5e8587c6996cd5011fcede688a
2022-02-17 11:42:09 -08:00
Ian Wienand fb26d09101 Have statsd listen on ipv6 by default
By default we're not listening on an ipv6 address; so any stats sent
there just go missing.  Set up by default to listen to '::' (and add
required ipv6 argument) which, thanks to dual-stack, means ipv4 & 6
packets are all accounted for.

Change-Id: I1fec03b32441a1962190f9bd8e24e8bec2318ab5
2018-09-14 14:29:45 +10:00
Ian Wienand dfc94e4fd9 Fix up log rotation
Turns out this is a bit of a pain, and we found out via a full disk.

Firstly, carbon wants to rotate it's own log files, but doesn't
compress or cleanup.  Disable this with ENABLE_LOGROTATION=False,
which has been around for a while.  This is copied from the upstream
example config.

Secondly, we were missing the console.log file.  Change the rotate to
just one for "*.log", and also add "sharedscripts" so the post-rotate
is only run once per rotation of all files.

Thirdly, copytruncate doesn't work [2].  It needs to be "nocreate";
the file is moved and carbon starts a new one (as suggested by the
config comment).  This is updated in the combined rotate section.

[1] https://github.com/graphite-project/carbon/pull/68
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733856

Change-Id: I946bb728971db79a2f4d08f2787c0768b958fb53
2018-02-07 14:15:59 +11:00
Colleen Murphy 4a30897c05 Depend on helper gem for spec_helper_acceptance
Instead of keeping a local copy of spec_helper_acceptance.rb and
requiring updates to all modules for any change, we can move it into the
common helper gem and require it from there. This will make it easier to
create and review changes that affect all puppet modules. Also change
the Gemfile to look for the gem in the local workspace if running in a
zuul environment.

Change-Id: I2c1adf57f6d025d6e7fe9bc1dcb721b9961aac5f
2017-08-18 10:41:43 +02:00
Colleen Murphy 17bff7d7b4 Fix beaker on xenial
Since the beaker jobs are being run on xenial, we need a special nodeset
for it, otherwise beaker gives an error:

 beaker-hostgenerator was not able to use this value as input.
 Exiting with an Error.

We also want to install puppet from the Ubuntu repos rather than from
puppetlabs, since puppetlabs doesn't support puppet 3 for Xenial. For
centos we can keep the install process the same.

Also run django.setup() since django >=1.7 now requires it[1].

Finally, correct the cron check string in the spec tests.

[1] http://django.readthedocs.io/en/latest/releases/1.7.html#backwards-incompatible-changes-in-1-7

Change-Id: Ifd2244ae9dd212b2475f9cd6adb994bc058a4769
Depends-On: I02729bc2d49f10a37e9314632b229fbbe72d0b0b
2017-06-10 20:09:16 +02:00
Bruno Tavares c9a9d607c2 Add acceptance tests for puppet-graphite.
Add acceptance tests for puppet-graphite module so that once the module
is applied we check if files were created, packages were installed and
services were started.

Change-Id: I54cf2e8e0cc484a8212d234efbf1d67df87583fd
Co-Authored-By: Danilo Ramalho <dramalho@thoughtworks.com>
2015-09-24 19:12:23 -03:00
Spencer Krum 6455398176 Fix target path for regular git clone during tests
Use same target directory for zuul-cloner and
the regular git command.

Change-Id: I542a8bd9bffb716a9bc18d5d886eefd52f29a1c7
Co-Authored-By: Fabien Boucher <fabien.boucher@enovance.com>
2015-08-19 16:36:01 -07:00
Spencer Krum 970926a0f6 Boilerplate beaker-rspec files
Change-Id: I4133133b627ade5df61b94af72ec5846ae3a41f6
2015-07-28 02:04:27 -07:00