Skip to content

Instantly share code, notes, and snippets.

@jtimberman
Forked from skeptomai/gist:100681
Created January 2, 2014 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtimberman/8227947 to your computer and use it in GitHub Desktop.
Save jtimberman/8227947 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