|
@@ -1,4 +1,5 @@
|
|
-default['workstation']['_git']['system'] = {
|
|
|
|
|
|
+default['workstation']['_git']['hooksPath'] = '~/.git-templates/hooks'
|
|
|
|
+default['workstation']['_git']['scope']['system'] = {
|
|
'color.ui': true,
|
|
'color.ui': true,
|
|
'color.diff': 'auto',
|
|
'color.diff': 'auto',
|
|
'color.status': 'auto',
|
|
'color.status': 'auto',
|
|
@@ -22,10 +23,11 @@ default['workstation']['_git']['system'] = {
|
|
'user.email': "jeremy@#{node['hostname']}",
|
|
'user.email': "jeremy@#{node['hostname']}",
|
|
'user.name': 'Jeremy from WSL2',
|
|
'user.name': 'Jeremy from WSL2',
|
|
'pull.rebase': 'preserve',
|
|
'pull.rebase': 'preserve',
|
|
|
|
+ 'core.hooksPath': node['workstation']['_git']['hooksPath'],
|
|
}
|
|
}
|
|
|
|
|
|
# We don't use hash because keys such as "includeif.gitdir" are not uniq
|
|
# We don't use hash because keys such as "includeif.gitdir" are not uniq
|
|
-default['workstation']['_git']['global'] = {
|
|
|
|
|
|
+default['workstation']['_git']['scope']['global'] = {
|
|
'core.sshcommand': '/usr/sbin/ssh-ident',
|
|
'core.sshcommand': '/usr/sbin/ssh-ident',
|
|
'user.email': 'jeremy.mauro@gmail.com',
|
|
'user.email': 'jeremy.mauro@gmail.com',
|
|
'user.name': 'Jeremy MAURO',
|
|
'user.name': 'Jeremy MAURO',
|
|
@@ -40,7 +42,7 @@ default['workstation']['_git']['file_~/.gitconfig-personal'] = {
|
|
'user.signingkey': 'FA2D8E280A6DD533',
|
|
'user.signingkey': 'FA2D8E280A6DD533',
|
|
}
|
|
}
|
|
|
|
|
|
-default['workstation']['_git']['file_~/.gitconfig-work'] = {
|
|
|
|
|
|
+default['workstation']['_git']['scope']['file_~/.gitconfig-work'] = {
|
|
'user.email': 'jmauro@aviatrix.com',
|
|
'user.email': 'jmauro@aviatrix.com',
|
|
'user.name': 'Jeremy MAURO',
|
|
'user.name': 'Jeremy MAURO',
|
|
}
|
|
}
|