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: 81efdb32eb63d3c32d19d6f0b370dd5472aeffb9
4
- data.tar.gz: b9813b78b4dc15ab572efe8a211a93ed8d16a71c
3
+ metadata.gz: c0791b1bd7bc5327593a6e37cdc185b0d13e8ea8
4
+ data.tar.gz: 59d54ac3399fa0d7a44a32f1f0c292f525d8cf10
5
5
  SHA512:
6
- metadata.gz: 1ac8c858254d2c930b68d51a5b9a3673c272fd7163d8915b3ed469d14c8c642c0bc94c1a6efa3d7dc656829783ee975e88a12f96810ec70f142ee721d08c8045
7
- data.tar.gz: 0d20a12b9f5735ee0b66be1a91bf853d9de39af7ff40d03c638fc5441f9621d6e359f674ce499560cd9c081e45659d1cf14463a061f387bf0fda4d4a51328e74
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 || mkdir -p #{File.dirname(home_path)} ; /usr/sbin/useradd --system --gid #{env_vars.app_name} --home-dir #{home_path} --create-home --shell /sbin/nologin --comment "#{env_vars.app_description}" #{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)
@@ -1,3 +1,3 @@
1
1
  module Gordon
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
@@ -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 || mkdir -p #{File.dirname(home_path)} ; /usr/sbin/useradd --system --gid #{env_vars.app_name} --home-dir #{home_path} --create-home --shell /sbin/nologin --comment "#{env_vars.app_description}" #{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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gordon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Pinheiro