Created
October 26, 2010 23:48
-
-
Save tbatchelli/648105 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(comment | |
;; setting a bunch of attributes | |
(execute-task my-machine | |
(set-attributes-task | |
{:memory-size [(long 1024)] | |
:cpu-count [(long 2)] | |
:name ["A new name"]})) | |
;; getting a bunch of attributes | |
(execute-task my-machine | |
(get-attributes-task | |
[:memory-size | |
:cpu-count | |
:name ])) | |
;; --> {:memory-size 1024, :cpu-count 1, :name "CentOS Minimal"} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment