Skip to content

Instantly share code, notes, and snippets.

@skeptomai
Created April 23, 2009 18:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save skeptomai/100681 to your computer and use it in GitHub Desktop.
Save skeptomai/100681 to your computer and use it in GitHub Desktop.
(require 'chef)
(resource :file "/tmp/foo"
:owner "cb"
:action :create)
(resource :file (concatenate 'string
"/tmp/"
(node-attributes :hostname)
"-made-with-lisp")
:action :create)
;; or
(file :path "/tmp/foo"
:owner "cb"
:action :create)
(file :path (concatenate 'string
"/tmp/"
(node-attributes :hostname)
"-made-with-lisp")
:action :create)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment