- From: Motiejus Jakštys <
>
- To:
- Subject: [chef] Re: Re: Re: Chef-client and HTTPServerException: 401 "Unauthorized"
- Date: Sat, 16 Jun 2012 19:44:16 +0200
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.