chake 0.21 → 0.21.1

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
  SHA256:
3
- metadata.gz: b544948d3bed92300cf802576238123657d9680d02f8d0818af9f5455338dd03
4
- data.tar.gz: f88289df5779bfa5cd7381ee9822df1e327d6e8a8fa9c04ef9e13a54bf22c1fb
3
+ metadata.gz: 1373910a760de3cc3f1733d0bcb98371eb77558eeadbeb6ac1ba88fd188d2191
4
+ data.tar.gz: 54130617c3fae53a775f4dc0e627921dd40a78ad139587920a4c81f122ad7f70
5
5
  SHA512:
6
- metadata.gz: 1659eae4a58063af7e09212ea49c7f2a3c5ed1e5fb1d2839ff5854db10bc5f6b340fbde69a2da1a0e09347d7bf4189cb29fd6df6ae4c55511aa64c00cc0a848c
7
- data.tar.gz: 87201fc0b4850394ef52ae16209de2aca9b6364dccff43f20fc059e81d11990914c8af7eaa7f6e293ece8f3879fa7c55ad9f79588f77a3b5b0d45767bb460a36
6
+ metadata.gz: 196760910bcad1bac51aa41de8646a3b93ed3b13cfcefa11db8b0f411eb13c91f3f8c243121b41d3f04168b86eee574755b0df7615c1ab28e22022a572dbee49
7
+ data.tar.gz: 287c902a18ab1920aaa78dfa0d7154ef31590a1ccbe33e840ef751e9651203abf6ed0341cd4d2d3e118d20d26bdaf60b517c18e557a7c0e7f3c063f42b4e7dfc
@@ -1,3 +1,8 @@
1
+ # 0.21.1
2
+
3
+ * Fix converge when the connection is not already made as root. This bug was
4
+ introduced by the change in the previous release.
5
+
1
6
  # 0.21
2
7
 
3
8
  * converge, apply: allow removing data from the node JSON attributes
@@ -14,7 +14,7 @@
14
14
  <img src="./assets/0.11.0/loading.gif" alt="loading"/>
15
15
  </div>
16
16
  <div id="wrapper" style="display:none;">
17
- <div class="timestamp">Generated <abbr class="timeago" title="2020-03-22T00:26:48-03:00">2020-03-22T00:26:48-03:00</abbr></div>
17
+ <div class="timestamp">Generated <abbr class="timeago" title="2020-03-26T08:13:24-03:00">2020-03-26T08:13:24-03:00</abbr></div>
18
18
  <ul class="group_tabs"></ul>
19
19
 
20
20
  <div id="content">
