Quantalytics / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Archive option #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Need to add an option that allows for the automatic creation of archive(backup) 
tarballs of the current ruleset when updating

Original issue reported on code.google.com by Cummin...@gmail.com on 10 Nov 2010 at 4:54

GoogleCodeExporter commented 9 years ago
Committed to rev #198!  Probably should add some data to the changelog?

Original comment by Cummin...@gmail.com on 24 Jan 2011 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by Cummin...@gmail.com on 24 Jan 2011 at 7:15

GoogleCodeExporter commented 9 years ago
This feature generates an error for me as of r209:

   Bareword "COMPRESS_GZIP" not allowed while "strict subs" in use at
   /usr/local/sbin/pulledpork.pl line 1237.
   Execution of /usr/local/sbin/pulledpork.pl aborted due to compilation errors.

The line in question is:
   Archive::Tar->create_archive( $filename, COMPRESS_GZIP, @records );

I'm not sure whether the bareword in question (COMPRESS_GZIP) is supposed to be 
a string or something else, I didn't play with it since I'm not yet using the 
archive feature.  I just commented out the line in question for now.  You might 
want to have another look at this, though.

Original comment by mikeloc...@gmail.com on 3 Feb 2011 at 7:51

GoogleCodeExporter commented 9 years ago
What distribution are you running on, this works on my FreeBSD 8.x i386 
systems.. but I may just define a constant (it's the right way to do it but I'm 
lazy)

Original comment by Cummin...@gmail.com on 3 Feb 2011 at 8:58

GoogleCodeExporter commented 9 years ago
Committed rev 210 that should get rid of the bareword issue, please confirm

Original comment by Cummin...@gmail.com on 7 Feb 2011 at 6:15