cheers,
I tried copying your config:
(defn make-instances []
(pallet.core/converge
(pallet.core/group-spec "g0"
:extends [with-automated-admin-user (pallet.crate.nginx/nginx (http-server-config))]
:count 1
:node-spec
(pallet.core/node-spec
:image {:os-family :ubuntu :image-id "ap-southeast-2/ami-ef7ee9d5"})
:phase
[
:bootstrap :install
:configure :nginx-restart
]
)
:compute (pallet.configure/compute-service :aws)
)
)
then having successfully run that I tried looking around:
ls
/usr/local/sbin/nginx"ls: cannot access /usr/local/sbin/nginx: No such file or directory\n"
ls /opt/nginx"
"ls: cannot access /opt/nginx: No such file or directory\n"
nothing in /var/log/nginx & nothing nginx related under /etc/init.d either, but:
ls /etc/nginx
sites-available sites-enabled
Here are the messages I get when I create the instance:
20:54:41.742 [operate-109] WARN jclouds.compute - to avoid creating temporary keys in aws-ec2, use templateOption overrideLoginCredentialWith(id_rsa)
20:55:18.780 [user thread 4] INFO n.schmizz.sshj.common.SecurityUtils - BouncyCastle registration succeeded
20:55:18.851 [user thread 4] WARN net.schmizz.sshj.DefaultConfig - Disabling high-strength ciphers: cipher strengths apparently limited by JCE policy
20:55:20.222 [user thread 4] INFO n.s.sshj.transport.TransportImpl - Client identity string: SSH-2.0-SSHJ_0_8_1_SNAPSHOT
20:55:20.431 [user thread 4] INFO n.s.sshj.transport.TransportImpl - Server identity string: SSH-2.0-OpenSSH_6.0p1 Debian-3ubuntu1
20:55:27.228 [user thread 4] INFO n.s.s.c.c.direct.SessionChannel - Will request `sftp` subsystem
20:55:29.933 [user thread 4] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `chmod 755 /tmp/init-bootstrap`
20:55:32.430 [user thread 4] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `ln -fs /tmp/init-bootstrap bootstrap`
20:55:33.405 [user thread 4] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `/tmp/init-bootstrap init`
20:55:35.355 [user thread 4] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `sudo /tmp/init-bootstrap start`
20:55:38.394 [user thread 5] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `/tmp/init-bootstrap status`
20:55:40.764 [user thread 5] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `/tmp/init-bootstrap stdout`
20:55:42.799 [user thread 5] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `/tmp/init-bootstrap stderr`
20:55:43.359 [user thread 5] INFO n.s.s.c.c.direct.SessionChannel - Will request to exec `/tmp/init-bootstrap exitstatus`
20:55:43.872 [user thread 4] INFO n.s.sshj.transport.TransportImpl - Disconnected - BY_APPLICATION
20:55:46.265 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 pallet.actions/package-manager
20:56:09.777 [operate-201] INFO pallet.execute - 54.252.166.28 #> package-manager update : SUCCESS
20:56:12.242 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 [automated-admin-user: install]: pallet.actions/package
20:56:22.768 [operate-201] INFO pallet.execute - 54.252.166.28 #> [automated-admin-user: install]: Packages : SUCCESS
20:56:24.557 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 [automated-admin-user]: pallet.actions/user
20:56:27.288 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 automated-admin-user: authorize-user-key: authorize-key: pallet.actions/directory
20:56:32.272 [operate-201] INFO pallet.execute - 54.252.166.28 #> automated-admin-user: authorize-user-key: authorize-key: Directory $(getent passwd onto | cut -d: -f6)/.ssh/ : SUCCESS
20:56:32.871 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 automated-admin-user: authorize-user-key: authorize-key: pallet.actions/file
20:56:37.250 [operate-201] INFO pallet.execute - 54.252.166.28 #> automated-admin-user: authorize-user-key: authorize-key: file $(getent passwd onto | cut -d: -f6)/.ssh/authorized_keys : SUCCESS
20:56:37.782 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 automated-admin-user: authorize-user-key: authorize-key: pallet.actions/exec-script*
20:56:45.086 [operate-201] INFO pallet.execute - 54.252.166.28 #> automated-admin-user: authorize-user-key: authorize-key authorize-key on user onto (ssh_key.clj:27) : SUCCESS
20:56:46.018 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 automated-admin-user: authorize-user-key: authorize-key: pallet.actions/exec-script*
20:56:49.888 [operate-201] INFO pallet.execute - 54.252.166.28 #> automated-admin-user: authorize-user-key: authorize-key Set selinux permissions (ssh_key.clj:32) : SUCCESS
20:56:50.456 [operate-201] INFO pallet.ssh.execute - 54.252.166.28 automated-admin-user: sudoers: pallet.actions-impl/remote-file-action
20:56:54.302 [operate-201] INFO pallet.execute - 54.252.166.28 #> automated-admin-user: sudoers: remote-file /etc/sudoers : SUCCESS
20:57:21.071 [operate-207] INFO pallet.ssh.execute - 54.252.166.28 site: pallet.actions/directory
20:57:29.650 [operate-207] INFO pallet.execute - 54.252.166.28 #> site: Directory /etc/nginx/sites-available : SUCCESS
20:57:30.207 [operate-207] INFO pallet.ssh.execute - 54.252.166.28 site: pallet.actions/directory
20:57:34.528 [operate-207] INFO pallet.execute - 54.252.166.28 #> site: Directory /etc/nginx/sites-enabled : SUCCESS
20:57:36.838 [operate-207] INFO pallet.ssh.execute - 54.252.166.28 site: pallet.actions-impl/remote-file-action
20:57:43.244 [operate-207] INFO pallet.execute - 54.252.166.28 #> site: remote-file /etc/nginx/sites-enabled/default.site : SUCCESS
20:57:43.821 [operate-207] INFO pallet.ssh.execute - 54.252.166.28 site: pallet.actions/file
20:57:47.675 [operate-207] INFO pallet.execute - 54.252.166.28 #> site: delete file /etc/nginx/sites-available/default.site : SUCCESS
btw why is it :phase with a vector, not :phases with a map ?