Skip to content

Instantly share code, notes, and snippets.

@davidsantiago
Created October 30, 2010 04:09
Show Gist options
  • Save davidsantiago/654931 to your computer and use it in GitHub Desktop.
Save davidsantiago/654931 to your computer and use it in GitHub Desktop.
2010-10-29 22:17:05,273 INFO [pallet.core] (Thread-1) apply-phase :after-configure for :the-server with 1 nodes
2010-10-29 22:19:25,130 DEBUG [pallet.main-invoker] (Thread-1) OS Mac OS X 10.6.4
2010-10-29 22:19:25,130 DEBUG [pallet.main-invoker] (Thread-1) Arch i386
2010-10-29 22:19:25,131 DEBUG [pallet.main-invoker] (Thread-1) Admin user david
2010-10-29 22:19:25,131 DEBUG [pallet.main-invoker] (Thread-1) private-key-path /Users/David/.ssh/id_rsa true
2010-10-29 22:19:25,131 DEBUG [pallet.main-invoker] (Thread-1) public-key-path /Users/David/.ssh/id_rsa.pub true
2010-10-29 22:19:25,132 DEBUG [pallet.main-invoker] (Thread-1) Running as null@null
2010-10-29 22:19:25,143 TRACE [pallet.core] (Thread-1) lift* phases []
2010-10-29 22:19:25,143 INFO [pallet.core] (Thread-1) retrieving nodes
2010-10-29 22:19:25,151 TRACE [pallet.core] (Thread-1) lift-nodes phases []
2010-10-29 22:19:25,167 TRACE [pallet.stevedore] (Thread-1) INVOKE make-temp-file("postgresql")
2010-10-29 22:19:25,168 TRACE [pallet.script] (Thread-1) invoke-target [:] make-temp-file (postgresql)
2010-10-29 22:19:25,168 TRACE [pallet.script] (Thread-1) Looking up script :make-temp-file with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:25,170 TRACE [pallet.script] (Thread-1) Found implementations (:default)
2010-10-29 22:19:25,170 TRACE [pallet.script] (Thread-1) Found implementation for make-temp-file - pallet.resource.file$eval7239$script_fn_for_make_temp_file__7240@14defcc invoking with (postgresql) empty? false
2010-10-29 22:19:25,170 TRACE [pallet.stevedore] (Thread-1) INVOKE mktemp((quoted "postgresqlXXXXX"))
2010-10-29 22:19:25,170 TRACE [pallet.script] (Thread-1) invoke-target [:] mktemp ((quoted "postgresqlXXXXX"))
2010-10-29 22:19:25,170 TRACE [pallet.script] (Thread-1) Looking up script :mktemp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:25,172 TRACE [pallet.stevedore] (Thread-1) INVOKE make-temp-file("postgresql")
2010-10-29 22:19:25,172 TRACE [pallet.script] (Thread-1) invoke-target [:] make-temp-file (postgresql)
2010-10-29 22:19:25,172 TRACE [pallet.script] (Thread-1) Looking up script :make-temp-file with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:25,172 TRACE [pallet.script] (Thread-1) Found implementations (:default)
2010-10-29 22:19:25,172 TRACE [pallet.script] (Thread-1) Found implementation for make-temp-file - pallet.resource.file$eval7239$script_fn_for_make_temp_file__7240@14defcc invoking with (postgresql) empty? false
2010-10-29 22:19:25,173 TRACE [pallet.stevedore] (Thread-1) INVOKE mktemp((quoted "postgresqlXXXXX"))
2010-10-29 22:19:25,173 TRACE [pallet.script] (Thread-1) invoke-target [:] mktemp ((quoted "postgresqlXXXXX"))
2010-10-29 22:19:25,173 TRACE [pallet.script] (Thread-1) Looking up script :mktemp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:25,176 INFO [pallet.core] (Thread-1) apply-phase :pre-configure for :the-server with 1 nodes
2010-10-29 22:19:27,009 INFO [pallet.core] (Thread-1) apply-phase :configure for :the-server with 1 nodes
2010-10-29 22:19:29,473 TRACE [pallet.stevedore] (Thread-1) INVOKE os-version-name
2010-10-29 22:19:29,473 TRACE [pallet.script] (Thread-1) invoke-target [:] os-version-name ()
2010-10-29 22:19:29,473 TRACE [pallet.script] (Thread-1) Looking up script :os-version-name with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,475 TRACE [pallet.script] (Thread-1) Found implementations (:default [#{:debian :ubuntu}])
2010-10-29 22:19:29,476 TRACE [pallet.script] (Thread-1) Found implementation for os-version-name - pallet.resource.hostinfo$eval7491$script_fn_for_os_version_name__7492@71a9f3 invoking with () empty? true
2010-10-29 22:19:29,476 TRACE [pallet.stevedore] (Thread-1) INVOKE lsb_release(-c -s)
2010-10-29 22:19:29,476 TRACE [pallet.script] (Thread-1) invoke-target [:] lsb_release (-c -s)
2010-10-29 22:19:29,476 TRACE [pallet.script] (Thread-1) Looking up script :lsb_release with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,476 TRACE [pallet.stevedore] (Thread-1) INVOKE backup-option
2010-10-29 22:19:29,476 TRACE [pallet.script] (Thread-1) invoke-target [:] backup-option ()
2010-10-29 22:19:29,476 TRACE [pallet.script] (Thread-1) Looking up script :backup-option with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,477 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,477 TRACE [pallet.script] (Thread-1) Found implementation for backup-option - pallet.resource.file$eval7205$script_fn_for_backup_option__7206@4c98f4 invoking with () empty? true
2010-10-29 22:19:29,478 TRACE [pallet.stevedore] (Thread-1) INVOKE mv(-f "--backup=numbered" "/etc/apt/sources.list.d/Partner.list.new" "/etc/apt/sources.list.d/Partner.list")
2010-10-29 22:19:29,478 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (-f --backup=numbered /etc/apt/sources.list.d/Partner.list.new /etc/apt/sources.list.d/Partner.list)
2010-10-29 22:19:29,478 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,478 TRACE [pallet.stevedore] (Thread-1) INVOKE mv("/etc/apt/sources.list.d/Partner.list.new" "/etc/apt/sources.list.d/Partner.list")
2010-10-29 22:19:29,478 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (/etc/apt/sources.list.d/Partner.list.new /etc/apt/sources.list.d/Partner.list)
2010-10-29 22:19:29,478 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,480 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum-verify("/etc/apt/sources.list.d/Partner.list.md5")
2010-10-29 22:19:29,480 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum-verify (/etc/apt/sources.list.d/Partner.list.md5)
2010-10-29 22:19:29,480 TRACE [pallet.script] (Thread-1) Looking up script :md5sum-verify with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,480 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] [#{:rhel :amzn-linux :centos}] :default)
2010-10-29 22:19:29,480 TRACE [pallet.script] (Thread-1) Found implementation for md5sum-verify - pallet.resource.file$eval7189$script_fn_for_md5sum_verify__7191@cdc69b invoking with (/etc/apt/sources.list.d/Partner.list.md5) empty? false
2010-10-29 22:19:29,482 TRACE [pallet.stevedore] (Thread-1) INVOKE diff(-u "/etc/apt/sources.list.d/Partner.list" "/etc/apt/sources.list.d/Partner.list.new")
2010-10-29 22:19:29,482 TRACE [pallet.script] (Thread-1) invoke-target [:] diff (-u /etc/apt/sources.list.d/Partner.list /etc/apt/sources.list.d/Partner.list.new)
2010-10-29 22:19:29,482 TRACE [pallet.script] (Thread-1) Looking up script :diff with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,483 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("Existing content did not match md5:")
2010-10-29 22:19:29,483 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (Existing content did not match md5:)
2010-10-29 22:19:29,483 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,484 TRACE [pallet.stevedore] (Thread-1) INVOKE exit(1)
2010-10-29 22:19:29,484 TRACE [pallet.script] (Thread-1) invoke-target [:] exit (1)
2010-10-29 22:19:29,484 TRACE [pallet.script] (Thread-1) Looking up script :exit with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,485 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum("/etc/apt/sources.list.d/Partner.list")
2010-10-29 22:19:29,485 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum (/etc/apt/sources.list.d/Partner.list)
2010-10-29 22:19:29,485 TRACE [pallet.script] (Thread-1) Looking up script :md5sum with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,485 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,485 TRACE [pallet.script] (Thread-1) Found implementation for md5sum - pallet.resource.file$eval7177$script_fn_for_md5sum__7179@7ac7c5 invoking with (/etc/apt/sources.list.d/Partner.list) empty? false
2010-10-29 22:19:29,485 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("MD5 sum is" (clojure.core/deref (cat "/etc/apt/sources.list.d/Partner.list.md5")))
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (MD5 sum is (clojure.core/deref (cat "/etc/apt/sources.list.d/Partner.list.md5")))
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,486 TRACE [pallet.stevedore] (Thread-1) INVOKE cat("/etc/apt/sources.list.d/Partner.list.md5")
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) invoke-target [:] cat (/etc/apt/sources.list.d/Partner.list.md5)
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) Looking up script :cat with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,486 TRACE [pallet.stevedore] (Thread-1) INVOKE ls(-t (str "/etc/apt/sources.list.d/Partner.list" ".~[0-9]*~"))
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) invoke-target [:] ls (-t (str "/etc/apt/sources.list.d/Partner.list" ".~[0-9]*~"))
2010-10-29 22:19:29,486 TRACE [pallet.script] (Thread-1) Looking up script :ls with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,487 TRACE [pallet.stevedore] (Thread-1) INVOKE tail(-n "+6")
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) invoke-target [:] tail (-n +6)
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) Looking up script :tail with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,487 TRACE [pallet.stevedore] (Thread-1) INVOKE xargs(rm -f)
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) invoke-target [:] xargs (rm -f)
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) Looking up script :xargs with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,487 TRACE [pallet.stevedore] (Thread-1) INVOKE install-package("python-software-properties")
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) invoke-target [:] install-package (python-software-properties)
2010-10-29 22:19:29,487 TRACE [pallet.script] (Thread-1) Looking up script :install-package with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,488 TRACE [pallet.script] (Thread-1) Found implementations ([#{:brew}] [#{:pacman}] [#{:zypper}] [#{:yum}] [#{:aptitude}] [#{:no-packages} #{:no-packages}])
2010-10-29 22:19:29,488 TRACE [pallet.script] (Thread-1) Found implementation for install-package - pallet.resource.package$eval7614$script_fn_for_install_package__7615@d17274 invoking with (python-software-properties) empty? false
2010-10-29 22:19:29,488 TRACE [pallet.stevedore] (Thread-1) INVOKE aptitude(install -q -y "" "python-software-properties" "&&" aptitude show "python-software-properties")
2010-10-29 22:19:29,488 TRACE [pallet.script] (Thread-1) invoke-target [:] aptitude (install -q -y python-software-properties && aptitude show python-software-properties)
2010-10-29 22:19:29,488 TRACE [pallet.script] (Thread-1) Looking up script :aptitude with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,489 TRACE [pallet.stevedore] (Thread-1) INVOKE add-apt-repository("ppa:pitti/postgresql")
2010-10-29 22:19:29,489 TRACE [pallet.script] (Thread-1) invoke-target [:] add-apt-repository (ppa:pitti/postgresql)
2010-10-29 22:19:29,489 TRACE [pallet.script] (Thread-1) Looking up script :add-apt-repository with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,490 TRACE [pallet.stevedore] (Thread-1) INVOKE mktemp(-t addscopeXXXX)
2010-10-29 22:19:29,490 TRACE [pallet.script] (Thread-1) invoke-target [:] mktemp (-t addscopeXXXX)
2010-10-29 22:19:29,490 TRACE [pallet.script] (Thread-1) Looking up script :mktemp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,490 TRACE [pallet.stevedore] (Thread-1) INVOKE cp("-p" "/etc/apt/sources.list" (clojure.core/deref tmpfile))
2010-10-29 22:19:29,490 TRACE [pallet.script] (Thread-1) invoke-target [:] cp (-p /etc/apt/sources.list (clojure.core/deref tmpfile))
2010-10-29 22:19:29,490 TRACE [pallet.script] (Thread-1) Looking up script :cp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,491 TRACE [pallet.stevedore] (Thread-1) INVOKE awk("'{if ($1 ~" "/^deb.*/" "&& !" "/universe/" " ) print $0 \" \" \"" "universe" "\" ; else print; }' " "/etc/apt/sources.list" " > " (clojure.core/deref tmpfile) " && mv -f" (clojure.core/deref tmpfile) "/etc/apt/sources.list")
2010-10-29 22:19:29,491 TRACE [pallet.script] (Thread-1) invoke-target [:] awk ('{if ($1 ~ /^deb.*/ && ! /universe/ ) print $0 " " " universe " ; else print; }' /etc/apt/sources.list > (clojure.core/deref tmpfile) && mv -f (clojure.core/deref tmpfile) /etc/apt/sources.list)
2010-10-29 22:19:29,491 TRACE [pallet.script] (Thread-1) Looking up script :awk with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,491 TRACE [pallet.stevedore] (Thread-1) INVOKE mktemp(-t addscopeXXXX)
2010-10-29 22:19:29,491 TRACE [pallet.script] (Thread-1) invoke-target [:] mktemp (-t addscopeXXXX)
2010-10-29 22:19:29,491 TRACE [pallet.script] (Thread-1) Looking up script :mktemp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,492 TRACE [pallet.stevedore] (Thread-1) INVOKE cp("-p" "/etc/apt/sources.list" (clojure.core/deref tmpfile))
2010-10-29 22:19:29,492 TRACE [pallet.script] (Thread-1) invoke-target [:] cp (-p /etc/apt/sources.list (clojure.core/deref tmpfile))
2010-10-29 22:19:29,492 TRACE [pallet.script] (Thread-1) Looking up script :cp with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,492 TRACE [pallet.stevedore] (Thread-1) INVOKE awk("'{if ($1 ~" "/^deb.*/" "&& !" "/multiverse/" " ) print $0 \" \" \"" "multiverse" "\" ; else print; }' " "/etc/apt/sources.list" " > " (clojure.core/deref tmpfile) " && mv -f" (clojure.core/deref tmpfile) "/etc/apt/sources.list")
2010-10-29 22:19:29,492 TRACE [pallet.script] (Thread-1) invoke-target [:] awk ('{if ($1 ~ /^deb.*/ && ! /multiverse/ ) print $0 " " " multiverse " ; else print; }' /etc/apt/sources.list > (clojure.core/deref tmpfile) && mv -f (clojure.core/deref tmpfile) /etc/apt/sources.list)
2010-10-29 22:19:29,492 TRACE [pallet.script] (Thread-1) Looking up script :awk with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,492 TRACE [pallet.stevedore] (Thread-1) INVOKE update-package-list
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) invoke-target [:] update-package-list ()
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) Looking up script :update-package-list with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) Found implementations ([#{:brew}] [#{:pacman}] [#{:zypper}] [#{:yum}] [#{:aptitude}] [#{:no-packages} #{:no-packages}])
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) Found implementation for update-package-list - pallet.resource.package$eval7610$script_fn_for_update_package_list__7611@c7b3a3 invoking with () empty? true
2010-10-29 22:19:29,493 TRACE [pallet.stevedore] (Thread-1) INVOKE aptitude(update "")
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) invoke-target [:] aptitude (update )
2010-10-29 22:19:29,493 TRACE [pallet.script] (Thread-1) Looking up script :aptitude with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,494 TRACE [pallet.stevedore] (Thread-1) INVOKE debconf-set-selections("sun-java6-bin shared/present-sun-dlj-v1-1 note" "sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true")
2010-10-29 22:19:29,494 TRACE [pallet.script] (Thread-1) invoke-target [:] debconf-set-selections (sun-java6-bin shared/present-sun-dlj-v1-1 note sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true)
2010-10-29 22:19:29,494 TRACE [pallet.script] (Thread-1) Looking up script :debconf-set-selections with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,494 TRACE [pallet.script] (Thread-1) Found implementations ([#{:aptitude}] :default)
2010-10-29 22:19:29,494 TRACE [pallet.script] (Thread-1) Found implementation for debconf-set-selections - pallet.resource.package$eval7715$script_fn_for_debconf_set_selections__7716@e2a846 invoking with (sun-java6-bin shared/present-sun-dlj-v1-1 note sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true) empty? false
2010-10-29 22:19:29,495 TRACE [pallet.stevedore] (Thread-1) INVOKE debconf-set-selections("sun-java6-jdk shared/present-sun-dlj-v1-1 note" "sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true")
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) invoke-target [:] debconf-set-selections (sun-java6-jdk shared/present-sun-dlj-v1-1 note sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true)
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) Looking up script :debconf-set-selections with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) Found implementations ([#{:aptitude}] :default)
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) Found implementation for debconf-set-selections - pallet.resource.package$eval7715$script_fn_for_debconf_set_selections__7716@e2a846 invoking with (sun-java6-jdk shared/present-sun-dlj-v1-1 note sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true) empty? false
2010-10-29 22:19:29,495 TRACE [pallet.stevedore] (Thread-1) INVOKE update-package-list
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) invoke-target [:] update-package-list ()
2010-10-29 22:19:29,495 TRACE [pallet.script] (Thread-1) Looking up script :update-package-list with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,496 TRACE [pallet.script] (Thread-1) Found implementations ([#{:brew}] [#{:pacman}] [#{:zypper}] [#{:yum}] [#{:aptitude}] [#{:no-packages} #{:no-packages}])
2010-10-29 22:19:29,496 TRACE [pallet.script] (Thread-1) Found implementation for update-package-list - pallet.resource.package$eval7610$script_fn_for_update_package_list__7611@c7b3a3 invoking with () empty? true
2010-10-29 22:19:29,496 TRACE [pallet.stevedore] (Thread-1) INVOKE aptitude(update "")
2010-10-29 22:19:29,496 TRACE [pallet.script] (Thread-1) invoke-target [:] aptitude (update )
2010-10-29 22:19:29,496 TRACE [pallet.script] (Thread-1) Looking up script :aptitude with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,498 TRACE [pallet.stevedore] (Thread-1) INVOKE package-manager-non-interactive
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) invoke-target [:] package-manager-non-interactive ()
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Looking up script :package-manager-non-interactive with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Found implementations ([#{:aptitude}] :default)
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Found implementation for package-manager-non-interactive - pallet.resource.package$eval7724$script_fn_for_package_manager_non_interactive__7725@10d1c98 invoking with () empty? true
2010-10-29 22:19:29,498 TRACE [pallet.stevedore] (Thread-1) INVOKE debconf-set-selections("debconf debconf/frontend select noninteractive" "debconf debconf/frontend seen false")
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) invoke-target [:] debconf-set-selections (debconf debconf/frontend select noninteractive debconf debconf/frontend seen false)
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Looking up script :debconf-set-selections with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Found implementations ([#{:aptitude}] :default)
2010-10-29 22:19:29,498 TRACE [pallet.script] (Thread-1) Found implementation for debconf-set-selections - pallet.resource.package$eval7715$script_fn_for_debconf_set_selections__7716@e2a846 invoking with (debconf debconf/frontend select noninteractive debconf debconf/frontend seen false) empty? false
2010-10-29 22:19:29,501 TRACE [pallet.stevedore] (Thread-1) INVOKE aptitude(install -q -y "sun-java6-bin+ sun-java6-jdk+ postgresql-9.0+")
2010-10-29 22:19:29,501 TRACE [pallet.script] (Thread-1) invoke-target [:] aptitude (install -q -y sun-java6-bin+ sun-java6-jdk+ postgresql-9.0+)
2010-10-29 22:19:29,501 TRACE [pallet.script] (Thread-1) Looking up script :aptitude with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,502 TRACE [pallet.stevedore] (Thread-1) INVOKE backup-option
2010-10-29 22:19:29,502 TRACE [pallet.script] (Thread-1) invoke-target [:] backup-option ()
2010-10-29 22:19:29,502 TRACE [pallet.script] (Thread-1) Looking up script :backup-option with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,502 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,502 TRACE [pallet.script] (Thread-1) Found implementation for backup-option - pallet.resource.file$eval7205$script_fn_for_backup_option__7206@4c98f4 invoking with () empty? true
2010-10-29 22:19:29,503 TRACE [pallet.stevedore] (Thread-1) INVOKE mv(-f "--backup=numbered" "/etc/postgresql/9.0/main/pg_hba.conf.new" "/etc/postgresql/9.0/main/pg_hba.conf")
2010-10-29 22:19:29,503 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (-f --backup=numbered /etc/postgresql/9.0/main/pg_hba.conf.new /etc/postgresql/9.0/main/pg_hba.conf)
2010-10-29 22:19:29,503 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,503 TRACE [pallet.stevedore] (Thread-1) INVOKE mv("/etc/postgresql/9.0/main/pg_hba.conf.new" "/etc/postgresql/9.0/main/pg_hba.conf")
2010-10-29 22:19:29,503 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (/etc/postgresql/9.0/main/pg_hba.conf.new /etc/postgresql/9.0/main/pg_hba.conf)
2010-10-29 22:19:29,503 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,503 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum-verify("/etc/postgresql/9.0/main/pg_hba.conf.md5")
2010-10-29 22:19:29,503 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum-verify (/etc/postgresql/9.0/main/pg_hba.conf.md5)
2010-10-29 22:19:29,504 TRACE [pallet.script] (Thread-1) Looking up script :md5sum-verify with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,504 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] [#{:rhel :amzn-linux :centos}] :default)
2010-10-29 22:19:29,504 TRACE [pallet.script] (Thread-1) Found implementation for md5sum-verify - pallet.resource.file$eval7189$script_fn_for_md5sum_verify__7191@cdc69b invoking with (/etc/postgresql/9.0/main/pg_hba.conf.md5) empty? false
2010-10-29 22:19:29,504 TRACE [pallet.stevedore] (Thread-1) INVOKE diff(-u "/etc/postgresql/9.0/main/pg_hba.conf" "/etc/postgresql/9.0/main/pg_hba.conf.new")
2010-10-29 22:19:29,504 TRACE [pallet.script] (Thread-1) invoke-target [:] diff (-u /etc/postgresql/9.0/main/pg_hba.conf /etc/postgresql/9.0/main/pg_hba.conf.new)
2010-10-29 22:19:29,504 TRACE [pallet.script] (Thread-1) Looking up script :diff with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,505 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("Existing content did not match md5:")
2010-10-29 22:19:29,505 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (Existing content did not match md5:)
2010-10-29 22:19:29,505 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,505 TRACE [pallet.stevedore] (Thread-1) INVOKE exit(1)
2010-10-29 22:19:29,505 TRACE [pallet.script] (Thread-1) invoke-target [:] exit (1)
2010-10-29 22:19:29,505 TRACE [pallet.script] (Thread-1) Looking up script :exit with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,506 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum("/etc/postgresql/9.0/main/pg_hba.conf")
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum (/etc/postgresql/9.0/main/pg_hba.conf)
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) Looking up script :md5sum with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) Found implementation for md5sum - pallet.resource.file$eval7177$script_fn_for_md5sum__7179@7ac7c5 invoking with (/etc/postgresql/9.0/main/pg_hba.conf) empty? false
2010-10-29 22:19:29,506 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("MD5 sum is" (clojure.core/deref (cat "/etc/postgresql/9.0/main/pg_hba.conf.md5")))
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (MD5 sum is (clojure.core/deref (cat "/etc/postgresql/9.0/main/pg_hba.conf.md5")))
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,506 TRACE [pallet.stevedore] (Thread-1) INVOKE cat("/etc/postgresql/9.0/main/pg_hba.conf.md5")
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) invoke-target [:] cat (/etc/postgresql/9.0/main/pg_hba.conf.md5)
2010-10-29 22:19:29,506 TRACE [pallet.script] (Thread-1) Looking up script :cat with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,507 TRACE [pallet.stevedore] (Thread-1) INVOKE ls(-t (str "/etc/postgresql/9.0/main/pg_hba.conf" ".~[0-9]*~"))
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) invoke-target [:] ls (-t (str "/etc/postgresql/9.0/main/pg_hba.conf" ".~[0-9]*~"))
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) Looking up script :ls with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,507 TRACE [pallet.stevedore] (Thread-1) INVOKE tail(-n "+6")
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) invoke-target [:] tail (-n +6)
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) Looking up script :tail with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,507 TRACE [pallet.stevedore] (Thread-1) INVOKE xargs(rm -f)
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) invoke-target [:] xargs (rm -f)
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) Looking up script :xargs with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,507 TRACE [pallet.stevedore] (Thread-1) INVOKE backup-option
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) invoke-target [:] backup-option ()
2010-10-29 22:19:29,507 TRACE [pallet.script] (Thread-1) Looking up script :backup-option with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) Found implementation for backup-option - pallet.resource.file$eval7205$script_fn_for_backup_option__7206@4c98f4 invoking with () empty? true
2010-10-29 22:19:29,508 TRACE [pallet.stevedore] (Thread-1) INVOKE mv(-f "--backup=numbered" "/etc/postgresql/9.0/main/postgresql.conf.new" "/etc/postgresql/9.0/main/postgresql.conf")
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (-f --backup=numbered /etc/postgresql/9.0/main/postgresql.conf.new /etc/postgresql/9.0/main/postgresql.conf)
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,508 TRACE [pallet.stevedore] (Thread-1) INVOKE mv("/etc/postgresql/9.0/main/postgresql.conf.new" "/etc/postgresql/9.0/main/postgresql.conf")
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (/etc/postgresql/9.0/main/postgresql.conf.new /etc/postgresql/9.0/main/postgresql.conf)
2010-10-29 22:19:29,508 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,508 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum-verify("/etc/postgresql/9.0/main/postgresql.conf.md5")
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum-verify (/etc/postgresql/9.0/main/postgresql.conf.md5)
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) Looking up script :md5sum-verify with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] [#{:rhel :amzn-linux :centos}] :default)
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) Found implementation for md5sum-verify - pallet.resource.file$eval7189$script_fn_for_md5sum_verify__7191@cdc69b invoking with (/etc/postgresql/9.0/main/postgresql.conf.md5) empty? false
2010-10-29 22:19:29,509 TRACE [pallet.stevedore] (Thread-1) INVOKE diff(-u "/etc/postgresql/9.0/main/postgresql.conf" "/etc/postgresql/9.0/main/postgresql.conf.new")
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) invoke-target [:] diff (-u /etc/postgresql/9.0/main/postgresql.conf /etc/postgresql/9.0/main/postgresql.conf.new)
2010-10-29 22:19:29,509 TRACE [pallet.script] (Thread-1) Looking up script :diff with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,510 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("Existing content did not match md5:")
2010-10-29 22:19:29,510 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (Existing content did not match md5:)
2010-10-29 22:19:29,510 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,510 TRACE [pallet.stevedore] (Thread-1) INVOKE exit(1)
2010-10-29 22:19:29,510 TRACE [pallet.script] (Thread-1) invoke-target [:] exit (1)
2010-10-29 22:19:29,510 TRACE [pallet.script] (Thread-1) Looking up script :exit with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,511 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum("/etc/postgresql/9.0/main/postgresql.conf")
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum (/etc/postgresql/9.0/main/postgresql.conf)
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) Looking up script :md5sum with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) Found implementation for md5sum - pallet.resource.file$eval7177$script_fn_for_md5sum__7179@7ac7c5 invoking with (/etc/postgresql/9.0/main/postgresql.conf) empty? false
2010-10-29 22:19:29,511 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("MD5 sum is" (clojure.core/deref (cat "/etc/postgresql/9.0/main/postgresql.conf.md5")))
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (MD5 sum is (clojure.core/deref (cat "/etc/postgresql/9.0/main/postgresql.conf.md5")))
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,511 TRACE [pallet.stevedore] (Thread-1) INVOKE cat("/etc/postgresql/9.0/main/postgresql.conf.md5")
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) invoke-target [:] cat (/etc/postgresql/9.0/main/postgresql.conf.md5)
2010-10-29 22:19:29,511 TRACE [pallet.script] (Thread-1) Looking up script :cat with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,512 TRACE [pallet.stevedore] (Thread-1) INVOKE ls(-t (str "/etc/postgresql/9.0/main/postgresql.conf" ".~[0-9]*~"))
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) invoke-target [:] ls (-t (str "/etc/postgresql/9.0/main/postgresql.conf" ".~[0-9]*~"))
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) Looking up script :ls with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,512 TRACE [pallet.stevedore] (Thread-1) INVOKE tail(-n "+6")
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) invoke-target [:] tail (-n +6)
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) Looking up script :tail with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,512 TRACE [pallet.stevedore] (Thread-1) INVOKE xargs(rm -f)
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) invoke-target [:] xargs (rm -f)
2010-10-29 22:19:29,512 TRACE [pallet.script] (Thread-1) Looking up script :xargs with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,512 TRACE [pallet.stevedore] (Thread-1) INVOKE mv(-f "" "${psql_commands}.new" "${psql_commands}")
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (-f ${psql_commands}.new ${psql_commands})
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,513 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum("${psql_commands}")
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum (${psql_commands})
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) Looking up script :md5sum with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) Found implementation for md5sum - pallet.resource.file$eval7177$script_fn_for_md5sum__7179@7ac7c5 invoking with (${psql_commands}) empty? false
2010-10-29 22:19:29,513 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("MD5 sum is" (clojure.core/deref (cat "${psql_commands}.md5")))
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (MD5 sum is (clojure.core/deref (cat "${psql_commands}.md5")))
2010-10-29 22:19:29,513 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,514 TRACE [pallet.stevedore] (Thread-1) INVOKE cat("${psql_commands}.md5")
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) invoke-target [:] cat (${psql_commands}.md5)
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) Looking up script :cat with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,514 TRACE [pallet.stevedore] (Thread-1) INVOKE backup-option
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) invoke-target [:] backup-option ()
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) Looking up script :backup-option with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,514 TRACE [pallet.script] (Thread-1) Found implementation for backup-option - pallet.resource.file$eval7205$script_fn_for_backup_option__7206@4c98f4 invoking with () empty? true
2010-10-29 22:19:29,517 TRACE [pallet.stevedore] (Thread-1) INVOKE rm("${psql_commands}" {})
2010-10-29 22:19:29,517 TRACE [pallet.script] (Thread-1) invoke-target [:] rm (${psql_commands} {})
2010-10-29 22:19:29,517 TRACE [pallet.script] (Thread-1) Looking up script :rm with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,517 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,518 TRACE [pallet.script] (Thread-1) Found implementation for rm - pallet.resource.file$eval7147$script_fn_for_rm__7148@14eb00a invoking with (${psql_commands} {}) empty? false
2010-10-29 22:19:29,518 TRACE [pallet.stevedore] (Thread-1) INVOKE mv(-f "" "${psql_commands}.new" "${psql_commands}")
2010-10-29 22:19:29,518 TRACE [pallet.script] (Thread-1) invoke-target [:] mv (-f ${psql_commands}.new ${psql_commands})
2010-10-29 22:19:29,518 TRACE [pallet.script] (Thread-1) Looking up script :mv with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,518 TRACE [pallet.stevedore] (Thread-1) INVOKE md5sum("${psql_commands}")
2010-10-29 22:19:29,518 TRACE [pallet.script] (Thread-1) invoke-target [:] md5sum (${psql_commands})
2010-10-29 22:19:29,518 TRACE [pallet.script] (Thread-1) Looking up script :md5sum with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) Found implementations ([#{:os-x :darwin}] :default)
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) Found implementation for md5sum - pallet.resource.file$eval7177$script_fn_for_md5sum__7179@7ac7c5 invoking with (${psql_commands}) empty? false
2010-10-29 22:19:29,519 TRACE [pallet.stevedore] (Thread-1) INVOKE echo("MD5 sum is" (clojure.core/deref (cat "${psql_commands}.md5")))
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) invoke-target [:] echo (MD5 sum is (clojure.core/deref (cat "${psql_commands}.md5")))
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) Looking up script :echo with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,519 TRACE [pallet.stevedore] (Thread-1) INVOKE cat("${psql_commands}.md5")
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) invoke-target [:] cat (${psql_commands}.md5)
2010-10-29 22:19:29,519 TRACE [pallet.script] (Thread-1) Looking up script :cat with template clojure.lang.LazySeq@43716b30
2010-10-29 22:19:29,520 INFO [pallet.execute] (Thread-1) Cmd echo "Package source..."
{ echo "remote-file /etc/apt/sources.list.d/Partner.list..."
{ { cat > /etc/apt/sources.list.d/Partner.list.new <<EOFpallet
deb http://archive.canonical.com/ubuntu $(lsb_release -c -s) partners
EOFpallet
} && md5diff=
if [ \( -e /etc/apt/sources.list.d/Partner.list -a -e /etc/apt/sources.list.d/Partner.list.md5 \) ]; then
md5sum --quiet --check /etc/apt/sources.list.d/Partner.list.md5
md5diff=$?
fi
contentdiff=
if [ \( -e /etc/apt/sources.list.d/Partner.list -a -e /etc/apt/sources.list.d/Partner.list.new \) ]; then
diff -u /etc/apt/sources.list.d/Partner.list /etc/apt/sources.list.d/Partner.list.new
contentdiff=$?
fi
if [ \( "${md5diff}" == "1" \) ]; then
echo Existing content did not match md5:
exit 1
fi
if [ \( "${contentdiff}" != "0" \) ]; then
mv -f --backup=numbered /etc/apt/sources.list.d/Partner.list.new /etc/apt/sources.list.d/Partner.list
fi
if [ ! -e /etc/apt/sources.list.d/Partner.list ]; then
mv /etc/apt/sources.list.d/Partner.list.new /etc/apt/sources.list.d/Partner.list
fi && md5sum /etc/apt/sources.list.d/Partner.list > /etc/apt/sources.list.d/Partner.list.md5 && echo MD5 sum is $(cat /etc/apt/sources.list.d/Partner.list.md5) && ls -t /etc/apt/sources.list.d/Partner.list.~[0-9]*~ | tail -n +6 | xargs rm -f; } || { echo remote-file /etc/apt/sources.list.d/Partner.list failed ; exit 1 ; } >&2
echo "...done"; } || { echo Package source failed ; exit 1 ; } >&2
echo "...done"
echo "Package source..."
{ aptitude install -q -y python-software-properties && aptitude show python-software-properties && add-apt-repository ppa:pitti/postgresql; } || { echo Package source failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ tmpfile=$(mktemp -t addscopeXXXX)
cp -p /etc/apt/sources.list ${tmpfile}
awk '{if ($1 ~ /^deb.*/ && ! /universe/ ) print $0 " " " universe " ; else print; }' /etc/apt/sources.list > ${tmpfile} && mv -f ${tmpfile} /etc/apt/sources.list; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ tmpfile=$(mktemp -t addscopeXXXX)
cp -p /etc/apt/sources.list ${tmpfile}
awk '{if ($1 ~ /^deb.*/ && ! /multiverse/ ) print $0 " " " multiverse " ; else print; }' /etc/apt/sources.list > ${tmpfile} && mv -f ${tmpfile} /etc/apt/sources.list; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ aptitude update || true; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ { debconf-set-selections <<EOF
sun-java6-bin shared/present-sun-dlj-v1-1 note
sun-java6-bin shared/accepted-sun-dlj-v1-1 boolean true
EOF
}; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ { debconf-set-selections <<EOF
sun-java6-jdk shared/present-sun-dlj-v1-1 note
sun-java6-jdk shared/accepted-sun-dlj-v1-1 boolean true
EOF
}; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "package-manager..."
{ aptitude update || true; } || { echo package-manager failed ; exit 1 ; } >&2
echo "...done"
echo "Packages..."
{ { debconf-set-selections <<EOF
debconf debconf/frontend select noninteractive
debconf debconf/frontend seen false
EOF
} && aptitude install -q -y sun-java6-bin+ sun-java6-jdk+ postgresql-9.0+; } || { echo Packages failed ; exit 1 ; } >&2
echo "...done"
echo "remote-file /etc/postgresql/9.0/main/pg_hba.conf..."
{ { cat > /etc/postgresql/9.0/main/pg_hba.conf.new <<'EOFpallet'
# This file was auto-generated by Pallet. Do not edit it manually unless you
# know what you are doing. If you are still using Pallet, you probably want to
# edit your Pallet scripts and rerun them.
local all postgres ident
EOFpallet
} && md5diff=
if [ \( -e /etc/postgresql/9.0/main/pg_hba.conf -a -e /etc/postgresql/9.0/main/pg_hba.conf.md5 \) ]; then
md5sum --quiet --check /etc/postgresql/9.0/main/pg_hba.conf.md5
md5diff=$?
fi
contentdiff=
if [ \( -e /etc/postgresql/9.0/main/pg_hba.conf -a -e /etc/postgresql/9.0/main/pg_hba.conf.new \) ]; then
diff -u /etc/postgresql/9.0/main/pg_hba.conf /etc/postgresql/9.0/main/pg_hba.conf.new
contentdiff=$?
fi
if [ \( "${md5diff}" == "1" \) ]; then
echo Existing content did not match md5:
exit 1
fi
if [ \( "${contentdiff}" != "0" \) ]; then
mv -f --backup=numbered /etc/postgresql/9.0/main/pg_hba.conf.new /etc/postgresql/9.0/main/pg_hba.conf
fi
if [ ! -e /etc/postgresql/9.0/main/pg_hba.conf ]; then
mv /etc/postgresql/9.0/main/pg_hba.conf.new /etc/postgresql/9.0/main/pg_hba.conf
fi && md5sum /etc/postgresql/9.0/main/pg_hba.conf > /etc/postgresql/9.0/main/pg_hba.conf.md5 && echo MD5 sum is $(cat /etc/postgresql/9.0/main/pg_hba.conf.md5) && ls -t /etc/postgresql/9.0/main/pg_hba.conf.~[0-9]*~ | tail -n +6 | xargs rm -f; } || { echo remote-file /etc/postgresql/9.0/main/pg_hba.conf failed ; exit 1 ; } >&2
echo "...done"
echo "remote-file /etc/postgresql/9.0/main/postgresql.conf..."
{ { cat > /etc/postgresql/9.0/main/postgresql.conf.new <<'EOFpallet'
# This file was auto-generated by Pallet. Do not edit it manually unless you
# know what you are doing. If you are still using Pallet, you probably want to
# edit your Pallet scripts and rerun them.
listen_address = '10.0.1.14,localhost'
data_directory = '/var/lib/postgresql/9.0/main'
hba_file = '/etc/postgresql/9.0/main/pg_hba.conf'
ident_file = '/etc/postgresql/9.0/main/pg_ident.conf'
ssl = 'true'
shared_buffers = '24MB'
EOFpallet
} && md5diff=
if [ \( -e /etc/postgresql/9.0/main/postgresql.conf -a -e /etc/postgresql/9.0/main/postgresql.conf.md5 \) ]; then
md5sum --quiet --check /etc/postgresql/9.0/main/postgresql.conf.md5
md5diff=$?
fi
contentdiff=
if [ \( -e /etc/postgresql/9.0/main/postgresql.conf -a -e /etc/postgresql/9.0/main/postgresql.conf.new \) ]; then
diff -u /etc/postgresql/9.0/main/postgresql.conf /etc/postgresql/9.0/main/postgresql.conf.new
contentdiff=$?
fi
if [ \( "${md5diff}" == "1" \) ]; then
echo Existing content did not match md5:
exit 1
fi
if [ \( "${contentdiff}" != "0" \) ]; then
mv -f --backup=numbered /etc/postgresql/9.0/main/postgresql.conf.new /etc/postgresql/9.0/main/postgresql.conf
fi
if [ ! -e /etc/postgresql/9.0/main/postgresql.conf ]; then
mv /etc/postgresql/9.0/main/postgresql.conf.new /etc/postgresql/9.0/main/postgresql.conf
fi && md5sum /etc/postgresql/9.0/main/postgresql.conf > /etc/postgresql/9.0/main/postgresql.conf.md5 && echo MD5 sum is $(cat /etc/postgresql/9.0/main/postgresql.conf.md5) && ls -t /etc/postgresql/9.0/main/postgresql.conf.~[0-9]*~ | tail -n +6 | xargs rm -f; } || { echo remote-file /etc/postgresql/9.0/main/postgresql.conf failed ; exit 1 ; } >&2
echo "...done"
echo "PostgreSQL temp command file..."
{ psql_commands=$(mktemp "postgresqlXXXXX"); } || { echo PostgreSQL temp command file failed ; exit 1 ; } >&2
echo "...done"
echo "remote-file ${psql_commands}..."
{ { cat > ${psql_commands}.new <<'EOFpallet'
CREATE ROLE "davidsantiago-web" login inherit nosuperuser nocreatedb nocreaterole encrypted password 'myL33tP4ssw0rd';
EOFpallet
} && if [ -e ${psql_commands}.new ]; then
mv -f ${psql_commands}.new ${psql_commands}
fi && md5sum ${psql_commands} > ${psql_commands}.md5 && echo MD5 sum is $(cat ${psql_commands}.md5); } || { echo remote-file ${psql_commands} failed ; exit 1 ; } >&2
echo "...done"
{
sudo -u postgres psql -f ${psql_commands}
}
echo "delete remote-file ${psql_commands}..."
{ rm ${psql_commands}; } || { echo delete remote-file ${psql_commands} failed ; exit 1 ; } >&2
echo "...done"
echo "remote-file ${psql_commands}..."
{ { cat > ${psql_commands}.new <<'EOFpallet'
CREATE DATABASE davidsantiago owner "davidsantiago-web";
EOFpallet
} && if [ -e ${psql_commands}.new ]; then
mv -f ${psql_commands}.new ${psql_commands}
fi && md5sum ${psql_commands} > ${psql_commands}.md5 && echo MD5 sum is $(cat ${psql_commands}.md5); } || { echo remote-file ${psql_commands} failed ; exit 1 ; } >&2
echo "...done"
2010-10-29 22:19:29,543 INFO [pallet.execute] (Thread-1) Transfering commands {:exit nil, :out nil}
2010-10-29 22:19:44,884 INFO [pallet.execute] (Thread-1) Last login: Fri Oct 29 22:16:50 2010 from david-santiagos-computer.local
/usr/bin/sudo -n ~david/sudocmdx4Xkq;exit $?;
david@virtualbox:~$ /usr/bin/sudo -n ~david/sudocmdx4Xkq;exit $?;
Package source...
remote-file /etc/apt/sources.list.d/Partner.list...
MD5 sum is 4b395dab9709aa87dd32003dff0e6b5c /etc/apt/sources.list.d/Partner.list
...done
...done
Package source...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Package: python-software-properties
New: yes
State: installed
Automatically installed: no
Version: 0.75.10.1
Priority: optional
Section: gnome
Maintainer: Michael Vogt <[email protected]>
Uncompressed Size: 1,126k
Depends: python (< 2.7), python (>= 2.6), python-central (>= 0.6.11), python-apt
(>= 0.6.20ubuntu16), lsb-release, python-gnupginterface,
unattended-upgrades, iso-codes
Description: manage the repositories that you install software from
This software provides an abstraction of the used apt repositories. It allows
you to easily manage your distribution and independent software vendor software
sources.
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv FB322597BBC86D52FEE950E299B656EA8683D8A2
gpg: requesting key 8683D8A2 from hkp server keyserver.ubuntu.com
gpg: key 8683D8A2: "Launchpad PPA for Martin Pitt" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
...done
package-manager...
...done
package-manager...
...done
package-manager...
19% [Working]
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/pitti/postgresql/ubuntu/ lucid/main Translation-en_US
42% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partners Translation-en_US
47% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
51% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f
Hit http://us.archive.ubuntu.com lucid Release.gpg
52% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
55% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://ppa.launchpad.net lucid Release
55% [Waiting for headers] [Waiting for headers] [Waiting for headers]
55% [Release gpgv 57300] [Waiting for headers] [Waiting for headers] [Waiting fo
Hit http://archive.canonical.com lucid Release
55% [Release gpgv 57300] [Waiting for headers] [Waiting for headers]
56% [Waiting for headers] [Waiting for headers]
56% [Release gpgv 8215] [Waiting for headers] [Waiting for headers] [Waiting for
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
64% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security Release
64% [Waiting for headers] [Waiting for headers]
64% [Release gpgv 38462] [Waiting for headers] [Waiting for headers]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
84% [Release gpgv 38462] [Waiting for headers] [Waiting for headers]
75% [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid Release
75% [Waiting for headers] [Waiting for headers] [Waiting for headers]
75% [Release gpgv 57242] [Waiting for headers] [Waiting for headers] [Waiting fo
71% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://ppa.launchpad.net lucid/main Packages
72% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/main Packages
74% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates Release
74% [Waiting for headers]
74% [Release gpgv 44652] [Waiting for headers] [Waiting for headers]
70% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/restricted Packages
72% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
76% [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/main Packages
77% [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
82% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
84% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
88% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
89% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
94% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
95% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
96% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
97% [Working]
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
...done
package-manager...
...done
package-manager...
...done
package-manager...
19% [Working]
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/pitti/postgresql/ubuntu/ lucid/main Translation-en_US
42% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security Release.gpg
Ign http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
47% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f
Ign http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
50% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f
Hit http://archive.canonical.com lucid Release.gpg
Ign http://archive.canonical.com/ubuntu/ lucid/partners Translation-en_US
54% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid Release.gpg
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
61% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting f
Hit http://ppa.launchpad.net lucid Release
61% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Ign http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
Hit http://security.ubuntu.com lucid-security Release
66% [Waiting for headers] [Waiting for headers]
66% [Release gpgv 57300] [Waiting for headers] [Waiting for headers]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
72% [Release gpgv 57300] [Waiting for headers] [Waiting for headers]
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com lucid Release
Hit http://archive.canonical.com lucid Release
83% [Release gpgv 57300]
84% [Waiting for headers]
84% [Release gpgv 38462] [Waiting for headers] [Waiting for headers]
75% [Waiting for headers] [Waiting for headers]
75% [Release gpgv 57242] [Waiting for headers] [Waiting for headers] [Waiting fo
71% [Waiting for headers] [Waiting for headers] [Waiting for headers]
71% [Release gpgv 8215] [Waiting for headers] [Waiting for headers] [Waiting for
71% [Waiting for headers] [Waiting for headers] [Waiting for headers]
Hit http://ppa.launchpad.net lucid/main Packages
72% [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates Release
72% [Waiting for headers]
72% [Release gpgv 44652] [Waiting for headers] [Waiting for headers]
69% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/main Packages
70% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/main Packages
72% [Waiting for headers] [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/restricted Packages
Hit http://us.archive.ubuntu.com lucid/universe Packages
74% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/restricted Packages
75% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/universe Packages
Hit http://security.ubuntu.com lucid-security/multiverse Packages
Hit http://security.ubuntu.com lucid-security/main Sources
Hit http://security.ubuntu.com lucid-security/restricted Sources
80% [Waiting for headers] [Waiting for headers]
Hit http://security.ubuntu.com lucid-security/universe Sources
Hit http://security.ubuntu.com lucid-security/multiverse Sources
82% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid/multiverse Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://us.archive.ubuntu.com lucid/multiverse Sources
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
94% [Working]
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
96% [Waiting for headers]
Hit http://us.archive.ubuntu.com lucid-updates/multiverse Sources
97% [Working]
Reading package lists... 0%
Reading package lists... 100%
Reading package lists... Done
...done
Packages...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
...done
remote-file /etc/postgresql/9.0/main/pg_hba.conf...
MD5 sum is 95c7e3229c2653a9175a6147ab0a07b3 /etc/postgresql/9.0/main/pg_hba.conf
...done
remote-file /etc/postgresql/9.0/main/postgresql.conf...
MD5 sum is cdb52f2974eff7fa7a448c993e996d23 /etc/postgresql/9.0/main/postgresql.conf
...done
PostgreSQL temp command file...
...done
remote-file postgresqloQ460...
MD5 sum is 53252459dbddb73a914ea98afb5d6a4f postgresqloQ460
...done
psql:postgresqloQ460:1: ERROR: role "davidsantiago-web" already exists
delete remote-file postgresqloQ460...
...done
remote-file postgresqloQ460...
MD5 sum is c44ee772eb9930882fbbee04fbc4b45b postgresqloQ460
...done
logout
2010-10-29 22:19:45,143 INFO [pallet.core] (Thread-1) apply-phase :after-configure for :the-server with 1 nodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment