Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

template config: 'options' to dereference symlinks for tar

  • Loading branch information...
commit e04e346fbc0f2be18df875ca69bcfeba88bd87db 1 parent 6c92390
Vitaly Kushner vitaly authored

Showing 2 changed files with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  README.markdown
  2. +2 0  templates/script.rb
1  README.markdown
Source Rendered
@@ -187,6 +187,7 @@ Example configuration
187 187 end
188 188
189 189 tar do
  190 + options "-h" # dereference symlinks
190 191 archive "git-repositories", :files => "/home/git/repositories"
191 192 archive "dot-configs", :files => "/home/*/.[^.]*"
192 193 archive "etc", :files => "/etc", :exclude => "/etc/puppet/other"
2  templates/script.rb
@@ -100,6 +100,8 @@
100 100 # end
101 101
102 102 tar do
  103 + # options "-h" # uncomment this to dereference symbolic links
  104 +
103 105 # 'archive' is a collection item, just like 'database'
104 106 # archive "git-repositories" do
105 107 # # files and directories to backup

0 comments on commit e04e346

Please sign in to comment.
Something went wrong with that request. Please try again.