@@ -0,0 +1,70 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # All Vagrant configuration is done below. The "2" in Vagrant.configure
5
+ # configures the configuration version (we support older styles for
6
+ # backwards compatibility). Please don't change it unless you know what
7
+ # you're doing.
8
+ Vagrant.configure('2') do |config|
9
+ # The most common configuration options are documented and commented below.
10
+ # For a complete reference, please see the online documentation at
11
+ # https://docs.vagrantup.com.
12
+
13
+ # Every Vagrant development environment requires a box. You can search for
14
+ # boxes at https://vagrantcloud.com/search.
15
+ config.vm.box = 'debian/buster64'
16
+
17
+ # Disable automatic box update checking. If you disable this, then
18
+ # boxes will only be checked for updates when the user runs
19
+ # `vagrant box outdated`. This is not recommended.
20
+ # config.vm.box_check_update = false
21
+
22
+ # Create a forwarded port mapping which allows access to a specific port
23
+ # within the machine from a port on the host machine. In the example below,
24
+ # accessing "localhost:8080" will access port 80 on the guest machine.
25
+ # NOTE: This will enable public access to the opened port
26
+ # config.vm.network "forwarded_port", guest: 80, host: 8080
27
+
28
+ # Create a forwarded port mapping which allows access to a specific port
29
+ # within the machine from a port on the host machine and only allow access
30
+ # via 127.0.0.1 to disable public access
31
+ # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"
32
+
33
+ # Create a private network, which allows host-only access to the machine
34
+ # using a specific IP.
35
+ # config.vm.network "private_network", ip: "192.168.33.10"
36
+
37
+ # Create a public network, which generally matched to bridged network.
38
+ # Bridged networks make the machine appear as another physical device on
39
+ # your network.
40
+ # config.vm.network "public_network"
41
+
42
+ # Share an additional folder to the guest VM. The first argument is
43
+ # the path on the host to the actual folder. The second argument is
44
+ # the path on the guest to mount the folder. And the optional third
45
+ # argument is a set of non-required options.
46
+ # config.vm.synced_folder "../data", "/vagrant_data"
47
+
48
+ # Provider-specific configuration so you can fine-tune various
49
+ # backing providers for Vagrant. These expose provider-specific options.
50
+ # Example for VirtualBox:
51
+ #
52
+ # config.vm.provider "virtualbox" do |vb|
53
+ # # Display the VirtualBox GUI when booting the machine
54
+ # vb.gui = true
55
+ #
56
+ # # Customize the amount of memory on the VM:
57
+ # vb.memory = "1024"
58
+ # end
59
+ #
60
+ # View the documentation for the provider you are using for more
61
+ # information on available options.
62
+
63
+ # Enable provisioning with a shell script. Additional provisioners such as
64
+ # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
65
+ # documentation for more information about their specific syntax and use.
66
+ # config.vm.provision "shell", inline: <<-SHELL
67
+ # apt-get update
68
+ # apt-get install -y apache2
69
+ # SHELL
70
+ end
@@ -0,0 +1 @@
1
+ package 'openssh-server'
@@ -0,0 +1,7 @@
1
+ vagrant@test.local:
2
+ #run_list:
3
+ #- recipe[example]
4
+ shell:
5
+ - touch /tmp/managed-with-shell
6
+ - date
7
+ - echo "123" > /tmp/output
@@ -0,0 +1,21 @@
1
+ #!/bin/sh
2
+ set -eu
3
+ hostname="$1"
4
+
5
+ echo "$hostname" > /etc/hostname
6
+ hostname --file /etc/hostname
7
+
8
+ fqdn=$(hostname --fqdn || true)
9
+ if [ "$fqdn" != "$hostname" ]; then
10
+ # if hostname is bar.example.com, we also want `bar` to be in /etc/hosts
11
+ short_hostname=$(echo "$hostname" | cut -d . -f 1)
12
+ if [ "$short_hostname" != "$hostname" ] && ! grep -q "\s${short_hostname}" /etc/hosts; then
13
+ hostname="$hostname $short_hostname"
14
+ fi
15
+ printf "127.0.1.1\t%s\n" "$hostname" >> /etc/hosts
16
+ fi
17
+
18
+ # Stop cloud-init from resetting the hostname
19
+ if [ -f /etc/cloud/cloud.cfg ]; then
20
+ sed -i -e '/^\s*-\s*\(set_hostname\|update_hostname\)/d' /etc/cloud/cloud.cfg
21
+ fi
@@ -0,0 +1,7 @@
1
+ {
2
+ "shell": [
3
+ "touch /tmp/managed-with-shell",
4
+ "date",
5
+ "echo \"123\" > /tmp/output"
6
+ ]
7
+ }
@@ -0,0 +1,9 @@
1
+ 4f452ef6c90f610fdd76153c42f97d0c81a0fda6 Rakefile
2
+ 428a0c70c33acf8021e2a73be706a120dd335f16 Vagrantfile
3
+ a70248580db38a6659bba1887c16ead12d8d2f6c config.rb
4
+ 4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 cookbooks/example/files/default/test
5
+ eff499adf0d95c839fc3050f3411f99a1180f487 cookbooks/example/files/host-lemur/test.asc
6
+ 4dc287355a2c39d0c1210181363c9bd526cadbe0 cookbooks/example/recipes/default.rb
7
+ 81608a9bda8f5c903d1fccb769ab98b6f6fc548d nodes.yaml
8
+ 606aca30bcc3daa3b6732db50c1e35b1980422d1 tmp/chake/test.local.bootstrap
9
+ bdc280e517bdf1550f31330a2114438fd352ff52 tmp/chake/test.local.json
@@ -216,13 +216,13 @@ Chake.nodes.each do |node|
216
216
  desc "converge #{hostname}"
217
217
  task "converge:#{hostname}" => converge_dependencies do
218
218
  chef_logging = Rake.application.options.silent && '-l fatal' || ''
219
- node.run_as_root "rm -f #{node.path}/nodes/*.json && chef-solo -c #{node.path}/#{Chake.chef_config} #{chef_logging} -j #{node.path}/#{Chake.tmpdir}/#{hostname}.json"
219
+ node.run_as_root "sh -c 'rm -f #{node.path}/nodes/*.json && chef-solo -c #{node.path}/#{Chake.chef_config} #{chef_logging} -j #{node.path}/#{Chake.tmpdir}/#{hostname}.json'"
220
220
  end
