A example/state/devtools.hcl => example/state/devtools.hcl +7 -0
@@ 0,0 1,7 @@
+pkg "tig" {
+ state = "latest"
+}
+
+pkg "git" {
+ state = "latest"
+}<
\ No newline at end of file
D example/state/nginx.hcl => example/state/nginx.hcl +0 -40
@@ 1,40 0,0 @@
-pkg "nginx" {
- state = "installed"
-
- notify = ["service:nginx:restart"]
-}
-
-pkg "nginx-prometheus-exporter" {
- # Specifying the "version" argument implies state = installed.
- # If state = latest, and version != "", then an error will be raised.
- version = "0.8.0-1"
-}
-
-file "/tmp/nesv.ca-index.html" {
- source = "https://nesv.ca"
- checksum = "sha256:51620ae7f20bbf4723ea9cff5af399a75cb51dee018e79558a587d46b6e5e5bc"
- user = "nesv"
- group = "users"
- mode = 0644
- state = "present"
-}
-
-file "nginx.conf" {
- src = "nginx.conf"
- dest = "/usr/local/etc/nginx.conf"
- user = "root"
- group = "wheel"
- mode = 0755
- foo = ["something,", "else"]
- float = 0.234234
- bool = false
-
- before = ["service:nginx"]
- after = ["pkg:nginx", "pkg:nginx-mod-geoip2"]
- notify = ["service:nginx:reload"]
-}
-
-service "nginx" {
- enabled = true
- state = "running"
-}
M example/state/utils.hcl => example/state/utils.hcl +0 -4
@@ 3,7 3,3 @@ pkg "htop" {}
pkg "neofetch" {
state = "latest"
}
-
-pkg "bashtop" {
- state = "latest"
-}