- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: Setting up service with huge data files?
- Date: Mon, 24 Sep 2012 13:38:45 +1200
Here we go:
http://community.opscode.com/cookbooks/bittorrent
Cheers,
--AJ
On 24 September 2012 13:21, AJ Christensen
<
>
wrote:
>
There's a cookbook for distributing files via BitTorrent that I'd
>
suggest you use for shipping around such an amazingly large binary
>
asset; alternatives may be S3, rsync, etc.
>
>
--AJ
>
>
On 24 September 2012 13:07, Christopher DeMarco
>
<
>
>
wrote:
>
> So I want to provision a service for a custom app we've got. I can
>
> template
>
> an initscript/launchd_plist, and put all my listening ports, identifying
>
> strings etc. into data bags, etc… but until I've got the datafile on disk I
>
> can't start the service.
>
>
>
> The datafile will be anywhere from 100GB to 2TB - far too big to provision
>
> during a chef run, and since it's being seeded from an existing host I
>
> won't
>
> have it in advance anyway.
>
>
>
> What's the best way to proceed with something like this?
>
>
>
> My current best-thinking is to write a recipe with a data bag attribute
>
> "filename to look for", such that if the datafile doesn't exit the recipe
>
> doesn't do certain things until it finds the file…
>
>
>
> Suggestions?
>
>
>
> --cmd
>
>
>
>
>
> --
>
> Christopher DeMarco
>
> <
>
>
> +1-412-708-9660
>
>
Archive powered by MHonArc 2.6.16.