221
221
 
222
222
  desc 'apply <recipe> on #{hostname}'
223
223
  task "apply:#{hostname}", [:recipe] => [:recipe_input, :connect_common] do |task, args|
224
224
  chef_logging = Rake.application.options.silent && '-l fatal' || ''
225
- node.run_as_root "rm -f #{node.path}/nodes/*.json && chef-solo -c #{node.path}/#{Chake.chef_config} #{chef_logging} -j #{node.path}/#{Chake.tmpdir}/#{hostname}.json --override-runlist recipe[#{$recipe_to_apply}]"
225
+ node.run_as_root "sh -c 'rm -f #{node.path}/nodes/*.json && chef-solo -c #{node.path}/#{Chake.chef_config} #{chef_logging} -j #{node.path}/#{Chake.tmpdir}/#{hostname}.json --override-runlist recipe[#{$recipe_to_apply}]'"
226
226
  end
227
227
  task "apply:#{hostname}" => converge_dependencies
228
228
 
@@ -1,3 +1,3 @@
1
1
  module Chake
2
- VERSION = "0.21"
2
+ VERSION = "0.21.1"
3
3
  end
data/tags CHANGED
@@ -4,69 +4,100 @@
4
4
  !_TAG_PROGRAM_NAME Exuberant Ctags //
5
5
  !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
6
  !_TAG_PROGRAM_VERSION 5.9~svn20110310 //
7
- Backend lib/chake/backend.rb /^ class Backend < Struct.new(:node)$/;" c class:Chake
8
- Backend lib/chake/backend/local.rb /^ class Backend$/;" c class:Chake
9
- Backend lib/chake/backend/ssh.rb /^ class Backend$/;" c class:Chake
10
- Chake lib/chake/backend.rb /^module Chake$/;" m
11
- Chake lib/chake/backend/local.rb /^module Chake$/;" m
12
- Chake lib/chake/backend/ssh.rb /^module Chake$/;" m
7
+ AllFiles coverage/index.html /^ <a name="AllFiles"><\/a>$/;" a
13
8
  Chake lib/chake/config.rb /^module Chake$/;" m
9
+ Chake lib/chake/config_manager.rb /^module Chake$/;" m
10
+ Chake lib/chake/config_manager/chef.rb /^module Chake$/;" m
11
+ Chake lib/chake/config_manager/shell.rb /^module Chake$/;" m
12
+ Chake lib/chake/connection.rb /^module Chake$/;" m
13
+ Chake lib/chake/connection/local.rb /^module Chake$/;" m
14
+ Chake lib/chake/connection/ssh.rb /^module Chake$/;" m
14
15
  Chake lib/chake/node.rb /^module Chake$/;" m
15
16
  Chake lib/chake/readline.rb /^module Chake$/;" m
16
17
  Chake lib/chake/tmpdir.rb /^module Chake$/;" m
17
18
  Chake lib/chake/version.rb /^module Chake$/;" m
18
- CommandFailed lib/chake/backend.rb /^ class CommandFailed < Exception$/;" c class:Chake.Backend
19
+ Chef lib/chake/config_manager/chef.rb /^ class Chef < ConfigManager$/;" c class:Chake.ConfigManager
20
+ CommandFailed lib/chake/connection.rb /^ class CommandFailed < Exception$/;" c class:Chake.Connection
19
21
  Commands lib/chake/readline.rb /^ class Commands < Readline$/;" c class:Chake
20
- Local lib/chake/backend/local.rb /^ class Local < Backend$/;" c class:Chake.Backend
22
+ ConfigManager lib/chake/config_manager.rb /^ class ConfigManager$/;" c class:Chake
23
+ ConfigManager lib/chake/config_manager/chef.rb /^ class ConfigManager$/;" c class:Chake
24
+ ConfigManager lib/chake/config_manager/shell.rb /^ class ConfigManager$/;" c class:Chake
25
+ Connection lib/chake/connection.rb /^ class Connection < Struct.new(:node)$/;" c class:Chake
26
+ Connection lib/chake/connection/local.rb /^ class Connection$/;" c class:Chake
27
+ Connection lib/chake/connection/ssh.rb /^ class Connection$/;" c class:Chake
28
+ Local lib/chake/connection/local.rb /^ class Local < Connection$/;" c class:Chake.Connection
21
29
  Node lib/chake/node.rb /^ class Node$/;" c class:Chake
