updated tmux state
This commit is contained in:
parent
2802893ae7
commit
d22796053c
11
states/tmux/config.sls
Normal file
11
states/tmux/config.sls
Normal file
@ -0,0 +1,11 @@
|
||||
---
|
||||
{%- from "tmux/map.jinja" import tmux with context %}
|
||||
tmux-config:
|
||||
file.managed:
|
||||
- name: /etc/tmux.conf
|
||||
- source: salt://tmux/tmux.conf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- template: jinja
|
||||
- require:
|
||||
- pkg: tmux-pkg
|
@ -1,15 +1,4 @@
|
||||
---
|
||||
{%- from "tmux/map.jinja" import tmux with context %}
|
||||
tmux-pkg:
|
||||
pkg.latest:
|
||||
- name: tmux
|
||||
|
||||
tmux-config:
|
||||
file.managed:
|
||||
- name: /etc/tmux.conf
|
||||
- source: salt://tmux/tmux.conf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
- template: jinja
|
||||
- require:
|
||||
- pkg: tmux-pkg
|
||||
include:
|
||||
- .install
|
||||
- .config
|
||||
|
5
states/tmux/install.sls
Normal file
5
states/tmux/install.sls
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
{%- from "tmux/map.jinja" import tmux with context %}
|
||||
tmux-pkg:
|
||||
pkg.installed:
|
||||
- name: tmux
|
Loading…
Reference in New Issue
Block a user