- From: David Montgomery <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Chef-client and HTTPServerException: 401 "Unauthorized"
- Date: Sun, 17 Jun 2012 01:59:00 +0800
Thanks,
I dont know know set -e ...what is it and how I use it?
What I do have is a time out, for the script, if taking longer the
usual the kill the boot and start again.
On Sun, Jun 17, 2012 at 1:44 AM, Motiejus Jakštys
<
>
wrote:
>
On Sat, Jun 16, 2012 at 6:56 PM, David Montgomery
>
<
>
>
wrote:
>
> Wow.....why does the key randomly fail? Does anybody have a clue? It
>
> should never fail.
>
>
Possibly internet connection glitches, keyserver issues... Everything
>
can be expected when you are dealing with network.
>
>
In general,
>
>
set -e
>
>
is a very good practice for those kind of scripts. And make sure that
>
when the setup script fails at any point, *you* know.
>
>
> What do you mean doing a local import directly?
>
>
He probably means copying the key together with the shell script.
>
i.e. do gpg --export
>
>
>
>
/etc/apt/trusted.gpg.d/opscode-keyring.gpg once, and put the file to
>
the node before setting the node up.
>
>
>
--
>
Motiejus Jakštys
Archive powered by MHonArc 2.6.16.