22
30
  Rake bin/chake /^class Rake::Application$/;" c
23
31
  Readline lib/chake/readline.rb /^ class Readline$/;" c class:Chake
24
32
  Recipes lib/chake/readline.rb /^ class Recipes < Readline$/;" c class:Chake
25
- Ssh lib/chake/backend/ssh.rb /^ class Ssh < Backend$/;" c class:Chake.Backend
26
- backend lib/chake/node.rb /^ def backend$/;" f class:Chake.Node
27
- backend_name lib/chake/backend.rb /^ def self.backend_name$/;" F class:Chake.Backend
28
- command_runner lib/chake/backend/local.rb /^ def command_runner$/;" f class:Chake.Backend.Local
29
- command_runner lib/chake/backend/ssh.rb /^ def command_runner$/;" f class:Chake.Backend.Ssh
33
+ Shell lib/chake/config_manager/shell.rb /^ class Shell < ConfigManager$/;" c class:Chake.ConfigManager
34
+ Ssh lib/chake/connection/ssh.rb /^ class Ssh < Connection$/;" c class:Chake.Connection
35
+ accept lib/chake/config_manager.rb /^ def self.accept?(node)$/;" F class:Chake.ConfigManager
36
+ accept lib/chake/config_manager/chef.rb /^ def self.accept?(node)$/;" F class:Chake.ConfigManager.Chef
37
+ accept lib/chake/config_manager/shell.rb /^ def self.accept?(node)$/;" F class:Chake.ConfigManager.Shell
38
+ apply lib/chake/config_manager.rb /^ def apply(config, silent = false)$/;" f class:Chake.ConfigManager
39
+ apply lib/chake/config_manager/chef.rb /^ def apply(config, silent = false)$/;" f class:Chake.ConfigManager.Chef
40
+ apply lib/chake/config_manager/shell.rb /^ def apply(config, silent = false)$/;" f class:Chake.ConfigManager.Shell
41
+ bootstrap_steps lib/chake/config_manager.rb /^ def bootstrap_steps$/;" f class:Chake.ConfigManager
42
+ command_runner lib/chake/connection/local.rb /^ def command_runner$/;" f class:Chake.Connection.Local
43
+ command_runner lib/chake/connection/ssh.rb /^ def command_runner$/;" f class:Chake.Connection.Ssh
44
+ config_manager lib/chake/node.rb /^ def config_manager$/;" f class:Chake.Node
45
+ connection lib/chake/node.rb /^ def connection$/;" f class:Chake.Node
46
+ connection_name lib/chake/connection.rb /^ def self.connection_name$/;" F class:Chake.Connection
47
+ converge lib/chake/config_manager.rb /^ def converge(silent = false)$/;" f class:Chake.ConfigManager
48
+ converge lib/chake/config_manager/chef.rb /^ def converge(silent = false)$/;" f class:Chake.ConfigManager.Chef
49
+ converge lib/chake/config_manager/shell.rb /^ def converge(silent = false)$/;" f class:Chake.ConfigManager.Shell
30
50
  encrypted_for lib/chake.rb /^def encrypted_for(node)$/;" f
31
51
  finish lib/chake/readline.rb /^ def finish$/;" f class:Chake.Readline
32
- get lib/chake/backend.rb /^ def self.get(name)$/;" F class:Chake.Backend
52
+ get lib/chake/config_manager.rb /^ def self.get(node)$/;" F class:Chake.ConfigManager
53
+ get lib/chake/connection.rb /^ def self.get(name)$/;" F class:Chake.Connection
33
54
  history lib/chake/readline.rb /^ def history$/;" f class:Chake.Readline
34
55
  history_file lib/chake/readline.rb /^ def history_file$/;" f class:Chake.Readline
35
56
  history_file lib/chake/readline.rb /^ def self.history_file$/;" F class:Chake.Commands
36
57
  history_file lib/chake/readline.rb /^ def self.history_file$/;" F class:Chake.Recipes
37
58
  if_files_changed lib/chake.rb /^def if_files_changed(node, group_name, files)$/;" f
38
- inherited lib/chake/backend.rb /^ def self.inherited(subclass)$/;" F class:Chake.Backend
59
+ inherited lib/chake/config_manager.rb /^ def self.inherited(klass)$/;" F class:Chake.ConfigManager
60
+ inherited lib/chake/connection.rb /^ def self.inherited(subclass)$/;" F class:Chake.Connection
39
61
  init lib/chake/readline.rb /^ def init$/;" f class:Chake.Readline
