Package Details: chef-dk 4.2.0-1

Git Clone URL: https://aur.archlinux.org/chef-dk.git (read-only)
Package Base: chef-dk
Description: The Chef development kit contains all the tools you need to develop and test your infrastructure, built by the awesome Chef community.
Upstream URL: https://downloads.chef.io/chef-dk/
Keywords: chef chef-dk
Licenses: Apache
Conflicts: chef, chef-client, chef-solo, chef-workstation
Submitter: Maximka
Maintainer: marcparadise
Last Packager: marcparadise
Votes: 37
Popularity: 0.073695
First Submitted: 2014-07-07 17:44
Last Updated: 2019-07-16 19:19

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

wolfjb commented on 2016-12-21 17:47

Here is a diff for upgrading to 1.1.16 that I used recently, it also addresses (hopefully correctly) the issue with broken symlinks. YMMV, correct as necessary... N.B. I used the deb from 14.04 from the chef downloads site as I was about to create an ubuntu vagrant image using 14.04... otherwise I have no reason to use that particular deb. I assume they are the same, but maybe they aren't, I didn't look.

HTH
Jeff

---- Diff Below ----
4c4
< pkgver=1.0.3
---
> pkgver=1.1.16
6c6
< _ubuntuver=raring
---
> _ubuntuver=trusty
14,15c14,15
< source=("https://packages.chef.io/stable/ubuntu/12.04/chefdk_${pkgver}-1_amd64.deb")
< sha512sums=('ca3734ac4af5a6d92585d290d6fd0d50d974d5afc4701290afb0c28b38c623014a700658f0b0cb6941c4d99caad10e3a652917101ddec708a879098b9f66239c')
---
> source=("https://packages.chef.io/files/stable/chefdk/1.1.16/ubuntu/14.04/chefdk_${pkgver}-1_amd64.deb")
> sha256sums=('7a1bed7f6eae3ae26694f9d3f47ce76d5e0cbbaba72dafcbc175e89ba0ac6dd9')
25c25
< binaries="berks chef chef-apply chef-shell chef-solo chef-zero delivery fauxhai foodcritic kitchen knife ohai push-apply pushy-client pushy-service-manager rubocop cookstyle chef-client"
---
> binaries="berks chef chef-apply chef-shell chef-solo delivery foodcritic kitchen knife ohai push-apply pushy-client pushy-service-manager rubocop cookstyle chef-client"
31a32,39
>
> # some binaries do not get linked from the /opt/chefdk/bin directory above
> # as they exist in the embedded/bin directory instead, link from there.
> embedded="chef-zero fauxhai"
> for binary in $embedded; do
> ln -s /opt/chefdk/embedded/bin/$binary $pkgdir/usr/bin || error_exit "Canot link $binary to /usr/bin"
> done
>

Anonymous comment on 2016-12-11 14:22

@czk quick look, looks like this is a upstream issue. If anyone has a quick fix thhough I'll gladly make the change.

czk commented on 2016-12-11 10:51

I noticed 2 broken symlinks - /usr/bin/chef-zero and /usr/bin/fauxhai. Can you fix that?:

# ls -l /usr/bin/chef-zero
lrwxrwxrwx 1 root root 25 Dec 9 18:16 /usr/bin/chef-zero -> /opt/chefdk/bin/chef-zero
# ls -l /opt/chefdk/bin/chef-zero
ls: cannot access '/opt/chefdk/bin/chef-zero': No such file or directory

# ls -l /usr/bin/fauxhai
lrwxrwxrwx 1 root root 23 Dec 9 18:16 /usr/bin/fauxhai -> /opt/chefdk/bin/fauxhai
# ls -l /opt/chefdk/bin/fauxhai
ls: cannot access '/opt/chefdk/bin/fauxhai': No such file or directory

Is that a packaging error or rather an upstream issue?

Rufflewind commented on 2016-11-04 16:09

@automaticgiant It seems that stripping just takes a very very long time. I'm not sure why (too many files causing some unexpected quadratic behavior?), but a lot of time is spent in the `while read -r filename; do ... done < <(find "$pkgdir" -type f -perm -u+x)` loop in makepkg. I waited a while and it eventually did finish.

Anonymous comment on 2016-09-23 14:05

@Maximka I'll happily take it over.

Maximka commented on 2016-09-23 09:57

Could someone take control over the package? because of problems with my laptop I do not use archlinux now.

Maximka commented on 2016-08-08 20:10

Yes, agree with you vasya, force doesn't make any sense, I've used the line from the code written by "Chef Software, Inc.". Will change on the next release.

vasya commented on 2016-08-08 10:43

Hi! Sorry, can I ask a small question? Why is `ln -sf` used? Should it better be `ln -s` (without --force)? Since it is(should) be a new directory, `ln -s` should work. Otherwise it feels like an error to me (so it's OK to throw an error).

Maximka commented on 2016-05-30 13:10

yes you are right. fixing...

eailfly commented on 2016-05-30 09:46

Hi, do you forget 'delivery' in $binaries?