dust-deploy 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/changelog.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Changelog
2
2
  =============
3
3
 
4
+ 0.7.3
5
+ ------------
6
+
7
+ - fixes issue in node.get_home (errors when there were two similar usernames or two passwd entries for the same user)
8
+
4
9
  0.7.2
5
10
  ------------
6
11
 
data/lib/dust/server.rb CHANGED
@@ -515,7 +515,7 @@ module Dust
515
515
  options = default_options(:quiet => true).merge options
516
516
 
517
517
  Dust.print_msg "getting home directory of #{user}"
518
- ret = exec "getent passwd |grep '^#{user}' |cut -d':' -f6"
518
+ ret = exec "getent passwd |cut -d':' -f1,6 |grep '^#{user}' |head -n1 |cut -d: -f2"
519
519
  if Dust.print_result ret[:exit_code]
520
520
  return ret[:stdout].chomp
521
521
  else
data/lib/dust/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dust
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
9
- version: 0.7.2
8
+ - 3
9
+ version: 0.7.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - kris kechagia
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-02-09 00:00:00 +01:00
17
+ date: 2012-02-16 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency