- From: Clif Smith <
>
- To:
- Subject: [chef] Re: Re: Deployment triggered when it shouldn't be
- Date: Mon, 9 Jan 2012 12:01:51 -0600
On Jan 9, 2012, at 10:33 AM, Daniel DeLeo wrote:
>
>
>
On Monday, January 9, 2012 at 8:09 AM, Clif Smith wrote:
>
>
> I have a recipe that, if a remote file is newer (using head), will
>
> retrieve it, untar it, stop apache and start apache. It's been working
>
> great and I use it to deploy a number of different builds. It's been
>
> working great, except for one of the latest builds. With this build, it's
>
> deploying every time chef-client runs even though the file hasn't changed.
>
> Any ideas?
>
>
Have you tried running a request with curl to see if the server is doing
>
the right thing?
>
I hadn't prior but it looks good to me:
# curl -I
http://fileserver.foo.com/deployments/stage01.tgz
HTTP/1.1 200 OK
Date: Mon, 09 Jan 2012 17:58:04 GMT
Server: Apache/2.2.17 (Ubuntu)
Last-Modified: Sun, 08 Jan 2012 22:40:46 GMT
ETag: "24838-7d347ca-4b60bf90fd63d"
Accept-Ranges: bytes
Content-Length: 131286986
Content-Type: application/x-gzip
Archive powered by MHonArc 2.6.16.