- From: Brad Knowles <
>
- To:
- Cc: Brad Knowles <
>
- Subject: [chef] Re: Passing responses back to Chef?
- Date: Tue, 6 Aug 2013 16:10:30 -0500
On Aug 6, 2013, at 3:07 PM, Brad Knowles
<
>
wrote:
>
[2013-08-06T15:03:18-05:00] DEBUG: aptitude show mysql-server=5.1 | grep
>
'^Version: ' | sed 's/^Version: //' | grep "^5.1"
>
[2013-08-06T15:03:19-05:00] DEBUG: 5.1.70-0ubuntu0.10.04.1
As it turns out, I appear to be trying to work around what seems to be a bug
in the apt provider for chef-client, related to CHEF-2483.
The issue here is that when you select "5.1" as the version that you ask to
have installed, the apt provider should find and install version
"5.1.70-0ubuntu0.10.04.1" for you. However, if you ask for "5.1.70", that
mechanism somehow breaks down and fails -- if you don't give it just
"major.minor" you instead have to give it the complete version string, and
the middle ground of "major.minor.patch" doesn't work.
I'll work this up as a new ticket, but in the meanwhile I'm trying to figure
out how I can bypass this problem.
Of course, we're going to have a large number of different major.minor.patch
versions that we might want to install, so we're going to have to run our own
apt repo to hold them all. We're okay with that, so long as the apt provider
works correctly.
--
Brad Knowles
<
>
LinkedIn Profile: <
http://tinyurl.com/y8kpxu>
Archive powered by MHonArc 2.6.16.