Граф коммитов

140 Коммитов

Автор SHA1 Сообщение Дата
Kevin Paulisse bddce5c4d5 Merge pull request #4 from github/kpaulisse-consul-template-provider
Use init_style as provider
2016-08-29 21:04:53 -05:00
Kevin Paulisse 9ea33eab60
Use init_style as provider 2016-08-29 15:38:21 -05:00
Ross McFarland acbffdc9bc Merge pull request #3 from github/fix-concat-targets
Correct the concat targets
2016-06-24 15:08:01 -07:00
Ross McFarland 4e37c3c12b
Correct the concat targets 2016-06-24 15:07:27 -07:00
Ross McFarland cceba4bc3d Merge pull request #2 from github/virtual-resource-fixes
before => vritual no workie
2016-06-24 14:34:56 -07:00
Ross McFarland 5fedd58407
before => vritual no workie
Cleaner to have the concat::fragment depend on something that may or may not
be there anyway and that gets away from having the file resource before a
virtual that breaks tests & doesn't work when you go to apply the catalog.
2016-06-24 14:32:20 -07:00
Ross McFarland 4bc7656ba3 Merge pull request #1 from github/config-via-hash
Configuration via hashes, similar to `consul` module
2016-06-24 11:08:56 -07:00
Ross McFarland e76ca2f5d2
Get spec tests closer to working 2016-06-24 10:43:14 -07:00
Ross McFarland 2176a8b134
Clean up generated config, use regsubst, well formatted 2016-06-24 10:02:20 -07:00
Ross McFarland ef1fc4e1e5
PuppetSyntax.future_parser = true 2016-06-24 09:23:53 -07:00
Ross McFarland c9ccc192d6
Better doc and comments on config_hash 2016-06-24 07:04:06 -07:00
Ross McFarland 19b7ec17ab
Support config_defaults in consul_template::watch 2016-06-23 22:15:59 -07:00
Ross McFarland 9d6b04246e
Reworked to fully support config_hash style configuration 2016-06-23 22:11:17 -07:00
Ross McFarland c81836c98b
Convert consul_template::watch to config_hash 2016-06-23 07:00:09 -07:00
Gavin Hamill 4cddf41c09 Merge pull request #72 from khdevel/khdevel
[khdevel]
2016-05-23 09:14:36 +01:00
kamil 361024fd9a Update watch.pp
- alphabetic variables order
2016-05-20 21:36:10 +02:00
herbik_kam add00cb4ed [khdevel]
- corrections after puppet-lint syntax checker
- below messages were covered in this fix:

./manifests/watch.pp - WARNING: optional parameter listed before required parameter on line 10
./manifests/watch.pp - WARNING: optional parameter listed before required parameter on line 11
./manifests/watch.pp - WARNING: string containing only a variable on line 43
./manifests/watch.pp - ERROR: trailing whitespace found on line 38
./manifests/logrotate.pp - WARNING: unquoted file mode on line 48
	modified:   manifests/logrotate.pp
	modified:   manifests/watch.pp
