Sha256: 4fae169f5efc34f68595fbd2a95ef9c9e092ab9ef2dabd7cb996fcb3ea953a10

Contents?: true

Size: 234 Bytes

Versions: 6

Compression:

Stored size: 234 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"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tvd-git-0.0.7 cookbooks/git/recipes/default.rb
tvd-git-0.0.6 cookbooks/git/recipes/default.rb
tvd-git-0.0.5 cookbooks/git/recipes/default.rb
tvd-git-0.0.4 cookbooks/git/recipes/default.rb
tvd-git-0.0.3 cookbooks/git/recipes/default.rb
tvd-git-0.0.2 cookbooks/git/recipes/default.rb