I was able to get a deploy working with placement as follows:
mthaddon@tenaya:~/Documents/tmp/working-charms$ cat bundle.yaml
series: jammy
applications:
postgresql:
charm: postgresql
series: focal
num_units: 1
pg-manual:
charm: postgresql
series: focal
num_units: 1
to:
- "1"
machines:
"1":
series: focal
mthaddon@tenaya:~/Documents/tmp/working-charms$ juju deploy ./bundle.yaml
Located charm "postgresql" in charm-hub, channel stable
Located charm "postgresql" in charm-hub, channel stable
Executing changes:
- upload charm postgresql from charm-hub for series focal with architecture=amd64
- deploy application pg-manual from charm-hub on focal using postgresql
added resource wal-e
- deploy application postgresql from charm-hub on focal
added resource wal-e
- add new machine 0 (bundle machine 1)
- add unit pg-manual/0 to new machine 0
- add unit postgresql/0 to new machine 1
Deploy of bundle completed.