Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Add the possibility to add more settings and update the lsync conf.d feature #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jmauro
Copy link

@jmauro jmauro commented Feb 20, 2018

No description provided.

andreiocriteo and others added 4 commits February 20, 2018 19:57
STATE:
Currently, the default template fits only the scientific dsitribution
(version 2.1) and everything else is treated as exception.

FIX:
Set scientific distribution as the exception and everyhting else as the
default configuration.

Change-Id: I407d5182487629e6fbe941786ca68ce1fd60870e
STATE:
Currently, the lsyncd general options are set statically.

FIX:
Add the possibility to define any settings into a hash and populate
'lsyncd.conf' with it.

Change-Id: If8617a422bcfca22786c7d76bb8368db1c88775d
STATE:
Currently, the lua code supposed to include file into 'lsyncd.conf' does
not work properly (Ref: lsyncd/lsyncd#441)

FIX:
Use the code suggested into the PR

Change-Id: I50be7b2c4dc4e55751b63da61992895f5e0ca505
Lsyncd default template and support for more parameters
@dgivens
Copy link
Owner

dgivens commented Feb 20, 2018

Why are the distro specific templates being removed? Those are meant to support the versions of lsyncd available on those platforms. If a distro is distributing a newer version of lsyncd with a different configuration format, then a new template should be created for that distro version.

Also, please update the tests and ensure they pass.

@jmauro
Copy link
Author

jmauro commented Feb 22, 2018

Hello @dgivens,

The way I understood it is as follow:

  • For every distribution supported by the cookbook but the scientific distribution the templates were exactly the same.

So We tried to easy the process of updating the most common templates, so we created the exception for the scientific distribution only, does that sound fair for you?

Regards,
JM

@dgivens
Copy link
Owner

dgivens commented Feb 22, 2018

When I originally created this cookbook, I was running Debian Wheezy, which was still on 2.0. Since Wheezy is going to be EOL in May, I don't see a reason for this cookbook to continue to support it. I believe Scientific Linux 6+ is also on lsyncd 2.1.x, so you can rip that out as well.

Please ensure the chefspec and serverspec tests are updated and test-kitchen passes for the major current platforms:
CentOS 6 and 7, Ubuntu 14.04 and 16.04, and Debian 8 and 9

Once the tests are all good, I'll merge the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants