Sha256: 8d756912b2fd52e4bfacaba4d9151f97fe972c212b3632a9ec7ee72c197b3cd2

Contents?: true

Size: 1.87 KB

Versions: 22

Compression:

Stored size: 1.87 KB

Contents

remote_file "/tmp/remote_file" do
  source "hello.txt"
end

remote_file "/tmp/remote_file_root" do
  user 'root'
  owner 'root'
  group 'root'
  source "hello.txt"
end

remote_file "/tmp/remote_file_another_ordinary" do
  user 'itamae'
  owner 'itamae'
  group 'itamae'
  source "hello.txt"
end

remote_file "/tmp/remote_file_another_ordinary_with_root" do
  user 'root'
  owner 'itamae'
  group 'itamae'
  source "hello.txt"
end

###

file "/tmp/file" do
  content "Hello World"
end

file "/tmp/file_root" do
  user 'root'
  owner 'root'
  group 'root'
  content 'Hello World'
end

file "/tmp/file_another_ordinary" do
  user 'itamae'
  owner 'itamae'
  group 'itamae'
  content 'Hello World'
end

file "/tmp/file_another_ordinary_with_root" do
  user 'root'
  owner 'itamae'
  group 'itamae'
  content 'Hello World'
end

###

template "/tmp/template" do
  source "hello.erb"
  variables goodbye: "Good bye"
end

template "/tmp/template_root" do
  user 'root'
  owner 'root'
  group 'root'
  source "hello.erb"
  variables goodbye: "Good bye"
end

template "/tmp/template_another_ordinary" do
  user 'itamae'
  owner 'itamae'
  group 'itamae'
  source "hello.erb"
  variables goodbye: "Good bye"
end

template "/tmp/template_another_ordinary_with_root" do
  user 'root'
  owner 'itamae'
  group 'itamae'
  source "hello.erb"
  variables goodbye: "Good bye"
end

###

http_request "/tmp/http_request.html" do
  url "https://httpbin.org/get?from=itamae"
end

http_request "/tmp/http_request_root.html" do
  user 'root'
  owner 'root'
  group 'root'
  url "https://httpbin.org/get?from=itamae"
end

http_request "/tmp/http_request_another_ordinary.html" do
  user 'itamae'
  owner 'itamae'
  group 'itamae'
  url "https://httpbin.org/get?from=itamae"
end

http_request "/tmp/http_request_another_ordinary_with_root.html" do
  user 'root'
  owner 'itamae'
  group 'itamae'
  url "https://httpbin.org/get?from=itamae"
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
itamae-1.14.1 spec/integration/recipes/ordinary_user.rb
itamae-1.14.0 spec/integration/recipes/ordinary_user.rb
itamae-1.13.1 spec/integration/recipes/ordinary_user.rb
itamae-1.13.0 spec/integration/recipes/ordinary_user.rb
itamae-1.12.6 spec/integration/recipes/ordinary_user.rb
itamae-1.12.5 spec/integration/recipes/ordinary_user.rb
itamae-1.12.4 spec/integration/recipes/ordinary_user.rb
itamae-1.12.3 spec/integration/recipes/ordinary_user.rb
itamae-1.12.2 spec/integration/recipes/ordinary_user.rb
itamae-1.12.1 spec/integration/recipes/ordinary_user.rb
itamae-1.12.0 spec/integration/recipes/ordinary_user.rb
itamae-1.11.2 spec/integration/recipes/ordinary_user.rb
itamae-1.11.1 spec/integration/recipes/ordinary_user.rb
itamae-1.11.0 spec/integration/recipes/ordinary_user.rb
itamae-1.10.10 spec/integration/recipes/ordinary_user.rb
itamae-1.10.9 spec/integration/recipes/ordinary_user.rb
itamae-1.10.8 spec/integration/recipes/ordinary_user.rb
itamae-1.10.7 spec/integration/recipes/ordinary_user.rb
itamae-1.10.6 spec/integration/recipes/ordinary_user.rb
itamae-1.10.5 spec/integration/recipes/ordinary_user.rb