Permalink
Browse files

update pallet version.

  • Loading branch information...
1 parent 46c01cf commit 306a24112899701afb77f6c41d9c602315358005 @sundbp sundbp committed Mar 21, 2013
Showing with 11 additions and 15 deletions.
  1. +6 −10 project.clj
  2. +5 −5 src/hetzner_crate/crate.clj
View
@@ -5,18 +5,14 @@
:url "http://boardintelligence.mit-license.org"}
:dependencies [[org.clojure/clojure "1.4.0"]
- [org.cloudhoist/pallet "0.8.0-alpha.8"]
+ [com.palletops/pallet "0.8.0-beta.5"]
[ch.qos.logback/logback-classic "1.0.7"]]
- :dev-dependencies [[org.cloudhoist/pallet "0.8.0-alpha.8" :type "test-jar"]
- [org.cloudhoist/pallet-lein "0.5.2"]]
+ :dev-dependencies [[com.palletops/pallet "0.8.0-beta.5" :type "test-jar"]
+ [com.palletops/pallet-lein "0.6.0-beta.7"]]
:profiles {:dev
- {:dependencies [[org.cloudhoist/pallet "0.8.0-alpha.8" :classifier "tests"]]
- :plugins [[org.cloudhoist/pallet-lein "0.5.2"]]}}
+ {:dependencies [[com.palletops/pallet "0.8.0-beta.5" :classifier "tests"]]
+ :plugins [[com.palletops/pallet-lein "0.6.0-beta.7"]]}}
- :local-repo-classpath true
-
- :repositories
- {"sonatype-snapshots" "https://oss.sonatype.org/content/repositories/snapshots"
- "sonatype" "https://oss.sonatype.org/content/repositories/releases/"})
+ :local-repo-classpath true)
@@ -14,7 +14,7 @@
(actions/remote-file "/etc/timezone" :content timezone)
(actions/exec-checked-script
"update time zone"
- (dpkg-reconfigure --frontend noninteractive tzdata)))
+ ("dpkg-reconfigure --frontend noninteractive tzdata")))
(defplan initial-setup
[]
@@ -31,17 +31,17 @@
(set-timezone timezone)
;; /etc/hosts and hostname
- (etc-hosts/host ip node-hostname)
+ (etc-hosts/add-host ip [node-hostname])
(if-not (nil? private-ip)
- (etc-hosts/host private-ip private-hostname))
+ (etc-hosts/add-host private-ip [private-hostname]))
(etc-hosts/hosts)
(etc-hosts/set-hostname)
;; rootpass
(actions/exec-checked-script
"change root passwd"
- (pipe (echo ~(format "root:%s" rootpass))
- (chpasswd)))
+ (pipe ("echo" ~(format "root:%s" rootpass))
+ ("chpasswd")))
;; admin user
(if (= admin-username "root")

0 comments on commit 306a241

Please sign in to comment.