This commit is contained in:
Joey Hess 2015-05-14 12:30:53 -04:00
parent b0de46644d
commit 6e8057a65b
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,22 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-05-14T16:19:00Z"
content="""
So there's something here that propellor doesn't yet have a concept of,
and that's spinning up a VM. Propellor can deploy itself to an existing VM
pretty well, but getting the VM running isn't something it tries to do.
I imagine that --spin could be extended to support this though.
Make a Property like `vm AWS`, which tells propellor that the host
is a VM, and that the VM is hosted on AWS. Then when you run propellor
--spin, it could set up the VM if it doesn't exist yet.
I don't use AWS currently, so don't have plans to work on this myself,
although I think it would be a great direction to move in. Happy to help
with advice, code review, etc.
<http://hackage.haskell.org/package/aws>
or <http://hackage.haskell.org/package/amazonka>
are good haskell libraries for working with AWS.
"""]]

View File

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-05-14T16:18:37Z"
content="""
I think this would be great. Patches accepted.
If I were going to implement this, I'd use
<http://hackage.haskell.org/package/amazonka-route53>
to write the propellor Property.
A question is, what host would the Property be attached to?
One way to do it would be to make the property be called something like
`route53Controller`. So then you pick a host, or hosts, and give them this
property for a domain, and those hosts then take care of making the
necessary API calls to route53. Presumably some API keys will be needed
on those hosts, which can be provided via the privdata.
I'm happy to offer advice on implementation, but don't plan to code this up
myself, as I'm happily self-hosting my DNS servers.
"""]]

View File

@ -1 +1,4 @@
https://propellor.branchable.com/news/version_2.4.0/ says that version 2.4.0, but as of today, 2.3.0 is the latest version on Hackage: http://hackage.haskell.org/package/propellor
> Seems the upload must have failed and I didn't notice. re-uploaded;
> [[done]] --[[Joey]]