Skip to content

Commit 57c059a

Browse files
author
vagrant
committed
Initiated
0 parents  commit 57c059a

File tree

5 files changed

+26
-0
lines changed

5 files changed

+26
-0
lines changed

chef-client-running.pid

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9592

cookbooks/crondemo/recipes/default.rb

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
cron "log something" do
3+
action :create
4+
hour "*"
5+
minute "*"
6+
command "logger Hello!"
7+
end
8+
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
file "/tmp/helloworld.txt" do
3+
owner "vagrant"
4+
group "vagrant"
5+
mode 00544
6+
action :create
7+
content "Hello, Implementor!"
8+
end

node.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
{
3+
"run_list": [ "recipe[helloworld]" , "recipe[crondemo]"]
4+
}

solo.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
file_cache_path "/home/vagrant/chef"
3+
cookbook_path "/home/vagrant/chef/cookbooks"
4+
json_attribs "/home/vagrant/chef/node.json"
5+

0 commit comments

Comments
 (0)