Sha256: 086332fd394509e28416ea3d07249dd7bf98b3bfcacb54049d1f9a0c130d6033

Contents?: true

Size: 571 Bytes

Versions: 7

Compression:

Stored size: 571 Bytes

Contents

include_recipe "bluepill"

# Boring
package "nc" do
  package_name case node['platform_family']
               when "debian"
                 "netcat"
               else
                 "nc"
               end
end

# This fake services uses Netcat to continuously send the secret
# (attribute) to the tcp_server_listen_port, which we bind in the test
template ::File.join(node['bluepill']['conf_dir'],
                     node['bluepill_test']['service_name'] + ".pill")

bluepill_service node['bluepill_test']['service_name'] do
  action [:enable, :load, :start]
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
server_maint-0.0.8 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.7 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.6 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.5 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.4 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.3 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb
server_maint-0.0.2 lib/cookbooks/bluepill/test/kitchen/cookbooks/bluepill_test/recipes/default.rb