Skip to content

Commit

Permalink
Changed Golang repositority, added separate Git configuration for Tho…
Browse files Browse the repository at this point in the history
…ughtWorks
  • Loading branch information
moritzheiber committed Mar 25, 2019
1 parent 8906572 commit 62ff854
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
11 changes: 11 additions & 0 deletions mitamae/configuration.rb
Expand Up @@ -40,3 +40,14 @@
checksum node[:vim_plug_checksum]
user node[:login_user]
end

directory "/home/#{node[:login_user]}/Code/thoughtworks" do
mode '0755'
user node[:login_user]
end

remote_file "/home/#{node[:login_user]}/Code/thoughtworks/gitconfig" do
source 'files/tw_gitconfig'
mode '0644'
user node[:login_user]
end
6 changes: 6 additions & 0 deletions mitamae/files/tw_gitconfig
@@ -0,0 +1,6 @@
[user]
email = mheiber@thoughtworks.com
name = Moritz Heiber
signingkey = F75C32B1
[commit]
gpgsign = true
2 changes: 1 addition & 1 deletion mitamae/packages.rb
Expand Up @@ -67,7 +67,7 @@
end

# Install golang separately to we can keep track of the version
package "golang-#{node[:golang_version]}"
package 'golang-go'

# Remove a couple of apt packages
%w(
Expand Down
2 changes: 1 addition & 1 deletion mitamae/repos.rb
Expand Up @@ -18,7 +18,7 @@
gencfsm/ppa
neovim-ppa/stable
numix/ppa
gophers/archive
longsleep/golang-backports
git-core/ppa
yubico/stable
).each do |u|
Expand Down

0 comments on commit 62ff854

Please sign in to comment.