-
Notifications
You must be signed in to change notification settings - Fork 39
Not seeing diff when changes applied #30
Comments
Hi, this is something i would love to get in yeah, still finding out how to enable that. |
I haven't forgotten about this, just haven't found a way to get this done yet :-( |
Hi @electrical, @madAndroid have you found a solution to this? I'm getting the same problem. Puppet is restarting Logstash every time it runs. The "resulting" MD5 is always the same: 6f54dd0f3016f50fbb5546b3690c2e9b but the file is not actually changed and Puppet shows a blank diff. Since it's the same hash all the time (see @madAndroid's original post above too) I suspect there is a problem with the module somewhere. What's going on? How can I fix this? I'm using puppet-logstash 0.5.0, puppet-lib-file_concat 0.1.0 and Logstash 1.4.4. Should I update puppet-lib-file_concat or something? BTW, everything used to work fine, up until I installed a new Logstash 2.3 deb and tried to manage it with the existing module. It seemed to work but after I reverted to the old version ("version" parameter) this started happening. Sample output from Puppet run with --debug: Notice: /Stage[main]/Logstash::Config/File_concat[ls-config]/content: Notice: /Stage[main]/Logstash::Config/File_concat[ls-config]/content: content changed '987024390ab8bcfdfb7eb222dd8b9722' to '6f54dd0f3016f50fbb5546b3690c2e9b' But then again: |
Hmm, interesting. It should only do that if the config is actually changed. |
Yes, agreed - |
And yes, I've also not seen the restart happen ... unless the config's changed. We do see the resource showing that it's operating, but not actually making changes - and usually the service is not restarted. |
Hi,
Not sure if this is the right place to report this, or within the logstash module, but the symptoms I'm seeing seem related to
file_concat
, so I thought it best to create an issue here :)Is there any way to see a diff of changes that
file_concat
makes? currently in the logstash module, I see this when a config change has been made (in vagrant) :It would be really useful if it behaved in the same way that other concat modules behave, and output a diff of the changes that were made during the run
The text was updated successfully, but these errors were encountered: