This commit is contained in:
2024-04-30 07:08:23 +02:00
commit a711247971
2043 changed files with 16874 additions and 0 deletions

14
snippets/chef-mode/bash Normal file
View File

@@ -0,0 +1,14 @@
# -*- mode: snippet -*-
# name: bash
# key: bash
# --
bash "${1:install something}" do
user "${2:root}"
cwd "${3:/tmp}"
creates "${4:maybe}"
code <<-EOH
STATUS=0
$0 || STATUS=1
exit $STATUS
EOH
end