diff options
author | Matt Taggart <taggart@riseup.net> | 2012-04-17 22:58:34 -0700 |
---|---|---|
committer | Matt Taggart <taggart@riseup.net> | 2012-04-17 22:58:34 -0700 |
commit | 380635f7549e136a28f3e9c4ef6c197e921b0dba (patch) | |
tree | bcc4892383c978af40cf4dc80f3f09fe622bf77b /templates | |
parent | 571a286674b4a237bbe972aea2538332a0f739bf (diff) | |
download | puppet-backupninja-380635f7549e136a28f3e9c4ef6c197e921b0dba.tar.gz puppet-backupninja-380635f7549e136a28f3e9c4ef6c197e921b0dba.tar.bz2 |
remove line I forgot to clean up, round result rather than truncate
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rdiff.conf.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/rdiff.conf.erb b/templates/rdiff.conf.erb index c948c2d..c1c8760 100644 --- a/templates/rdiff.conf.erb +++ b/templates/rdiff.conf.erb @@ -14,11 +14,10 @@ type = local when = everyday at 1:<%= i = 0 total = 0 until i == hostname.length - total += (hostname[i] - 96) / (2.9 * (10 ** (i + 1))) total += (hostname[i] - 96) / (27.0 ** (i+1)) i += 1 end - (total*60).to_i %> + (total*59).round %> <% end -%> <% if include.is_a? String -%> |