summaryrefslogtreecommitdiff
path: root/bashrc-sync.sls
diff options
context:
space:
mode:
authorCasper <me@skylarcloud.xyz>2024-12-18 15:21:28 -0700
committerCasper <me@skylarcloud.xyz>2024-12-18 15:21:28 -0700
commit1cb78494f3022fe9d808d070507bddf552c64753 (patch)
tree5c827daee442e211941bed7cc89decc95f8efbd7 /bashrc-sync.sls
Initial commit, new repo
Diffstat (limited to 'bashrc-sync.sls')
-rw-r--r--bashrc-sync.sls10
1 files changed, 10 insertions, 0 deletions
diff --git a/bashrc-sync.sls b/bashrc-sync.sls
new file mode 100644
index 0000000..56b0872
--- /dev/null
+++ b/bashrc-sync.sls
@@ -0,0 +1,10 @@
+'rm /home/skylar/.bashrc':
+ cmd.run
+/home/skylar/.bashrc:
+ file.managed:
+ - source: salt://dots/.bashrc
+'sudo rm /root/.bashrc':
+ cmd.run
+/root/.bashrc:
+ file.managed:
+ - source: salt://dots/.bashrc