Skip to content

Commit

Permalink
fixing file permissions on keydat tools, fixing foremost config, fina…
Browse files Browse the repository at this point in the history
…lly!
  • Loading branch information
ekristen committed Oct 29, 2017
1 parent 32211b4 commit eb580fa
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sift/config/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ include:
- sift.config.folders
- sift.config.salt-minion
- sift.config.samba
- sift.config.tools
#- .symlinks

sift-config:
Expand All @@ -17,4 +18,5 @@ sift-config:
- sls: sift.config.folders
- sls: sift.config.salt-minion
- sls: sift.config.samba
- sls: sift.config.tools

8 changes: 8 additions & 0 deletions sift/scripts/foremost.sls → sift/config/tools/foremost.sls
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
include:
- sift.packages.foremost

sift-scripts-foremost-config:
file.managed:
- name: /etc/foremost.conf
- source: salt://sift/files/foremost/foremost.conf
- required:
- pkg: foremost

sift-scripts-foremost-config-usr-local:
file.managed:
- name: /usr/local/etc/foremost.conf
- source: salt://sift/files/foremost/foremost.conf
- makedirs: True
- required:
- pkg: foremost
8 changes: 8 additions & 0 deletions sift/config/tools/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
include:
- sift.config.tools.foremost

sift-config-tools:
test.nop:
- name: sift-config-tools
- require:
- sls: sift.config.tools.foremost
2 changes: 1 addition & 1 deletion sift/scripts/keydet-tools.sls
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sift-scripts-keydet-tools-{{ file }}:
- name: /usr/local/bin/{{ file }}
- source: /usr/local/src/keydet-tools/source/{{ file }}
- mode: 755
- watch:
- require:
- git: sift-scripts-keydet-tools-git

sift-scripts-keydet-tools-shebang-{{ file }}:
Expand Down

0 comments on commit eb580fa

Please sign in to comment.