changed font state to honor username

This commit is contained in:
Jonas Forsberg 2020-08-01 15:02:50 +02:00
parent 910fee7a07
commit c9c1faef0a
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9
3 changed files with 5 additions and 2 deletions

View File

@ -81,3 +81,5 @@ function do_salt_call(){
setup_dotfiles setup_dotfiles
do_salt_call do_salt_call
gnome_key_bindings gnome_key_bindings
printf "\n DONE!!!!!!!\n"

View File

@ -1,9 +1,9 @@
deploy fonts: deploy fonts:
file.recurse: file.recurse:
- name: /home/jonas/.fonts - name: {{ salt['user.info']( pillar['username'] ).home }}/.fonts
- source: salt://fonts/files - source: salt://fonts/files
- makedirs: True - makedirs: True
- user: jonas - user: {{ pillar['username'] }}
- group: users - group: users
- file_mode: "0644" - file_mode: "0644"
- dir_mode: "0755" - dir_mode: "0755"

View File

@ -4,3 +4,4 @@ base:
- packages - packages
- gbt - gbt
- fonts - fonts
- vim