gordon 0.0.19 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0791b1bd7bc5327593a6e37cdc185b0d13e8ea8
|
4
|
+
data.tar.gz: 59d54ac3399fa0d7a44a32f1f0c292f525d8cf10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f15e13158890ca69f6702916b594097c4d3dffd1c996431a9770371b46db024bab6fe811afbe50d9703c264456b67c40cbafc07618d0dea10b3142067c0e2a99
|
7
|
+
data.tar.gz: ed592c91f32be8160815aa9dde3ad7543191257680cc32b8f74b70fccf42d2585c9173fc41495fced2e9c7fb48b5b0c322e2b74a4df3614e185f89d6582adc62
|
@@ -9,7 +9,7 @@ module Gordon
|
|
9
9
|
set -e
|
10
10
|
|
11
11
|
/usr/bin/getent group #{env_vars.app_name} >/dev/null || /usr/sbin/groupadd --system #{env_vars.app_name};
|
12
|
-
/usr/bin/getent passwd #{env_vars.app_name} >/dev/null ||
|
12
|
+
/usr/bin/getent passwd #{env_vars.app_name} >/dev/null || /usr/sbin/useradd --system --gid #{env_vars.app_name} --home-dir #{home_path} --shell /sbin/nologin --comment "#{env_vars.app_description}" #{env_vars.app_name} >/dev/null || :;
|
13
13
|
__BASH
|
14
14
|
|
15
15
|
f.write(bash)
|
data/lib/gordon/version.rb
CHANGED
@@ -31,7 +31,7 @@ describe Gordon::Cookery::ApplicationUser do
|
|
31
31
|
set -e
|
32
32
|
|
33
33
|
/usr/bin/getent group #{env_vars.app_name} >/dev/null || /usr/sbin/groupadd --system #{env_vars.app_name};
|
34
|
-
/usr/bin/getent passwd #{env_vars.app_name} >/dev/null ||
|
34
|
+
/usr/bin/getent passwd #{env_vars.app_name} >/dev/null || /usr/sbin/useradd --system --gid #{env_vars.app_name} --home-dir #{home_path} --shell /sbin/nologin --comment "#{env_vars.app_description}" #{env_vars.app_name} >/dev/null || :;
|
35
35
|
__BASH
|
36
36
|
|
37
37
|
expect(file).to receive(:write).with(bash)
|