diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2015-07-31 14:43:53 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2015-07-31 14:43:53 -0700 |
commit | 85d3dfb6a361c774b6a1e4d4e437b836d5dd19cc (patch) | |
tree | 07d14077fccc95dd589bd793feabf77d0f94ebe1 /lib/chef | |
parent | 37efaeea757b266c37280df5b2d4857fa6967815 (diff) | |
download | chef-85d3dfb6a361c774b6a1e4d4e437b836d5dd19cc.tar.gz |
Revert back to the first argument being cookbook_name.
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/cookbook/synchronizer.rb | 2 | ||||
-rw-r--r-- | lib/chef/event_dispatch/base.rb | 2 | ||||
-rw-r--r-- | lib/chef/formatters/doc.rb | 2 | ||||
-rw-r--r-- | lib/chef/formatters/minimal.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/cookbook/synchronizer.rb b/lib/chef/cookbook/synchronizer.rb index 4979aabfdf..fc8e739d73 100644 --- a/lib/chef/cookbook/synchronizer.rb +++ b/lib/chef/cookbook/synchronizer.rb @@ -131,7 +131,7 @@ class Chef files_remaining_by_cookbook[file.cookbook] -= 1 if files_remaining_by_cookbook[file.cookbook] == 0 - @events.synchronized_cookbook(file.cookbook) + @events.synchronized_cookbook(file.cookbook.name, file.cookbook) end end diff --git a/lib/chef/event_dispatch/base.rb b/lib/chef/event_dispatch/base.rb index 7ed871145b..0ae5101029 100644 --- a/lib/chef/event_dispatch/base.rb +++ b/lib/chef/event_dispatch/base.rb @@ -119,7 +119,7 @@ class Chef end # Called when cookbook +cookbook+ has been sync'd - def synchronized_cookbook(cookbook) + def synchronized_cookbook(cookbook_name, cookbook) end # Called when an individual file in a cookbook has been updated diff --git a/lib/chef/formatters/doc.rb b/lib/chef/formatters/doc.rb index a40efb7298..a5d7e210c5 100644 --- a/lib/chef/formatters/doc.rb +++ b/lib/chef/formatters/doc.rb @@ -134,7 +134,7 @@ class Chef end # Called when cookbook +cookbook+ has been sync'd - def synchronized_cookbook(cookbook) + def synchronized_cookbook(cookbook_name, cookbook) puts_line "- #{cookbook.name} (#{cookbook.version})" end diff --git a/lib/chef/formatters/minimal.rb b/lib/chef/formatters/minimal.rb index 922a228f6e..3862951f76 100644 --- a/lib/chef/formatters/minimal.rb +++ b/lib/chef/formatters/minimal.rb @@ -110,7 +110,7 @@ class Chef end # Called when cookbook +cookbook+ has been sync'd - def synchronized_cookbook(cookbook) + def synchronized_cookbook(cookbook_name, cookbook) print "." end |