kitchen-sshgzip 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTkwMmNmYjA4MjliMjllOGEyNDIxZmZmNmI3NDkwNWFiZDdlZTAwNg==
4
+ MjMzZjMzM2IyYTgyNjJkZmEwMGJmNmIxOWU2ODhmZjNkOGNjNzc4MQ==
5
5
  data.tar.gz: !binary |-
6
- ZWNkNDhlNjM5NjhkOTRjZDgxODYwZDliNmRkZGMwMGNjMjhjM2M2Nw==
6
+ ZjM2Yzg4N2Q0YmFhOWQ4MjI3YTg3ZTJiN2RmMGViZWE2NWI0MmYxNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTNhOTFjZmRkYzNkYzExNzMxOTJhMTk2ZTU4ZjBmMDZkY2ZjMDVlMWY3MzA3
10
- YjgzY2JhYWQ3ZTVlNGU5YWY3MmY4ODAzNzZjNmQ3MWFjYzM4ZGMyZWMzMDc3
11
- MGYzOTI5NjhlMTI5ODlhMDBhYjkzYzgzODdiYjI1MTYwZWRiMmE=
9
+ NTA5YmNhZjllMTlhOTBlZjI5NzY3MmEzOGI2MzRiMzAzYWE4MmRlZTU0OWUy
10
+ MTNhMjgxZDlmNTEzMGI1MGFiZWRkMmMxZDBjNThkM2MwNTQzNzEwYjA4NDg2
11
+ ZTRmM2U3MTYzYzZiYWE0YmM1NzU0YjM0NjJhZjYxYWZiNzYyN2M=
12
12
  data.tar.gz: !binary |-
13
- OWY1NmI1MDlmZTdiZDVlOGJiZGUyOWNjNjhjZTJjMTVjMWM1NTNlMGI5OTk0
14
- M2Q3MjFmZTJjMDBhMWYxNzhhZGEzODdiYTk1YTE5NWUzYjIxZTE5YzA1YzU1
15
- M2YzYjQxYzM2NmE4ZTY2MmIxYmEyNDZlMzAzNmMwMWJiMmFmZjI=
13
+ NTg4ZTU3Y2I1NGMwNWY3YjJlYTRmNzgyNWM4YTYyZTUyYTJlOTk4MWQyMzY3
14
+ ZDI0NTYxMjBkODMxYWU0MWM5ZmE3NjQ0ZWZkYzVmZWEyY2Q0NmRjZTE1MDZh
15
+ NTAwY2EyNDU4YjE1OWZjOGUwYTM1MmRkYWQ1YmJkMjJiNmNkMWE=
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # kitchen-sshgzip
2
2
 
3
- Adds 2 new drivers to test-kitchen.
3
+ Adds 2 new drivers to test-kitchen
4
4
 
5
- * ssh_gzip - same as SSHBase, only dirs are gzipped and extracted for upload
5
+ * ssh_gzip - same as ssh_base, only dirs are gzipped and extracted for upload
6
6
  * digitalocean_gzip - same as digitalocean, only see above
7
7
 
8
8
  ## Installation
@@ -1,5 +1,5 @@
1
1
  module Kitchen
2
2
  module Sshgzip
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -8,6 +8,7 @@ module Kitchen
8
8
  if File.directory?(path)
9
9
  tmp_root = Dir.mktmpdir('gzipped_chef_upload')
10
10
  gzip_path = "#{tmp_root}/#{dir}.tar.gz"
11
+ info("Compressing #{dir} into #{dir}.tar.gz")
11
12
  system "cd #{path} && tar -zcf #{gzip_path} ."
12
13
  super(scp, gzip_path, "#{dir}.tar.gz")
13
14
  scp.session.exec! "cd #{chef_home} && mkdir #{dir} && " +
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-sshgzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxim Chernyak