2016-05-20 15:15:39 +02:00
Gavin Hamill 4bf4dc575a Release 0.2.8 2016-05-11 15:19:26 +01:00
Gavin Hamill 9ae012537c Fix #70. Release 0.2.6 2016-05-11 11:07:50 +01:00
Gavin Hamill 10e8d86951 Merge pull request #69 from ross/dedup-no-quotes
Remove quotes from deduplicate.enabled = true
2016-04-29 07:46:42 +01:00
Ross McFarland a131780074 Remove quotes from deduplicate.enabled = true 2016-04-28 10:48:02 -07:00
Gavin Hamill 0a66f71858 Merge pull request #68 from ross/add-dedup-support
Add dedplicate configruation support
2016-04-28 09:33:21 +01:00
Ross McFarland 1f1a236f40 Add dedplicate configruation support 2016-04-27 14:37:29 -07:00
Gavin Hamill e24b78bf86 Release 0.2.5 to Forge 2016-03-31 10:13:06 +01:00
Gavin Hamill 80f85ca693 Merge pull request #63 from JayH5/minor-anchor-fix
Add extra anchor dependency on consul_template::logrotate inclusion
2016-03-31 10:01:14 +01:00
Gavin Hamill dbd86ce287 Merge pull request #65 from keyan/master
Remove `strip` arg for extract, only for GNU tar
2016-03-15 10:02:03 +00:00
Keyan Pishdadian 209aa5669b Remove `strip` arg for extract, only for GNU tar
The `strip` arg is not supported for `zip` files, which is the only
current distribution format for consul_template. This bug is causing
warnings during our puppet runs.
2016-03-13 20:58:41 -04:00
Jamie Hewland 64c64d48a2 Add one more anchor dependency 2016-01-29 17:07:12 +02:00
Gavin Hamill 6397cc6d7e Merge pull request #62 from JayH5/issue-61-anchor
Fixes #61: Anchor classes included in main class
2016-01-20 15:54:23 +00:00
Jamie Hewland 1c97444cd6 Anchor classes included in main class 2016-01-20 15:52:17 +02:00
Gavin Hamill 131fd78b43 Merge pull request #60 from DG-i/master
Systemd service should run as configured user
2016-01-20 07:59:36 +00:00
Mathias Merscher a30e58ab65 set configured user and group in systemd service unit
Signed-off-by: Mathias Merscher <Mathias.Merscher@rheinekopfsache.de>
2016-01-20 08:34:58 +01:00
Gavin Hamill 3ce063e87d Merge pull request #47 from mrh666/patch-2
Logrotation template
2016-01-19 15:23:54 +00:00
Gavin Hamill 7a97f6e832 Merge pull request #48 from mrh666/patch-3
New logrotation class: consul_template::logrotate
2016-01-19 15:23:37 +00:00
Gavin Hamill 0b56099def Merge pull request #49 from mrh666/patch-4
Logrotation for consul-template
2016-01-19 15:23:28 +00:00
Gavin Hamill 3e2f2ff483 deliciously ironic typo on "error" 2016-01-19 10:44:14 +00:00
Andrey Kanevsky 878c892023 Postrotate command defined for SysV and Systemd by OS
Postrotate command defined for SysV and Systemd by OS case. Tested on Centos 6, Centos 7, Amazon Linux.
2016-01-19 11:34:53 +02:00
Andrey Kanevsky 7687265a6a Postrotate command now defined from in init.pp
Postrotate command now defined from OS dependent case in init.pp
2016-01-19 11:30:40 +02:00
Gavin Hamill da8e4abfa7 Merge pull request #59 from gdhbashton/bugfix/oldsource
Watch out! Here is more complete Hiera integration #54
2016-01-18 16:55:47 +00:00
Gavin Hamill 2a0b64c366 Watch out! Here is more complete Hiera integration #54 2016-01-18 16:55:28 +00:00
Gavin Hamill 7b8c6b2397 Merge pull request #58 from gdhbashton/bugfix/oldsource
Fun puppet with its lack of variable redeclaration..
2016-01-18 16:48:39 +00:00
Gavin Hamill 0fbebab79f Fun puppet with its lack of variable redeclaration.. 2016-01-18 16:47:44 +00:00
Gavin Hamill e7e52075e0 Merge pull request #57 from gdhbashton/bugfix/oldsource
Dumb typo. Props to @madandroid for pointing it out
2016-01-18 15:49:49 +00:00
Gavin Hamill 27a8f7b08e Dumb typo. Props to @madandroid for pointing it out 2016-01-18 15:49:17 +00:00
Gavin Hamill 4077bf4887 Merge pull request #56 from gdhbashton/bugfix/oldsource
Little fix for #52
2016-01-18 08:18:37 +00:00
Gavin Hamill a6ae480fe2 Little fix for #52 2016-01-18 08:18:15 +00:00
Gavin Hamill ef908e5bdd Merge pull request #51 from kscherer/upstart_user
When using upstart run service as module user
2015-12-17 17:25:09 +00:00
Konrad Scherer 6da0c2f628 When using upstart run service as module user
Service was running as root by default. This may be backwards incompatible
if the service tries to write to files it no longer has permissions to.

Signed-off-by: Konrad Scherer <kmscherer@gmail.com>
2015-12-17 12:06:33 -05:00
Andrey Kanevsky 5092b6f485 Logrotation for consul-template
Usage example:
class { 'consul_template':
    log_level       => 'debug',
    consul_wait  => '5s:30s',
    logrotate_on => true,
  }
2015-12-17 13:18:06 +02:00
Andrey Kanevsky b9dd21a7dc New logrotation class: consul_template::logrotate 2015-12-17 13:14:45 +02:00