Skip to content
Browse files

template config: 'options' to dereference symlinks for tar

  • Loading branch information...
1 parent 6c92390 commit e04e346fbc0f2be18df875ca69bcfeba88bd87db @vitaly vitaly committed Dec 21, 2009
Showing with 3 additions and 0 deletions.
  1. +1 −0 README.markdown
  2. +2 −0 templates/script.rb
View
1 README.markdown
@@ -187,6 +187,7 @@ Example configuration
end
tar do
+ options "-h" # dereference symlinks
archive "git-repositories", :files => "/home/git/repositories"
archive "dot-configs", :files => "/home/*/.[^.]*"
archive "etc", :files => "/etc", :exclude => "/etc/puppet/other"
View
2 templates/script.rb
@@ -100,6 +100,8 @@
# end
tar do
+ # options "-h" # uncomment this to dereference symbolic links
+
# 'archive' is a collection item, just like 'database'
# archive "git-repositories" do
# # files and directories to backup

0 comments on commit e04e346

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