62
+ initialize lib/chake/config_manager.rb /^ def initialize(node)$/;" f class:Chake.ConfigManager
40
63
  initialize lib/chake/node.rb /^ def initialize(hostname, data = {})$/;" f class:Chake.Node
64
+ json_config lib/chake/config_manager/chef.rb /^ def json_config$/;" f class:Chake.ConfigManager.Chef
65
+ logging lib/chake/config_manager/chef.rb /^ def logging(silent)$/;" f class:Chake.ConfigManager.Chef
41
66
  max_node_name_length lib/chake/node.rb /^ def self.max_node_name_length$/;" F class:Chake.Node
42
67
  max_node_name_length lib/chake/node.rb /^ def self.max_node_name_length=(value)$/;" F class:Chake.Node
68
+ name lib/chake/config_manager.rb /^ def name$/;" f class:Chake.ConfigManager
69
+ path lib/chake/config_manager.rb /^ def path$/;" f class:Chake.ConfigManager
70
+ path lib/chake/node.rb /^ def path$/;" f class:Chake.Node
71
+ priority lib/chake/config_manager.rb /^ def self.priority(n = nil)$/;" F class:Chake.ConfigManager
43
72
  prompt lib/chake/readline.rb /^ def prompt$/;" f class:Chake.Readline
44
73
  prompt lib/chake/readline.rb /^ def self.prompt$/;" F class:Chake.Commands
45
74
  prompt lib/chake/readline.rb /^ def self.prompt$/;" F class:Chake.Recipes
46
75
  readline lib/chake/readline.rb /^ def readline$/;" f class:Chake.Readline
