Rakefile in itamae-plugin-recipe-consul-0.1.3 vs Rakefile in itamae-plugin-recipe-consul-0.1.4

- old
+ new

@@ -1,30 +2 @@ require "bundler/gem_tasks" -require "rspec/core/rake_task" - -task :spec => "spec:all" - -HOSTS = %w(centos65 centos70 debian8) - -namespace :spec do - task :all => HOSTS - - HOSTS.each do |host| - desc "Run serverspec to #{host}" - RSpec::Core::RakeTask.new(host.to_sym) do |t| - puts "Running tests to #{host} ..." - ENV["TARGET_HOST"] = host - t.pattern = "spec/**/*_spec.rb" - end - end -end - -namespace :itamae do - task :all => HOSTS - - HOSTS.each do |host| - desc "Run itamae to #{host}" - task host do - sh "itamae ssh --host=#{host} --vagrant --node-yaml=recipes/node.yml recipes/install.rb" - end - end -end