lib/testlab/provisioners/chef/ruby_gem_server.rb in testlab-0.9.1 vs lib/testlab/provisioners/chef/ruby_gem_server.rb in testlab-1.0.0

- old
+ new

@@ -21,18 +21,18 @@ @config[:chef][:server][:server_url] ||= "https://127.0.0.1" @ui.logger.debug { "config(#{@config.inspect})" } end - # RubyGemServer Provisioner Container Setup + # RubyGemServer: Container Provision # # Renders the defined script to a temporary file on the target container # and proceeds to execute said script as root via *lxc-attach*. # # @param [TestLab::Container] container The container which we want to # provision. # @return [Boolean] True if successful. - def on_container_setup(container) + def on_container_provision(container) rubygemserver_template = File.join(TestLab::Provisioner.template_dir, 'chef', 'ruby_gem_server.erb') config = {}.merge!({ :server_name => container.ip, :chef_solo_attributes => build_chef_solo_attributes(container),