Closed vpramo closed 8 years ago
@vpramo thanks for the PR! Sorry for the delay, I'm still trying to understand exactly what this does. Restating what I'm understanding from the commit message, this is meant to make the tarball extraction process idempotent? If you could give an example that would help me quickly understand/merge. Else I'll take another dive early next week (when I get home, traveling at the moment). Thanks again!
@dfarrell07 hey sorry for the bad commit message, well basically during each and every puppet run, the tarball was getting unzipped and extracting all the files and since its dependent on the service, it basically will restart the ODL service.
You can refer to this Issue raised in puppet-archive
@vpramo Okay, cool, that makes sense. Thanks!
Every time puppet runs, the odl zip was getting downloaded unzipping and restarting services. To ensure this doesnt happen, we need to add a root_dir in the archive provider .
This will ensure that multiple puppet runs will not cause any service restarts