Sha256: e7b7d73c6fb7919f0aa239f2e4b24a52174b5f8d7453e276878eca3c65bd5975

Contents?: true

Size: 955 Bytes

Versions: 21

Compression:

Stored size: 955 Bytes

Contents

#
# Cookbook Name:: spec_examples
# Recipe:: default
#
# Copyright 2012, Opscode, Inc.
#

template "/tmp/foo" do
  variables({
    'phasers' => 'stun'
  })
  action :create
end

file "/tmp/foo" do
  action :touch
end

package "less" do
  action :install
end

package node['spec_examples']['pager'] do
  action :install
end

chipmunks = %w{alvin simon theodore}
chipmunks.each do |chipmunk|
  user chipmunk do
    action :create
  end
end

group "chipmunks" do
  members chipmunks
  action :create
end

%w{hard symbolic}.each do |link_type|
  link "/tmp/foo-#{link_type}" do
    to "/tmp/foo"
    link_type link_type
    action :create
  end
end

package "cron" do
  action :install
end

cron "noop" do
  hour "5"
  minute "0"
  command "/bin/true"
end

mount "/mnt" do
  pass 0
  fstype "tmpfs"
  device "/dev/null"
  options "nr_inodes=999k,mode=755,size=500m"
  action [:mount, :enable]
end

ifconfig "192.168.20.2" do
  device "eth0"
  action :add
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
minitest-chef-handler-1.1.0 examples/spec_examples/recipes/default.rb
minitest-chef-handler-1.0.3 examples/spec_examples/recipes/default.rb
minitest-chef-handler-1.0.2 examples/spec_examples/recipes/default.rb
minitest-chef-handler-1.0.1 examples/spec_examples/recipes/default.rb
minitest-chef-handler-1.0.0 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.9 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.8 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.7 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.6 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.5 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.4 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.3 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.2 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.1 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.6.0 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.5.4 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.5.3 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.5.2 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.5.1 examples/spec_examples/recipes/default.rb
minitest-chef-handler-0.5.0 examples/spec_examples/recipes/default.rb