47
- rsync lib/chake/backend.rb /^ def rsync$/;" f class:Chake.Backend
48
- rsync lib/chake/backend/ssh.rb /^ def rsync$/;" f class:Chake.Backend.Ssh
49
- rsync_dest lib/chake/backend.rb /^ def rsync_dest$/;" f class:Chake.Backend
50
- rsync_dest lib/chake/backend/ssh.rb /^ def rsync_dest$/;" f class:Chake.Backend.Ssh
51
- rsync_ssh lib/chake/backend/ssh.rb /^ def rsync_ssh$/;" f class:Chake.Backend.Ssh
52
- run lib/chake/backend.rb /^ def run(cmd)$/;" f class:Chake.Backend
53
- run_as_root lib/chake/backend.rb /^ def run_as_root(cmd)$/;" f class:Chake.Backend
54
- run_shell lib/chake/backend.rb /^ def run_shell$/;" f class:Chake.Backend
55
- scp lib/chake/backend.rb /^ def scp$/;" f class:Chake.Backend
56
- scp lib/chake/backend/ssh.rb /^ def scp$/;" f class:Chake.Backend.Ssh
57
- scp_dest lib/chake/backend.rb /^ def scp_dest$/;" f class:Chake.Backend
58
- scp_dest lib/chake/backend/ssh.rb /^ def scp_dest$/;" f class:Chake.Backend.Ssh
59
- scp_options lib/chake/backend/ssh.rb /^ def scp_options$/;" f class:Chake.Backend.Ssh
60
- shell_command lib/chake/backend/local.rb /^ def shell_command$/;" f class:Chake.Backend.Local
61
- shell_command lib/chake/backend/ssh.rb /^ def shell_command$/;" f class:Chake.Backend.Ssh
62
- skip? lib/chake/backend.rb /^ def skip?$/;" f class:Chake.Backend
63
- skip? lib/chake/backend/local.rb /^ def skip?$/;" f class:Chake.Backend.Local
64
- ssh_config lib/chake/backend/ssh.rb /^ def ssh_config$/;" f class:Chake.Backend.Ssh
65
- ssh_config_file lib/chake/backend/ssh.rb /^ def ssh_config_file$/;" f class:Chake.Backend.Ssh
66
- ssh_options lib/chake/backend/ssh.rb /^ def ssh_options$/;" f class:Chake.Backend.Ssh
67
- ssh_prefix lib/chake/backend/ssh.rb /^ def ssh_prefix$/;" f class:Chake.Backend.Ssh
68
- ssh_target lib/chake/backend/ssh.rb /^ def ssh_target$/;" f class:Chake.Backend.Ssh
76
+ rsync lib/chake/connection.rb /^ def rsync$/;" f class:Chake.Connection
77
+ rsync lib/chake/connection/ssh.rb /^ def rsync$/;" f class:Chake.Connection.Ssh
78
+ rsync_dest lib/chake/connection.rb /^ def rsync_dest$/;" f class:Chake.Connection
79
+ rsync_dest lib/chake/connection/ssh.rb /^ def rsync_dest$/;" f class:Chake.Connection.Ssh
80
+ rsync_ssh lib/chake/connection/ssh.rb /^ def rsync_ssh$/;" f class:Chake.Connection.Ssh
81
+ run lib/chake/connection.rb /^ def run(cmd)$/;" f class:Chake.Connection
82
+ run_as_root lib/chake/connection.rb /^ def run_as_root(cmd)$/;" f class:Chake.Connection
83
+ run_shell lib/chake/connection.rb /^ def run_shell$/;" f class:Chake.Connection
84
+ scp lib/chake/connection.rb /^ def scp$/;" f class:Chake.Connection
85
+ scp lib/chake/connection/ssh.rb /^ def scp$/;" f class:Chake.Connection.Ssh
86
+ scp_dest lib/chake/connection.rb /^ def scp_dest$/;" f class:Chake.Connection
87
+ scp_dest lib/chake/connection/ssh.rb /^ def scp_dest$/;" f class:Chake.Connection.Ssh
88
+ scp_options lib/chake/connection/ssh.rb /^ def scp_options$/;" f class:Chake.Connection.Ssh
89
+ shell_command lib/chake/connection/local.rb /^ def shell_command$/;" f class:Chake.Connection.Local
90
+ shell_command lib/chake/connection/ssh.rb /^ def shell_command$/;" f class:Chake.Connection.Ssh
91
+ short_name lib/chake/config_manager.rb /^ def self.short_name$/;" F class:Chake.ConfigManager
92
+ skip? lib/chake/connection.rb /^ def skip?$/;" f class:Chake.Connection
93
+ skip? lib/chake/connection/local.rb /^ def skip?$/;" f class:Chake.Connection.Local
94
+ ssh_config lib/chake/connection/ssh.rb /^ def ssh_config$/;" f class:Chake.Connection.Ssh
95
+ ssh_config_file lib/chake/connection/ssh.rb /^ def ssh_config_file$/;" f class:Chake.Connection.Ssh
96
+ ssh_options lib/chake/connection/ssh.rb /^ def ssh_options$/;" f class:Chake.Connection.Ssh
97
+ ssh_prefix lib/chake/connection/ssh.rb /^ def ssh_prefix$/;" f class:Chake.Connection.Ssh
98
+ ssh_target lib/chake/connection/ssh.rb /^ def ssh_target$/;" f class:Chake.Connection.Ssh
69
99
  thread_pool bin/chake /^ def thread_pool # :nodoc:$/;" f class:Rake
70
100
  tmpdir lib/chake/tmpdir.rb /^ def self.tmpdir$/;" F class:Chake
71
- to_s lib/chake/backend.rb /^ def to_s$/;" f class:Chake.Backend
101
+ to_s lib/chake/config_manager.rb /^ def to_s$/;" f class:Chake.ConfigManager
102
+ to_s lib/chake/connection.rb /^ def to_s$/;" f class:Chake.Connection
72
103
  write_json_file lib/chake.rb /^def write_json_file(file, data)$/;" f
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chake
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.21'
4
+ version: 0.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antonio Terceiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-22 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,9 +126,16 @@ files:
126
126
  - coverage/assets/0.11.0/smoothness/images/ui-icons_cd0a0a_256x240.png
127
127
  - coverage/index.html
128
128
  - examples/test/Rakefile
129
+ - examples/test/Vagrantfile
129
130
  - examples/test/config.rb
131
+ - examples/test/cookbooks/basics/recipes/default.rb
132
+ - examples/test/cookbooks/example/files/default/test
130
133
  - examples/test/cookbooks/example/files/host-homer/test.asc
131
134
  - examples/test/cookbooks/example/recipes/default.rb
135
+ - examples/test/nodes.yaml
136
+ - examples/test/tmp/chake/test.local.bootstrap
137
+ - examples/test/tmp/chake/test.local.json
138
+ - examples/test/tmp/chake/test.local.plain.sha1sum
132
139
  - lib/chake.rb
133
140
  - lib/chake/backend.rb
134
141
  - lib/chake/backend/local.rb