Sha256: e98c8a70264a8b63fc080c5f6135e91b57d88909d9a625f096c61255e02887a8

Contents?: true

Size: 246 Bytes

Versions: 9

Compression:

Stored size: 246 Bytes

Contents

node[:secrets] = 
  if File.exists? "#{ENV['HOME']}/.secrets/passwords.yml"
    YAML.load(File.open("#{ENV['HOME']}/.secrets/passwords.yml"))
  else
    { }
  end

template "#{ENV['HOME']}/.gitconfig" do
  source "gitconfig.erb"
  mode 0600
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tvd-git-0.0.18 cookbooks/git/recipes/default.rb
tvd-git-0.0.17 cookbooks/git/recipes/default.rb
tvd-git-0.0.16 cookbooks/git/recipes/default.rb
tvd-git-0.0.15 cookbooks/git/recipes/default.rb
tvd-git-0.0.14 cookbooks/git/recipes/default.rb
tvd-git-0.0.13 cookbooks/git/recipes/default.rb
tvd-git-0.0.12 cookbooks/git/recipes/default.rb
tvd-git-0.0.11 cookbooks/git/recipes/default.rb
tvd-git-0.0.10 cookbooks/git/recipes/default.rb