specinfra 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/arch.rb +3 -2
- data/lib/specinfra/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c9edb68ddb9d1c95ed346b421987f807021df76
|
4
|
+
data.tar.gz: 36358464eef992dc3cf3364866e08a1c086f3555
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a6b515310a782d345ccc5dfde022a10befc47be8cf666c47f59db3e4270f44c20c3d3e1dfd2aa24ed4f3d8dd8059b41efb129c1a8776b69c1b8806e9a36efac
|
7
|
+
data.tar.gz: 16f450fc9ac2fb8cbf780705f91cd958ecf9285723f8236f1541dd72c20dd4caec20ed13631e44469805ae379545cbc6cb39031e2979f1a8142536fa98ffff3b
|
@@ -5,8 +5,9 @@ module SpecInfra
|
|
5
5
|
"runuser -s /bin/sh -c \"test -#{access} #{file}\" #{user}"
|
6
6
|
end
|
7
7
|
|
8
|
-
def check_enabled(service,
|
9
|
-
|
8
|
+
def check_enabled(service, level)
|
9
|
+
level = "multi-user.target" if level == 3
|
10
|
+
"systemctl --plain list-dependencies #{level} | grep '^#{escape(service)}.service$'"
|
10
11
|
end
|
11
12
|
|
12
13
|
def check_running(service)
|
data/lib/specinfra/version.rb
CHANGED