Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3765066
D3488.id8989.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
3 KB
Referenced Files
None
Subscribers
None
D3488.id8989.diff
View Options
diff --git a/roles/core/init.sls b/roles/core/init.sls
--- a/roles/core/init.sls
+++ b/roles/core/init.sls
@@ -15,7 +15,6 @@
- .monitoring
- .motd
- .ntp
- - .src
- .rsyslog
- .salt
- .sshd
@@ -29,3 +28,6 @@
# Depends of users or groups
- .deploy
- .userland-home
+
+ # Depends of software (git)
+ - .src
diff --git a/roles/core/src/init.sls b/roles/core/src/init.sls
--- a/roles/core/src/init.sls
+++ b/roles/core/src/init.sls
@@ -10,11 +10,6 @@
{% set version = grains['kernelrelease'].split("-")[0] %}
-{% if version >= "13.0" %}
-git:
- pkg.installed
-{% endif %}
-
freebsd_src:
cmd.run:
{% if version < "13.0" %}
diff --git a/roles/core/userland-software/base.sls b/roles/core/userland-software/base.sls
--- a/roles/core/userland-software/base.sls
+++ b/roles/core/userland-software/base.sls
@@ -78,6 +78,7 @@
- pkgs:
- bat
- colordiff
+ - git
- nano
- ripgrep
- tree
@@ -113,6 +114,14 @@
- mode: 755
{% endif %}
+/root/.gitconfig:
+ file.managed:
+ - source: salt://roles/core/userland-software/files/gitconfig
+ - replace: False
+ - user: root
+ - group: 0
+ - mode: 444
+
# -------------------------------------------------------------
# Nano configuration
#
diff --git a/roles/core/userland-software/files/gitconfig b/roles/core/userland-software/files/gitconfig
new file mode 100644
--- /dev/null
+++ b/roles/core/userland-software/files/gitconfig
@@ -0,0 +1,22 @@
+# -------------------------------------------------------------
+# Git :: configuration :: root user
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# License: Trivial work, not eligible to copyright
+# Source file: roles/core/userland-software/files/gitconfig
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+[user]
+ name = Nasqueron Operations SIG
+ email = ops@nasqueron.org
+[core]
+ editor = nano
+[pull]
+ rebase = true
diff --git a/roles/paas-docker/devel/software.sls b/roles/paas-docker/devel/software.sls
--- a/roles/paas-docker/devel/software.sls
+++ b/roles/paas-docker/devel/software.sls
@@ -15,7 +15,6 @@
docker_development_utilities:
pkg.installed:
- pkgs:
- - git
- jq
- {{ packages_prefixes.python3 }}pip
- sqlite
diff --git a/roles/saas-mediawiki/software/init.sls b/roles/saas-mediawiki/software/init.sls
--- a/roles/saas-mediawiki/software/init.sls
+++ b/roles/saas-mediawiki/software/init.sls
@@ -17,7 +17,6 @@
- pkgs:
- {{ packages.exiftool }}
- exiv2
- - git
- {{ packages.imagemagick }}
- {{ packages['jpeg-turbo'] }}
- librsvg2
diff --git a/roles/shellserver/userland-software/base.sls b/roles/shellserver/userland-software/base.sls
--- a/roles/shellserver/userland-software/base.sls
+++ b/roles/shellserver/userland-software/base.sls
@@ -104,7 +104,6 @@
- {{ packages.bats }}
- cmake
- {{ packages.cppunit }}
- - git
- git-lfs
- jq
- valgrind
diff --git a/roles/webserver-alkane/alkane/init.sls b/roles/webserver-alkane/alkane/init.sls
--- a/roles/webserver-alkane/alkane/init.sls
+++ b/roles/webserver-alkane/alkane/init.sls
@@ -36,7 +36,6 @@
pkg.installed:
- pkgs:
- {{ packages.composer }}
- - git
- jq
- yarn
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 10:07 (17 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2257732
Default Alt Text
D3488.id8989.diff (3 KB)
Attached To
Mode
D3488: Install git everywhere as part of the core role
Attached
Detach File
Event Timeline
Log In to Comment