I: pbuilder: network access will be disabled during build I: Current time: Mon Jun 1 09:54:09 +14 2020 I: pbuilder-time-stamp: 1590954849 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [chef_13.8.7-4.dsc] I: copying [./chef_13.8.7.orig.tar.gz] I: copying [./chef_13.8.7-4.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error gpgv: Signature made Wed Feb 27 09:19:34 2019 +14 gpgv: using RSA key B2DEE66036C40829FCD0F10CFC0DB1BBCD460BDE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./chef_13.8.7-4.dsc dpkg-source: info: extracting chef in chef-13.8.7 dpkg-source: info: unpacking chef_13.8.7.orig.tar.gz dpkg-source: info: unpacking chef_13.8.7-4.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Update-gemspec-file.patch dpkg-source: info: applying 0002-spec-work-against-source-checkout-and-installed-pack.patch dpkg-source: info: applying 0003-Accept-rspec-3.4.patch dpkg-source: info: applying 0004-Loosen-dependency-on-iso8601.patch dpkg-source: info: applying 0005-Add-missing-require.patch dpkg-source: info: applying 0006-Relax-dependency-on-ruby-net-ssh.patch dpkg-source: info: applying 0007-Workaround-issues-with-rspec-3.8.patch I: Not using root during the build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/19860/tmp/hooks/D01_modify_environment starting debug: Running on ff2b. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/19860/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/19860/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") BASH_VERSION='5.0.3(1)-release' BUILDDIR=/build BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=armhf DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' DIRSTACK=() DISTRIBUTION= EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=arm HOST_ARCH=armhf IFS=' ' INVOCATION_ID=810dd54faddc40b0afde5a893fe87a75 LANG=C LANGUAGE=it_CH:it LC_ALL=C MACHTYPE=arm-unknown-linux-gnueabihf MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnueabihf PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=19860 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Y2Z6HZDGhK/pbuilderrc_axEi --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Y2Z6HZDGhK/b2 --logfile b2/build.log chef_13.8.7-4.dsc' SUDO_GID=114 SUDO_UID=109 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' http_proxy=http://10.0.0.15:8000/ I: uname -a Linux i-capture-the-hostname 4.19.0-9-armmp-lpae #1 SMP Debian 4.19.118-2 (2020-04-29) armv7l GNU/Linux I: ls -l /bin total 3328 -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash -rwxr-xr-x 1 root root 71648 Mar 1 2019 date -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd -rwxr-xr-x 1 root root 55672 Mar 1 2019 df -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep -rwxr-xr-x 1 root root 18260 Mar 1 2019 false -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln -rwxr-xr-x 1 root root 34932 Jul 27 2018 login -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp -rwxr-xr-x 1 root root 26024 Jan 10 2019 more -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed lrwxrwxrwx 1 root root 4 Jun 1 09:54 sh -> bash lrwxrwxrwx 1 root root 4 May 30 22:27 sh.distrib -> dash -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty -rwsr-xr-x 1 root root 42472 Jan 10 2019 su -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch -rwxr-xr-x 1 root root 18260 Mar 1 2019 true -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl -rwxr-xr-x 1 root root 946 Jan 22 2019 which lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew I: user script /srv/workspace/pbuilder/19860/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: armhf Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: chef-zero (>= 13), debhelper (>= 10), gem2deb, lsb-release, ohai (>= 13), po-debconf, rake, ruby-addressable, ruby-bundler (>= 1.10), ruby-cheffish, ruby-diff-lcs (>= 1.2.4), ruby-erubis (>= 2.7), ruby-ffi-yajl (>= 2.2), ruby-fuzzyurl, ruby-highline (>= 1.6.9), ruby-iniparse (>= 1.4), ruby-iso8601 (>= 0.9.1), ruby-mixlib-archive (>= 0.4), ruby-mixlib-authentication (>= 1.4), ruby-mixlib-cli (>= 1.7), ruby-mixlib-log (>= 1.3), ruby-mixlib-shellout (>= 2.0), ruby-net-sftp (>= 2.1.2), ruby-net-ssh (>= 1:2.9), ruby-net-ssh-multi (>= 1.2.1), ruby-plist (>= 3.2), ruby-proxifier (>= 1.0), ruby-rspec, ruby-rspec-core (>= 3.4), ruby-rspec-expectations (>= 3.4), ruby-rspec-mocks (>= 3.4), ruby-serverspec (>= 2.7), ruby-specinfra (>= 2.10), ruby-syslog-logger (>= 1.6), ruby-tomlrb (>= 1.2), ruby-uuidtools (>= 2.1.5), ruby-webmock dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on chef-zero (>= 13); however: Package chef-zero is not installed. pbuilder-satisfydepends-dummy depends on debhelper (>= 10); however: Package debhelper is not installed. pbuilder-satisfydepends-dummy depends on gem2deb; however: Package gem2deb is not installed. pbuilder-satisfydepends-dummy depends on lsb-release; however: Package lsb-release is not installed. pbuilder-satisfydepends-dummy depends on ohai (>= 13); however: Package ohai is not installed. pbuilder-satisfydepends-dummy depends on po-debconf; however: Package po-debconf is not installed. pbuilder-satisfydepends-dummy depends on rake; however: Package rake is not installed. pbuilder-satisfydepends-dummy depends on ruby-addressable; however: Package ruby-addressable is not installed. pbuilder-satisfydepends-dummy depends on ruby-bundler (>= 1.10); however: Package ruby-bundler is not installed. pbuilder-satisfydepends-dummy depends on ruby-cheffish; however: Package ruby-cheffish is not installed. pbuilder-satisfydepends-dummy depends on ruby-diff-lcs (>= 1.2.4); however: Package ruby-diff-lcs is not installed. pbuilder-satisfydepends-dummy depends on ruby-erubis (>= 2.7); however: Package ruby-erubis is not installed. pbuilder-satisfydepends-dummy depends on ruby-ffi-yajl (>= 2.2); however: Package ruby-ffi-yajl is not installed. pbuilder-satisfydepends-dummy depends on ruby-fuzzyurl; however: Package ruby-fuzzyurl is not installed. pbuilder-satisfydepends-dummy depends on ruby-highline (>= 1.6.9); however: Package ruby-highline is not installed. pbuilder-satisfydepends-dummy depends on ruby-iniparse (>= 1.4); however: Package ruby-iniparse is not installed. pbuilder-satisfydepends-dummy depends on ruby-iso8601 (>= 0.9.1); however: Package ruby-iso8601 is not installed. pbuilder-satisfydepends-dummy depends on ruby-mixlib-archive (>= 0.4); however: Package ruby-mixlib-archive is not installed. pbuilder-satisfydepends-dummy depends on ruby-mixlib-authentication (>= 1.4); however: Package ruby-mixlib-authentication is not installed. pbuilder-satisfydepends-dummy depends on ruby-mixlib-cli (>= 1.7); however: Package ruby-mixlib-cli is not installed. pbuilder-satisfydepends-dummy depends on ruby-mixlib-log (>= 1.3); however: Package ruby-mixlib-log is not installed. pbuilder-satisfydepends-dummy depends on ruby-mixlib-shellout (>= 2.0); however: Package ruby-mixlib-shellout is not installed. pbuilder-satisfydepends-dummy depends on ruby-net-sftp (>= 2.1.2); however: Package ruby-net-sftp is not installed. pbuilder-satisfydepends-dummy depends on ruby-net-ssh (>= 1:2.9); however: Package ruby-net-ssh is not installed. pbuilder-satisfydepends-dummy depends on ruby-net-ssh-multi (>= 1.2.1); however: Package ruby-net-ssh-multi is not installed. pbuilder-satisfydepends-dummy depends on ruby-plist (>= 3.2); however: Package ruby-plist is not installed. pbuilder-satisfydepends-dummy depends on ruby-proxifier (>= 1.0); however: Package ruby-proxifier is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec; however: Package ruby-rspec is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec-core (>= 3.4); however: Package ruby-rspec-core is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec-expectations (>= 3.4); however: Package ruby-rspec-expectations is not installed. pbuilder-satisfydepends-dummy depends on ruby-rspec-mocks (>= 3.4); however: Package ruby-rspec-mocks is not installed. pbuilder-satisfydepends-dummy depends on ruby-serverspec (>= 2.7); however: Package ruby-serverspec is not installed. pbuilder-satisfydepends-dummy depends on ruby-specinfra (>= 2.10); however: Package ruby-specinfra is not installed. pbuilder-satisfydepends-dummy depends on ruby-syslog-logger (>= 1.6); however: Package ruby-syslog-logger is not installed. pbuilder-satisfydepends-dummy depends on ruby-tomlrb (>= 1.2); however: Package ruby-tomlrb is not installed. pbuilder-satisfydepends-dummy depends on ruby-uuidtools (>= 2.1.5); however: Package ruby-uuidtools is not installed. pbuilder-satisfydepends-dummy depends on ruby-webmock; however: Package ruby-webmock is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdmainutils{a} ca-certificates{a} chef-zero{a} debhelper{a} devscripts{a} dh-autoreconf{a} dh-strip-nondeterminism{a} dirmngr{a} distro-info-data{a} dwz{a} file{a} gem2deb{a} gem2deb-test-runner{a} gettext{a} gettext-base{a} gnupg{a} gnupg-l10n{a} gnupg-utils{a} gpg{a} gpg-agent{a} gpg-wks-client{a} gpg-wks-server{a} gpgconf{a} gpgsm{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libassuan0{a} libb-hooks-op-check-perl{a} libbsd0{a} libclass-method-modifiers-perl{a} libcroco3{a} libcurl4{a} libdevel-callchecker-perl{a} libdevel-globaldestruction-perl{a} libdynaloader-functions-perl{a} libelf1{a} libencode-locale-perl{a} libexpat1{a} libfile-homedir-perl{a} libfile-listing-perl{a} libfile-stripnondeterminism-perl{a} libfile-which-perl{a} libglib2.0-0{a} libgmp-dev{a} libgmpxx4ldbl{a} libgssapi-krb5-2{a} libhtml-parser-perl{a} libhtml-tagset-perl{a} libhtml-tree-perl{a} libhttp-cookies-perl{a} libhttp-date-perl{a} libhttp-message-perl{a} libhttp-negotiate-perl{a} libhttp-parser2.8{a} libicu63{a} libimport-into-perl{a} libio-html-perl{a} libio-pty-perl{a} libio-socket-ssl-perl{a} libipc-run-perl{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libksba8{a} libldap-2.4-2{a} libldap-common{a} liblwp-mediatypes-perl{a} liblwp-protocol-https-perl{a} libmagic-mgc{a} libmagic1{a} libmodule-runtime-perl{a} libmoo-perl{a} libmpdec2{a} libncurses6{a} libnet-http-perl{a} libnet-ssleay-perl{a} libnghttp2-14{a} libnpth0{a} libparams-classify-perl{a} libpipeline1{a} libpsl5{a} libpython3-stdlib{a} libpython3.7-minimal{a} libpython3.7-stdlib{a} libreadline7{a} librole-tiny-perl{a} librtmp1{a} libruby2.5{a} libsasl2-2{a} libsasl2-modules-db{a} libsigsegv2{a} libssh2-1{a} libssl1.1{a} libstrictures-perl{a} libsub-exporter-progressive-perl{a} libsub-quote-perl{a} libtimedate-perl{a} libtool{a} libtry-tiny-perl{a} libuchardet0{a} liburi-perl{a} libwww-perl{a} libwww-robotrules-perl{a} libxml2{a} libyajl-dev{a} libyajl2{a} libyaml-0-2{a} lsb-base{a} lsb-release{a} m4{a} man-db{a} mime-support{a} netbase{a} ohai{a} openssl{a} patchutils{a} perl-openssl-defaults{a} pinentry-curses{a} po-debconf{a} publicsuffix{a} python3{a} python3-minimal{a} python3.7{a} python3.7-minimal{a} rake{a} readline-common{a} ruby{a} ruby-addressable{a} ruby-all-dev{a} ruby-bcrypt-pbkdf{a} ruby-bundler{a} ruby-chef-config{a} ruby-cheffish{a} ruby-compat-resource{a} ruby-cookiejar{a} ruby-crack{a} ruby-did-you-mean{a} ruby-diff-lcs{a} ruby-domain-name{a} ruby-ed25519{a} ruby-em-http-request{a} ruby-em-socksify{a} ruby-erubis{a} ruby-escape-utils{a} ruby-ethon{a} ruby-eventmachine{a} ruby-ffi{a} ruby-ffi-yajl{a} ruby-fuzzyurl{a} ruby-hashdiff{a} ruby-hashie{a} ruby-highline{a} ruby-http-cookie{a} ruby-http-parser.rb{a} ruby-httpclient{a} ruby-iniparse{a} ruby-ipaddress{a} ruby-iso8601{a} ruby-mime-types{a} ruby-mime-types-data{a} ruby-minitest{a} ruby-mixlib-archive{a} ruby-mixlib-authentication{a} ruby-mixlib-cli{a} ruby-mixlib-config{a} ruby-mixlib-log{a} ruby-mixlib-shellout{a} ruby-molinillo{a} ruby-multi-json{a} ruby-net-http-persistent{a} ruby-net-scp{a} ruby-net-sftp{a} ruby-net-ssh{a} ruby-net-ssh-gateway{a} ruby-net-ssh-multi{a} ruby-net-telnet{a} ruby-plist{a} ruby-power-assert{a} ruby-proxifier{a} ruby-public-suffix{a} ruby-rack{a} ruby-rspec{a} ruby-rspec-core{a} ruby-rspec-expectations{a} ruby-rspec-its{a} ruby-rspec-mocks{a} ruby-rspec-support{a} ruby-safe-yaml{a} ruby-serverspec{a} ruby-setup{a} ruby-specinfra{a} ruby-syslog-logger{a} ruby-systemu{a} ruby-test-unit{a} ruby-thor{a} ruby-thread-order{a} ruby-tomlrb{a} ruby-typhoeus{a} ruby-unf{a} ruby-unf-ext{a} ruby-uuidtools{a} ruby-webmock{a} ruby-xmlrpc{a} ruby2.5{a} ruby2.5-dev{a} rubygems-integration{a} sensible-utils{a} wdiff{a} The following packages are RECOMMENDED but will NOT be installed: apt-file at curl dctrl-tools debian-keyring dput dput-ng dupload equivs fonts-lato krb5-locales libarchive-cpio-perl libclass-xsaccessor-perl libdata-dump-perl libdistro-info-perl libgit-wrapper-perl libgitlab-api-v4-perl libglib2.0-data libgpm2 libhtml-form-perl libhtml-format-perl libhttp-daemon-perl libjs-jquery liblist-compare-perl libltdl-dev libmail-sendmail-perl libmailtools-perl libsasl2-modules libsoap-lite-perl libstring-shellquote-perl libsub-name-perl licensecheck lintian lynx net-tools python3-apt python3-debian python3-magic python3-requests python3-unidiff python3-xdg ruby-oj ruby-sqlite3 ruby2.5-doc shared-mime-info strace unzip wget xdg-user-dirs zip 0 packages upgraded, 214 newly installed, 0 to remove and 0 not upgraded. Need to get 45.1 MB of archives. After unpacking 146 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian buster/main armhf libbsd0 armhf 0.9.1-2 [103 kB] Get: 2 http://deb.debian.org/debian buster/main armhf bsdmainutils armhf 11.1.2+b1 [186 kB] Get: 3 http://deb.debian.org/debian buster/main armhf libuchardet0 armhf 0.0.6-3 [62.2 kB] Get: 4 http://deb.debian.org/debian buster/main armhf groff-base armhf 1.22.4-3 [828 kB] Get: 5 http://deb.debian.org/debian buster/main armhf libpipeline1 armhf 1.5.1-2 [26.8 kB] Get: 6 http://deb.debian.org/debian buster/main armhf man-db armhf 2.8.5-2 [1240 kB] Get: 7 http://deb.debian.org/debian buster/main armhf libssl1.1 armhf 1.1.1d-0+deb10u3 [1299 kB] Get: 8 http://deb.debian.org/debian buster/main armhf libpython3.7-minimal armhf 3.7.3-2+deb10u1 [582 kB] Get: 9 http://deb.debian.org/debian buster/main armhf libexpat1 armhf 2.2.6-2+deb10u1 [78.0 kB] Get: 10 http://deb.debian.org/debian buster/main armhf python3.7-minimal armhf 3.7.3-2+deb10u1 [1465 kB] Get: 11 http://deb.debian.org/debian buster/main armhf python3-minimal armhf 3.7.3-1 [36.6 kB] Get: 12 http://deb.debian.org/debian buster/main armhf mime-support all 3.62 [37.2 kB] Get: 13 http://deb.debian.org/debian buster/main armhf libmpdec2 armhf 2.4.2-2 [69.3 kB] Get: 14 http://deb.debian.org/debian buster/main armhf readline-common all 7.0-5 [70.6 kB] Get: 15 http://deb.debian.org/debian buster/main armhf libreadline7 armhf 7.0-5 [131 kB] Get: 16 http://deb.debian.org/debian buster/main armhf libpython3.7-stdlib armhf 3.7.3-2+deb10u1 [1660 kB] Get: 17 http://deb.debian.org/debian buster/main armhf python3.7 armhf 3.7.3-2+deb10u1 [330 kB] Get: 18 http://deb.debian.org/debian buster/main armhf libpython3-stdlib armhf 3.7.3-1 [20.0 kB] Get: 19 http://deb.debian.org/debian buster/main armhf python3 armhf 3.7.3-1 [61.5 kB] Get: 20 http://deb.debian.org/debian buster/main armhf netbase all 5.6 [19.4 kB] Get: 21 http://deb.debian.org/debian buster/main armhf sensible-utils all 0.0.12 [15.8 kB] Get: 22 http://deb.debian.org/debian buster/main armhf libmagic-mgc armhf 1:5.35-4+deb10u1 [242 kB] Get: 23 http://deb.debian.org/debian buster/main armhf libmagic1 armhf 1:5.35-4+deb10u1 [110 kB] Get: 24 http://deb.debian.org/debian buster/main armhf file armhf 1:5.35-4+deb10u1 [65.5 kB] Get: 25 http://deb.debian.org/debian buster/main armhf gettext-base armhf 0.19.8.1-9 [118 kB] Get: 26 http://deb.debian.org/debian buster/main armhf libsigsegv2 armhf 2.12-2 [32.1 kB] Get: 27 http://deb.debian.org/debian buster/main armhf m4 armhf 1.4.18-2 [190 kB] Get: 28 http://deb.debian.org/debian buster/main armhf autoconf all 2.69-11 [341 kB] Get: 29 http://deb.debian.org/debian buster/main armhf autotools-dev all 20180224.1 [77.0 kB] Get: 30 http://deb.debian.org/debian buster/main armhf automake all 1:1.16.1-4 [771 kB] Get: 31 http://deb.debian.org/debian buster/main armhf autopoint all 0.19.8.1-9 [434 kB] Get: 32 http://deb.debian.org/debian buster/main armhf openssl armhf 1.1.1d-0+deb10u3 [818 kB] Get: 33 http://deb.debian.org/debian buster/main armhf ca-certificates all 20190110 [157 kB] Get: 34 http://deb.debian.org/debian buster/main armhf rubygems-integration all 1.11+deb10u1 [5212 B] Get: 35 http://deb.debian.org/debian buster/main armhf rake all 12.3.1-3+deb10u1 [67.1 kB] Get: 36 http://deb.debian.org/debian buster/main armhf ruby-did-you-mean all 1.2.1-1 [14.4 kB] Get: 37 http://deb.debian.org/debian buster/main armhf ruby-minitest all 5.11.3-1 [54.8 kB] Get: 38 http://deb.debian.org/debian buster/main armhf ruby-net-telnet all 0.1.1-2 [12.5 kB] Get: 39 http://deb.debian.org/debian buster/main armhf ruby-power-assert all 1.1.1-1 [10.9 kB] Get: 40 http://deb.debian.org/debian buster/main armhf ruby-test-unit all 3.2.8-1 [72.4 kB] Get: 41 http://deb.debian.org/debian buster/main armhf ruby-xmlrpc all 0.3.0-2 [23.7 kB] Get: 42 http://deb.debian.org/debian buster/main armhf libncurses6 armhf 6.1+20181013-2+deb10u2 [79.8 kB] Get: 43 http://deb.debian.org/debian buster/main armhf libyaml-0-2 armhf 0.2.1-1 [40.6 kB] Get: 44 http://deb.debian.org/debian buster/main armhf libruby2.5 armhf 2.5.5-3+deb10u1 [3198 kB] Get: 45 http://deb.debian.org/debian buster/main armhf ruby2.5 armhf 2.5.5-3+deb10u1 [400 kB] Get: 46 http://deb.debian.org/debian buster/main armhf ruby armhf 1:2.5.1 [11.3 kB] Get: 47 http://deb.debian.org/debian buster/main armhf libyajl2 armhf 2.1.0-3 [20.9 kB] Get: 48 http://deb.debian.org/debian buster/main armhf libyajl-dev armhf 2.1.0-3 [29.7 kB] Get: 49 http://deb.debian.org/debian buster/main armhf ruby-ffi-yajl armhf 2.3.1-1+b1 [117 kB] Get: 50 http://deb.debian.org/debian buster/main armhf ruby-hashie all 3.5.5-2 [39.3 kB] Get: 51 http://deb.debian.org/debian buster/main armhf ruby-mixlib-log all 1.7.1-1 [6866 B] Get: 52 http://deb.debian.org/debian buster/main armhf ruby-rack all 2.0.6-3 [90.0 kB] Get: 53 http://deb.debian.org/debian buster/main armhf ruby-uuidtools all 2.1.5-2 [10.9 kB] Get: 54 http://deb.debian.org/debian buster/main armhf chef-zero all 13.1.0-2 [53.9 kB] Get: 55 http://deb.debian.org/debian buster/main armhf libtool all 2.4.6-9 [547 kB] Get: 56 http://deb.debian.org/debian buster/main armhf dh-autoreconf all 19 [16.9 kB] Get: 57 http://deb.debian.org/debian buster/main armhf libarchive-zip-perl all 1.64-1 [96.8 kB] Get: 58 http://deb.debian.org/debian buster/main armhf libfile-stripnondeterminism-perl all 1.1.2-1 [19.8 kB] Get: 59 http://deb.debian.org/debian buster/main armhf dh-strip-nondeterminism all 1.1.2-1 [13.0 kB] Get: 60 http://deb.debian.org/debian buster/main armhf libelf1 armhf 0.176-1.1 [158 kB] Get: 61 http://deb.debian.org/debian buster/main armhf dwz armhf 0.12-3 [72.0 kB] Get: 62 http://deb.debian.org/debian buster/main armhf libglib2.0-0 armhf 2.58.3-2+deb10u2 [1101 kB] Get: 63 http://deb.debian.org/debian buster/main armhf libicu63 armhf 63.1-6+deb10u1 [8005 kB] Get: 64 http://deb.debian.org/debian buster/main armhf libxml2 armhf 2.9.4+dfsg1-7+b3 [595 kB] Get: 65 http://deb.debian.org/debian buster/main armhf libcroco3 armhf 0.6.12-3 [133 kB] Get: 66 http://deb.debian.org/debian buster/main armhf gettext armhf 0.19.8.1-9 [1242 kB] Get: 67 http://deb.debian.org/debian buster/main armhf intltool-debian all 0.35.0+20060710.5 [26.8 kB] Get: 68 http://deb.debian.org/debian buster/main armhf po-debconf all 1.0.21 [248 kB] Get: 69 http://deb.debian.org/debian buster/main armhf debhelper all 12.1.1 [1016 kB] Get: 70 http://deb.debian.org/debian buster/main armhf libassuan0 armhf 2.5.2-1 [42.8 kB] Get: 71 http://deb.debian.org/debian buster/main armhf gpgconf armhf 2.2.12-1+deb10u1 [492 kB] Get: 72 http://deb.debian.org/debian buster/main armhf lsb-base all 10.2019051400 [28.4 kB] Get: 73 http://deb.debian.org/debian buster/main armhf libksba8 armhf 1.3.5-2 [85.9 kB] Get: 74 http://deb.debian.org/debian buster/main armhf libsasl2-modules-db armhf 2.1.27+dfsg-1+deb10u1 [67.4 kB] Get: 75 http://deb.debian.org/debian buster/main armhf libsasl2-2 armhf 2.1.27+dfsg-1+deb10u1 [98.9 kB] Get: 76 http://deb.debian.org/debian buster/main armhf libldap-common all 2.4.47+dfsg-3+deb10u2 [89.7 kB] Get: 77 http://deb.debian.org/debian buster/main armhf libldap-2.4-2 armhf 2.4.47+dfsg-3+deb10u2 [202 kB] Get: 78 http://deb.debian.org/debian buster/main armhf libnpth0 armhf 1.6-1 [17.4 kB] Get: 79 http://deb.debian.org/debian buster/main armhf dirmngr armhf 2.2.12-1+deb10u1 [669 kB] Get: 80 http://deb.debian.org/debian buster/main armhf gnupg-l10n all 2.2.12-1+deb10u1 [1010 kB] Get: 81 http://deb.debian.org/debian buster/main armhf gnupg-utils armhf 2.2.12-1+deb10u1 [788 kB] Get: 82 http://deb.debian.org/debian buster/main armhf gpg armhf 2.2.12-1+deb10u1 [804 kB] Get: 83 http://deb.debian.org/debian buster/main armhf pinentry-curses armhf 1.1.0-2 [59.8 kB] Get: 84 http://deb.debian.org/debian buster/main armhf gpg-agent armhf 2.2.12-1+deb10u1 [578 kB] Get: 85 http://deb.debian.org/debian buster/main armhf gpg-wks-client armhf 2.2.12-1+deb10u1 [469 kB] Get: 86 http://deb.debian.org/debian buster/main armhf gpg-wks-server armhf 2.2.12-1+deb10u1 [464 kB] Get: 87 http://deb.debian.org/debian buster/main armhf gpgsm armhf 2.2.12-1+deb10u1 [573 kB] Get: 88 http://deb.debian.org/debian buster/main armhf gnupg all 2.2.12-1+deb10u1 [715 kB] Get: 89 http://deb.debian.org/debian buster/main armhf libfile-which-perl all 1.23-1 [16.6 kB] Get: 90 http://deb.debian.org/debian buster/main armhf libfile-homedir-perl all 1.004-1 [42.7 kB] Get: 91 http://deb.debian.org/debian buster/main armhf libio-pty-perl armhf 1:1.08-1.1+b5 [32.9 kB] Get: 92 http://deb.debian.org/debian buster/main armhf libipc-run-perl all 20180523.0-1 [101 kB] Get: 93 http://deb.debian.org/debian buster/main armhf libclass-method-modifiers-perl all 2.12-1 [18.6 kB] Get: 94 http://deb.debian.org/debian buster/main armhf libsub-exporter-progressive-perl all 0.001013-1 [7588 B] Get: 95 http://deb.debian.org/debian buster/main armhf libdevel-globaldestruction-perl all 0.14-1 [8084 B] Get: 96 http://deb.debian.org/debian buster/main armhf libb-hooks-op-check-perl armhf 0.22-1+b1 [11.0 kB] Get: 97 http://deb.debian.org/debian buster/main armhf libdynaloader-functions-perl all 0.003-1 [12.6 kB] Get: 98 http://deb.debian.org/debian buster/main armhf libdevel-callchecker-perl armhf 0.008-1 [15.5 kB] Get: 99 http://deb.debian.org/debian buster/main armhf libparams-classify-perl armhf 0.015-1+b1 [24.2 kB] Get: 100 http://deb.debian.org/debian buster/main armhf libmodule-runtime-perl all 0.016-1 [19.4 kB] Get: 101 http://deb.debian.org/debian buster/main armhf libimport-into-perl all 1.002005-1 [11.6 kB] Get: 102 http://deb.debian.org/debian buster/main armhf librole-tiny-perl all 2.000006-1 [19.4 kB] Get: 103 http://deb.debian.org/debian buster/main armhf libstrictures-perl all 2.000005-1 [18.3 kB] Get: 104 http://deb.debian.org/debian buster/main armhf libsub-quote-perl all 2.005001-1 [17.9 kB] Get: 105 http://deb.debian.org/debian buster/main armhf libmoo-perl all 2.003004-2 [57.4 kB] Get: 106 http://deb.debian.org/debian buster/main armhf libencode-locale-perl all 1.05-1 [13.7 kB] Get: 107 http://deb.debian.org/debian buster/main armhf libtimedate-perl all 2.3000-2+deb10u1 [38.1 kB] Get: 108 http://deb.debian.org/debian buster/main armhf libhttp-date-perl all 6.02-1 [10.7 kB] Get: 109 http://deb.debian.org/debian buster/main armhf libfile-listing-perl all 6.04-1 [10.3 kB] Get: 110 http://deb.debian.org/debian buster/main armhf libhtml-tagset-perl all 3.20-3 [12.7 kB] Get: 111 http://deb.debian.org/debian buster/main armhf liburi-perl all 1.76-1 [89.9 kB] Get: 112 http://deb.debian.org/debian buster/main armhf libhtml-parser-perl armhf 3.72-3+b3 [102 kB] Get: 113 http://deb.debian.org/debian buster/main armhf libhtml-tree-perl all 5.07-2 [213 kB] Get: 114 http://deb.debian.org/debian buster/main armhf libio-html-perl all 1.001-1 [17.6 kB] Get: 115 http://deb.debian.org/debian buster/main armhf liblwp-mediatypes-perl all 6.02-1 [22.1 kB] Get: 116 http://deb.debian.org/debian buster/main armhf libhttp-message-perl all 6.18-1 [77.8 kB] Get: 117 http://deb.debian.org/debian buster/main armhf libhttp-cookies-perl all 6.04-1 [17.8 kB] Get: 118 http://deb.debian.org/debian buster/main armhf libhttp-negotiate-perl all 6.01-1 [12.8 kB] Get: 119 http://deb.debian.org/debian buster/main armhf perl-openssl-defaults armhf 3 [6782 B] Get: 120 http://deb.debian.org/debian buster/main armhf libnet-ssleay-perl armhf 1.85-2+b1 [288 kB] Get: 121 http://deb.debian.org/debian buster/main armhf libio-socket-ssl-perl all 2.060-3 [207 kB] Get: 122 http://deb.debian.org/debian buster/main armhf libnet-http-perl all 6.18-1 [24.5 kB] Get: 123 http://deb.debian.org/debian buster/main armhf liblwp-protocol-https-perl all 6.07-2 [9242 B] Get: 124 http://deb.debian.org/debian buster/main armhf libtry-tiny-perl all 0.30-1 [23.3 kB] Get: 125 http://deb.debian.org/debian buster/main armhf libwww-robotrules-perl all 6.02-1 [12.9 kB] Get: 126 http://deb.debian.org/debian buster/main armhf libwww-perl all 6.36-2 [188 kB] Get: 127 http://deb.debian.org/debian buster/main armhf patchutils armhf 0.3.4-2 [86.2 kB] Get: 128 http://deb.debian.org/debian buster/main armhf wdiff armhf 1.2.2-2+b1 [121 kB] Get: 129 http://deb.debian.org/debian buster/main armhf devscripts armhf 2.19.5+deb10u1 [1045 kB] Get: 130 http://deb.debian.org/debian buster/main armhf distro-info-data all 0.41+deb10u2 [6584 B] Get: 131 http://deb.debian.org/debian buster/main armhf gem2deb-test-runner armhf 0.43 [22.4 kB] Get: 132 http://deb.debian.org/debian buster/main armhf libgmpxx4ldbl armhf 2:6.1.2+dfsg-4 [21.7 kB] Get: 133 http://deb.debian.org/debian buster/main armhf libgmp-dev armhf 2:6.1.2+dfsg-4 [581 kB] Get: 134 http://deb.debian.org/debian buster/main armhf ruby2.5-dev armhf 2.5.5-3+deb10u1 [415 kB] Get: 135 http://deb.debian.org/debian buster/main armhf ruby-all-dev armhf 1:2.5.1 [10.9 kB] Get: 136 http://deb.debian.org/debian buster/main armhf ruby-setup all 3.4.1-9 [34.2 kB] Get: 137 http://deb.debian.org/debian buster/main armhf gem2deb armhf 0.43 [59.2 kB] Get: 138 http://deb.debian.org/debian buster/main armhf libkeyutils1 armhf 1.6-6 [13.9 kB] Get: 139 http://deb.debian.org/debian buster/main armhf libkrb5support0 armhf 1.17-3 [62.3 kB] Get: 140 http://deb.debian.org/debian buster/main armhf libk5crypto3 armhf 1.17-3 [119 kB] Get: 141 http://deb.debian.org/debian buster/main armhf libkrb5-3 armhf 1.17-3 [323 kB] Get: 142 http://deb.debian.org/debian buster/main armhf libgssapi-krb5-2 armhf 1.17-3 [137 kB] Get: 143 http://deb.debian.org/debian buster/main armhf libnghttp2-14 armhf 1.36.0-2+deb10u1 [74.4 kB] Get: 144 http://deb.debian.org/debian buster/main armhf libpsl5 armhf 0.20.2-2 [52.4 kB] Get: 145 http://deb.debian.org/debian buster/main armhf librtmp1 armhf 2.4+20151223.gitfa8646d.1-2 [54.9 kB] Get: 146 http://deb.debian.org/debian buster/main armhf libssh2-1 armhf 1.8.0-2.1 [129 kB] Get: 147 http://deb.debian.org/debian buster/main armhf libcurl4 armhf 7.64.0-4+deb10u1 [297 kB] Get: 148 http://deb.debian.org/debian buster/main armhf libhttp-parser2.8 armhf 2.8.1-1 [19.7 kB] Get: 149 http://deb.debian.org/debian buster/main armhf lsb-release all 10.2019051400 [27.5 kB] Get: 150 http://deb.debian.org/debian buster/main armhf publicsuffix all 20190415.1030-1 [116 kB] Get: 151 http://deb.debian.org/debian buster/main armhf ruby-public-suffix all 3.0.3+ds-1 [15.6 kB] Get: 152 http://deb.debian.org/debian buster/main armhf ruby-addressable all 2.5.2-1 [50.4 kB] Get: 153 http://deb.debian.org/debian buster/main armhf ruby-fuzzyurl all 0.8.0-1 [7068 B] Get: 154 http://deb.debian.org/debian buster/main armhf ruby-tomlrb all 1.2.8-1 [7676 B] Get: 155 http://deb.debian.org/debian buster/main armhf ruby-mixlib-config all 2.2.6-1 [12.6 kB] Get: 156 http://deb.debian.org/debian buster/main armhf ruby-mixlib-shellout all 2.2.6-1 [17.3 kB] Get: 157 http://deb.debian.org/debian buster/main armhf ruby-chef-config all 13.8.7-4 [84.4 kB] Get: 158 http://deb.debian.org/debian buster/main armhf ruby-ffi armhf 1.9.10debian-1+b4 [71.0 kB] Get: 159 http://deb.debian.org/debian buster/main armhf ruby-ipaddress all 0.8.3-2 [28.6 kB] Get: 160 http://deb.debian.org/debian buster/main armhf ruby-mixlib-cli all 1.7.0-1 [8224 B] Get: 161 http://deb.debian.org/debian buster/main armhf ruby-plist all 3.2.0-1 [11.4 kB] Get: 162 http://deb.debian.org/debian buster/main armhf ruby-systemu all 2.6.5-1 [8758 B] Get: 163 http://deb.debian.org/debian buster/main armhf ohai all 13.8.0-1 [94.9 kB] Get: 164 http://deb.debian.org/debian buster/main armhf ruby-bcrypt-pbkdf armhf 1.0.0-2 [25.9 kB] Get: 165 http://deb.debian.org/debian buster/main armhf ruby-molinillo all 0.6.4-1 [23.3 kB] Get: 166 http://deb.debian.org/debian buster/main armhf ruby-net-http-persistent all 2.9.4-2 [20.4 kB] Get: 167 http://deb.debian.org/debian buster/main armhf ruby-thor all 0.19.4-1 [47.0 kB] Get: 168 http://deb.debian.org/debian buster/main armhf ruby-bundler all 1.17.3-3 [311 kB] Get: 169 http://deb.debian.org/debian buster/main armhf ruby-compat-resource all 12.10.5-1 [31.6 kB] Get: 170 http://deb.debian.org/debian buster/main armhf ruby-cheffish all 13.1.0-2 [33.6 kB] Get: 171 http://deb.debian.org/debian buster/main armhf ruby-cookiejar all 0.3.3-1 [13.8 kB] Get: 172 http://deb.debian.org/debian buster/main armhf ruby-safe-yaml all 1.0.4-2 [18.7 kB] Get: 173 http://deb.debian.org/debian buster/main armhf ruby-crack all 0.4.3-3 [9604 B] Get: 174 http://deb.debian.org/debian buster/main armhf ruby-diff-lcs all 1.3-1 [25.7 kB] Get: 175 http://deb.debian.org/debian buster/main armhf ruby-unf-ext armhf 0.0.7.5-1 [91.0 kB] Get: 176 http://deb.debian.org/debian buster/main armhf ruby-unf all 0.1.4-2 [4928 B] Get: 177 http://deb.debian.org/debian buster/main armhf ruby-domain-name all 0.5.20160216-2 [38.1 kB] Get: 178 http://deb.debian.org/debian buster/main armhf ruby-ed25519 armhf 1.2.4-1 [101 kB] Get: 179 http://deb.debian.org/debian buster/main armhf ruby-eventmachine armhf 1.0.7-4.2 [130 kB] Get: 180 http://deb.debian.org/debian buster/main armhf ruby-em-socksify all 0.3.1-1 [6724 B] Get: 181 http://deb.debian.org/debian buster/main armhf ruby-escape-utils armhf 1.2.1-1+b1 [18.1 kB] Get: 182 http://deb.debian.org/debian buster/main armhf ruby-http-parser.rb armhf 0.6.0-4+b3 [9724 B] Get: 183 http://deb.debian.org/debian buster/main armhf ruby-multi-json all 1.12.1-1 [19.9 kB] Get: 184 http://deb.debian.org/debian buster/main armhf ruby-em-http-request all 1.1.5-2 [20.6 kB] Get: 185 http://deb.debian.org/debian buster/main armhf ruby-erubis all 2.7.0-3 [95.6 kB] Get: 186 http://deb.debian.org/debian buster/main armhf ruby-mime-types-data all 3.2015.1120-1 [71.1 kB] Get: 187 http://deb.debian.org/debian buster/main armhf ruby-mime-types all 3.2.2-1 [23.9 kB] Get: 188 http://deb.debian.org/debian buster/main armhf ruby-ethon all 0.9.0-2 [33.6 kB] Get: 189 http://deb.debian.org/debian buster/main armhf ruby-hashdiff all 0.2.3-1 [9666 B] Get: 190 http://deb.debian.org/debian buster/main armhf ruby-highline all 1.7.8-1 [47.4 kB] Get: 191 http://deb.debian.org/debian buster/main armhf ruby-http-cookie all 1.0.3-1 [22.6 kB] Get: 192 http://deb.debian.org/debian buster/main armhf ruby-httpclient all 2.8.3-2 [229 kB] Get: 193 http://deb.debian.org/debian buster/main armhf ruby-iniparse all 1.4.2-1 [11.2 kB] Get: 194 http://deb.debian.org/debian buster/main armhf ruby-iso8601 all 0.12.1-1 [15.0 kB] Get: 195 http://deb.debian.org/debian buster/main armhf ruby-mixlib-archive all 0.4.1-1 [5646 B] Get: 196 http://deb.debian.org/debian buster/main armhf ruby-mixlib-authentication all 1.4.1-1 [10.3 kB] Get: 197 http://deb.debian.org/debian buster/main armhf ruby-net-ssh all 1:5.1.0-1 [103 kB] Get: 198 http://deb.debian.org/debian buster/main armhf ruby-net-scp all 1.2.1-5 [17.3 kB] Get: 199 http://deb.debian.org/debian buster/main armhf ruby-net-sftp all 1:2.1.2-4 [37.2 kB] Get: 200 http://deb.debian.org/debian buster/main armhf ruby-net-ssh-gateway all 2.0.0-1 [8356 B] Get: 201 http://deb.debian.org/debian buster/main armhf ruby-net-ssh-multi all 1.2.1-3 [22.2 kB] Get: 202 http://deb.debian.org/debian buster/main armhf ruby-proxifier all 1.0.3-1 [7174 B] Get: 203 http://deb.debian.org/debian buster/main armhf ruby-rspec-support all 3.8.0c0e1m0s0-1 [31.8 kB] Get: 204 http://deb.debian.org/debian buster/main armhf ruby-rspec-expectations all 3.8.0c0e1m0s0-1 [102 kB] Get: 205 http://deb.debian.org/debian buster/main armhf ruby-rspec-mocks all 3.8.0c0e1m0s0-1 [94.0 kB] Get: 206 http://deb.debian.org/debian buster/main armhf ruby-thread-order all 1.1.0-1 [5096 B] Get: 207 http://deb.debian.org/debian buster/main armhf ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 208 http://deb.debian.org/debian buster/main armhf ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 209 http://deb.debian.org/debian buster/main armhf ruby-rspec-its all 1.2.0-3 [6296 B] Get: 210 http://deb.debian.org/debian buster/main armhf ruby-specinfra all 2.76.9-1 [57.6 kB] Get: 211 http://deb.debian.org/debian buster/main armhf ruby-serverspec all 2.41.3-3 [21.6 kB] Get: 212 http://deb.debian.org/debian buster/main armhf ruby-syslog-logger all 1.6.8-1 [7284 B] Get: 213 http://deb.debian.org/debian buster/main armhf ruby-typhoeus all 1.3.1-1 [35.4 kB] Get: 214 http://deb.debian.org/debian buster/main armhf ruby-webmock all 3.4.2-1 [60.2 kB] Fetched 45.1 MB in 6s (6988 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) Preparing to unpack .../0-libbsd0_0.9.1-2_armhf.deb ... Unpacking libbsd0:armhf (0.9.1-2) ... Selecting previously unselected package bsdmainutils. Preparing to unpack .../1-bsdmainutils_11.1.2+b1_armhf.deb ... Unpacking bsdmainutils (11.1.2+b1) ... Selecting previously unselected package libuchardet0:armhf. Preparing to unpack .../2-libuchardet0_0.0.6-3_armhf.deb ... Unpacking libuchardet0:armhf (0.0.6-3) ... Selecting previously unselected package groff-base. Preparing to unpack .../3-groff-base_1.22.4-3_armhf.deb ... Unpacking groff-base (1.22.4-3) ... Selecting previously unselected package libpipeline1:armhf. Preparing to unpack .../4-libpipeline1_1.5.1-2_armhf.deb ... Unpacking libpipeline1:armhf (1.5.1-2) ... Selecting previously unselected package man-db. Preparing to unpack .../5-man-db_2.8.5-2_armhf.deb ... Unpacking man-db (2.8.5-2) ... Selecting previously unselected package libssl1.1:armhf. Preparing to unpack .../6-libssl1.1_1.1.1d-0+deb10u3_armhf.deb ... Unpacking libssl1.1:armhf (1.1.1d-0+deb10u3) ... Selecting previously unselected package libpython3.7-minimal:armhf. Preparing to unpack .../7-libpython3.7-minimal_3.7.3-2+deb10u1_armhf.deb ... Unpacking libpython3.7-minimal:armhf (3.7.3-2+deb10u1) ... Selecting previously unselected package libexpat1:armhf. Preparing to unpack .../8-libexpat1_2.2.6-2+deb10u1_armhf.deb ... Unpacking libexpat1:armhf (2.2.6-2+deb10u1) ... Selecting previously unselected package python3.7-minimal. Preparing to unpack .../9-python3.7-minimal_3.7.3-2+deb10u1_armhf.deb ... Unpacking python3.7-minimal (3.7.3-2+deb10u1) ... Setting up libssl1.1:armhf (1.1.1d-0+deb10u3) ... Setting up libpython3.7-minimal:armhf (3.7.3-2+deb10u1) ... Setting up libexpat1:armhf (2.2.6-2+deb10u1) ... Setting up python3.7-minimal (3.7.3-2+deb10u1) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19827 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.7.3-1_armhf.deb ... Unpacking python3-minimal (3.7.3-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../1-mime-support_3.62_all.deb ... Unpacking mime-support (3.62) ... Selecting previously unselected package libmpdec2:armhf. Preparing to unpack .../2-libmpdec2_2.4.2-2_armhf.deb ... Unpacking libmpdec2:armhf (2.4.2-2) ... Selecting previously unselected package readline-common. Preparing to unpack .../3-readline-common_7.0-5_all.deb ... Unpacking readline-common (7.0-5) ... Selecting previously unselected package libreadline7:armhf. Preparing to unpack .../4-libreadline7_7.0-5_armhf.deb ... Unpacking libreadline7:armhf (7.0-5) ... Selecting previously unselected package libpython3.7-stdlib:armhf. Preparing to unpack .../5-libpython3.7-stdlib_3.7.3-2+deb10u1_armhf.deb ... Unpacking libpython3.7-stdlib:armhf (3.7.3-2+deb10u1) ... Selecting previously unselected package python3.7. Preparing to unpack .../6-python3.7_3.7.3-2+deb10u1_armhf.deb ... Unpacking python3.7 (3.7.3-2+deb10u1) ... Selecting previously unselected package libpython3-stdlib:armhf. Preparing to unpack .../7-libpython3-stdlib_3.7.3-1_armhf.deb ... Unpacking libpython3-stdlib:armhf (3.7.3-1) ... Setting up python3-minimal (3.7.3-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20288 files and directories currently installed.) Preparing to unpack .../000-python3_3.7.3-1_armhf.deb ... Unpacking python3 (3.7.3-1) ... Selecting previously unselected package netbase. Preparing to unpack .../001-netbase_5.6_all.deb ... Unpacking netbase (5.6) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../002-sensible-utils_0.0.12_all.deb ... Unpacking sensible-utils (0.0.12) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../003-libmagic-mgc_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic-mgc (1:5.35-4+deb10u1) ... Selecting previously unselected package libmagic1:armhf. Preparing to unpack .../004-libmagic1_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking libmagic1:armhf (1:5.35-4+deb10u1) ... Selecting previously unselected package file. Preparing to unpack .../005-file_1%3a5.35-4+deb10u1_armhf.deb ... Unpacking file (1:5.35-4+deb10u1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../006-gettext-base_0.19.8.1-9_armhf.deb ... Unpacking gettext-base (0.19.8.1-9) ... Selecting previously unselected package libsigsegv2:armhf. Preparing to unpack .../007-libsigsegv2_2.12-2_armhf.deb ... Unpacking libsigsegv2:armhf (2.12-2) ... Selecting previously unselected package m4. Preparing to unpack .../008-m4_1.4.18-2_armhf.deb ... Unpacking m4 (1.4.18-2) ... Selecting previously unselected package autoconf. Preparing to unpack .../009-autoconf_2.69-11_all.deb ... Unpacking autoconf (2.69-11) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../010-autotools-dev_20180224.1_all.deb ... Unpacking autotools-dev (20180224.1) ... Selecting previously unselected package automake. Preparing to unpack .../011-automake_1%3a1.16.1-4_all.deb ... Unpacking automake (1:1.16.1-4) ... Selecting previously unselected package autopoint. Preparing to unpack .../012-autopoint_0.19.8.1-9_all.deb ... Unpacking autopoint (0.19.8.1-9) ... Selecting previously unselected package openssl. Preparing to unpack .../013-openssl_1.1.1d-0+deb10u3_armhf.deb ... Unpacking openssl (1.1.1d-0+deb10u3) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../014-ca-certificates_20190110_all.deb ... Unpacking ca-certificates (20190110) ... Selecting previously unselected package rubygems-integration. Preparing to unpack .../015-rubygems-integration_1.11+deb10u1_all.deb ... Unpacking rubygems-integration (1.11+deb10u1) ... Selecting previously unselected package rake. Preparing to unpack .../016-rake_12.3.1-3+deb10u1_all.deb ... Unpacking rake (12.3.1-3+deb10u1) ... Selecting previously unselected package ruby-did-you-mean. Preparing to unpack .../017-ruby-did-you-mean_1.2.1-1_all.deb ... Unpacking ruby-did-you-mean (1.2.1-1) ... Selecting previously unselected package ruby-minitest. Preparing to unpack .../018-ruby-minitest_5.11.3-1_all.deb ... Unpacking ruby-minitest (5.11.3-1) ... Selecting previously unselected package ruby-net-telnet. Preparing to unpack .../019-ruby-net-telnet_0.1.1-2_all.deb ... Unpacking ruby-net-telnet (0.1.1-2) ... Selecting previously unselected package ruby-power-assert. Preparing to unpack .../020-ruby-power-assert_1.1.1-1_all.deb ... Unpacking ruby-power-assert (1.1.1-1) ... Selecting previously unselected package ruby-test-unit. Preparing to unpack .../021-ruby-test-unit_3.2.8-1_all.deb ... Unpacking ruby-test-unit (3.2.8-1) ... Selecting previously unselected package ruby-xmlrpc. Preparing to unpack .../022-ruby-xmlrpc_0.3.0-2_all.deb ... Unpacking ruby-xmlrpc (0.3.0-2) ... Selecting previously unselected package libncurses6:armhf. Preparing to unpack .../023-libncurses6_6.1+20181013-2+deb10u2_armhf.deb ... Unpacking libncurses6:armhf (6.1+20181013-2+deb10u2) ... Selecting previously unselected package libyaml-0-2:armhf. Preparing to unpack .../024-libyaml-0-2_0.2.1-1_armhf.deb ... Unpacking libyaml-0-2:armhf (0.2.1-1) ... Selecting previously unselected package libruby2.5:armhf. Preparing to unpack .../025-libruby2.5_2.5.5-3+deb10u1_armhf.deb ... Unpacking libruby2.5:armhf (2.5.5-3+deb10u1) ... Selecting previously unselected package ruby2.5. Preparing to unpack .../026-ruby2.5_2.5.5-3+deb10u1_armhf.deb ... Unpacking ruby2.5 (2.5.5-3+deb10u1) ... Selecting previously unselected package ruby. Preparing to unpack .../027-ruby_1%3a2.5.1_armhf.deb ... Unpacking ruby (1:2.5.1) ... Selecting previously unselected package libyajl2:armhf. Preparing to unpack .../028-libyajl2_2.1.0-3_armhf.deb ... Unpacking libyajl2:armhf (2.1.0-3) ... Selecting previously unselected package libyajl-dev:armhf. Preparing to unpack .../029-libyajl-dev_2.1.0-3_armhf.deb ... Unpacking libyajl-dev:armhf (2.1.0-3) ... Selecting previously unselected package ruby-ffi-yajl. Preparing to unpack .../030-ruby-ffi-yajl_2.3.1-1+b1_armhf.deb ... Unpacking ruby-ffi-yajl (2.3.1-1+b1) ... Selecting previously unselected package ruby-hashie. Preparing to unpack .../031-ruby-hashie_3.5.5-2_all.deb ... Unpacking ruby-hashie (3.5.5-2) ... Selecting previously unselected package ruby-mixlib-log. Preparing to unpack .../032-ruby-mixlib-log_1.7.1-1_all.deb ... Unpacking ruby-mixlib-log (1.7.1-1) ... Selecting previously unselected package ruby-rack. Preparing to unpack .../033-ruby-rack_2.0.6-3_all.deb ... Unpacking ruby-rack (2.0.6-3) ... Selecting previously unselected package ruby-uuidtools. Preparing to unpack .../034-ruby-uuidtools_2.1.5-2_all.deb ... Unpacking ruby-uuidtools (2.1.5-2) ... Selecting previously unselected package chef-zero. Preparing to unpack .../035-chef-zero_13.1.0-2_all.deb ... Unpacking chef-zero (13.1.0-2) ... Selecting previously unselected package libtool. Preparing to unpack .../036-libtool_2.4.6-9_all.deb ... Unpacking libtool (2.4.6-9) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../037-dh-autoreconf_19_all.deb ... Unpacking dh-autoreconf (19) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../038-libarchive-zip-perl_1.64-1_all.deb ... Unpacking libarchive-zip-perl (1.64-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../039-libfile-stripnondeterminism-perl_1.1.2-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.1.2-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../040-dh-strip-nondeterminism_1.1.2-1_all.deb ... Unpacking dh-strip-nondeterminism (1.1.2-1) ... Selecting previously unselected package libelf1:armhf. Preparing to unpack .../041-libelf1_0.176-1.1_armhf.deb ... Unpacking libelf1:armhf (0.176-1.1) ... Selecting previously unselected package dwz. Preparing to unpack .../042-dwz_0.12-3_armhf.deb ... Unpacking dwz (0.12-3) ... Selecting previously unselected package libglib2.0-0:armhf. Preparing to unpack .../043-libglib2.0-0_2.58.3-2+deb10u2_armhf.deb ... Unpacking libglib2.0-0:armhf (2.58.3-2+deb10u2) ... Selecting previously unselected package libicu63:armhf. Preparing to unpack .../044-libicu63_63.1-6+deb10u1_armhf.deb ... Unpacking libicu63:armhf (63.1-6+deb10u1) ... Selecting previously unselected package libxml2:armhf. Preparing to unpack .../045-libxml2_2.9.4+dfsg1-7+b3_armhf.deb ... Unpacking libxml2:armhf (2.9.4+dfsg1-7+b3) ... Selecting previously unselected package libcroco3:armhf. Preparing to unpack .../046-libcroco3_0.6.12-3_armhf.deb ... Unpacking libcroco3:armhf (0.6.12-3) ... Selecting previously unselected package gettext. Preparing to unpack .../047-gettext_0.19.8.1-9_armhf.deb ... Unpacking gettext (0.19.8.1-9) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../048-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../049-po-debconf_1.0.21_all.deb ... Unpacking po-debconf (1.0.21) ... Selecting previously unselected package debhelper. Preparing to unpack .../050-debhelper_12.1.1_all.deb ... Unpacking debhelper (12.1.1) ... Selecting previously unselected package libassuan0:armhf. Preparing to unpack .../051-libassuan0_2.5.2-1_armhf.deb ... Unpacking libassuan0:armhf (2.5.2-1) ... Selecting previously unselected package gpgconf. Preparing to unpack .../052-gpgconf_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpgconf (2.2.12-1+deb10u1) ... Selecting previously unselected package lsb-base. Preparing to unpack .../053-lsb-base_10.2019051400_all.deb ... Unpacking lsb-base (10.2019051400) ... Selecting previously unselected package libksba8:armhf. Preparing to unpack .../054-libksba8_1.3.5-2_armhf.deb ... Unpacking libksba8:armhf (1.3.5-2) ... Selecting previously unselected package libsasl2-modules-db:armhf. Preparing to unpack .../055-libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_armhf.deb ... Unpacking libsasl2-modules-db:armhf (2.1.27+dfsg-1+deb10u1) ... Selecting previously unselected package libsasl2-2:armhf. Preparing to unpack .../056-libsasl2-2_2.1.27+dfsg-1+deb10u1_armhf.deb ... Unpacking libsasl2-2:armhf (2.1.27+dfsg-1+deb10u1) ... Selecting previously unselected package libldap-common. Preparing to unpack .../057-libldap-common_2.4.47+dfsg-3+deb10u2_all.deb ... Unpacking libldap-common (2.4.47+dfsg-3+deb10u2) ... Selecting previously unselected package libldap-2.4-2:armhf. Preparing to unpack .../058-libldap-2.4-2_2.4.47+dfsg-3+deb10u2_armhf.deb ... Unpacking libldap-2.4-2:armhf (2.4.47+dfsg-3+deb10u2) ... Selecting previously unselected package libnpth0:armhf. Preparing to unpack .../059-libnpth0_1.6-1_armhf.deb ... Unpacking libnpth0:armhf (1.6-1) ... Selecting previously unselected package dirmngr. Preparing to unpack .../060-dirmngr_2.2.12-1+deb10u1_armhf.deb ... Unpacking dirmngr (2.2.12-1+deb10u1) ... Selecting previously unselected package gnupg-l10n. Preparing to unpack .../061-gnupg-l10n_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg-l10n (2.2.12-1+deb10u1) ... Selecting previously unselected package gnupg-utils. Preparing to unpack .../062-gnupg-utils_2.2.12-1+deb10u1_armhf.deb ... Unpacking gnupg-utils (2.2.12-1+deb10u1) ... Selecting previously unselected package gpg. Preparing to unpack .../063-gpg_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpg (2.2.12-1+deb10u1) ... Selecting previously unselected package pinentry-curses. Preparing to unpack .../064-pinentry-curses_1.1.0-2_armhf.deb ... Unpacking pinentry-curses (1.1.0-2) ... Selecting previously unselected package gpg-agent. Preparing to unpack .../065-gpg-agent_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpg-agent (2.2.12-1+deb10u1) ... Selecting previously unselected package gpg-wks-client. Preparing to unpack .../066-gpg-wks-client_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpg-wks-client (2.2.12-1+deb10u1) ... Selecting previously unselected package gpg-wks-server. Preparing to unpack .../067-gpg-wks-server_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpg-wks-server (2.2.12-1+deb10u1) ... Selecting previously unselected package gpgsm. Preparing to unpack .../068-gpgsm_2.2.12-1+deb10u1_armhf.deb ... Unpacking gpgsm (2.2.12-1+deb10u1) ... Selecting previously unselected package gnupg. Preparing to unpack .../069-gnupg_2.2.12-1+deb10u1_all.deb ... Unpacking gnupg (2.2.12-1+deb10u1) ... Selecting previously unselected package libfile-which-perl. Preparing to unpack .../070-libfile-which-perl_1.23-1_all.deb ... Unpacking libfile-which-perl (1.23-1) ... Selecting previously unselected package libfile-homedir-perl. Preparing to unpack .../071-libfile-homedir-perl_1.004-1_all.deb ... Unpacking libfile-homedir-perl (1.004-1) ... Selecting previously unselected package libio-pty-perl. Preparing to unpack .../072-libio-pty-perl_1%3a1.08-1.1+b5_armhf.deb ... Unpacking libio-pty-perl (1:1.08-1.1+b5) ... Selecting previously unselected package libipc-run-perl. Preparing to unpack .../073-libipc-run-perl_20180523.0-1_all.deb ... Unpacking libipc-run-perl (20180523.0-1) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../074-libclass-method-modifiers-perl_2.12-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.12-1) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../075-libsub-exporter-progressive-perl_0.001013-1_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001013-1) ... Selecting previously unselected package libdevel-globaldestruction-perl. Preparing to unpack .../076-libdevel-globaldestruction-perl_0.14-1_all.deb ... Unpacking libdevel-globaldestruction-perl (0.14-1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../077-libb-hooks-op-check-perl_0.22-1+b1_armhf.deb ... Unpacking libb-hooks-op-check-perl (0.22-1+b1) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../078-libdynaloader-functions-perl_0.003-1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../079-libdevel-callchecker-perl_0.008-1_armhf.deb ... Unpacking libdevel-callchecker-perl (0.008-1) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../080-libparams-classify-perl_0.015-1+b1_armhf.deb ... Unpacking libparams-classify-perl (0.015-1+b1) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../081-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../082-libimport-into-perl_1.002005-1_all.deb ... Unpacking libimport-into-perl (1.002005-1) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../083-librole-tiny-perl_2.000006-1_all.deb ... Unpacking librole-tiny-perl (2.000006-1) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../084-libstrictures-perl_2.000005-1_all.deb ... Unpacking libstrictures-perl (2.000005-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../085-libsub-quote-perl_2.005001-1_all.deb ... Unpacking libsub-quote-perl (2.005001-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../086-libmoo-perl_2.003004-2_all.deb ... Unpacking libmoo-perl (2.003004-2) ... Selecting previously unselected package libencode-locale-perl. Preparing to unpack .../087-libencode-locale-perl_1.05-1_all.deb ... Unpacking libencode-locale-perl (1.05-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../088-libtimedate-perl_2.3000-2+deb10u1_all.deb ... Unpacking libtimedate-perl (2.3000-2+deb10u1) ... Selecting previously unselected package libhttp-date-perl. Preparing to unpack .../089-libhttp-date-perl_6.02-1_all.deb ... Unpacking libhttp-date-perl (6.02-1) ... Selecting previously unselected package libfile-listing-perl. Preparing to unpack .../090-libfile-listing-perl_6.04-1_all.deb ... Unpacking libfile-listing-perl (6.04-1) ... Selecting previously unselected package libhtml-tagset-perl. Preparing to unpack .../091-libhtml-tagset-perl_3.20-3_all.deb ... Unpacking libhtml-tagset-perl (3.20-3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../092-liburi-perl_1.76-1_all.deb ... Unpacking liburi-perl (1.76-1) ... Selecting previously unselected package libhtml-parser-perl. Preparing to unpack .../093-libhtml-parser-perl_3.72-3+b3_armhf.deb ... Unpacking libhtml-parser-perl (3.72-3+b3) ... Selecting previously unselected package libhtml-tree-perl. Preparing to unpack .../094-libhtml-tree-perl_5.07-2_all.deb ... Unpacking libhtml-tree-perl (5.07-2) ... Selecting previously unselected package libio-html-perl. Preparing to unpack .../095-libio-html-perl_1.001-1_all.deb ... Unpacking libio-html-perl (1.001-1) ... Selecting previously unselected package liblwp-mediatypes-perl. Preparing to unpack .../096-liblwp-mediatypes-perl_6.02-1_all.deb ... Unpacking liblwp-mediatypes-perl (6.02-1) ... Selecting previously unselected package libhttp-message-perl. Preparing to unpack .../097-libhttp-message-perl_6.18-1_all.deb ... Unpacking libhttp-message-perl (6.18-1) ... Selecting previously unselected package libhttp-cookies-perl. Preparing to unpack .../098-libhttp-cookies-perl_6.04-1_all.deb ... Unpacking libhttp-cookies-perl (6.04-1) ... Selecting previously unselected package libhttp-negotiate-perl. Preparing to unpack .../099-libhttp-negotiate-perl_6.01-1_all.deb ... Unpacking libhttp-negotiate-perl (6.01-1) ... Selecting previously unselected package perl-openssl-defaults:armhf. Preparing to unpack .../100-perl-openssl-defaults_3_armhf.deb ... Unpacking perl-openssl-defaults:armhf (3) ... Selecting previously unselected package libnet-ssleay-perl. Preparing to unpack .../101-libnet-ssleay-perl_1.85-2+b1_armhf.deb ... Unpacking libnet-ssleay-perl (1.85-2+b1) ... Selecting previously unselected package libio-socket-ssl-perl. Preparing to unpack .../102-libio-socket-ssl-perl_2.060-3_all.deb ... Unpacking libio-socket-ssl-perl (2.060-3) ... Selecting previously unselected package libnet-http-perl. Preparing to unpack .../103-libnet-http-perl_6.18-1_all.deb ... Unpacking libnet-http-perl (6.18-1) ... Selecting previously unselected package liblwp-protocol-https-perl. Preparing to unpack .../104-liblwp-protocol-https-perl_6.07-2_all.deb ... Unpacking liblwp-protocol-https-perl (6.07-2) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../105-libtry-tiny-perl_0.30-1_all.deb ... Unpacking libtry-tiny-perl (0.30-1) ... Selecting previously unselected package libwww-robotrules-perl. Preparing to unpack .../106-libwww-robotrules-perl_6.02-1_all.deb ... Unpacking libwww-robotrules-perl (6.02-1) ... Selecting previously unselected package libwww-perl. Preparing to unpack .../107-libwww-perl_6.36-2_all.deb ... Unpacking libwww-perl (6.36-2) ... Selecting previously unselected package patchutils. Preparing to unpack .../108-patchutils_0.3.4-2_armhf.deb ... Unpacking patchutils (0.3.4-2) ... Selecting previously unselected package wdiff. Preparing to unpack .../109-wdiff_1.2.2-2+b1_armhf.deb ... Unpacking wdiff (1.2.2-2+b1) ... Selecting previously unselected package devscripts. Preparing to unpack .../110-devscripts_2.19.5+deb10u1_armhf.deb ... Unpacking devscripts (2.19.5+deb10u1) ... Selecting previously unselected package distro-info-data. Preparing to unpack .../111-distro-info-data_0.41+deb10u2_all.deb ... Unpacking distro-info-data (0.41+deb10u2) ... Selecting previously unselected package gem2deb-test-runner. Preparing to unpack .../112-gem2deb-test-runner_0.43_armhf.deb ... Unpacking gem2deb-test-runner (0.43) ... Selecting previously unselected package libgmpxx4ldbl:armhf. Preparing to unpack .../113-libgmpxx4ldbl_2%3a6.1.2+dfsg-4_armhf.deb ... Unpacking libgmpxx4ldbl:armhf (2:6.1.2+dfsg-4) ... Selecting previously unselected package libgmp-dev:armhf. Preparing to unpack .../114-libgmp-dev_2%3a6.1.2+dfsg-4_armhf.deb ... Unpacking libgmp-dev:armhf (2:6.1.2+dfsg-4) ... Selecting previously unselected package ruby2.5-dev:armhf. Preparing to unpack .../115-ruby2.5-dev_2.5.5-3+deb10u1_armhf.deb ... Unpacking ruby2.5-dev:armhf (2.5.5-3+deb10u1) ... Selecting previously unselected package ruby-all-dev:armhf. Preparing to unpack .../116-ruby-all-dev_1%3a2.5.1_armhf.deb ... Unpacking ruby-all-dev:armhf (1:2.5.1) ... Selecting previously unselected package ruby-setup. Preparing to unpack .../117-ruby-setup_3.4.1-9_all.deb ... Unpacking ruby-setup (3.4.1-9) ... Selecting previously unselected package gem2deb. Preparing to unpack .../118-gem2deb_0.43_armhf.deb ... Unpacking gem2deb (0.43) ... Selecting previously unselected package libkeyutils1:armhf. Preparing to unpack .../119-libkeyutils1_1.6-6_armhf.deb ... Unpacking libkeyutils1:armhf (1.6-6) ... Selecting previously unselected package libkrb5support0:armhf. Preparing to unpack .../120-libkrb5support0_1.17-3_armhf.deb ... Unpacking libkrb5support0:armhf (1.17-3) ... Selecting previously unselected package libk5crypto3:armhf. Preparing to unpack .../121-libk5crypto3_1.17-3_armhf.deb ... Unpacking libk5crypto3:armhf (1.17-3) ... Selecting previously unselected package libkrb5-3:armhf. Preparing to unpack .../122-libkrb5-3_1.17-3_armhf.deb ... Unpacking libkrb5-3:armhf (1.17-3) ... Selecting previously unselected package libgssapi-krb5-2:armhf. Preparing to unpack .../123-libgssapi-krb5-2_1.17-3_armhf.deb ... Unpacking libgssapi-krb5-2:armhf (1.17-3) ... Selecting previously unselected package libnghttp2-14:armhf. Preparing to unpack .../124-libnghttp2-14_1.36.0-2+deb10u1_armhf.deb ... Unpacking libnghttp2-14:armhf (1.36.0-2+deb10u1) ... Selecting previously unselected package libpsl5:armhf. Preparing to unpack .../125-libpsl5_0.20.2-2_armhf.deb ... Unpacking libpsl5:armhf (0.20.2-2) ... Selecting previously unselected package librtmp1:armhf. Preparing to unpack .../126-librtmp1_2.4+20151223.gitfa8646d.1-2_armhf.deb ... Unpacking librtmp1:armhf (2.4+20151223.gitfa8646d.1-2) ... Selecting previously unselected package libssh2-1:armhf. Preparing to unpack .../127-libssh2-1_1.8.0-2.1_armhf.deb ... Unpacking libssh2-1:armhf (1.8.0-2.1) ... Selecting previously unselected package libcurl4:armhf. Preparing to unpack .../128-libcurl4_7.64.0-4+deb10u1_armhf.deb ... Unpacking libcurl4:armhf (7.64.0-4+deb10u1) ... Selecting previously unselected package libhttp-parser2.8:armhf. Preparing to unpack .../129-libhttp-parser2.8_2.8.1-1_armhf.deb ... Unpacking libhttp-parser2.8:armhf (2.8.1-1) ... Selecting previously unselected package lsb-release. Preparing to unpack .../130-lsb-release_10.2019051400_all.deb ... Unpacking lsb-release (10.2019051400) ... Selecting previously unselected package publicsuffix. Preparing to unpack .../131-publicsuffix_20190415.1030-1_all.deb ... Unpacking publicsuffix (20190415.1030-1) ... Selecting previously unselected package ruby-public-suffix. Preparing to unpack .../132-ruby-public-suffix_3.0.3+ds-1_all.deb ... Unpacking ruby-public-suffix (3.0.3+ds-1) ... Selecting previously unselected package ruby-addressable. Preparing to unpack .../133-ruby-addressable_2.5.2-1_all.deb ... Unpacking ruby-addressable (2.5.2-1) ... Selecting previously unselected package ruby-fuzzyurl. Preparing to unpack .../134-ruby-fuzzyurl_0.8.0-1_all.deb ... Unpacking ruby-fuzzyurl (0.8.0-1) ... Selecting previously unselected package ruby-tomlrb. Preparing to unpack .../135-ruby-tomlrb_1.2.8-1_all.deb ... Unpacking ruby-tomlrb (1.2.8-1) ... Selecting previously unselected package ruby-mixlib-config. Preparing to unpack .../136-ruby-mixlib-config_2.2.6-1_all.deb ... Unpacking ruby-mixlib-config (2.2.6-1) ... Selecting previously unselected package ruby-mixlib-shellout. Preparing to unpack .../137-ruby-mixlib-shellout_2.2.6-1_all.deb ... Unpacking ruby-mixlib-shellout (2.2.6-1) ... Selecting previously unselected package ruby-chef-config. Preparing to unpack .../138-ruby-chef-config_13.8.7-4_all.deb ... Unpacking ruby-chef-config (13.8.7-4) ... Selecting previously unselected package ruby-ffi. Preparing to unpack .../139-ruby-ffi_1.9.10debian-1+b4_armhf.deb ... Unpacking ruby-ffi (1.9.10debian-1+b4) ... Selecting previously unselected package ruby-ipaddress. Preparing to unpack .../140-ruby-ipaddress_0.8.3-2_all.deb ... Unpacking ruby-ipaddress (0.8.3-2) ... Selecting previously unselected package ruby-mixlib-cli. Preparing to unpack .../141-ruby-mixlib-cli_1.7.0-1_all.deb ... Unpacking ruby-mixlib-cli (1.7.0-1) ... Selecting previously unselected package ruby-plist. Preparing to unpack .../142-ruby-plist_3.2.0-1_all.deb ... Unpacking ruby-plist (3.2.0-1) ... Selecting previously unselected package ruby-systemu. Preparing to unpack .../143-ruby-systemu_2.6.5-1_all.deb ... Unpacking ruby-systemu (2.6.5-1) ... Selecting previously unselected package ohai. Preparing to unpack .../144-ohai_13.8.0-1_all.deb ... Unpacking ohai (13.8.0-1) ... Selecting previously unselected package ruby-bcrypt-pbkdf. Preparing to unpack .../145-ruby-bcrypt-pbkdf_1.0.0-2_armhf.deb ... Unpacking ruby-bcrypt-pbkdf (1.0.0-2) ... Selecting previously unselected package ruby-molinillo. Preparing to unpack .../146-ruby-molinillo_0.6.4-1_all.deb ... Unpacking ruby-molinillo (0.6.4-1) ... Selecting previously unselected package ruby-net-http-persistent. Preparing to unpack .../147-ruby-net-http-persistent_2.9.4-2_all.deb ... Unpacking ruby-net-http-persistent (2.9.4-2) ... Selecting previously unselected package ruby-thor. Preparing to unpack .../148-ruby-thor_0.19.4-1_all.deb ... Unpacking ruby-thor (0.19.4-1) ... Selecting previously unselected package ruby-bundler. Preparing to unpack .../149-ruby-bundler_1.17.3-3_all.deb ... Unpacking ruby-bundler (1.17.3-3) ... Selecting previously unselected package ruby-compat-resource. Preparing to unpack .../150-ruby-compat-resource_12.10.5-1_all.deb ... Unpacking ruby-compat-resource (12.10.5-1) ... Selecting previously unselected package ruby-cheffish. Preparing to unpack .../151-ruby-cheffish_13.1.0-2_all.deb ... Unpacking ruby-cheffish (13.1.0-2) ... Selecting previously unselected package ruby-cookiejar. Preparing to unpack .../152-ruby-cookiejar_0.3.3-1_all.deb ... Unpacking ruby-cookiejar (0.3.3-1) ... Selecting previously unselected package ruby-safe-yaml. Preparing to unpack .../153-ruby-safe-yaml_1.0.4-2_all.deb ... Unpacking ruby-safe-yaml (1.0.4-2) ... Selecting previously unselected package ruby-crack. Preparing to unpack .../154-ruby-crack_0.4.3-3_all.deb ... Unpacking ruby-crack (0.4.3-3) ... Selecting previously unselected package ruby-diff-lcs. Preparing to unpack .../155-ruby-diff-lcs_1.3-1_all.deb ... Unpacking ruby-diff-lcs (1.3-1) ... Selecting previously unselected package ruby-unf-ext. Preparing to unpack .../156-ruby-unf-ext_0.0.7.5-1_armhf.deb ... Unpacking ruby-unf-ext (0.0.7.5-1) ... Selecting previously unselected package ruby-unf. Preparing to unpack .../157-ruby-unf_0.1.4-2_all.deb ... Unpacking ruby-unf (0.1.4-2) ... Selecting previously unselected package ruby-domain-name. Preparing to unpack .../158-ruby-domain-name_0.5.20160216-2_all.deb ... Unpacking ruby-domain-name (0.5.20160216-2) ... Selecting previously unselected package ruby-ed25519. Preparing to unpack .../159-ruby-ed25519_1.2.4-1_armhf.deb ... Unpacking ruby-ed25519 (1.2.4-1) ... Selecting previously unselected package ruby-eventmachine. Preparing to unpack .../160-ruby-eventmachine_1.0.7-4.2_armhf.deb ... Unpacking ruby-eventmachine (1.0.7-4.2) ... Selecting previously unselected package ruby-em-socksify. Preparing to unpack .../161-ruby-em-socksify_0.3.1-1_all.deb ... Unpacking ruby-em-socksify (0.3.1-1) ... Selecting previously unselected package ruby-escape-utils. Preparing to unpack .../162-ruby-escape-utils_1.2.1-1+b1_armhf.deb ... Unpacking ruby-escape-utils (1.2.1-1+b1) ... Selecting previously unselected package ruby-http-parser.rb. Preparing to unpack .../163-ruby-http-parser.rb_0.6.0-4+b3_armhf.deb ... Unpacking ruby-http-parser.rb (0.6.0-4+b3) ... Selecting previously unselected package ruby-multi-json. Preparing to unpack .../164-ruby-multi-json_1.12.1-1_all.deb ... Unpacking ruby-multi-json (1.12.1-1) ... Selecting previously unselected package ruby-em-http-request. Preparing to unpack .../165-ruby-em-http-request_1.1.5-2_all.deb ... Unpacking ruby-em-http-request (1.1.5-2) ... Selecting previously unselected package ruby-erubis. Preparing to unpack .../166-ruby-erubis_2.7.0-3_all.deb ... Unpacking ruby-erubis (2.7.0-3) ... Selecting previously unselected package ruby-mime-types-data. Preparing to unpack .../167-ruby-mime-types-data_3.2015.1120-1_all.deb ... Unpacking ruby-mime-types-data (3.2015.1120-1) ... Selecting previously unselected package ruby-mime-types. Preparing to unpack .../168-ruby-mime-types_3.2.2-1_all.deb ... Unpacking ruby-mime-types (3.2.2-1) ... Selecting previously unselected package ruby-ethon. Preparing to unpack .../169-ruby-ethon_0.9.0-2_all.deb ... Unpacking ruby-ethon (0.9.0-2) ... Selecting previously unselected package ruby-hashdiff. Preparing to unpack .../170-ruby-hashdiff_0.2.3-1_all.deb ... Unpacking ruby-hashdiff (0.2.3-1) ... Selecting previously unselected package ruby-highline. Preparing to unpack .../171-ruby-highline_1.7.8-1_all.deb ... Unpacking ruby-highline (1.7.8-1) ... Selecting previously unselected package ruby-http-cookie. Preparing to unpack .../172-ruby-http-cookie_1.0.3-1_all.deb ... Unpacking ruby-http-cookie (1.0.3-1) ... Selecting previously unselected package ruby-httpclient. Preparing to unpack .../173-ruby-httpclient_2.8.3-2_all.deb ... Unpacking ruby-httpclient (2.8.3-2) ... Selecting previously unselected package ruby-iniparse. Preparing to unpack .../174-ruby-iniparse_1.4.2-1_all.deb ... Unpacking ruby-iniparse (1.4.2-1) ... Selecting previously unselected package ruby-iso8601. Preparing to unpack .../175-ruby-iso8601_0.12.1-1_all.deb ... Unpacking ruby-iso8601 (0.12.1-1) ... Selecting previously unselected package ruby-mixlib-archive. Preparing to unpack .../176-ruby-mixlib-archive_0.4.1-1_all.deb ... Unpacking ruby-mixlib-archive (0.4.1-1) ... Selecting previously unselected package ruby-mixlib-authentication. Preparing to unpack .../177-ruby-mixlib-authentication_1.4.1-1_all.deb ... Unpacking ruby-mixlib-authentication (1.4.1-1) ... Selecting previously unselected package ruby-net-ssh. Preparing to unpack .../178-ruby-net-ssh_1%3a5.1.0-1_all.deb ... Unpacking ruby-net-ssh (1:5.1.0-1) ... Selecting previously unselected package ruby-net-scp. Preparing to unpack .../179-ruby-net-scp_1.2.1-5_all.deb ... Unpacking ruby-net-scp (1.2.1-5) ... Selecting previously unselected package ruby-net-sftp. Preparing to unpack .../180-ruby-net-sftp_1%3a2.1.2-4_all.deb ... Unpacking ruby-net-sftp (1:2.1.2-4) ... Selecting previously unselected package ruby-net-ssh-gateway. Preparing to unpack .../181-ruby-net-ssh-gateway_2.0.0-1_all.deb ... Unpacking ruby-net-ssh-gateway (2.0.0-1) ... Selecting previously unselected package ruby-net-ssh-multi. Preparing to unpack .../182-ruby-net-ssh-multi_1.2.1-3_all.deb ... Unpacking ruby-net-ssh-multi (1.2.1-3) ... Selecting previously unselected package ruby-proxifier. Preparing to unpack .../183-ruby-proxifier_1.0.3-1_all.deb ... Unpacking ruby-proxifier (1.0.3-1) ... Selecting previously unselected package ruby-rspec-support. Preparing to unpack .../184-ruby-rspec-support_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-support (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-expectations. Preparing to unpack .../185-ruby-rspec-expectations_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-expectations (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-mocks. Preparing to unpack .../186-ruby-rspec-mocks_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-mocks (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-thread-order. Preparing to unpack .../187-ruby-thread-order_1.1.0-1_all.deb ... Unpacking ruby-thread-order (1.1.0-1) ... Selecting previously unselected package ruby-rspec-core. Preparing to unpack .../188-ruby-rspec-core_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec-core (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec. Preparing to unpack .../189-ruby-rspec_3.8.0c0e1m0s0-1_all.deb ... Unpacking ruby-rspec (3.8.0c0e1m0s0-1) ... Selecting previously unselected package ruby-rspec-its. Preparing to unpack .../190-ruby-rspec-its_1.2.0-3_all.deb ... Unpacking ruby-rspec-its (1.2.0-3) ... Selecting previously unselected package ruby-specinfra. Preparing to unpack .../191-ruby-specinfra_2.76.9-1_all.deb ... Unpacking ruby-specinfra (2.76.9-1) ... Selecting previously unselected package ruby-serverspec. Preparing to unpack .../192-ruby-serverspec_2.41.3-3_all.deb ... Unpacking ruby-serverspec (2.41.3-3) ... Selecting previously unselected package ruby-syslog-logger. Preparing to unpack .../193-ruby-syslog-logger_1.6.8-1_all.deb ... Unpacking ruby-syslog-logger (1.6.8-1) ... Selecting previously unselected package ruby-typhoeus. Preparing to unpack .../194-ruby-typhoeus_1.3.1-1_all.deb ... Unpacking ruby-typhoeus (1.3.1-1) ... Selecting previously unselected package ruby-webmock. Preparing to unpack .../195-ruby-webmock_3.4.2-1_all.deb ... Unpacking ruby-webmock (3.4.2-1) ... Setting up libksba8:armhf (1.3.5-2) ... Setting up libpipeline1:armhf (1.5.1-2) ... Setting up wdiff (1.2.2-2+b1) ... Setting up lsb-base (10.2019051400) ... Setting up libfile-which-perl (1.23-1) ... Setting up libkeyutils1:armhf (1.6-6) ... Setting up libpsl5:armhf (0.20.2-2) ... Setting up mime-support (3.62) ... Setting up libdynaloader-functions-perl (0.003-1) ... Setting up libclass-method-modifiers-perl (2.12-1) ... Setting up ruby-power-assert (1.1.1-1) ... Setting up libio-pty-perl (1:1.08-1.1+b5) ... Setting up libmagic-mgc (1:5.35-4+deb10u1) ... Setting up libarchive-zip-perl (1.64-1) ... Setting up libyaml-0-2:armhf (0.2.1-1) ... Setting up libglib2.0-0:armhf (2.58.3-2+deb10u2) ... No schema files found: doing nothing. Setting up distro-info-data (0.41+deb10u2) ... Setting up libhtml-tagset-perl (3.20-3) ... Setting up liblwp-mediatypes-perl (6.02-1) ... Setting up libyajl2:armhf (2.1.0-3) ... Setting up libtry-tiny-perl (0.30-1) ... Setting up libnghttp2-14:armhf (1.36.0-2+deb10u1) ... Setting up libmagic1:armhf (1:5.35-4+deb10u1) ... Setting up perl-openssl-defaults:armhf (3) ... Setting up gettext-base (0.19.8.1-9) ... Setting up libencode-locale-perl (1.05-1) ... Setting up libnpth0:armhf (1.6-1) ... Setting up file (1:5.35-4+deb10u1) ... Setting up libassuan0:armhf (2.5.2-1) ... Setting up libldap-common (2.4.47+dfsg-3+deb10u2) ... Setting up libicu63:armhf (63.1-6+deb10u1) ... Setting up libkrb5support0:armhf (1.17-3) ... Setting up libsasl2-modules-db:armhf (2.1.27+dfsg-1+deb10u1) ... Setting up ruby-minitest (5.11.3-1) ... Setting up patchutils (0.3.4-2) ... Setting up autotools-dev (20180224.1) ... Setting up libgmpxx4ldbl:armhf (2:6.1.2+dfsg-4) ... Setting up ruby-test-unit (3.2.8-1) ... Setting up gnupg-l10n (2.2.12-1+deb10u1) ... Setting up librtmp1:armhf (2.4+20151223.gitfa8646d.1-2) ... Setting up libncurses6:armhf (6.1+20181013-2+deb10u2) ... Setting up ruby-net-telnet (0.1.1-2) ... Setting up libsigsegv2:armhf (2.12-2) ... Setting up libio-html-perl (1.001-1) ... Setting up autopoint (0.19.8.1-9) ... Setting up libb-hooks-op-check-perl (0.22-1+b1) ... Setting up libipc-run-perl (20180523.0-1) ... Setting up libk5crypto3:armhf (1.17-3) ... Setting up libsasl2-2:armhf (2.1.27+dfsg-1+deb10u1) ... Setting up libsub-exporter-progressive-perl (0.001013-1) ... Setting up libtimedate-perl (2.3000-2+deb10u1) ... Setting up libyajl-dev:armhf (2.1.0-3) ... Setting up sensible-utils (0.0.12) ... Setting up libuchardet0:armhf (0.0.6-3) ... Setting up librole-tiny-perl (2.000006-1) ... Setting up libdevel-globaldestruction-perl (0.14-1) ... Setting up libssh2-1:armhf (1.8.0-2.1) ... Setting up netbase (5.6) ... Setting up libstrictures-perl (2.000005-1) ... Setting up libsub-quote-perl (2.005001-1) ... Setting up libkrb5-3:armhf (1.17-3) ... Setting up libmpdec2:armhf (2.4.2-2) ... Setting up ruby-did-you-mean (1.2.1-1) ... Setting up libfile-homedir-perl (1.004-1) ... Setting up libhttp-parser2.8:armhf (2.8.1-1) ... Setting up openssl (1.1.1d-0+deb10u3) ... Setting up libbsd0:armhf (0.9.1-2) ... Setting up libelf1:armhf (0.176-1.1) ... Setting up readline-common (7.0-5) ... Setting up ruby-xmlrpc (0.3.0-2) ... Setting up publicsuffix (20190415.1030-1) ... Setting up libxml2:armhf (2.9.4+dfsg1-7+b3) ... Setting up liburi-perl (1.76-1) ... Setting up libreadline7:armhf (7.0-5) ... Setting up gnupg-utils (2.2.12-1+deb10u1) ... Setting up libnet-ssleay-perl (1.85-2+b1) ... Setting up pinentry-curses (1.1.0-2) ... Setting up libfile-stripnondeterminism-perl (1.1.2-1) ... Setting up libhttp-date-perl (6.02-1) ... Setting up libpython3.7-stdlib:armhf (3.7.3-2+deb10u1) ... Setting up libgmp-dev:armhf (2:6.1.2+dfsg-4) ... Setting up libfile-listing-perl (6.04-1) ... Setting up libtool (2.4.6-9) ... Setting up libldap-2.4-2:armhf (2.4.47+dfsg-3+deb10u2) ... Setting up libnet-http-perl (6.18-1) ... Setting up m4 (1.4.18-2) ... Setting up libdevel-callchecker-perl (0.008-1) ... Setting up ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 128 added, 0 removed; done. Setting up bsdmainutils (11.1.2+b1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up libgssapi-krb5-2:armhf (1.17-3) ... Setting up libcroco3:armhf (0.6.12-3) ... Setting up autoconf (2.69-11) ... Setting up libwww-robotrules-perl (6.02-1) ... Setting up dwz (0.12-3) ... Setting up groff-base (1.22.4-3) ... Setting up libhtml-parser-perl (3.72-3+b3) ... Setting up gpgconf (2.2.12-1+deb10u1) ... Setting up libcurl4:armhf (7.64.0-4+deb10u1) ... Setting up libio-socket-ssl-perl (2.060-3) ... Setting up gpg (2.2.12-1+deb10u1) ... Setting up libpython3-stdlib:armhf (3.7.3-1) ... Setting up libhttp-message-perl (6.18-1) ... Setting up automake (1:1.16.1-4) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up python3.7 (3.7.3-2+deb10u1) ... Setting up libhttp-negotiate-perl (6.01-1) ... Setting up gettext (0.19.8.1-9) ... Setting up gpg-agent (2.2.12-1+deb10u1) ... Setting up libhttp-cookies-perl (6.04-1) ... Setting up libhtml-tree-perl (5.07-2) ... Setting up libparams-classify-perl (0.015-1+b1) ... Setting up gpgsm (2.2.12-1+deb10u1) ... Setting up python3 (3.7.3-1) ... Setting up rubygems-integration (1.11+deb10u1) ... Setting up man-db (2.8.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up intltool-debian (0.35.0+20060710.5) ... Setting up dirmngr (2.2.12-1+deb10u1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up gpg-wks-server (2.2.12-1+deb10u1) ... Setting up lsb-release (10.2019051400) ... Setting up gpg-wks-client (2.2.12-1+deb10u1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libmoo-perl (2.003004-2) ... Setting up po-debconf (1.0.21) ... Setting up gnupg (2.2.12-1+deb10u1) ... Setting up libwww-perl (6.36-2) ... Setting up dh-autoreconf (19) ... Setting up devscripts (2.19.5+deb10u1) ... Setting up rake (12.3.1-3+deb10u1) ... Setting up dh-strip-nondeterminism (1.1.2-1) ... Setting up liblwp-protocol-https-perl (6.07-2) ... Setting up libruby2.5:armhf (2.5.5-3+deb10u1) ... Setting up debhelper (12.1.1) ... Setting up ruby2.5-dev:armhf (2.5.5-3+deb10u1) ... Setting up ruby2.5 (2.5.5-3+deb10u1) ... Setting up ruby-all-dev:armhf (1:2.5.1) ... Setting up ruby (1:2.5.1) ... Setting up ruby-thor (0.19.4-1) ... Setting up ruby-setup (3.4.1-9) ... Setting up ruby-systemu (2.6.5-1) ... Setting up ruby-mixlib-log (1.7.1-1) ... Setting up ruby-compat-resource (12.10.5-1) ... Setting up ruby-syslog-logger (1.6.8-1) ... Setting up ruby-escape-utils (1.2.1-1+b1) ... Setting up ruby-rspec-support (3.8.0c0e1m0s0-1) ... Setting up ruby-rspec-mocks (3.8.0c0e1m0s0-1) ... Setting up ruby-ipaddress (0.8.3-2) ... Setting up ruby-mime-types-data (3.2015.1120-1) ... Setting up ruby-uuidtools (2.1.5-2) ... Setting up ruby-iniparse (1.4.2-1) ... Setting up ruby-ffi-yajl (2.3.1-1+b1) ... Setting up ruby-mixlib-shellout (2.2.6-1) ... Setting up ruby-ffi (1.9.10debian-1+b4) ... Setting up ruby-fuzzyurl (0.8.0-1) ... Setting up ruby-diff-lcs (1.3-1) ... Setting up ruby-net-http-persistent (2.9.4-2) ... Setting up ruby-proxifier (1.0.3-1) ... Setting up ruby-multi-json (1.12.1-1) ... Setting up ruby-molinillo (0.6.4-1) ... Setting up ruby-erubis (2.7.0-3) ... Setting up ruby-hashie (3.5.5-2) ... Setting up ruby-bcrypt-pbkdf (1.0.0-2) ... Setting up ruby-rack (2.0.6-3) ... Setting up ruby-highline (1.7.8-1) ... Setting up ruby-unf-ext (0.0.7.5-1) ... Setting up ruby-hashdiff (0.2.3-1) ... Setting up ruby-eventmachine (1.0.7-4.2) ... Setting up ruby-tomlrb (1.2.8-1) ... Setting up ruby-public-suffix (3.0.3+ds-1) ... Setting up ruby-mixlib-cli (1.7.0-1) ... Setting up ruby-plist (3.2.0-1) ... Setting up ruby-iso8601 (0.12.1-1) ... Setting up ruby-bundler (1.17.3-3) ... Setting up ruby-mixlib-archive (0.4.1-1) ... Setting up ruby-thread-order (1.1.0-1) ... Setting up ruby-cookiejar (0.3.3-1) ... Setting up ruby-em-socksify (0.3.1-1) ... Setting up ruby-safe-yaml (1.0.4-2) ... Setting up ruby-crack (0.4.3-3) ... Setting up ruby-ed25519 (1.2.4-1) ... Setting up ruby-http-parser.rb (0.6.0-4+b3) ... Setting up gem2deb-test-runner (0.43) ... Setting up ruby-mixlib-config (2.2.6-1) ... Setting up chef-zero (13.1.0-2) ... Setting up ruby-mixlib-authentication (1.4.1-1) ... Setting up ruby-rspec-expectations (3.8.0c0e1m0s0-1) ... Setting up ruby-unf (0.1.4-2) ... Setting up ruby-mime-types (3.2.2-1) ... Setting up ruby-ethon (0.9.0-2) ... Setting up ruby-rspec-core (3.8.0c0e1m0s0-1) ... Setting up ruby-rspec-its (1.2.0-3) ... Setting up gem2deb (0.43) ... Setting up ruby-cheffish (13.1.0-2) ... Setting up ruby-addressable (2.5.2-1) ... Setting up ruby-rspec (3.8.0c0e1m0s0-1) ... Setting up ruby-typhoeus (1.3.1-1) ... Setting up ruby-em-http-request (1.1.5-2) ... Setting up ruby-net-ssh (1:5.1.0-1) ... Setting up ruby-net-ssh-gateway (2.0.0-1) ... Setting up ruby-net-ssh-multi (1.2.1-3) ... Setting up ruby-domain-name (0.5.20160216-2) ... Setting up ruby-chef-config (13.8.7-4) ... Setting up ruby-net-scp (1.2.1-5) ... Setting up ruby-http-cookie (1.0.3-1) ... Setting up ruby-net-sftp (1:2.1.2-4) ... Setting up ruby-specinfra (2.76.9-1) ... Setting up ohai (13.8.0-1) ... Setting up ruby-serverspec (2.41.3-3) ... Setting up ruby-httpclient (2.8.3-2) ... Setting up ruby-webmock (3.4.2-1) ... Processing triggers for libc-bin (2.28-10) ... Processing triggers for ca-certificates (20190110) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps I: Building the package I: Running cd /build/chef-13.8.7/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package chef dpkg-buildpackage: info: source version 13.8.7-4 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Antonio Terceiro dpkg-source --before-build . dpkg-buildpackage: info: host architecture armhf debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/chef.substvars debian/ruby-chef-config.substvars debian/files rm -fr -- debian/chef/ debian/tmp/ debian/ruby-chef-config/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) debian/rules binary dh binary --buildsystem=ruby --with ruby dh_update_autotools_config -O--buildsystem=ruby dh_autoreconf -O--buildsystem=ruby dh_auto_configure -O--buildsystem=ruby dh_ruby --configure dh_auto_build -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -O--buildsystem=ruby dh_prep -O--buildsystem=ruby rm -f -- debian/chef.substvars debian/ruby-chef-config.substvars rm -fr -- debian/.debhelper/generated/chef/ debian/chef/ debian/tmp/ debian/.debhelper/generated/ruby-chef-config/ debian/ruby-chef-config/ dh_installdirs -O--buildsystem=ruby install -d debian/chef install -d debian/chef/etc/chef debian/chef/usr/share/chef debian/chef/var/cache/chef debian/chef/var/cache/chef/checksums debian/chef/var/log/chef install -d debian/ruby-chef-config debian/rules override_dh_auto_install make[1]: Entering directory '/build/chef-13.8.7' ./debian/install-backcompat find: 'lib-backcompat/': No such file or directory dh_auto_install dh_ruby --install /build/chef-13.8.7/debian/tmp dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/chef-13.8.7/debian/chef/usr/bin install -D -m755 /build/chef-13.8.7/bin/chef-apply /build/chef-13.8.7/debian/chef/usr/bin/chef-apply install -D -m755 /build/chef-13.8.7/bin/chef-client /build/chef-13.8.7/debian/chef/usr/bin/chef-client install -D -m755 /build/chef-13.8.7/bin/chef-shell /build/chef-13.8.7/debian/chef/usr/bin/chef-shell install -D -m755 /build/chef-13.8.7/bin/chef-solo /build/chef-13.8.7/debian/chef/usr/bin/chef-solo install -D -m755 /build/chef-13.8.7/bin/knife /build/chef-13.8.7/debian/chef/usr/bin/knife install -d /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby install -D -m644 /build/chef-13.8.7/lib/chef.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/audit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/audit.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/declare_resource.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/declare_resource.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/reboot_pending.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/reboot_pending.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/platform_introspection.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/platform_introspection.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/registry_helper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/registry_helper.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/powershell.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/powershell.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/cheffish.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/cheffish.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/universal.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/universal.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/recipe.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/recipe.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/chef_provisioning.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/chef_provisioning.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/data_query.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/data_query.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/resources.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/resources.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/core.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/core.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/definitions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/definitions.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/include_recipe.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/include_recipe.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl/include_attribute.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl/include_attribute.rb install -D -m644 /build/chef-13.8.7/lib/chef/config_fetcher.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/config_fetcher.rb install -D -m644 /build/chef-13.8.7/lib/chef/api_client/registration.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/api_client/registration.rb install -D -m644 /build/chef-13.8.7/lib/chef/property.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/property.rb install -D -m644 /build/chef-13.8.7/lib/chef/guard_interpreter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/guard_interpreter.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/audit_event_proxy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/audit_event_proxy.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/runner.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/runner.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/rspec_formatter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/rspec_formatter.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/logger.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/logger.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/control_group_data.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/control_group_data.rb install -D -m644 /build/chef-13.8.7/lib/chef/audit/audit_reporter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/audit/audit_reporter.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_collector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_collector.rb install -D -m644 /build/chef-13.8.7/lib/chef/api_client_v1.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/api_client_v1.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife.rb install -D -m644 /build/chef-13.8.7/lib/chef/runner.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/runner.rb install -D -m644 /build/chef-13.8.7/lib/chef/role.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/role.rb install -D -m644 /build/chef-13.8.7/lib/chef/whitelist.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/whitelist.rb install -D -m644 /build/chef-13.8.7/lib/chef/providers.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/providers.rb install -D -m644 /build/chef-13.8.7/lib/chef/version_constraint/platform.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version_constraint/platform.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/handle.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/handle.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/net.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/net.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/file/info.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/file/info.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/file/version_info.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/file/version_info.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/version.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/version.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/registry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/registry.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/error.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/error.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/unicode.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/unicode.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/system.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/system.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/mutex.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/mutex.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/process.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/process.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/crypto.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/crypto.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/memory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/memory.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/net.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/net.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/synchronization.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/synchronization.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/registry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/registry.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/psapi.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/psapi.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/error.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/error.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/unicode.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/unicode.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/system.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/system.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/security.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/security.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/process.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/process.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/crypto.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/crypto.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/memory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/memory.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/file.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api/installer.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api/installer.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/securable_object.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/securable_object.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/ace.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/ace.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/sid.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/sid.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/acl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/acl.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/token.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/token.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/security/security_descriptor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/security/security_descriptor.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/file.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/eventlog.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/eventlog.rb install -D -m644 /build/chef-13.8.7/lib/chef/win32/api.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/win32/api.rb install -D -m644 /build/chef-13.8.7/lib/chef/deprecation/warnings.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/deprecation/warnings.rb install -D -m644 /build/chef-13.8.7/lib/chef/version.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version.rb install -D -m644 /build/chef-13.8.7/lib/chef/user_v1.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/user_v1.rb install -D -m644 /build/chef-13.8.7/lib/chef/monkey_patches/win32/registry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/monkey_patches/win32/registry.rb install -D -m644 /build/chef-13.8.7/lib/chef/monkey_patches/webrick-utils.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/monkey_patches/webrick-utils.rb install -D -m644 /build/chef-13.8.7/lib/chef/monkey_patches/net_http.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/monkey_patches/net_http.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider_resolver.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider_resolver.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/resource_handler_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/resource_handler_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/priority_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/priority_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/provider_mapping.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/provider_mapping.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/resource_priority_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/resource_priority_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/provider_handler_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/provider_handler_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/service_helpers.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/service_helpers.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/query_helpers.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/query_helpers.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/provider_priority_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/provider_priority_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform/rebooter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform/rebooter.rb install -D -m644 /build/chef-13.8.7/lib/chef/reserved_names.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/reserved_names.rb install -D -m644 /build/chef-13.8.7/lib/chef/guard_interpreter/resource_guard_interpreter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/guard_interpreter/resource_guard_interpreter.rb install -D -m644 /build/chef-13.8.7/lib/chef/guard_interpreter/default_guard_interpreter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/guard_interpreter/default_guard_interpreter.rb install -D -m644 /build/chef-13.8.7/lib/chef/server_api_versions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/server_api_versions.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_list/run_list_item.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_list/run_list_item.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_list/run_list_expansion.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_list/run_list_expansion.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_list/versioned_recipe_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_list/versioned_recipe_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_bag.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_bag.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_cache.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_cache.rb install -D -m644 /build/chef-13.8.7/lib/chef/policy_builder/expand_node_object.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/policy_builder/expand_node_object.rb install -D -m644 /build/chef-13.8.7/lib/chef/policy_builder/dynamic.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/policy_builder/dynamic.rb install -D -m644 /build/chef-13.8.7/lib/chef/policy_builder/policyfile.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/policy_builder/policyfile.rb install -D -m644 /build/chef-13.8.7/lib/chef/version/platform.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version/platform.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixins.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixins.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_loggers/windows_eventlog.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_loggers/windows_eventlog.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_loggers/base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_loggers/base.rb install -D -m644 /build/chef-13.8.7/lib/chef/handler/json_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/handler/json_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/handler/error_report.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/handler/error_report.rb install -D -m644 /build/chef-13.8.7/lib/chef/user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/user.rb install -D -m644 /build/chef-13.8.7/lib/chef/exceptions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/exceptions.rb install -D -m644 /build/chef-13.8.7/lib/chef/deprecated.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/deprecated.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/configure.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/configure.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/null.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/null.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_share.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_share.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_env_run_list_replace.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_env_run_list_replace.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/tag_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/tag_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/upload.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/upload.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/xargs.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/xargs.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/tag_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/tag_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_key_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_key_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_bulk_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_bulk_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/help_topics.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/help_topics.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_list_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_list_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_run_list_set.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_run_list_set.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_test.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_test.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/diff.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/diff.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_environment_set.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_environment_set.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_share.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_share.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/recipe_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/recipe_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_upload.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_upload.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/download.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/download.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_unshare.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_unshare.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_run_list_add.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_run_list_add.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_install.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_install.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_create_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_create_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_key_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_key_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_download.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_download.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_compare.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_compare.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_key_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_key_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_key_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_key_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/status.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/status.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_run_list_add.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_run_list_add.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_reregister.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_reregister.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_metadata_from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_metadata_from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_bulk_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_bulk_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_run_list_set.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_run_list_set.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/ssl_check.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/ssl_check.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_download.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_download.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/search.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/search.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_unshare.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_unshare.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_search.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_search.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/serve.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/serve.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_key_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_key_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/exec.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/exec.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_env_run_list_add.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_env_run_list_add.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/help.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/help.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_run_list_remove.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_run_list_remove.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_run_list_replace.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_run_list_replace.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/ssl_fetch.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/ssl_fetch.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/index_rebuild.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/index_rebuild.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/configure_client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/configure_client.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_env_run_list_set.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_env_run_list_set.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/bootstrap.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/bootstrap.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_env_run_list_clear.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_env_run_list_clear.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_bulk_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_bulk_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_key_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_key_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_run_list_clear.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_run_list_clear.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_key_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_key_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_reregister.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_reregister.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_env_run_list_remove.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_env_run_list_remove.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_key_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_key_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/raw.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/raw.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_install.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_install.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_download.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_download.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/bootstrap/templates/chef-full.erb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/bootstrap/templates/chef-full.erb install -D -m644 /build/chef-13.8.7/lib/chef/knife/bootstrap/templates/README.md /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/bootstrap/templates/README.md install -D -m644 /build/chef-13.8.7/lib/chef/knife/bootstrap/client_builder.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/bootstrap/client_builder.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/bootstrap/chef_vault_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/bootstrap/chef_vault_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_key_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_key_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/ui.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/ui.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/subcommand_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/subcommand_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/generic_presenter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/generic_presenter.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/status_presenter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/status_presenter.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/object_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/object_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/text_formatter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/text_formatter.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/node_editor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/node_editor.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/bootstrap_context.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/bootstrap_context.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/hashed_command_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/hashed_command_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/gem_glob_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/gem_glob_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/node_presenter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/node_presenter.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/core/cookbook_scm_repo.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/core/cookbook_scm_repo.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_reregister.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_reregister.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/ssh.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/ssh.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/user_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/user_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_show.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_show.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/deps.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/deps.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/osc_user_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/osc_user_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/data_bag_secret_options.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/data_bag_secret_options.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_create.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_create.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/tag_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/tag_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/node_bulk_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/node_bulk_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/rehash.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/rehash.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_site_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_site_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_run_list_remove.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_run_list_remove.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_key_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_key_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/cookbook_metadata.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/cookbook_metadata.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/environment_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/environment_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/key_edit_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/key_edit_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/client_delete.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/client_delete.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/role_from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/role_from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/knife/supermarket_search.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/knife/supermarket_search.rb install -D -m644 /build/chef-13.8.7/lib/chef/log.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/log.rb install -D -m644 /build/chef-13.8.7/lib/chef/node.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node.rb install -D -m644 /build/chef-13.8.7/lib/chef/workstation_config_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/workstation_config_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook_version.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook_version.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/powershell/ps_credential.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/powershell/ps_credential.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/powershell/cmdlet_result.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/powershell/cmdlet_result.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/powershell/cmdlet.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/powershell/cmdlet.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/dsc/resource_store.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/dsc/resource_store.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/dsc/configuration_generator.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/dsc/configuration_generator.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/dsc/resource_info.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/dsc/resource_info.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/dsc/local_configuration_manager.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/dsc/local_configuration_manager.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/dsc/lcm_output_parser.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/dsc/lcm_output_parser.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/backup.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/backup.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/diff.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/diff.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/threaded_job_queue.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/threaded_job_queue.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows/net_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows/net_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows/net_use.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows/net_use.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows/volume.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows/volume.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows/net_group.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows/net_group.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows/logon_session.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows/logon_session.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/path_helper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/path_helper.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/selinux.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/selinux.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/file_edit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/file_edit.rb install -D -m644 /build/chef-13.8.7/lib/chef/util/editor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/util/editor.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_bag_item.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_bag_item.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/application.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application.rb install -D -m644 /build/chef-13.8.7/lib/chef/version_string.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version_string.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/cookbook_sync_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/run_list_expansion_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/api_error_formatting.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/api_error_formatting.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/compile_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/compile_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/node_load_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/node_load_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/registration_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/registration_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/resource_failure_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors/cookbook_resolve_error_inspector.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_description.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_description.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_mapper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_mapper.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/minimal.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/minimal.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/doc.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/doc.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/indentable_output_stream.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/indentable_output_stream.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/error_inspectors.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/error_inspectors.rb install -D -m644 /build/chef-13.8.7/lib/chef/formatters/base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/formatters/base.rb install -D -m644 /build/chef-13.8.7/lib/chef/sandbox.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/sandbox.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_collection/stepable_iterator.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_collection/stepable_iterator.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_collection/resource_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_collection/resource_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_collection/resource_set.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_collection/resource_set.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_collection/resource_collection_serialization.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_collection/resource_collection_serialization.rb install -D -m644 /build/chef-13.8.7/lib/chef/version_constraint.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version_constraint.rb install -D -m644 /build/chef-13.8.7/lib/chef/http.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_class.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_class.rb install -D -m644 /build/chef-13.8.7/lib/chef/environment.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/environment.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_context/cookbook_compiler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_context/cookbook_compiler.rb install -D -m644 /build/chef-13.8.7/lib/chef/decorator.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/decorator.rb install -D -m644 /build/chef-13.8.7/lib/chef/version_class.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/version_class.rb install -D -m644 /build/chef-13.8.7/lib/chef/shell/model_wrapper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/shell/model_wrapper.rb install -D -m644 /build/chef-13.8.7/lib/chef/shell/shell_session.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/shell/shell_session.rb install -D -m644 /build/chef-13.8.7/lib/chef/shell/ext.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/shell/ext.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource.rb install -D -m644 /build/chef-13.8.7/lib/chef/config.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/config.rb install -D -m644 /build/chef-13.8.7/lib/chef/shell.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/shell.rb install -D -m644 /build/chef-13.8.7/lib/chef/scan_access_control.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/scan_access_control.rb install -D -m644 /build/chef-13.8.7/lib/chef/daemon.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/daemon.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/osx_profile.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/osx_profile.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/template.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/template.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/zypper_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/zypper_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/windows_path.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/windows_path.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/rpm_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/rpm_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/launchd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/launchd.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/dsc_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/dsc_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/group.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/group.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/powershell_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/powershell_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/windows_task.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/windows_task.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/file/verification/systemd_unit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/file/verification/systemd_unit.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/file/verification.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/file/verification.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/reboot.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/reboot.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/solaris_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/solaris_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/pw_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/pw_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/linux_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/linux_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/windows_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/windows_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/dscl_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/dscl_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user/aix_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user/aix_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/chocolatey_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/chocolatey_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/bff_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/bff_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/dpkg_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/dpkg_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/powershell_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/powershell_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/pacman_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/pacman_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/python.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/python.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ohai.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ohai.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/scm.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/scm.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/macports_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/macports_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ruby_block.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ruby_block.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/user.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/apt_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/apt_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/log.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/log.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/csh.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/csh.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/yum_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/yum_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/conditional.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/conditional.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/cron.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/cron.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/macosx_service.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/macosx_service.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/freebsd_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/freebsd_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/resource_notification.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/resource_notification.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/http_request.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/http_request.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/openbsd_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/openbsd_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/perl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/perl.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/deploy_revision.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/deploy_revision.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/conditional_action_not_nothing.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/conditional_action_not_nothing.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/cab_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/cab_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/whyrun_safe_ruby_block.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/whyrun_safe_ruby_block.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/apt_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/apt_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/msu_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/msu_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/registry_key.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/registry_key.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ifconfig.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ifconfig.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/timestamped_deploy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/timestamped_deploy.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/portage_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/portage_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/remote_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/remote_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/zypper_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/zypper_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/mdadm.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/mdadm.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/subversion.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/subversion.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/windows_service.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/windows_service.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/solaris_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/solaris_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/bash.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/bash.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ksh.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ksh.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/remote_directory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/remote_directory.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/paludis_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/paludis_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/lwrp_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/lwrp_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/apt_preference.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/apt_preference.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/windows_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/windows_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/breakpoint.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/breakpoint.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/dsc_resource.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/dsc_resource.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/execute.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/execute.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/cookbook_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/cookbook_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/dnf_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/dnf_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ruby.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ruby.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/batch.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/batch.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/service.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/service.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/env.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/env.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/git.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/git.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/route.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/route.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/deploy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/deploy.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/directory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/directory.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/homebrew_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/homebrew_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/systemd_unit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/systemd_unit.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/file.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/link.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/link.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/yum_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/yum_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/smartos_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/smartos_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/chef_gem.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/chef_gem.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/erl_call.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/erl_call.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/action_class.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/action_class.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/script.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/ips_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/ips_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/mount.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/mount.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/windows_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/windows_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/gem_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/gem_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource/apt_update.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource/apt_update.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_collection.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_collection.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/syntax_check.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/syntax_check.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/cookbook_collection.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/cookbook_collection.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/file_system_file_vendor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/file_system_file_vendor.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/gem_installer.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/gem_installer.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/remote_file_vendor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/remote_file_vendor.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/manifest_v2.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/manifest_v2.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/synchronizer.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/synchronizer.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/file_vendor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/file_vendor.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/chefignore.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/chefignore.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/cookbook_version_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/cookbook_version_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/manifest_v0.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/manifest_v0.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook/metadata.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook/metadata.rb install -D -m644 /build/chef-13.8.7/lib/chef/monologger.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/monologger.rb install -D -m644 /build/chef-13.8.7/lib/chef/handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/search/query.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/search/query.rb install -D -m644 /build/chef-13.8.7/lib/chef/dsl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/dsl.rb install -D -m644 /build/chef-13.8.7/lib/chef/nil_argument.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/nil_argument.rb install -D -m644 /build/chef-13.8.7/lib/chef/decorator/lazy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/decorator/lazy.rb install -D -m644 /build/chef-13.8.7/lib/chef/decorator/unchain.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/decorator/unchain.rb install -D -m644 /build/chef-13.8.7/lib/chef/decorator/lazy_array.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/decorator/lazy_array.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_collector/messages/helpers.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_collector/messages/helpers.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_collector/messages.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_collector/messages.rb install -D -m644 /build/chef-13.8.7/lib/chef/data_collector/resource_report.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/data_collector/resource_report.rb install -D -m644 /build/chef-13.8.7/lib/chef/key.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/key.rb install -D -m644 /build/chef-13.8.7/lib/chef/recipe.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/recipe.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/attribute.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/attribute.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/attribute_collections.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/attribute_collections.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/immutable_collections.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/immutable_collections.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/mixin/immutablize_array.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/mixin/immutablize_array.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/mixin/immutablize_hash.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/mixin/immutablize_hash.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/mixin/state_tracking.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/mixin/state_tracking.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/mixin/deep_merge_cache.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/mixin/deep_merge_cache.rb install -D -m644 /build/chef-13.8.7/lib/chef/node/common_api.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node/common_api.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_access_control/unix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_access_control/unix.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_access_control/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_access_control/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/node_map.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/node_map.rb install -D -m644 /build/chef-13.8.7/lib/chef/server_api.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/server_api.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/content_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/content_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/tempfile.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/tempfile.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/deploy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/deploy.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/deploy/mv_unix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/deploy/mv_unix.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/deploy/mv_windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/deploy/mv_windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_content_management/deploy/cp.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_content_management/deploy/cp.rb install -D -m644 /build/chef-13.8.7/lib/chef/client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/client.rb install -D -m644 /build/chef-13.8.7/lib/chef/constants.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/constants.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/check_encrypted.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/check_encrypted.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/unsupported_encrypted_data_bag_item_format.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/decryption_failure.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/decryption_failure.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/unsupported_cipher.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/unsupported_cipher.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/assertions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/assertions.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/encryption_failure.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/encryption_failure.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/decryptor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/decryptor.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/unacceptable_encrypted_data_bag_item_format.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/encrypted_data_bag_item_assertions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/encrypted_data_bag_item_assertions.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item/encryptor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item/encryptor.rb install -D -m644 /build/chef-13.8.7/lib/chef/api_client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/api_client.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_builder.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_builder.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider.rb install -D -m644 /build/chef-13.8.7/lib/chef/digester.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/digester.rb install -D -m644 /build/chef-13.8.7/lib/chef/delayed_evaluator.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/delayed_evaluator.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/knife.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/knife.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/solo.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/solo.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/exit_code.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/exit_code.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/windows_service_manager.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/windows_service_manager.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/windows_service.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/windows_service.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/client.rb install -D -m644 /build/chef-13.8.7/lib/chef/application/apply.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/application/apply.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/xml_escape.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/xml_escape.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/template.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/template.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/file_class.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/file_class.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/which.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/which.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/params_validate.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/params_validate.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/deep_merge.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/deep_merge.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/recipe_definition_dsl_core.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/recipe_definition_dsl_core.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/subclass_directive.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/subclass_directive.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/language_include_recipe.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_recipe.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/why_run.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/why_run.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/api_version_request_handling.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/api_version_request_handling.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/powershell_type_coercions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/powershell_type_coercions.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/enforce_ownership_and_permissions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/enforce_ownership_and_permissions.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/deprecation.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/deprecation.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/notifying_block.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/notifying_block.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/properties.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/properties.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/user_context.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/user_context.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/securable.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/securable.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/windows_env_helper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/windows_env_helper.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/checksum.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/checksum.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/homebrew_user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/homebrew_user.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/uris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/uris.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/language.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/language.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/provides.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/provides.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/shell_out.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/shell_out.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/descendants_tracker.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/descendants_tracker.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/wide_string.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/wide_string.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/lazy_module_include.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/lazy_module_include.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/create_path.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/create_path.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/get_source_from_package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/get_source_from_package.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/language_include_attribute.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/language_include_attribute.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/unformatter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/unformatter.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/versioned_api.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/versioned_api.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/proxified_socket.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/proxified_socket.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/path_sanity.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/path_sanity.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/from_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/from_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/windows_architecture_helper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/windows_architecture_helper.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/convert_to_class_name.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/convert_to_class_name.rb install -D -m644 /build/chef-13.8.7/lib/chef/mixin/powershell_out.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mixin/powershell_out.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_definition.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_definition.rb install -D -m644 /build/chef-13.8.7/lib/chef/json_compat.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/json_compat.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_status.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_status.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/knife.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/knife.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/base_fs_object.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/base_fs_object.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/base_fs_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/base_fs_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/multiplexed_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/multiplexed_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/exceptions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/exceptions.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/container.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/container.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/client_keys_sub_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/client_keys_sub_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/client_keys_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/client_keys_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/group.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/group.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/clients_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/clients_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/role.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/role.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/data_bag.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/data_bag.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/user.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/node.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/node.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_versioned_cookbook_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/chef_repository_file_system_versioned_cookbook_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/cookbook_artifacts_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/cookbook_artifacts_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/data_bag_item.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/data_bag_item.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/base_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/base_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/cookbooks_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/cookbooks_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/environment.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/environment.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/roles_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/roles_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/file_system_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/file_system_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/policy_group.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/policy_group.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_root_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/chef_repository_file_system_root_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/policies_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/policies_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/acls_sub_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/acls_sub_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/client_key.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/client_key.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/client.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/policy_groups_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/policy_groups_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/groups_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/groups_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/containers_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/containers_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/users_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/users_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/nodes_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/nodes_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/environments_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/environments_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/directory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/directory.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/acls_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/acls_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/versioned_cookbooks_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/versioned_cookbooks_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/acl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/acl.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/data_bags_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/data_bags_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_artifact_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/chef_repository_file_system_cookbook_artifact_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/repository/policy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/repository/policy.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/nonexistent_fs_object.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/nonexistent_fs_object.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/organization_members_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/organization_members_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/policy_revision_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/policy_revision_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/policies_acl_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/policies_acl_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbooks_acl_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbooks_acl_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/data_bag_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/data_bag_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/rest_list_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/rest_list_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbook_artifacts_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbook_artifacts_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/versioned_cookbook_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/versioned_cookbook_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/policy_group_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/policy_group_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbooks_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/acl_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/acl_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/policies_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/policies_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/acl_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/acl_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbook_artifact_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbook_artifact_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/policy_groups_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/policy_groups_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbook_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbook_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/nodes_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/nodes_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/data_bag_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/data_bag_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/environments_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/environments_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/acls_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/acls_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/versioned_cookbooks_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/versioned_cookbooks_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/org_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/org_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/data_bags_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/data_bags_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbook_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbook_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/rest_list_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/rest_list_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/organization_invites_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/organization_invites_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/chef_server_root_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/chef_server_root_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/chef_server/cookbook_subdir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/chef_server/cookbook_subdir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/memory/memory_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/memory/memory_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/memory/memory_dir.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/memory/memory_dir.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system/memory/memory_root.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system/memory/memory_root.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/chef_fs_data_store.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/chef_fs_data_store.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/environment_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/environment_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/user_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/user_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/data_handler_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/data_handler_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/node_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/node_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/cookbook_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/cookbook_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/organization_invites_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/organization_invites_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/group_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/group_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/data_bag_item_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/data_bag_item_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/role_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/role_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/acl_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/acl_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/client_key_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/client_key_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/organization_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/organization_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/organization_members_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/organization_members_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/policy_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/policy_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/policy_group_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/policy_group_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/client_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/client_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/data_handler/container_data_handler.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/data_handler/container_data_handler.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/config.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/config.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/parallelizer/parallel_enumerable.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/parallelizer/parallel_enumerable.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/parallelizer/flatten_enumerable.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/parallelizer/flatten_enumerable.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/path_utils.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/path_utils.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/command_line.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/command_line.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/parallelizer.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/parallelizer.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_pattern.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_pattern.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs/file_system_cache.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs/file_system_cache.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_lock.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_lock.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/json_to_model_output.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/json_to_model_output.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/ssl_policies.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/ssl_policies.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/json_output.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/json_output.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/cookie_jar.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/cookie_jar.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/json_input.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/json_input.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/auth_credentials.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/auth_credentials.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/decompressor.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/decompressor.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/http_request.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/http_request.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/api_versions.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/api_versions.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/basic_client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/basic_client.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/simple.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/simple.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/cookie_manager.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/cookie_manager.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/authenticator.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/authenticator.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/remote_request_id.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/remote_request_id.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/socketless_chef_zero_client.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/socketless_chef_zero_client.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/validate_content_length.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/validate_content_length.rb install -D -m644 /build/chef-13.8.7/lib/chef/http/simple_json.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/http/simple_json.rb install -D -m644 /build/chef-13.8.7/lib/chef/encrypted_data_bag_item.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/encrypted_data_bag_item.rb install -D -m644 /build/chef-13.8.7/lib/chef/org.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/org.rb install -D -m644 /build/chef-13.8.7/lib/chef/mash.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/mash.rb install -D -m644 /build/chef-13.8.7/lib/chef/run_context.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/run_context.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook_loader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook_loader.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/osx_profile.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/osx_profile.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/template.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/template.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cookbook_file/content.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cookbook_file/content.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/env/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/env/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/windows_path.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/windows_path.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/launchd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/launchd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/dsc_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/dsc_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/powershell_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/powershell_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/windows_task.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/windows_task.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/file/content.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/file/content.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/reboot.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/reboot.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/linux.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/linux.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/pw.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/pw.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/dscl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/dscl.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/useradd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/useradd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user/solaris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user/solaris.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/content.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/content.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/sftp.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/sftp.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/http.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/http.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/network_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/network_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/cache_control_data.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/cache_control_data.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/local_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/local_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/fetcher.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/fetcher.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file/ftp.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file/ftp.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/resource_update.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/resource_update.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ohai.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ohai.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ruby_block.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ruby_block.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/user.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/user.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/log.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/log.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/debian.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/debian.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/init.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/init.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/upstart.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/upstart.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/freebsd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/freebsd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/redhat.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/redhat.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/gentoo.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/gentoo.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/arch.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/arch.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/invokercd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/invokercd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/simple.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/simple.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/openbsd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/openbsd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/aixinit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/aixinit.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/insserv.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/insserv.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/macosx.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/macosx.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/solaris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/solaris.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service/systemd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service/systemd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cron.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cron.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/http_request.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/http_request.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cron/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cron/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cron/unix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cron/unix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cron/solaris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cron/solaris.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/template/content.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/template/content.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/noop.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/noop.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/whyrun_safe_ruby_block.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/whyrun_safe_ruby_block.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/apt_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/apt_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/registry_key.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/registry_key.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ifconfig.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ifconfig.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/zypper_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/zypper_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mdadm.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mdadm.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/subversion.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/subversion.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/support/yum_repo.erb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/support/yum_repo.erb install -D -m644 /build/chef-13.8.7/lib/chef/provider/support/zypper_repo.erb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/support/zypper_repo.erb install -D -m644 /build/chef-13.8.7/lib/chef/provider/template_finder.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/template_finder.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/remote_directory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/remote_directory.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/lwrp_base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/lwrp_base.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/apt_preference.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/apt_preference.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/dsc_resource.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/dsc_resource.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/execute.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/execute.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/cookbook_file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/cookbook_file.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/batch.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/batch.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/service.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/service.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/env.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/env.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/git.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/git.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/route.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/route.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/deploy.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/deploy.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/deploy/revision.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/deploy/revision.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/deploy/timestamped.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/deploy/timestamped.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/directory.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/directory.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/yum/rpm_utils.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/yum/rpm_utils.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/yum/yum_cache.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/yum/yum_cache.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/yum/yum-dump.py /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/yum/yum-dump.py install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/windows/registry_uninstall_entry.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/windows/registry_uninstall_entry.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/windows/msi.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/windows/msi.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/windows/exe.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/windows/exe.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/msu.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/msu.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/dnf/version.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/dnf/version.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/dnf/dnf_helper.py /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/dnf/dnf_helper.py install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/dnf/python_helper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/dnf/python_helper.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/rubygems.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/rubygems.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/powershell.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/powershell.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/rpm.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/rpm.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/freebsd/port.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/freebsd/port.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/freebsd/base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/freebsd/base.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/freebsd/pkg.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/freebsd/pkg.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/freebsd/pkgng.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/freebsd/pkgng.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/ips.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/ips.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/smartos.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/smartos.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/macports.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/macports.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/openbsd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/openbsd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/dpkg.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/dpkg.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/chocolatey.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/chocolatey.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/zypper.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/zypper.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/dnf.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/dnf.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/yum.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/yum.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/apt.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/apt.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/paludis.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/paludis.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/pacman.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/pacman.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/cab.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/cab.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/solaris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/solaris.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/portage.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/portage.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/package/homebrew.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/package/homebrew.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/pw.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/pw.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/dscl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/dscl.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/groupmod.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/groupmod.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/suse.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/suse.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/gpasswd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/gpasswd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/groupadd.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/groupadd.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/group/usermod.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/group/usermod.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/systemd_unit.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/systemd_unit.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/file.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/file.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/link.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/link.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/yum_repository.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/yum_repository.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/erl_call.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/erl_call.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/script.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mount.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mount.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/windows_script.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/windows_script.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/apt_update.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/apt_update.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ifconfig/debian.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ifconfig/debian.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ifconfig/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ifconfig/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/ifconfig/redhat.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/ifconfig/redhat.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mount/aix.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mount/aix.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mount/windows.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mount/windows.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mount/solaris.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mount/solaris.rb install -D -m644 /build/chef-13.8.7/lib/chef/provider/mount/mount.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/provider/mount/mount.rb install -D -m644 /build/chef-13.8.7/lib/chef/log/winevt.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/log/winevt.rb install -D -m644 /build/chef-13.8.7/lib/chef/log/syslog.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/log/syslog.rb install -D -m644 /build/chef-13.8.7/lib/chef/resources.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resources.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook_manifest.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook_manifest.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook_site_streaming_uploader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook_site_streaming_uploader.rb install -D -m644 /build/chef-13.8.7/lib/chef/request_id.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/request_id.rb install -D -m644 /build/chef-13.8.7/lib/chef/platform.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/platform.rb install -D -m644 /build/chef-13.8.7/lib/chef/chef_fs.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/chef_fs.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_dispatch/dispatcher.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_dispatch/dispatcher.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_dispatch/dsl.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_dispatch/dsl.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_dispatch/events_output_stream.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_dispatch/events_output_stream.rb install -D -m644 /build/chef-13.8.7/lib/chef/event_dispatch/base.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/event_dispatch/base.rb install -D -m644 /build/chef-13.8.7/lib/chef/applications.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/applications.rb install -D -m644 /build/chef-13.8.7/lib/chef/policy_builder.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/policy_builder.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_reporter.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_reporter.rb install -D -m644 /build/chef-13.8.7/lib/chef/blacklist.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/blacklist.rb install -D -m644 /build/chef-13.8.7/lib/chef/file_access_control.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/file_access_control.rb install -D -m644 /build/chef-13.8.7/lib/chef/cookbook_uploader.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/cookbook_uploader.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_definition_list.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_definition_list.rb install -D -m644 /build/chef-13.8.7/lib/chef/null_logger.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/null_logger.rb install -D -m644 /build/chef-13.8.7/lib/chef/local_mode.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/local_mode.rb install -D -m644 /build/chef-13.8.7/lib/chef/resource_resolver.rb /build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby/chef/resource_resolver.rb dh_installchangelogs -pchef /build/chef-13.8.7/CHANGELOG.md upstream install -d debian/chef/usr/share/doc/chef install -p -m0644 debian/changelog debian/chef/usr/share/doc/chef/changelog.Debian install -p -m0644 /build/chef-13.8.7/CHANGELOG.md debian/chef/usr/share/doc/chef/changelog Rewriting shebang line of /build/chef-13.8.7/debian/chef/usr/bin/chef-shell Rewriting shebang line of /build/chef-13.8.7/debian/chef/usr/bin/knife Rewriting shebang line of /build/chef-13.8.7/debian/chef/usr/bin/chef-apply Rewriting shebang line of /build/chef-13.8.7/debian/chef/usr/bin/chef-solo Rewriting shebang line of /build/chef-13.8.7/debian/chef/usr/bin/chef-client ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/version.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/version.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/exceptions.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/exceptions.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/workstation_config_loader.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/workstation_config_loader.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/fips.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/fips.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/package_task.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/package_task.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/config.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/config.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/path_helper.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/path_helper.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/windows.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/windows.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/logger.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/logger.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/mixin/fuzzy_hostname_matcher.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/mixin/fuzzy_hostname_matcher.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/mixin/dot_d.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/mixin/dot_d.rb install -D -m644 /build/chef-13.8.7/chef-config/lib/chef-config/mixin/credentials.rb /build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby/chef-config/mixin/credentials.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/chef-13.8.7/debian/chef/usr/share/rubygems-integration/all/specifications/chef-13.8.7.gemspec ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/chef-13.8.7/debian/ruby-chef-config/usr/share/rubygems-integration/all/specifications/chef-config-13.8.7.gemspec /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=debian/chef/usr/share/rubygems-integration/all:debian/ruby-chef-config/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/arm-linux-gnueabihf/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -e gem\ \"chef\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/chef-13.8.7/debian/chef/usr/lib/ruby/vendor_ruby:/build/chef-13.8.7/debian/ruby-chef-config/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/chef/usr/share/rubygems-integration/all:debian/ruby-chef-config/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/arm-linux-gnueabihf/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake Blacklisted test file: spec/functional/audit/runner_spec.rb Blacklisted test file: spec/functional/http/simple_spec.rb Blacklisted test file: spec/functional/knife/cookbook_delete_spec.rb Blacklisted test file: spec/functional/knife/exec_spec.rb Blacklisted test file: spec/functional/knife/ssh_spec.rb Blacklisted test file: spec/functional/resource/cron_spec.rb Blacklisted test file: spec/functional/resource/deploy_revision_spec.rb Blacklisted test file: spec/functional/resource/dpkg_package_spec.rb Blacklisted test file: spec/functional/resource/git_spec.rb Blacklisted test file: spec/functional/resource/group_spec.rb Blacklisted test file: spec/functional/resource/ifconfig_spec.rb Blacklisted test file: spec/functional/resource/link_spec.rb Blacklisted test file: spec/functional/resource/mount_spec.rb Blacklisted test file: spec/functional/resource/package_spec.rb Blacklisted test file: spec/functional/resource/remote_directory_spec.rb Blacklisted test file: spec/functional/resource/remote_file_spec.rb Blacklisted test file: spec/functional/resource/user/useradd_spec.rb Blacklisted test file: spec/functional/rest_spec.rb Blacklisted test file: spec/functional/shell_spec.rb Blacklisted test file: spec/functional/tiny_server_spec.rb Blacklisted test file: spec/functional/win32/version_info_spec.rb Blacklisted test file: spec/integration/client/client_spec.rb Blacklisted test file: spec/integration/client/exit_code_spec.rb Blacklisted test file: spec/integration/client/ipv6_spec.rb Blacklisted test file: spec/integration/knife/chef_fs_data_store_spec.rb Blacklisted test file: spec/integration/knife/chefignore_spec.rb Blacklisted test file: spec/integration/knife/chef_repo_path_spec.rb Blacklisted test file: spec/integration/knife/chef_repository_file_system_spec.rb Blacklisted test file: spec/integration/knife/client_bulk_delete_spec.rb Blacklisted test file: spec/integration/knife/client_create_spec.rb Blacklisted test file: spec/integration/knife/client_delete_spec.rb Blacklisted test file: spec/integration/knife/client_key_create_spec.rb Blacklisted test file: spec/integration/knife/client_key_delete_spec.rb Blacklisted test file: spec/integration/knife/client_key_list_spec.rb Blacklisted test file: spec/integration/knife/client_key_show_spec.rb Blacklisted test file: spec/integration/knife/client_list_spec.rb Blacklisted test file: spec/integration/knife/client_show_spec.rb Blacklisted test file: spec/integration/knife/common_options_spec.rb Blacklisted test file: spec/integration/knife/cookbook_api_ipv6_spec.rb Blacklisted test file: spec/integration/knife/cookbook_bulk_delete_spec.rb Blacklisted test file: spec/integration/knife/cookbook_download_spec.rb Blacklisted test file: spec/integration/knife/cookbook_list_spec.rb Blacklisted test file: spec/integration/knife/cookbook_show_spec.rb Blacklisted test file: spec/integration/knife/cookbook_upload_spec.rb Blacklisted test file: spec/integration/knife/data_bag_create_spec.rb Blacklisted test file: spec/integration/knife/data_bag_delete_spec.rb Blacklisted test file: spec/integration/knife/data_bag_from_file_spec.rb Blacklisted test file: spec/integration/knife/data_bag_list_spec.rb Blacklisted test file: spec/integration/knife/data_bag_show_spec.rb Blacklisted test file: spec/integration/knife/delete_spec.rb Blacklisted test file: spec/integration/knife/deps_spec.rb Blacklisted test file: spec/integration/knife/diff_spec.rb Blacklisted test file: spec/integration/knife/download_spec.rb Blacklisted test file: spec/integration/knife/environment_compare_spec.rb Blacklisted test file: spec/integration/knife/environment_create_spec.rb Blacklisted test file: spec/integration/knife/environment_delete_spec.rb Blacklisted test file: spec/integration/knife/environment_from_file_spec.rb Blacklisted test file: spec/integration/knife/environment_list_spec.rb Blacklisted test file: spec/integration/knife/environment_show_spec.rb Blacklisted test file: spec/integration/knife/list_spec.rb Blacklisted test file: spec/integration/knife/node_bulk_delete_spec.rb Blacklisted test file: spec/integration/knife/node_create_spec.rb Blacklisted test file: spec/integration/knife/node_delete_spec.rb Blacklisted test file: spec/integration/knife/node_environment_set_spec.rb Blacklisted test file: spec/integration/knife/node_from_file_spec.rb Blacklisted test file: spec/integration/knife/node_list_spec.rb Blacklisted test file: spec/integration/knife/node_run_list_add_spec.rb Blacklisted test file: spec/integration/knife/node_run_list_remove_spec.rb Blacklisted test file: spec/integration/knife/node_run_list_set_spec.rb Blacklisted test file: spec/integration/knife/node_show_spec.rb Blacklisted test file: spec/integration/knife/raw_spec.rb Blacklisted test file: spec/integration/knife/redirection_spec.rb Blacklisted test file: spec/integration/knife/role_bulk_delete_spec.rb Blacklisted test file: spec/integration/knife/role_create_spec.rb Blacklisted test file: spec/integration/knife/role_delete_spec.rb Blacklisted test file: spec/integration/knife/role_from_file_spec.rb Blacklisted test file: spec/integration/knife/role_list_spec.rb Blacklisted test file: spec/integration/knife/role_show_spec.rb Blacklisted test file: spec/integration/knife/search_node_spec.rb Blacklisted test file: spec/integration/knife/serve_spec.rb Blacklisted test file: spec/integration/knife/show_spec.rb Blacklisted test file: spec/integration/knife/upload_spec.rb Blacklisted test file: spec/integration/solo/solo_spec.rb Blacklisted test file: spec/support/platforms/win32/spec_service.rb Blacklisted test file: spec/unit/application/client_spec.rb Blacklisted test file: spec/unit/application/knife_spec.rb Blacklisted test file: spec/unit/application_spec.rb Blacklisted test file: spec/unit/audit/runner_spec.rb Blacklisted test file: spec/unit/client_spec.rb Blacklisted test file: spec/unit/cookbook/gem_installer_spec.rb Blacklisted test file: spec/unit/cookbook/metadata_spec.rb Blacklisted test file: spec/unit/knife/bootstrap_spec.rb Blacklisted test file: spec/unit/knife/cookbook_site_download_spec.rb Blacklisted test file: spec/unit/knife/core/gem_glob_loader_spec.rb Blacklisted test file: spec/unit/knife_spec.rb Blacklisted test file: spec/unit/lib_backcompat_spec.rb Blacklisted test file: spec/unit/provider/file/content_spec.rb Blacklisted test file: spec/unit/provider/git_spec.rb Blacklisted test file: spec/unit/provider/ifconfig/debian_spec.rb Blacklisted test file: spec/unit/provider/osx_profile_spec.rb Blacklisted test file: spec/unit/provider/package/rubygems_spec.rb Blacklisted test file: spec/unit/provider/remote_directory_spec.rb Blacklisted test file: spec/unit/provider_resolver_spec.rb Blacklisted test file: spec/unit/recipe_spec.rb Blacklisted test file: spec/unit/resource/freebsd_package_spec.rb Blacklisted test file: spec/unit/resource_reporter_spec.rb /usr/bin/ruby2.5 /usr/bin/rspec spec/functional/application_spec.rb spec/functional/audit/rspec_formatter_spec.rb spec/functional/dsl/reboot_pending_spec.rb spec/functional/dsl/registry_helper_spec.rb spec/functional/event_loggers/windows_eventlog_spec.rb spec/functional/file_content_management/deploy_strategies_spec.rb spec/functional/knife/configure_spec.rb spec/functional/knife/rehash_spec.rb spec/functional/mixin/powershell_out_spec.rb spec/functional/mixin/shell_out_spec.rb spec/functional/mixin/user_context_spec.rb spec/functional/notifications_spec.rb spec/functional/provider/remote_file/cache_control_data_spec.rb spec/functional/provider/whyrun_safe_ruby_block_spec.rb spec/functional/rebooter_spec.rb spec/functional/resource/aix_service_spec.rb spec/functional/resource/aixinit_service_spec.rb spec/functional/resource/bash_spec.rb spec/functional/resource/batch_spec.rb spec/functional/resource/bff_spec.rb spec/functional/resource/chocolatey_package_spec.rb spec/functional/resource/cookbook_file_spec.rb spec/functional/resource/directory_spec.rb spec/functional/resource/dnf_package_spec.rb spec/functional/resource/dsc_resource_spec.rb spec/functional/resource/dsc_script_spec.rb spec/functional/resource/env_spec.rb spec/functional/resource/execute_spec.rb spec/functional/resource/file_spec.rb spec/functional/resource/msu_package_spec.rb spec/functional/resource/ohai_spec.rb spec/functional/resource/powershell_script_spec.rb spec/functional/resource/reboot_spec.rb spec/functional/resource/registry_spec.rb spec/functional/resource/rpm_spec.rb spec/functional/resource/template_spec.rb spec/functional/resource/user/dscl_spec.rb spec/functional/resource/user/windows_spec.rb spec/functional/resource/windows_package_spec.rb spec/functional/resource/windows_path_spec.rb spec/functional/resource/windows_service_spec.rb spec/functional/resource/windows_task_spec.rb spec/functional/root_alias_spec.rb spec/functional/run_lock_spec.rb spec/functional/util/path_helper_spec.rb spec/functional/util/powershell/cmdlet_spec.rb spec/functional/version_spec.rb spec/functional/win32/crypto_spec.rb spec/functional/win32/registry_spec.rb spec/functional/win32/security_spec.rb spec/functional/win32/service_manager_spec.rb spec/functional/win32/sid_spec.rb spec/functional/win32/versions_spec.rb spec/integration/recipes/accumulator_spec.rb spec/integration/recipes/lwrp_inline_resources_spec.rb spec/integration/recipes/lwrp_spec.rb spec/integration/recipes/noop_resource_spec.rb spec/integration/recipes/notifies_spec.rb spec/integration/recipes/notifying_block_spec.rb spec/integration/recipes/recipe_dsl_spec.rb spec/integration/recipes/resource_action_spec.rb spec/integration/recipes/resource_converge_if_changed_spec.rb spec/integration/recipes/resource_load_spec.rb spec/stress/win32/file_spec.rb spec/stress/win32/memory_spec.rb spec/stress/win32/security_spec.rb spec/unit/api_client/registration_spec.rb spec/unit/api_client_spec.rb spec/unit/api_client_v1_spec.rb spec/unit/application/agent_spec.rb spec/unit/application/apply_spec.rb spec/unit/application/exit_code_spec.rb spec/unit/application/server_spec.rb spec/unit/application/solo_spec.rb spec/unit/audit/audit_event_proxy_spec.rb spec/unit/audit/audit_reporter_spec.rb spec/unit/audit/control_group_data_spec.rb spec/unit/audit/logger_spec.rb spec/unit/audit/rspec_formatter_spec.rb spec/unit/chef_class_spec.rb spec/unit/chef_fs/config_spec.rb spec/unit/chef_fs/data_handler/group_handler_spec.rb spec/unit/chef_fs/diff_spec.rb spec/unit/chef_fs/file_pattern_spec.rb spec/unit/chef_fs/file_system/cookbook_subdir_spec.rb spec/unit/chef_fs/file_system/operation_failed_error_spec.rb spec/unit/chef_fs/file_system/repository/base_file_spec.rb spec/unit/chef_fs/file_system/repository/directory_spec.rb spec/unit/chef_fs/file_system_spec.rb spec/unit/chef_fs/path_util_spec.rb spec/unit/chef_spec.rb spec/unit/config_fetcher_spec.rb spec/unit/config_spec.rb spec/unit/cookbook/chefignore_spec.rb spec/unit/cookbook/cookbook_version_loader_spec.rb spec/unit/cookbook/file_vendor_spec.rb spec/unit/cookbook/manifest_v0_spec.rb spec/unit/cookbook/manifest_v2_spec.rb spec/unit/cookbook/synchronizer_spec.rb spec/unit/cookbook/syntax_check_spec.rb spec/unit/cookbook_loader_spec.rb spec/unit/cookbook_manifest_spec.rb spec/unit/cookbook_site_streaming_uploader_spec.rb spec/unit/cookbook_spec.rb spec/unit/cookbook_uploader_spec.rb spec/unit/cookbook_version_file_specificity_spec.rb spec/unit/cookbook_version_spec.rb spec/unit/daemon_spec.rb spec/unit/data_bag_item_spec.rb spec/unit/data_bag_spec.rb spec/unit/data_collector/messages/helpers_spec.rb spec/unit/data_collector/messages_spec.rb spec/unit/data_collector/resource_report_spec.rb spec/unit/data_collector_spec.rb spec/unit/decorator/lazy_array_spec.rb spec/unit/decorator/lazy_spec.rb spec/unit/decorator_spec.rb spec/unit/deprecated_spec.rb spec/unit/deprecation_spec.rb spec/unit/digester_spec.rb spec/unit/dsl/audit_spec.rb spec/unit/dsl/data_query_spec.rb spec/unit/dsl/declare_resource_spec.rb spec/unit/dsl/platform_introspection_spec.rb spec/unit/dsl/reboot_pending_spec.rb spec/unit/dsl/recipe_spec.rb spec/unit/dsl/registry_helper_spec.rb spec/unit/dsl/resources_spec.rb spec/unit/encrypted_data_bag_item/check_encrypted_spec.rb spec/unit/encrypted_data_bag_item_spec.rb spec/unit/environment_spec.rb spec/unit/event_dispatch/dispatcher_spec.rb spec/unit/event_dispatch/dsl_spec.rb spec/unit/exceptions_spec.rb spec/unit/file_access_control_spec.rb spec/unit/file_cache_spec.rb spec/unit/file_content_management/deploy/cp_spec.rb spec/unit/file_content_management/deploy/mv_unix_spec.rb spec/unit/file_content_management/deploy/mv_windows_spec.rb spec/unit/file_content_management/tempfile_spec.rb spec/unit/formatters/base_spec.rb spec/unit/formatters/doc_spec.rb spec/unit/formatters/error_description_spec.rb spec/unit/formatters/error_inspectors/api_error_formatting_spec.rb spec/unit/formatters/error_inspectors/compile_error_inspector_spec.rb spec/unit/formatters/error_inspectors/cookbook_resolve_error_inspector_spec.rb spec/unit/formatters/error_inspectors/cookbook_sync_error_inspector_spec.rb spec/unit/formatters/error_inspectors/node_load_error_inspector_spec.rb spec/unit/formatters/error_inspectors/registration_error_inspector_spec.rb spec/unit/formatters/error_inspectors/resource_failure_inspector_spec.rb spec/unit/formatters/error_inspectors/run_list_expansion_error_inspector_spec.rb spec/unit/guard_interpreter/resource_guard_interpreter_spec.rb spec/unit/guard_interpreter_spec.rb spec/unit/handler/json_file_spec.rb spec/unit/handler_spec.rb spec/unit/http/api_versions_spec.rb spec/unit/http/authenticator_spec.rb spec/unit/http/basic_client_spec.rb spec/unit/http/http_request_spec.rb spec/unit/http/json_input_spec.rb spec/unit/http/simple_spec.rb spec/unit/http/socketless_chef_zero_client_spec.rb spec/unit/http/ssl_policies_spec.rb spec/unit/http/validate_content_length_spec.rb spec/unit/http_spec.rb spec/unit/json_compat_spec.rb spec/unit/key_spec.rb spec/unit/knife/bootstrap/chef_vault_handler_spec.rb spec/unit/knife/bootstrap/client_builder_spec.rb spec/unit/knife/client_bulk_delete_spec.rb spec/unit/knife/client_create_spec.rb spec/unit/knife/client_delete_spec.rb spec/unit/knife/client_edit_spec.rb spec/unit/knife/client_list_spec.rb spec/unit/knife/client_reregister_spec.rb spec/unit/knife/client_show_spec.rb spec/unit/knife/configure_client_spec.rb spec/unit/knife/configure_spec.rb spec/unit/knife/cookbook_bulk_delete_spec.rb spec/unit/knife/cookbook_create_spec.rb spec/unit/knife/cookbook_delete_spec.rb spec/unit/knife/cookbook_download_spec.rb spec/unit/knife/cookbook_list_spec.rb spec/unit/knife/cookbook_metadata_from_file_spec.rb spec/unit/knife/cookbook_metadata_spec.rb spec/unit/knife/cookbook_show_spec.rb spec/unit/knife/cookbook_site_install_spec.rb spec/unit/knife/cookbook_site_share_spec.rb spec/unit/knife/cookbook_site_unshare_spec.rb spec/unit/knife/cookbook_test_spec.rb spec/unit/knife/cookbook_upload_spec.rb spec/unit/knife/core/bootstrap_context_spec.rb spec/unit/knife/core/cookbook_scm_repo_spec.rb spec/unit/knife/core/hashed_command_loader_spec.rb spec/unit/knife/core/node_editor_spec.rb spec/unit/knife/core/object_loader_spec.rb spec/unit/knife/core/subcommand_loader_spec.rb spec/unit/knife/core/ui_spec.rb spec/unit/knife/data_bag_create_spec.rb spec/unit/knife/data_bag_edit_spec.rb spec/unit/knife/data_bag_from_file_spec.rb spec/unit/knife/data_bag_secret_options_spec.rb spec/unit/knife/data_bag_show_spec.rb spec/unit/knife/environment_compare_spec.rb spec/unit/knife/environment_create_spec.rb spec/unit/knife/environment_delete_spec.rb spec/unit/knife/environment_edit_spec.rb spec/unit/knife/environment_from_file_spec.rb spec/unit/knife/environment_list_spec.rb spec/unit/knife/environment_show_spec.rb spec/unit/knife/index_rebuild_spec.rb spec/unit/knife/key_create_spec.rb spec/unit/knife/key_delete_spec.rb spec/unit/knife/key_edit_spec.rb spec/unit/knife/key_list_spec.rb spec/unit/knife/key_show_spec.rb spec/unit/knife/node_bulk_delete_spec.rb spec/unit/knife/node_delete_spec.rb spec/unit/knife/node_edit_spec.rb spec/unit/knife/node_environment_set_spec.rb spec/unit/knife/node_from_file_spec.rb spec/unit/knife/node_list_spec.rb spec/unit/knife/node_run_list_add_spec.rb spec/unit/knife/node_run_list_remove_spec.rb spec/unit/knife/node_run_list_set_spec.rb spec/unit/knife/node_show_spec.rb spec/unit/knife/osc_user_create_spec.rb spec/unit/knife/osc_user_delete_spec.rb spec/unit/knife/osc_user_edit_spec.rb spec/unit/knife/osc_user_list_spec.rb spec/unit/knife/osc_user_reregister_spec.rb spec/unit/knife/osc_user_show_spec.rb spec/unit/knife/raw_spec.rb spec/unit/knife/role_bulk_delete_spec.rb spec/unit/knife/role_create_spec.rb spec/unit/knife/role_delete_spec.rb spec/unit/knife/role_edit_spec.rb spec/unit/knife/role_env_run_list_add_spec.rb spec/unit/knife/role_env_run_list_clear_spec.rb spec/unit/knife/role_env_run_list_remove_spec.rb spec/unit/knife/role_env_run_list_replace_spec.rb spec/unit/knife/role_env_run_list_set_spec.rb spec/unit/knife/role_from_file_spec.rb spec/unit/knife/role_list_spec.rb spec/unit/knife/role_run_list_add_spec.rb spec/unit/knife/role_run_list_clear_spec.rb spec/unit/knife/role_run_list_remove_spec.rb spec/unit/knife/role_run_list_replace_spec.rb spec/unit/knife/role_run_list_set_spec.rb spec/unit/knife/role_show_spec.rb spec/unit/knife/ssh_spec.rb spec/unit/knife/ssl_check_spec.rb spec/unit/knife/ssl_fetch_spec.rb spec/unit/knife/status_spec.rb spec/unit/knife/tag_create_spec.rb spec/unit/knife/tag_delete_spec.rb spec/unit/knife/tag_list_spec.rb spec/unit/knife/user_create_spec.rb spec/unit/knife/user_delete_spec.rb spec/unit/knife/user_edit_spec.rb spec/unit/knife/user_list_spec.rb spec/unit/knife/user_reregister_spec.rb spec/unit/knife/user_show_spec.rb spec/unit/log/syslog_spec.rb spec/unit/log/winevt_spec.rb spec/unit/log_spec.rb spec/unit/lwrp_spec.rb spec/unit/mash_spec.rb spec/unit/mixin/api_version_request_handling_spec.rb spec/unit/mixin/checksum_spec.rb spec/unit/mixin/convert_to_class_name_spec.rb spec/unit/mixin/deep_merge_spec.rb spec/unit/mixin/deprecation_spec.rb spec/unit/mixin/enforce_ownership_and_permissions_spec.rb spec/unit/mixin/homebrew_user_spec.rb spec/unit/mixin/params_validate_spec.rb spec/unit/mixin/path_sanity_spec.rb spec/unit/mixin/powershell_out_spec.rb spec/unit/mixin/powershell_type_coercions_spec.rb spec/unit/mixin/properties_spec.rb spec/unit/mixin/proxified_socket_spec.rb spec/unit/mixin/securable_spec.rb spec/unit/mixin/shell_out_spec.rb spec/unit/mixin/subclass_directive_spec.rb spec/unit/mixin/template_spec.rb spec/unit/mixin/unformatter_spec.rb spec/unit/mixin/uris_spec.rb spec/unit/mixin/user_context_spec.rb spec/unit/mixin/versioned_api_spec.rb spec/unit/mixin/windows_architecture_helper_spec.rb spec/unit/mixin/xml_escape_spec.rb spec/unit/monkey_patches/uri_spec.rb spec/unit/monologger_spec.rb spec/unit/node/attribute_spec.rb spec/unit/node/immutable_collections_spec.rb spec/unit/node/vivid_mash_spec.rb spec/unit/node_map_spec.rb spec/unit/node_spec.rb spec/unit/org_spec.rb spec/unit/platform/query_helpers_spec.rb spec/unit/policy_builder/dynamic_spec.rb spec/unit/policy_builder/expand_node_object_spec.rb spec/unit/policy_builder/policyfile_spec.rb spec/unit/policy_builder_spec.rb spec/unit/property/state_spec.rb spec/unit/property/validation_spec.rb spec/unit/property_spec.rb spec/unit/provider/apt_preference_spec.rb spec/unit/provider/apt_repository_spec.rb spec/unit/provider/apt_update_spec.rb spec/unit/provider/cookbook_file/content_spec.rb spec/unit/provider/cookbook_file_spec.rb spec/unit/provider/cron/unix_spec.rb spec/unit/provider/cron_spec.rb spec/unit/provider/deploy/revision_spec.rb spec/unit/provider/deploy/timestamped_spec.rb spec/unit/provider/deploy_spec.rb spec/unit/provider/directory_spec.rb spec/unit/provider/dsc_resource_spec.rb spec/unit/provider/dsc_script_spec.rb spec/unit/provider/env/windows_spec.rb spec/unit/provider/env_spec.rb spec/unit/provider/erl_call_spec.rb spec/unit/provider/execute_spec.rb spec/unit/provider/file_spec.rb spec/unit/provider/group/dscl_spec.rb spec/unit/provider/group/gpasswd_spec.rb spec/unit/provider/group/groupadd_spec.rb spec/unit/provider/group/groupmod_spec.rb spec/unit/provider/group/pw_spec.rb spec/unit/provider/group/suse_spec.rb spec/unit/provider/group/usermod_spec.rb spec/unit/provider/group/windows_spec.rb spec/unit/provider/group_spec.rb spec/unit/provider/http_request_spec.rb spec/unit/provider/ifconfig/aix_spec.rb spec/unit/provider/ifconfig/redhat_spec.rb spec/unit/provider/ifconfig_spec.rb spec/unit/provider/launchd_spec.rb spec/unit/provider/link_spec.rb spec/unit/provider/log_spec.rb spec/unit/provider/mdadm_spec.rb spec/unit/provider/mount/aix_spec.rb spec/unit/provider/mount/mount_spec.rb spec/unit/provider/mount/solaris_spec.rb spec/unit/provider/mount/windows_spec.rb spec/unit/provider/mount_spec.rb spec/unit/provider/ohai_spec.rb spec/unit/provider/package/aix_spec.rb spec/unit/provider/package/apt_spec.rb spec/unit/provider/package/cab_spec.rb spec/unit/provider/package/chocolatey_spec.rb spec/unit/provider/package/dnf/python_helper_spec.rb spec/unit/provider/package/dpkg_spec.rb spec/unit/provider/package/freebsd/pkg_spec.rb spec/unit/provider/package/freebsd/pkgng_spec.rb spec/unit/provider/package/freebsd/port_spec.rb spec/unit/provider/package/homebrew_spec.rb spec/unit/provider/package/ips_spec.rb spec/unit/provider/package/macports_spec.rb spec/unit/provider/package/msu_spec.rb spec/unit/provider/package/openbsd_spec.rb spec/unit/provider/package/pacman_spec.rb spec/unit/provider/package/paludis_spec.rb spec/unit/provider/package/portage_spec.rb spec/unit/provider/package/powershell_spec.rb spec/unit/provider/package/rpm_spec.rb spec/unit/provider/package/smartos_spec.rb spec/unit/provider/package/solaris_spec.rb spec/unit/provider/package/windows/exe_spec.rb spec/unit/provider/package/windows/msi_spec.rb spec/unit/provider/package/windows/registry_uninstall_entry_spec.rb spec/unit/provider/package/windows_spec.rb spec/unit/provider/package/yum/yum_cache_spec.rb spec/unit/provider/package/yum_spec.rb spec/unit/provider/package/zypper_spec.rb spec/unit/provider/package_spec.rb spec/unit/provider/powershell_script_spec.rb spec/unit/provider/registry_key_spec.rb spec/unit/provider/remote_file/cache_control_data_spec.rb spec/unit/provider/remote_file/content_spec.rb spec/unit/provider/remote_file/fetcher_spec.rb spec/unit/provider/remote_file/ftp_spec.rb spec/unit/provider/remote_file/http_spec.rb spec/unit/provider/remote_file/local_file_spec.rb spec/unit/provider/remote_file/network_file_spec.rb spec/unit/provider/remote_file/sftp_spec.rb spec/unit/provider/remote_file_spec.rb spec/unit/provider/route_spec.rb spec/unit/provider/ruby_block_spec.rb spec/unit/provider/script_spec.rb spec/unit/provider/service/aix_service_spec.rb spec/unit/provider/service/aixinit_service_spec.rb spec/unit/provider/service/arch_service_spec.rb spec/unit/provider/service/debian_service_spec.rb spec/unit/provider/service/freebsd_service_spec.rb spec/unit/provider/service/gentoo_service_spec.rb spec/unit/provider/service/init_service_spec.rb spec/unit/provider/service/insserv_service_spec.rb spec/unit/provider/service/invokercd_service_spec.rb spec/unit/provider/service/macosx_spec.rb spec/unit/provider/service/openbsd_service_spec.rb spec/unit/provider/service/redhat_spec.rb spec/unit/provider/service/simple_service_spec.rb spec/unit/provider/service/solaris_smf_service_spec.rb spec/unit/provider/service/systemd_service_spec.rb spec/unit/provider/service/upstart_service_spec.rb spec/unit/provider/service/windows_spec.rb spec/unit/provider/service_spec.rb spec/unit/provider/subversion_spec.rb spec/unit/provider/systemd_unit_spec.rb spec/unit/provider/template/content_spec.rb spec/unit/provider/template_spec.rb spec/unit/provider/user/aix_spec.rb spec/unit/provider/user/dscl_spec.rb spec/unit/provider/user/linux_spec.rb spec/unit/provider/user/pw_spec.rb spec/unit/provider/user/solaris_spec.rb spec/unit/provider/user/windows_spec.rb spec/unit/provider/user_spec.rb spec/unit/provider/whyrun_safe_ruby_block_spec.rb spec/unit/provider/windows_path_spec.rb spec/unit/provider/windows_task_spec.rb spec/unit/provider/yum_repository_spec.rb spec/unit/provider/zypper_repository_spec.rb spec/unit/provider_spec.rb spec/unit/pure_application_spec.rb spec/unit/resource/apt_package_spec.rb spec/unit/resource/apt_preference_spec.rb spec/unit/resource/apt_repository_spec.rb spec/unit/resource/apt_update_spec.rb spec/unit/resource/bash_spec.rb spec/unit/resource/batch_spec.rb spec/unit/resource/breakpoint_spec.rb spec/unit/resource/cab_package_spec.rb spec/unit/resource/chef_gem_spec.rb spec/unit/resource/chocolatey_package_spec.rb spec/unit/resource/conditional_action_not_nothing_spec.rb spec/unit/resource/conditional_spec.rb spec/unit/resource/cookbook_file_spec.rb spec/unit/resource/cron_spec.rb spec/unit/resource/csh_spec.rb spec/unit/resource/deploy_revision_spec.rb spec/unit/resource/deploy_spec.rb spec/unit/resource/directory_spec.rb spec/unit/resource/dnf_package_spec.rb spec/unit/resource/dpkg_package_spec.rb spec/unit/resource/dsc_resource_spec.rb spec/unit/resource/dsc_script_spec.rb spec/unit/resource/env_spec.rb spec/unit/resource/erl_call_spec.rb spec/unit/resource/execute_spec.rb spec/unit/resource/file/verification/systemd_unit_spec.rb spec/unit/resource/file/verification_spec.rb spec/unit/resource/file_spec.rb spec/unit/resource/gem_package_spec.rb spec/unit/resource/git_spec.rb spec/unit/resource/group_spec.rb spec/unit/resource/homebrew_package_spec.rb spec/unit/resource/http_request_spec.rb spec/unit/resource/ifconfig_spec.rb spec/unit/resource/ips_package_spec.rb spec/unit/resource/ksh_spec.rb spec/unit/resource/launchd_spec.rb spec/unit/resource/link_spec.rb spec/unit/resource/log_spec.rb spec/unit/resource/macports_package_spec.rb spec/unit/resource/mdadm_spec.rb spec/unit/resource/mount_spec.rb spec/unit/resource/msu_package_spec.rb spec/unit/resource/ohai_spec.rb spec/unit/resource/openbsd_package_spec.rb spec/unit/resource/osx_profile_spec.rb spec/unit/resource/package_spec.rb spec/unit/resource/pacman_package_spec.rb spec/unit/resource/perl_spec.rb spec/unit/resource/portage_package_spec.rb spec/unit/resource/powershell_package_spec.rb spec/unit/resource/powershell_script_spec.rb spec/unit/resource/python_spec.rb spec/unit/resource/reboot_spec.rb spec/unit/resource/registry_key_spec.rb spec/unit/resource/remote_directory_spec.rb spec/unit/resource/remote_file_spec.rb spec/unit/resource/resource_notification_spec.rb spec/unit/resource/route_spec.rb spec/unit/resource/rpm_package_spec.rb spec/unit/resource/ruby_block_spec.rb spec/unit/resource/ruby_spec.rb spec/unit/resource/scm_spec.rb spec/unit/resource/script_spec.rb spec/unit/resource/service_spec.rb spec/unit/resource/smartos_package_spec.rb spec/unit/resource/solaris_package_spec.rb spec/unit/resource/subversion_spec.rb spec/unit/resource/systemd_unit_spec.rb spec/unit/resource/template_spec.rb spec/unit/resource/timestamped_deploy_spec.rb spec/unit/resource/user_spec.rb spec/unit/resource/windows_package_spec.rb spec/unit/resource/windows_path_spec.rb spec/unit/resource/windows_service_spec.rb spec/unit/resource/windows_task_spec.rb spec/unit/resource/yum_package_spec.rb spec/unit/resource/yum_repository_spec.rb spec/unit/resource/zypper_repository_spec.rb spec/unit/resource_builder_spec.rb spec/unit/resource_collection/resource_list_spec.rb spec/unit/resource_collection/resource_set_spec.rb spec/unit/resource_collection/stepable_iterator_spec.rb spec/unit/resource_collection_spec.rb spec/unit/resource_definition_spec.rb spec/unit/resource_resolver_spec.rb spec/unit/resource_spec.rb spec/unit/role_spec.rb spec/unit/run_context/child_run_context_spec.rb spec/unit/run_context/cookbook_compiler_spec.rb spec/unit/run_context_spec.rb spec/unit/run_list/run_list_expansion_spec.rb spec/unit/run_list/run_list_item_spec.rb spec/unit/run_list/versioned_recipe_list_spec.rb spec/unit/run_list_spec.rb spec/unit/run_lock_spec.rb spec/unit/run_status_spec.rb spec/unit/runner_spec.rb spec/unit/scan_access_control_spec.rb spec/unit/search/query_spec.rb spec/unit/server_api_spec.rb spec/unit/server_api_versions_spec.rb spec/unit/shell/model_wrapper_spec.rb spec/unit/shell/shell_ext_spec.rb spec/unit/shell/shell_session_spec.rb spec/unit/shell_spec.rb spec/unit/user_spec.rb spec/unit/user_v1_spec.rb spec/unit/util/backup_spec.rb spec/unit/util/diff_spec.rb spec/unit/util/dsc/configuration_generator_spec.rb spec/unit/util/dsc/lcm_output_parser_spec.rb spec/unit/util/dsc/local_configuration_manager_spec.rb spec/unit/util/editor_spec.rb spec/unit/util/file_edit_spec.rb spec/unit/util/powershell/cmdlet_spec.rb spec/unit/util/powershell/ps_credential_spec.rb spec/unit/util/selinux_spec.rb spec/unit/util/threaded_job_queue_spec.rb spec/unit/util/windows/logon_session_spec.rb spec/unit/version/platform_spec.rb spec/unit/version_class_spec.rb spec/unit/version_constraint/platform_spec.rb spec/unit/version_constraint_spec.rb spec/unit/version_string_spec.rb spec/unit/win32/error_spec.rb spec/unit/win32/link_spec.rb spec/unit/win32/registry_spec.rb spec/unit/win32/security_spec.rb spec/unit/windows_service_spec.rb --format documentation chef/knife/configure chef/knife/null chef/knife/supermarket_share chef/knife/delete chef/knife/node_edit chef/knife/role_env_run_list_replace chef/knife/role_create chef/knife/tag_list chef/knife/upload chef/knife/osc_user_show chef/knife/xargs chef/knife/tag_create chef/knife/key_show chef/knife/user_key_delete chef/knife/environment_create chef/knife/role_bulk_delete chef/knife/role_list chef/knife/help_topics chef/knife/key_list_base chef/knife/role_show chef/knife/node_run_list_set chef/knife/cookbook_test chef/knife/diff chef/knife/node_environment_set chef/knife/osc_user_create chef/knife/cookbook_site_share chef/knife/recipe_list chef/knife/edit chef/knife/cookbook_upload chef/knife/user_edit chef/knife/environment_delete chef/knife/download chef/knife/data_bag_edit chef/knife/node_delete chef/knife/supermarket_unshare chef/knife/node_run_list_add chef/knife/cookbook_site_install chef/knife/cookbook_site_show chef/knife/key_create_base chef/knife/user_show chef/knife/user_key_list chef/knife/cookbook_site_download chef/knife/cookbook_delete chef/knife/environment_compare chef/knife/node_list chef/knife/user_key_show chef/knife/role_delete chef/knife/user_key_create chef/knife/client_edit chef/knife/user_list chef/knife/status chef/knife/role_run_list_add chef/knife/client_reregister chef/knife/data_bag_list chef/knife/cookbook_metadata_from_file chef/knife/cookbook_bulk_delete chef/knife/cookbook_list chef/knife/role_run_list_set chef/knife/supermarket_list chef/knife/ssl_check chef/knife/cookbook_show chef/knife/supermarket_download chef/knife/search chef/knife/cookbook_site_unshare chef/knife/cookbook_site_search chef/knife/node_from_file chef/knife/node_show chef/knife/serve chef/knife/client_key_edit chef/knife/exec chef/knife/data_bag_create chef/knife/role_env_run_list_add chef/knife/help chef/knife/node_run_list_remove chef/knife/role_run_list_replace chef/knife/key_create chef/knife/client_list chef/knife/ssl_fetch chef/knife/data_bag_delete chef/knife/role_edit chef/knife/client_create chef/knife/index_rebuild chef/knife/configure_client chef/knife/key_list chef/knife/data_bag_show chef/knife/key_edit chef/knife/osc_user_edit chef/knife/client_show chef/knife/show chef/knife/role_env_run_list_set chef/knife/bootstrap chef/knife/role_env_run_list_clear chef/knife/client_bulk_delete chef/knife/list chef/knife/client_key_show chef/knife/role_run_list_clear chef/knife/environment_from_file chef/knife/user_key_edit chef/knife/osc_user_reregister chef/knife/role_env_run_list_remove chef/knife/osc_user_delete chef/knife/client_key_create chef/knife/supermarket_show chef/knife/user_delete chef/knife/cookbook_create chef/knife/raw chef/knife/supermarket_install chef/knife/cookbook_download chef/knife/bootstrap/client_builder chef/knife/bootstrap/chef_vault_handler chef/knife/client_key_delete chef/knife/core/ui chef/knife/core/subcommand_loader chef/knife/core/generic_presenter chef/knife/core/status_presenter chef/knife/core/object_loader chef/knife/core/text_formatter chef/knife/core/node_editor chef/knife/core/bootstrap_context chef/knife/core/hashed_command_loader chef/knife/core/gem_glob_loader chef/knife/core/node_presenter chef/knife/core/cookbook_scm_repo chef/knife/user_reregister chef/knife/data_bag_from_file chef/knife/ssh chef/knife/user_create chef/knife/key_delete chef/knife/environment_show chef/knife/deps chef/knife/osc_user_list chef/knife/data_bag_secret_options chef/knife/node_create chef/knife/tag_delete chef/knife/node_bulk_delete chef/knife/rehash chef/knife/cookbook_site_list chef/knife/environment_edit chef/knife/role_run_list_remove chef/knife/client_key_list chef/knife/cookbook_metadata chef/knife/environment_list chef/knife/key_edit_base chef/knife/client_delete chef/knife/role_from_file chef/knife/supermarket_search chef/knife/configure chef/knife/null chef/knife/supermarket_share chef/knife/delete chef/knife/node_edit chef/knife/role_env_run_list_replace chef/knife/role_create chef/knife/tag_list chef/knife/upload chef/knife/osc_user_show chef/knife/xargs chef/knife/tag_create chef/knife/key_show chef/knife/user_key_delete chef/knife/environment_create chef/knife/role_bulk_delete chef/knife/role_list chef/knife/help_topics chef/knife/key_list_base chef/knife/role_show chef/knife/node_run_list_set chef/knife/cookbook_test chef/knife/diff chef/knife/node_environment_set chef/knife/osc_user_create chef/knife/cookbook_site_share chef/knife/recipe_list chef/knife/edit chef/knife/cookbook_upload chef/knife/user_edit chef/knife/environment_delete chef/knife/download chef/knife/data_bag_edit chef/knife/node_delete chef/knife/supermarket_unshare chef/knife/node_run_list_add chef/knife/cookbook_site_install chef/knife/cookbook_site_show chef/knife/key_create_base chef/knife/user_show chef/knife/user_key_list chef/knife/cookbook_site_download chef/knife/cookbook_delete chef/knife/environment_compare chef/knife/node_list chef/knife/user_key_show chef/knife/role_delete chef/knife/user_key_create chef/knife/client_edit chef/knife/user_list chef/knife/status chef/knife/role_run_list_add chef/knife/client_reregister chef/knife/data_bag_list chef/knife/cookbook_metadata_from_file chef/knife/cookbook_bulk_delete chef/knife/cookbook_list chef/knife/role_run_list_set chef/knife/supermarket_list chef/knife/ssl_check chef/knife/cookbook_show chef/knife/supermarket_download chef/knife/search chef/knife/cookbook_site_unshare chef/knife/cookbook_site_search chef/knife/node_from_file chef/knife/node_show chef/knife/serve chef/knife/client_key_edit chef/knife/exec chef/knife/data_bag_create chef/knife/role_env_run_list_add chef/knife/help chef/knife/node_run_list_remove chef/knife/role_run_list_replace chef/knife/key_create chef/knife/client_list chef/knife/ssl_fetch chef/knife/data_bag_delete chef/knife/role_edit chef/knife/client_create chef/knife/index_rebuild chef/knife/configure_client chef/knife/key_list chef/knife/data_bag_show chef/knife/key_edit chef/knife/osc_user_edit chef/knife/client_show chef/knife/show chef/knife/role_env_run_list_set chef/knife/bootstrap chef/knife/role_env_run_list_clear chef/knife/client_bulk_delete chef/knife/list chef/knife/client_key_show chef/knife/role_run_list_clear chef/knife/environment_from_file chef/knife/user_key_edit chef/knife/osc_user_reregister chef/knife/role_env_run_list_remove chef/knife/osc_user_delete chef/knife/client_key_create chef/knife/supermarket_show chef/knife/user_delete chef/knife/cookbook_create chef/knife/raw chef/knife/supermarket_install chef/knife/cookbook_download chef/knife/bootstrap/client_builder chef/knife/bootstrap/chef_vault_handler chef/knife/client_key_delete chef/knife/core/ui chef/knife/core/subcommand_loader chef/knife/core/generic_presenter chef/knife/core/status_presenter chef/knife/core/object_loader chef/knife/core/text_formatter chef/knife/core/node_editor chef/knife/core/bootstrap_context chef/knife/core/hashed_command_loader chef/knife/core/gem_glob_loader chef/knife/core/node_presenter chef/knife/core/cookbook_scm_repo chef/knife/user_reregister chef/knife/data_bag_from_file chef/knife/ssh chef/knife/user_create chef/knife/key_delete chef/knife/environment_show chef/knife/deps chef/knife/osc_user_list chef/knife/data_bag_secret_options chef/knife/node_create chef/knife/tag_delete chef/knife/node_bulk_delete chef/knife/rehash chef/knife/cookbook_site_list chef/knife/environment_edit chef/knife/role_run_list_remove chef/knife/client_key_list chef/knife/cookbook_metadata chef/knife/environment_list chef/knife/key_edit_base chef/knife/client_delete chef/knife/role_from_file chef/knife/supermarket_search WARNING: Shared example group 'with a chef repo' has been previously defined at: /usr/lib/ruby/vendor_ruby/cheffish/rspec/repository_support.rb:12 ...and you are now defining it at: /build/chef-13.8.7/spec/support/shared/integration/integration_helper.rb:111 The new definition will overwrite the original one. /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- win32/daemon (LoadError) from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' /build/chef-13.8.7/spec/unit/provider/zypper_repository_spec.rb:30: warning: already initialized constant GPG_FINGER /build/chef-13.8.7/spec/unit/provider/apt_repository_spec.rb:41: warning: previous definition of GPG_FINGER was here Run options: include {:focus=>true} exclude {:provider=>#, :arch=>#, :choco_installed=>true, :ruby=>"2.5.5", :chef=>"13.8.7", :not_wpar=>true, :broken=>true, :openssl_lt_101=>true, :requires_root_or_running_windows=>true, :requires_root=>true, :selinux_only=>true, :aix_only=>true, :system_windows_service_gem_only=>true, :solaris_only=>true, :windows_service_requires_assign_token=>true, :windows_domain_joined_only=>true, :windows_powershell_dsc_only=>true, :ruby32_only=>true, :ruby64_only=>true, :windows_gte_10=>true, :windows_nano_only=>true, :windows32_only=>true, :windows64_only=>true, :windows_2008r2_or_later=>true, :win2012r2_only=>true, :win2k3_only=>true, :mac_osx_only=>true, :windows_only=>true, :appveyor_only=>true, :volatile_from_verify=>false, :volatile=>true, :external=>true} All examples were filtered out; ignoring {:focus=>true} Chef::Application when proxy options are set in config saves built proxy to ENV which shell_out can use Chef::Audit::RspecFormatter should not close the output using our formatter Chef::FileContentManagement::Deploy::Cp it should behave like a content deploy strategy creating the file touches the file to create it (UNIX) updating the file maintains invariant properties on UNIX updates the target with content from staged Chef::FileContentManagement::Deploy::MvUnix it should behave like a content deploy strategy creating the file touches the file to create it (UNIX) updating the file maintains invariant properties on UNIX updates the target with content from staged knife configure loads the fqdn from Ohai knife rehash Using knife-rehash will speed up knife's load time by caching the location of subcommands on disk. However, you will need to update the cache by running `knife rehash` anytime you install a new knife plugin. Knife subcommands are cached in /tmp/d20200601-26239-1qshuxb/.chef/plugin_manifest.json. Delete this file to disable the caching. writes the loaded plugins to disc Chef::Mixin::ShellOut shell_out_with_systems_locale when environment['LC_ALL'] is not set should use the default shell_out setting when environment['LC_ALL'] is set should use the option's setting Notifications should subscribe from one resource to another should notify from one resource to another immediately should notify from one resource to another before should not notify from one resource to another before if the resource is not updated should notify from one resource to another delayed when one resource is defined lazily subscribes to a resource defined in a ruby block notifies from inside a ruby_block to a resource defined outside Chef::Provider::RemoteFile::CacheControlData when the cache control data save method is invoked writes data to the cache writes the data to the cache and the same data can be read back when the length of the uri exceeds the path length limits for the local file system writes data to the cache writes the data to the cache and the same data can be read back Chef::Resource::WhyrunSafeRubyBlock when testing the resource updates the evil laugh, even in why-run mode Chef::Platform::Rebooter #reboot_if_needed! should not call #shell_out! when reboot has not been requested calling #shell_out! to reboot when using #reboot_if_needed! should produce the correct string on Windows should produce a SysV-like shutdown on solaris should produce a BSD-like shutdown by default when using #reboot! should produce the correct string on Windows should produce a SysV-like shutdown on solaris should produce a BSD-like shutdown by default Chef::Resource::Bash times out when a timeout is set on the resource when setting the command attribute should raise an exception when trying to set the command should initialize the command to nil when the code is not present raises an exception Chef::Resource::CookbookFile behaves like a securable resource with reporting reading file security metadata for reporting on unix when the target file doesn't exist has empty values for file metadata in 'current_resource' and no security metadata is specified in new_resource sets the metadata values on the new_resource as strings after creating and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when the target file exists and no security metadata is specified in new_resource sets the current values on current resource as strings and owner is specified with a String (username) in new_resource sets the owner on new_resource to the username (String) of the desired owner and owner is specified with an Integer (uid) in new_resource sets the owner on new_resource to the uid (Integer) of the desired owner and group is specified with a String (group name) sets the group on new_resource to the group name (String) of the group and group is specified with an Integer (gid) sets the group on new_resource to the gid (Integer) and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String behaves like a file resource when deploying with :move when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying with :copy when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when running under why run and the resource has a path with a missing intermediate directory successfully doesn't create the file when setting atomic_update booleans should work anything else should raise an error Chef::Resource::Directory behaves like a directory resource when the target directory does not exist when running action :create and the recursive option is not set creates the directory when the :create action is run is marked updated by last action and the recursive option is set recursively creates required directories is marked updated by last action when the target directory exists when running action :create does not re-create the directory is not marked updated by last action when running action :delete without the recursive option deletes the directory is marked as updated by last action with the recursive option recursively deletes directories behaves like a securable resource with reporting reading file security metadata for reporting on unix when the target file doesn't exist has empty values for file metadata in 'current_resource' and no security metadata is specified in new_resource sets the metadata values on the new_resource as strings after creating and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when the target file exists and no security metadata is specified in new_resource sets the current values on current resource as strings and owner is specified with a String (username) in new_resource sets the owner on new_resource to the username (String) of the desired owner and owner is specified with an Integer (uid) in new_resource sets the owner on new_resource to the uid (Integer) of the desired owner and group is specified with a String (group name) sets the group on new_resource to the group name (String) of the group and group is specified with an Integer (gid) sets the group on new_resource to the gid (Integer) and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String Chef::Resource::Execute times out when a timeout is set on the resource when guard is ruby block guard can still run when why_run is enabled executes the guard and not the regular resource when parent resource sets :cwd guard inherits :cwd from resource and runs guard inherits :cwd from resource and does not run when parent resource sets :environment guard inherits :environment value from resource and runs guard inherits :environment value from resource and does not run guard adds additional values in its :environment and runs guard adds additional values in its :environment and does not run guard overwrites value with its :environment and runs guard overwrites value with its :environment and does not runs Chef::Resource::File behaves like a file resource when deploying with :move when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying with :copy when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when running under why run and the resource has a path with a missing intermediate directory successfully doesn't create the file when setting atomic_update booleans should work anything else should raise an error behaves like a securable resource with reporting reading file security metadata for reporting on unix when the target file doesn't exist has empty values for file metadata in 'current_resource' and no security metadata is specified in new_resource sets the metadata values on the new_resource as strings after creating and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when the target file exists and no security metadata is specified in new_resource sets the current values on current resource as strings and owner is specified with a String (username) in new_resource sets the owner on new_resource to the username (String) of the desired owner and owner is specified with an Integer (uid) in new_resource sets the owner on new_resource to the uid (Integer) of the desired owner and group is specified with a String (group name) sets the group on new_resource to the group name (String) of the group and group is specified with an Integer (gid) sets the group on new_resource to the gid (Integer) and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when running action :create without content and the target file does not exist creates the file is marked updated by last action when using backup only stores the number of requested backups when running action :create on a relative path and the file exists should run without an exception when running action :touch and the target file does not exist it creates the file is marked updated by last action and the target file exists and has the correct content updates the mtime of the file does not change the content is marked as updated by last action Chef::Resource::Ohai when reloading all plugins behaves like reloaded :uptime [2020-06-01T09:57:45+14:00] WARN: Plugin Network: unable to detect ipaddress should reload :uptime when reloading only uptime behaves like reloaded :uptime should reload :uptime Chef::Resource::Reboot the request_reboot_on_successful_run action should have modified the run context correctly the reboot_interrupt_run action should have modified the run context correctly the cancel action should have cleared the reboot request Chef::Resource::RegistryKey [2020-06-01T09:57:50+14:00] WARN: Plugin Network: unable to detect ipaddress when load_current_resource is run on a non-windows node throws an exception because you don't have a windows registry (derp) Chef::Resource::Template behaves like a file resource when deploying with :move when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying with :copy when deploying via tmpdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when deploying via destdir behaves like a configured file resource when the target file is a symlink when configured not to manage symlink's target when symlink target has correct content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when symlink target has the wrong content behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when configured to manage the symlink source but the symlink is part of a loop raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink points to a nonexistent file raises an InvalidSymlink error issues a warning/assumption in whyrun mode but the symlink is points to a non-file fs entry raises an InvalidSymlink error issues a warning/assumption in whyrun mode when the symlink source is a real file and the permissions are incorrect does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the content is incorrect marks the resource as updated does not replace the symlink with a real file and the content and permissions are correct on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the symlink points to a symlink which points to a real file does not replace the symlink with a real file on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file does not exist when force_unlink is set to true :create updates the target when force_unlink is set to false :create updates the target when force_unlink is not set (default) :create updates the target when the target file is a directory behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a pipe behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when the target file is a socket behaves like file resource not pointing to a real file when force_unlink is set to true :create unlinks the target when force_unlink is set to false :create raises an error when force_unlink is not set (default) :create raises an error when notification is configured when path is specified with normal separator should notify the other resources correctly when the target file does not exist when running action :create creates the file when the :create action is run creates the file with the correct content when the :create action is run is marked as updated by last action when running action :create_if_missing creates the file with the correct content is marked as updated by last action when running action :delete deletes the file when the :delete action is run is not marked updated by last action when the target file has the wrong content and the target file has the correct permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the wrong content when diff is disabled when running action :create with backups enabled overwrites the file with the updated content when the :create action is run backs up the existing file is marked as updated by last action with backups disabled should not attempt to backup the existing file if :backup == 0 with a checksum that does not match the content to deploy raises an exception when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated when running action :delete deletes the file is marked as updated by last action when diff is enabled sensitive attribute should be insensitive by default should be falsey when set should be set on the resource when running :create action should suppress the diff should still include the updated checksums behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when the target file has the correct content and the target file has the correct permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made and the target file has incorrect permissions behaves like a file with the correct content when running action :create does not overwrite the original when the :create action is run does not update the mtime of the file when the :create action is run is not marked as updated by last action when running action :create_if_missing doesn't overwrite the file when the :create_if_missing action is run is not marked as updated by last action when running action :delete deletes the file when the :delete action is run is marked as updated by last action behaves like a securable resource with existing target on Unix when setting the permissions from octal given as a String is marked as updated only if changes are made when setting permissions from a literal octal Integer is marked as updated only if changes are made when running under why run and the resource has a path with a missing intermediate directory successfully doesn't create the file when setting atomic_update booleans should work anything else should raise an error behaves like a securable resource with reporting reading file security metadata for reporting on unix when the target file doesn't exist has empty values for file metadata in 'current_resource' and no security metadata is specified in new_resource sets the metadata values on the new_resource as strings after creating and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when the target file exists and no security metadata is specified in new_resource sets the current values on current resource as strings and owner is specified with a String (username) in new_resource sets the owner on new_resource to the username (String) of the desired owner and owner is specified with an Integer (uid) in new_resource sets the owner on new_resource to the uid (Integer) of the desired owner and group is specified with a String (group name) sets the group on new_resource to the group name (String) of the group and group is specified with an Integer (gid) sets the group on new_resource to the gid (Integer) and mode is specified as a String sets mode on the new_resource as a String and mode is specified as an Integer sets mode on the new resource as a String when the target file does not exist creates the template with the rendered content using the variable attribute when the :create action is run creates the template with the rendered content using a local erb file when the :create action is run when the template resource defines helper methods using single helper syntax behaves like a template with helpers generates expected content by calling helper methods using single helper syntax referencing @node behaves like a template with helpers generates expected content by calling helper methods using an inline block to define helpers behaves like a template with helpers generates expected content by calling helper methods using an inline block referencing @node behaves like a template with helpers generates expected content by calling helper methods using a module from a library behaves like a template with helpers generates expected content by calling helper methods using a module from a library referencing @node behaves like a template with helpers generates expected content by calling helper methods using helpers with partial templates behaves like a template with helpers generates expected content by calling helper methods when template source contains windows style line endings for all lines output should contain platform's line endings for some lines output should contain platform's line endings for no lines output should contain platform's line endings when template variables contain lazy{} calls resolves the DelayedEvaluator does not mutate the resource variables resolves the DelayedEvaluator when deeply nested when passing a node attribute mash as a template variable uses the node attributes like a hash root aliases attributes root aliases should load attributes.rb when included directly should load attributes.rb when loading a cookbook with both an attributes.rb and attributes/default.rb should log an error and ignore attributes/default.rb recipe root aliased should load recipe.rb with both an recipe.rb and recipes/default.rb should log an error and ignore recipes/default.rb Chef::RunLock when locking the chef-client run test returns true and acquires the lock test returns without waiting when the lock is acquired when the lockfile does not already exist when a client creates the lockfile but has not yet acquired the lock and the second client has done nothing the lockfile is created the lockfile is not locked the lockfile is empty and a second client gets the lock the first client does not get the lock until the second finishes and the first client tries to get the lock and the second is killed, the first client gets the lock immediately and the second client has created the lockfile but not yet acquired the lock the lockfile is created the lockfile is not locked the lockfile is empty and a second client gets the lock the first client does not get the lock until the second finishes and the first client tries to get the lock and the second is killed, the first client gets the lock immediately when a client acquires the lock but has not yet saved the pid the lockfile is created the lockfile is locked sets FD_CLOEXEC on the lockfile the lockfile is empty and a second client tries to acquire the lock, it doesn't get the lock until *after* the first client exits and a second client tries to get the lock and the first is killed, the second client gets the lock immediately when a client acquires the lock and saves the pid the lockfile is created the lockfile is locked sets FD_CLOEXEC on the lockfile the PID is in the lockfile and a second client tries to acquire the lock, it doesn't get the lock until *after* the first client exits when a second client tries to get the lock and the first is killed, the second client gets the lock immediately when a client acquires a lock and exits normally the lockfile remains the lockfile is not locked the PID is in the lockfile and a second client tries to acquire the lock, it gets the lock immediately ChefConfig::PathHelper escape_glob escapes the glob metacharacters so globbing succeeds Chef Versions chef-client version should be sane chef-shell version should be sane chef-apply version should be sane knife version should be sane chef-solo version should be sane Accumulators when the chef repo edit_resource-based delayed accumulators work should complete with success when the chef repo find_resource-based delayed accumulators work should complete with success LWRPs with inline resources with a use_inline_resources provider with 'def action_a' instead of action :a this is totally a bug, but for backcompat purposes, it adds the resources to the main resource collection and does not get marked updated with an inline resource with a property that shadows the enclosing provider's property does not warn spuriously with an inline_resources provider with two actions, one calling the other resources declared in b are executed immediately inline when the chef repo has a cookbook with a nested LWRP should complete with success LWRPs when the chef repo has a cookbook named l-w-r-p should complete with success Resources with a no-op provider with noop provider providing foo does not blow up a run with a noop'd resource notifications when the chef repo notifies a nameless resource should complete with success when the chef repo notifies delayed one should complete with success when the chef repo notifies delayed two should complete with success when the chef repo notifies delayed three should complete with success when the chef repo notifies delayed four should complete with success when the chef repo notifies immediately should complete with success when the chef repo uses old notifies syntax should complete with success when the chef repo does not have a matching resource should complete with success when the chef repo encounters identical resources in parent and child resource collections should complete with success when the chef repo has resources that have arrays as the name notifying the resource should work notifying_block when the chef repo notifying_block test one should run alpha, beta, gamma, and delta in that order when the chef repo notifying_block test two should run foo, quux, bar, and baz in that order Recipe DSL methods with resource 'base_thingy' declared as BaseThingy creates base_thingy when you call base_thingy in a recipe errors when you call base_thingy do ... end in a recipe nameless resources does not error when not given a name Deprecated automatic resource DSL with a resource named RecipeDSLSpecNamespace::Bar::BarThingy bar_thingy does not work with a resource named Chef::Resource::NoNameThingy with resource_name nil no_name_thingy does not work with a resource named AnotherNoNameThingy with resource_name :another_thingy_name another_no_name_thingy does not work another_thingy_name works with a resource named AnotherNoNameThingy2 with resource_name :another_thingy_name2; resource_name :another_thingy_name3 another_no_name_thingy does not work another_thingy_name2 does not work yet_another_thingy_name3 works provides overriding resource_name with a resource named AnotherNoNameThingy3 with provides :another_no_name_thingy3, os: 'blarghle' and os = linux, another_no_name_thingy3 does not work and os = blarghle, another_no_name_thingy3 works with a resource named AnotherNoNameThingy4 with two provides and os = linux, another_no_name_thingy4 does not work and os = blarghle, another_no_name_thingy4 works and platform_family = foo, another_no_name_thingy4 works with a resource named AnotherNoNameThingy5, a different resource_name, and a provides with the original resource_name and os = linux, another_no_name_thingy5 does not work and os = blarghle, another_no_name_thingy5 works the new resource name can be used in a recipe with a resource named AnotherNoNameThingy6, a provides with the original resource name, and a different resource_name and os = linux, another_no_name_thingy6 does not work and os = blarghle, another_no_name_thingy6 works the new resource name can be used in a recipe with a resource named AnotherNoNameThingy7, a new resource_name, and provides with that new resource name and os = linux, another_thingy_name_for_another_no_name_thingy7 does not work and os = blarghle, another_thingy_name_for_another_no_name_thingy7 works the old resource name does not work with a resource named AnotherNoNameThingy8, a provides with a new resource name, and resource_name with that new resource name and os = linux, another_thingy_name_for_another_no_name_thingy8 does not work and os = blarghle, another_thingy_name_for_another_no_name_thingy8 works the old resource name does not work provides when MySupplier provides :hemlock my_supplier does not work in a recipe hemlock works in a recipe when Thingy3 has resource_name :thingy3 thingy3 works in a recipe and Thingy4 has resource_name :thingy3 thingy3 works in a recipe and yields Thingy3 (the alphabetical one) thingy4 does not work in a recipe resource_matching_short_name returns Thingy4 when Thingy5 has resource_name :thingy5 and provides :thingy5reverse, :thingy5_2 and :thingy5_2reverse thingy5 works in a recipe and Thingy6 provides :thingy5 thingy6 works in a recipe and yields Thingy6 thingy5 works in a recipe and yields Foo::Thingy5 (the alphabetical one) resource_matching_short_name returns Thingy5 and AThingy5 provides :thingy5reverse thingy5reverse works in a recipe and yields AThingy5 (the alphabetical one) and ZRecipeDSLSpecNamespace::Thingy5 provides :thingy5_2 thingy5_2 works in a recipe and yields the RecipeDSLSpaceNamespace one (the alphabetical one) and ARecipeDSLSpecNamespace::Thingy5 provides :thingy5_2 thingy5_2reverse works in a recipe and yields the ARecipeDSLSpaceNamespace one (the alphabetical one) when Thingy3 has resource_name :thingy3 thingy3 works in a recipe and Thingy4 has resource_name :thingy3 thingy3 works in a recipe and yields Thingy3 (the alphabetical one) thingy4 does not work in a recipe resource_matching_short_name returns Thingy4 and Thingy4 has resource_name :thingy3 thingy3 works in a recipe and yields Thingy3 (the alphabetical one) thingy4 does not work in a recipe resource_matching_short_name returns Thingy4 when Thingy7 provides :thingy8 and Thingy8 has resource_name :thingy8 thingy7 works in a recipe and yields Thingy7 thingy8 works in a recipe and yields Thingy7 (alphabetical) resource_matching_short_name returns Thingy8 when Thingy12 provides :thingy12, :twizzle and :twizzle2 thingy12 works in a recipe and yields Thingy12 twizzle works in a recipe and yields Thingy12 twizzle2 works in a recipe and yields Thingy12 with platform-specific resources 'my_super_thingy_foo' and 'my_super_thingy_bar' A run with platform 'foo' uses MySuperThingyFoo A run with platform 'bar' uses MySuperThingyBar A run with platform 'x' reports that my_super_thingy is not supported when Thingy10 provides :thingy10 declaring a resource providing the same :thingy10 with override: true does not produce a warning when Thingy11 provides :thingy11 declaring a resource providing the same :thingy11 with os: 'linux' does not produce a warning with a resource named 'B' with resource name :two_classes_one_dsl and another resource named 'A' with resource_name :two_classes_one_dsl two_classes_one_dsl resolves to A (alphabetically earliest) resource_matching_short_name returns B and another resource named 'Z' with resource_name :two_classes_one_dsl two_classes_one_dsl resolves to B (alphabetically earliest) resource_matching_short_name returns B and a priority array [ Z, B ] two_classes_one_dsl resolves to Z (respects the priority array) resource_matching_short_name returns B when Z provides(:two_classes_one_dsl) { false } two_classes_one_dsl resolves to B (picks the next thing in the priority array) resource_matching_short_name returns B and priority arrays [ B ] and [ Z ] two_classes_one_dsl resolves to Z (respects the most recent priority array) resource_matching_short_name returns B when Z provides(:two_classes_one_dsl) { false } two_classes_one_dsl resolves to B (picks the first match from the other priority array) resource_matching_short_name returns B and a priority array [ Z ] when Z provides(:two_classes_one_dsl) { false } two_classes_one_dsl resolves to B (picks the first match outside the priority array) resource_matching_short_name returns B and a provider named 'B' which provides :two_classes_one_dsl and another provider named 'A' which provides :two_classes_one_dsl two_classes_one_dsl resolves to A (alphabetically earliest) which provides(:two_classes_one_dsl) { false } two_classes_one_dsl resolves to B (since A declined) and another provider named 'Z' which provides :two_classes_one_dsl two_classes_one_dsl resolves to B (alphabetically earliest) with a priority array [ Z, B ] two_classes_one_dsl resolves to Z (respects the priority map) which provides(:two_classes_one_dsl) { false } with a priority array [ Z, B ] two_classes_one_dsl resolves to B (the next one in the priority map) with priority arrays [ B ] and [ Z ] two_classes_one_dsl resolves to B (the one in the next priority map) and another resource Blarghle with provides :two_classes_one_dsl, os: 'blarghle' on os = blarghle, two_classes_one_dsl resolves to Blarghle on os = linux, two_classes_one_dsl resolves to B with a resource MyResource with resource_name :my_resource with provides? returning true to my_resource my_resource returns the resource and calls provides?, but does not emit a warning and a provider that provides :my_resource with supports? returning true my_resource runs the provider and does not emit a warning and another provider supporting :my_resource with supports? false my_resource runs the first provider with supports? returning false my_resource runs the provider anyway and another provider supporting :my_resource with supports? true my_resource runs the other provider with UTF-8 provides utf-8 dsl names work with an LWRP that declares actions The actions are part of actions along with :nothing The actions are part of allowed_actions along with :nothing and a subclass that declares more actions The parent class actions are not part of actions The parent class actions are not part of allowed_actions The parent class actions do not change Resource.action With resource 'action_jackson' Can retrieve ancestors of action class without crashing behaves like ActionJackson the default action is the first declared action the action can access recipe DSL the action can access attributes the action can access public methods /build/chef-13.8.7/spec/integration/recipes/resource_action_spec.rb:184: warning: forwarder module for ResourceActionSpec::ActionJackson action provider#foo_protected at /usr/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method ResourceActionSpec::ActionJackson#foo_protected the action can access protected methods the action cannot access private methods the action cannot access resource instance variables the action does not compile until the prior resource has converged the action's resources converge before the next resource converges when running in whyrun mode the default action runs And 'action_jackgrandson' inheriting from ActionJackson and changing nothing behaves like ActionJackson the default action is the first declared action the action can access recipe DSL the action can access attributes the action can access public methods /build/chef-13.8.7/spec/integration/recipes/resource_action_spec.rb:184: warning: forwarder module for ResourceActionSpec::ActionJackson action provider#foo_protected at /usr/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method ResourceActionSpec::ActionJackgrandson#foo_protected the action can access protected methods the action cannot access private methods the action cannot access resource instance variables the action does not compile until the prior resource has converged the action's resources converge before the next resource converges when running in whyrun mode the default action runs And 'action_jackalope' inheriting from ActionJackson with an extra attribute, action and custom method the default action remains the same even though new actions were specified first new actions run, and can access overridden, new, and overridden attributes overridden actions run, call super, and can access overridden, new, and overridden attributes non-overridden actions run and can access overridden and non-overridden variables (but not necessarily new ones) action_jackson still behaves the same behaves like ActionJackson the default action is the first declared action the action can access recipe DSL the action can access attributes the action can access public methods /build/chef-13.8.7/spec/integration/recipes/resource_action_spec.rb:184: warning: forwarder module for ResourceActionSpec::ActionJackson action provider#foo_protected at /usr/lib/ruby/2.5.0/forwardable.rb:157 forwarding to private method ResourceActionSpec::ActionJackson#foo_protected the action can access protected methods the action cannot access private methods the action cannot access resource instance variables the action does not compile until the prior resource has converged the action's resources converge before the next resource converges when running in whyrun mode the default action runs With a resource with no actions the default action is :nothing With a resource with a UTF-8 action Running the action works With a resource with property x And another resource with a property x and an action that sets property x to its value Using the enclosing resource to set x to x emits a warning that you're using the wrong x Using the enclosing resource to set x to x outside the initializer emits no warning Using the enclosing resource to set x to 10 emits no warning Using the enclosing resource to set x to 10 emits no warning With a resource with a set_or_return property named group (same name as a resource) Setting group to nil in an action does not emit a warning about it being defined in two places When a resource has a property with the same name as another resource Raises an error when attempting to use a template in the action When a resource declares methods in action_class the methods are not available on the resource the methods are available to the action And a subclass overrides a method with an action_class block the methods are not available on the resource the methods are available to the action And a subclass overrides a method with class_eval the methods are not available on the resource the methods are available to the action Resource::ActionClass#converge_if_changed when the resource has identity, state, control, and sensitive properties and converge_if_changed with no parameters and current_resource with state1=current, state2=current and nothing is set the resource updates nothing and state1 is set to a new value the resource updates state1 and state1 and state2 are set to new values the resource updates state1 and state2 and state1 and state2 are set to new sensitive values the resource updates state1 and state2 and sensitive1 is set to a new value the resource updates sensitive1 and state1 is set to its current value but state2 is set to a new value the resource updates state2 and state1 and state2 are set to their current values the resource updates nothing and identity1 and control1 are set to new values the resource updates nothing and current_resource with identity1=current, control1=current and identity1 and control1 are set to new values the resource updates identity1 and has no current_resource and nothing is set the resource is created and state1, state2, and sensitive1 are set the resource is created and state1 and state2 are set with sensitive property the resource is created and separate converge_if_changed :state1 and converge_if_changed :state2 and current_resource with state1=current, state2=current and nothing is set the resource updates nothing and state1 is set to a new value the resource updates state1 and state1 and state2 are set to new values the resource updates state1 and state2 and state1 is set to its current value but state2 is set to a new value the resource updates state2 and state1 and state2 are set to their current values the resource updates nothing and sensitive1 is set to a new value the resource updates sensitive1 and no current_resource and nothing is set the resource is created and state1, state2, and sensitive1 are set to new values the resource is created and state1 and state2 are set to new sensitive values the resource is created Resource.load_current_value with a resource with load_current_value and a resource with x set to a desired value current_resource is passed name but not x resource.current_value returns a different resource resource.current_value constructs the resource anew each time the provider accesses the current value of x and identity: :i and :d with desired_state: false i, name and d are passed to load_current_value, but not x and name_property: :i and :d with desired_state: false i, name and d are passed to load_current_value, but not x and a child resource class with no load_current_value the parent load_current_value is used load_current_value yields a copy of the child class And a child resource class with load_current_value the overridden load_current_value is used and a child resource class with load_current_value calling super() the original load_current_value is called as well as the child one Chef::ApiClient::Registration has an HTTP client configured with validator credentials when creating/updating the client on the server posts a locally generated public key to the server to create a client puts a locally generated public key to the server to update a client writes the generated private key to disk and the client already exists on a Chef 11 server requests a new key from the server and saves it when local key generation is disabled creates a new ApiClient on the server using the validator identity and the client already exists on a Chef 11 server requests a new key from the server and saves it and the client already exists on a Chef 10 server requests a new key from the server and saves it when writing the private key to disk creates the file with 0600 permissions writes the private key content to the file when the client key location is a symlink does not follow the symlink with follow_client_key_symlink set to true follows the symlink when registering a client creates the client on the server and writes the key retries up to 5 times gives up retrying after the max attempts Chef::ApiClient has a name attribute does not allow spaces in the name only allows string values for the name has an admin flag attribute defaults to non-admin allows only boolean values for the admin flag has a 'validator' flag attribute defaults to non-validator allows only boolean values for the 'validator' flag has a public key attribute accepts only String values for the public key has a private key attribute accepts only String values for the private key when serializing to JSON serializes as a JSON object includes the name value includes the public key value includes the 'admin' flag includes the 'validator' flag includes the private key when present does not include the private key if not present when deserializing from JSON (string) using ApiClient#from_json does not require a 'json_class' string should deserialize to a Chef::ApiClient object preserves the name preserves the public key preserves the admin status preserves the 'validator' status includes the private key if present when deserializing from JSON (hash) using JSONCompat#from_json should deserialize to a Chef::ApiClient object preserves the name preserves the public key preserves the admin status preserves the 'validator' status includes the private key if present when loading from JSON should deserialize to a Chef::ApiClient object preserves the name preserves the public key preserves the admin status preserves the 'validator' status includes the private key if present when requesting a new key and the client does not exist on the server raises a 404 error and the client exists and the client exists on a Chef 11-like server returns an ApiClient with a private key and the client exists on a Chef 10-like server returns an ApiClient with a private key Chef::ApiClientV1 has a name attribute does not allow spaces in the name only allows string values for the name has an admin flag attribute defaults to non-admin allows only boolean values for the admin flag has an create_key flag attribute create_key defaults to false allows only boolean values for the create_key flag has a 'validator' flag attribute defaults to non-validator allows only boolean values for the 'validator' flag has a public key attribute accepts only String values for the public key has a private key attribute accepts only String values for the private key when serializing to JSON serializes as a JSON object includes the name value includes the public key value includes the 'admin' flag includes the 'validator' flag includes the 'create_key' flag when present includes the private key when present does not include the private key if not present should allow consumers to call #to_json or Chef::JSONCompat.to_json when deserializing from JSON (string) using ApiClient#from_json does not require a 'json_class' string should deserialize to a Chef::ApiClientV1 object preserves the name preserves the public key preserves the admin status preserves the create_key status preserves the 'validator' status includes the private key if present when deserializing from JSON (hash) using ApiClientV1#from_json should deserialize to a Chef::ApiClientV1 object preserves the name preserves the public key preserves the admin status preserves the create_key status preserves the 'validator' status includes the private key if present when loading from JSON should deserialize to a Chef::ApiClientV1 object preserves the name preserves the public key preserves the admin status preserves the create_key status preserves the 'validator' status includes the private key if present when requesting a new key and the client does not exist on the server raises a 404 error Versioned API Interactions create it should behave like user or client create when server API V1 is valid on the Chef Server receiving the request creates a new object via the API creates a new object via the API with a public_key when it exists raise error when create_key and public_key are both set rasies the proper error when create_key == true creates a new object via the API with create_key when chef_key is returned by the server puts the public key into the objectr returned by create when private_key is returned in chef_key puts the private key into the object returned by create when server API V1 is not valid on the Chef Server receiving the request when the server supports API V0 creates a new object via the API creates a new object via the API with a public_key when it exists when API V1 is not supported by the server it should behave like version handling when the server does not support the min or max server API version that Chef::UserV1 supports raises the original exception update when a valid client is defined when API V1 is supported by the server it should behave like client updating updates the client when only the name field exists updates the client with only the name when API V1 is not supported by the server when no version is supported it should behave like version handling when the server does not support the min or max server API version that Chef::UserV1 supports raises the original exception when API V0 is supported it should behave like client updating updates the client when only the name field exists updates the client with only the name reregister when server API V0 is valid on the Chef Server receiving the request creates a new object via the API when server API V0 is not supported by the Chef Server it should behave like user and client reregister when V0 is not supported by the server when the exception is 406 and returns x-ops-server-api-version header raises an error about only V0 being supported when the exception is not versioning related raises the original error Chef::Application::Apply configuring the application should set solo mode to true read_recipe_file should read text properly should return a file_handle when recipe is nil should raise a fatal with the missing filename message when recipe doesn't exist should raise a fatal with the file doesn't exist message temp_recipe_file should open a tempfile should write recipe text to the tempfile should save the filename for later use recipe_file_arg Usage: chef-apply [RECIPE_FILE | -e RECIPE_TEXT | -s] [OPTIONS] --[no-]color Use colored output, defaults to enabled -e, --execute RECIPE_TEXT Execute resources supplied in a string --force-formatter Use formatter output instead of logger output --force-logger Use logger output instead of formatter output -F, --format FORMATTER output format to use -j JSON_ATTRIBS, Load attributes from a JSON file or URL --json-attributes -l, --log_level LEVEL Set the log level (debug, info, warn, error, fatal) --minimal-ohai Only run the bare minimum ohai plugins chef needs to function --[no-]profile-ruby Dump complete Ruby call graph stack of entire Chef run (expert only) -s, --stdin Execute resources read from STDIN -v, --version Show chef version -W, --why-run Enable whyrun mode -h, --help Show this message should exit and log message when the json_attribs configuration option is specified reads the JSON attributes from the specified source Chef::Application::ExitCode Validates the return codes from RFC 062 validates a SUCCESS return code of 0 validates a GENERIC_FAILURE return code of 1 validates a SIGINT_RECEIVED return code of 2 validates a SIGTERM_RECEIVED return code of 3 validates a AUDIT_MODE_FAILURE return code of 42 validates a REBOOT_SCHEDULED return code of 35 validates a REBOOT_NEEDED return code of 37 validates a REBOOT_FAILED return code of 41 validates a CLIENT_UPGRADED return code of 213 when Chef validates exit codes does write a warning on non-standard exit codes returns a GENERIC_FAILURE for non-RFC exit codes returns GENERIC_FAILURE when no exit code is specified returns SIGINT_RECEIVED when a SIGINT is received returns SIGTERM_RECEIVED when a SIGTERM is received returns GENERIC_FAILURE when an exception is specified returns AUDIT_MODE_FAILURE when there is an audit error returns REBOOT_SCHEDULED when there is an reboot requested returns REBOOT_FAILED when the reboot command fails returns REBOOT_NEEDED when a reboot is pending returns CLIENT_UPGRADED when the client was upgraded during converge returns SIGINT_RECEIVED when a SIGINT is received. returns SIGTERM_RECEIVED when a SIGTERM is received. Chef::Application::Solo in legacy mode configuring the application should call set_specific_recipes should set solo mode to true should set audit-mode to :disabled downloads a tarball when the recipe_url configuration option is specified fetches the recipe_url first when both json_attribs and recipe_url are specified when configured to not fork the client process when interval is given should terminate with message when in daemonized mode and no interval has been set should set the interval to 1800 when the json_attribs configuration option is specified reads the JSON attributes from the specified source after the application has been configured should change privileges behaves like an application that loads a dot d when client_d_dir is set to nil does not raise an exception when client_d_dir is set to a directory with configuration WARNING: `allow(...).to receive(..).ordered` is not supported and will have no effect, use `and_return(*ordered_values)` instead.. Called from /build/chef-13.8.7/spec/support/shared/unit/application_dot_d.rb:42:in `block (3 levels) in '. loads the configuration in order when client_d_dir is set to a directory without configuration does not raise an exception when client_d_dir is set to a directory containing a directory named foo.rb does not raise an exception in local mode sets solo mode to true sets local mode to true sets the repo path runs chef-client in local mode argv gets tidied up deletes --ez replaces -r with --recipe-url Chef::Audit::AuditEventProxy #example_group_started when notified from a top-level example group notifies control_group_started event when notified from an inner-level example group does nothing #stop sends a message that audits completed when an example succeeded notifies events when an example failed notifies events #build_control_from a top-level example returns the controls block name and example metadata for reporting an example with an implicit subject returns the controls block name and example metadata for reporting an example in a nested context returns the controls block name and example metadata for reporting an example in a nested context including Serverspec returns the controls block name and example metadata for reporting Chef::Audit::AuditReporter #audit_phase_start notifies audit phase start to debug log initializes an AuditData object saves the run status #run_completed a successful run with auditing enabled sets run start and end times posts audit data to server endpoint when audit phase failed reports an error when unable to post to server the error is an http error when the code is 404 logs that the server doesn't support audit reporting when the code is not 404 saves the error report when there is no code saves the error report the error is not an http error logs the error when reporting url fatals are enabled raises the error when auditing is not enabled doesn't send reports when the run fails before audits doesn't send reports #run_failed when no prior exception is stored reports no error when some prior exception is stored reports the prior error #audit_phase_complete notifies audit phase finished to debug log collects audit data #audit_phase_failed notifies audit phase failed to debug log collects audit data #control_group_started stores the control group when a control group with the same name has been seen raises an exception #control_example_success notifies the control group the example succeeded #control_example_failure notifies the control group the example failed #auditing_enabled? when auditing is disabled returns false when auditing in audit-only mode returns true when auditing is enabled returns true Chef::Audit::AuditData #add_control_group when no control groups have been added stores the control group when adding additional control groups stores the control group stores all control groups #to_hash returns a hash describes a Chef::Audit::AuditData object :control_groups with no control groups added is an empty list with one control group added is a one-element list containing the control group hash with multiple control groups added is a list of control group hashes Chef::Audit::ControlData #to_hash returns a hash describes a Chef::Audit::ControlData object when context is nil sets :context to an empty array when context is non-nil sets :context to its value Chef::Audit::ControlGroupData #new has status "success" #example_success increments the number of successful audits does not increment the number of failed audits marks the audit's status as success does not modify its own status saves the control #example_failure does not increment the number of successful audits increments the number of failed audits marks the audit's status as failure marks its own status as failure saves the control when details are not provided does not save details to the control when details are provided saves details to the control when all audits pass counts the number of successful audits counts the number of failed audits marks its status as "success" when one audit fails and it's the first audit counts the number of successful audits counts the number of failed audits marks its status as "failure" and it's an audit in the middle counts the number of successful audits counts the number of failed audits marks its status as "failure" and it's the last audit counts the number of successful audits counts the number of failed audits marks its status as "failure" when all audits fail counts the number of successful audits counts the number of failed audits marks its status as "failure" #to_hash returns a hash describes a Chef::Audit::ControlGroupData object :controls with no controls added is an empty list with one control added is a one-element list containing the control hash adds a sequence number to the control with multiple controls added is a list of control group hashes ordered by line number assigns sequence numbers in order Chef::Audit::Logger calling puts creates @buffer and adds the message calling puts multiple times adds to the message calling it before @buffer is set returns an empty string Chef::Audit::RspecFormatter should respond to close Chef class priority maps #get_provider_priority_array should use the current node to get the right priority_map #get_resource_priority_array should use the current node to get the right priority_map #set_provider_priority_array should delegate to the provider_priority_map #set_priority_map_for_resource should delegate to the resource_priority_map #run_context should return the injected RunContext #node should return the injected Node #event_handler adds a new handler raise error if unknown event type is passed Chef::ChefFS::Config initialize warns when hosted setups use 'everything' doesn't warn when hosted setups use 'hosted_everything' doesn't warn when non-hosted setups use 'everything' local FS configuration sets the correct nodes path on the local FS object sets the correct cookbook path on the local FS object sets the correct data bag path on the local FS object sets the correct environment path on the local FS object sets the correct role path on the local FS object sets the correct user path on the local FS object formats paths #server_path returns nil if no paths match with only repo paths returns / if in the repo path checks all the repo paths with specific object locations resolves a relative path resolves a relative path in a parent directory ignores a relative path that's outside the repository deals with splat paths resolves an absolute path deals with an absolute path with splats #format_path returns the entry's path if the cwd isn't in the config returns . if the cwd is the same as the entry's path returns a relative path if the cwd is in the repo returns a relative path if the cwd is at the root of repo Chef::ChefFS::DataHandler::GroupDataHandler #normalize_for_post normalizes the users, clients and groups into actors diff with two filesystems with all types of difference Chef::ChefFS::CommandLine.diff_print(/) Chef::ChefFS::CommandLine.diff_print(/both_dirs) Chef::ChefFS::CommandLine.diff_print(/) with depth 1 Chef::ChefFS::CommandLine.diff_print(/*_*) with depth 0 Chef::ChefFS::CommandLine.diff_print(/) in name-only mode Chef::ChefFS::CommandLine.diff_print(/) in name-status mode Chef::ChefFS::FilePattern with empty pattern "" match? exact_path could_match_children? with root pattern "/" match? exact_path could_match_children? with simple pattern "abc" match? exact_path could_match_children? with simple pattern "/abc" match? exact_path could_match_children? exact_child_name_under with simple pattern "abc/def/ghi" match? exact_path could_match_children? exact_child_name_under with simple pattern "/abc/def/ghi" match? exact_path could_match_children? exact_child_name_under with simple pattern "a\*\b" match? exact_path could_match_children? with star pattern "/abc/*/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc/d*f/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc/d??f/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc/d[a-z][0-9]f/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc/**/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc**/ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "/abc/**ghi" match? exact_path could_match_children? exact_child_name_under with star pattern "a**b**c" match? exact_path normalization tests handles trailing slashes handles multiple slashes handles dot handles dotdot handles dotdot with double star raises error on dotdot with overlapping double star handles leading dotdot Chef::ChefFS::FileSystem::ChefServer::CookbookSubdir can get child Chef::ChefFS::FileSystem::OperationFailedError message has a cause attribute and HTTP result code is 400 include error cause does not have a cause attribute does not include error cause Chef::ChefFS::FileSystem::Repository::BaseFile #is_json_file? returns false when the file is not json (PENDING: We assume that everything is ruby or JSON) returns true when the file is json #name_valid? rejects dotfiles rejects non json files (PENDING: We assume that everything is ruby or JSON) allows ruby files allows correctly named files #fs_entry_valid? rejects invalid names rejects missing files allows present and properly named files #create doesn't create an existing file creates a new file #write minimises a json object unless pretty json is off correctly Chef::ChefFS::FileSystem::Repository::Directory #make_child_entry raises if not implemented #create_child creates a new TestFile #child returns a child if it's valid returns a non existent object otherwise #children creates a child for each name filters invalid names #empty? is true if there are no children is false if there are children checks entry validity rejects dotfiles rejects files accepts directories creates directories doesn't create an existing directory creates a new directory deletes directories won't delete a non-existant directory must delete recursively deletes a directory Chef::ChefFS::FileSystem with empty filesystem list / /a /a/b /* resolve_path / nonexistent /a nonexistent /a/b with a populated filesystem list /** / /* /*/* /*/*/* /*/*/? /a/*/c /**b/c /a/ab/c nonexistent /a/ab/blah nonexistent /a/ab/blah/bjork resolve_path resolves / resolves /x resolves /a resolves /a/aa resolves /a/aa/zz resolves nonexistent /q/x/w empty? is not empty / is empty /y is not a directory and can't be tested /x Chef::ChefFS::PathUtils invoking join joins well-behaved distinct path elements strips extraneous slashes in the middle of paths preserves the whether the first element was absolute or not invoking is_absolute? confirms that paths starting with / are absolute confirms that paths starting with // are absolute even though that looks like some windows network path confirms that root is indeed absolute confirms that paths starting without / are relative returns false for an empty path. invoking realest_path handles paths with no wildcards or globs handles paths with .. and . handles paths with * handles directories that do not exist handles root correctly invoking descendant_path handles paths with various casing on windows returns nil if the path does not have the given ancestor returns blank if the ancestor equals the path Chef should have a version defined Chef::ConfigFetcher when loading a local file reads the file from disk gives the expanded path to the config file with a relative path gives the expanded path to the config file and consuming JSON returns the parsed JSON and the JSON is invalid reports the JSON error with an HTTP URL config location returns the config location unchanged for #expanded_path reading the file reads the file over HTTP and consuming JSON fetches the file and parses it and the JSON is invalid reports the JSON error with a nil config file argument returns the config location unchanged for #expanded_path ChefConfig::Config :log_level does not emit a deprecation warning when set :log_location does not emit a deprecation warning when set Chef::Cookbook::Chefignore loads the globs in the chefignore file removes items from an array that match the ignores determines if a file is ignored when using the single cookbook pattern loads the globs in the chefignore file Chef::Cookbook::CookbookVersionLoader loading a cookbook loads attribute files of the cookbook loads definition files loads recipes loads libraries loads static files in the files/ dir loads files that start with a . loads root files that start with a . loads all unignored files, even if they don't match a segment type should load the metadata for the cookbook when a cookbook has ignored files skips ignored files when a cookbook's metadata.rb does not parse but the compiled metadata.json is present reads the cookbook when the given path is not actually a cookbook raises an error when loading with #load! skips the cookbook when called with #load when a cookbook has a metadata name different than directory basename prefers the metadata name to the directory basename when a cookbook has a metadata file with a ruby error [CHEF-2923] raises an error when loading with #load! raises an error when called with #load doesn't raise an error when determining the cookbook name doesn't raise an error when metadata is first generated sets an error flag containing error information when a cookbook has a metadata file with invalid metadata raises an error when loading with #load! raises an error when called with #load uses the inferred cookbook name [CHEF-2923] Chef::Cookbook::FileVendor when configured to fetch files over http sets the vendor class to RemoteFileVendor sets the initialization options to the given http object with a manifest from a cookbook version creates a RemoteFileVendor for a given manifest with a manifest from a cookbook artifact creates a RemoteFileVendor for a given manifest when configured to load files from disk sets the vendor class to FileSystemFileVendor sets the initialization options to the given cookbook paths creates a FileSystemFileVendor for a given manifest when vendoring a cookbook with a name mismatch retrieves the file from the correct location based on path to the cookbook that conatins the correct name metadata Chef::Cookbook::ManifestV0 #from_hash preserves the version creates an all_files key and populates it deletes unwanted segment types preserves frozeness #to_hash accepts a cookbook manifest preserves frozeness ensures that all segments exist with resources with providers with recipes with definitions with libraries with attributes with files with templates with root_files when given a cookbook with some files places the files for resources correctly places the files for providers correctly places the files for recipes correctly places the files for definitions correctly places the files for libraries correctly places the files for attributes correctly places the files for files correctly places the files for templates correctly places the files for root_files correctly Chef::Cookbook::ManifestV2 #to_hash accepts a cookbook manifest preserves frozeness when given a cookbook with some files populates all_files correctly Chef::CookbookCacheCleaner when cleaning up unused cookbook components removes all files not validated during the chef run does not remove anything when skip_removal is true does not remove anything on chef-solo Chef::CookbookSynchronizer lists the cookbook names lists the cookbook manifests #clear_obsoleted_cookbooks behaves correctly when remove_obsoleted_files is false behaves correctly when remove_obsoleted_files is true #remove_old_cookbooks removes unneeded cookbooks #remove_deleted_files removes only deleted files #server_api sets keepalive to true when syncing cookbooks with the server when the cache does not contain the desired files Chef::Config[:no_lazy_load] is false fetches eagerly loaded files does not fetch templates or cookbook files Chef::Config[:no_lazy_load] is true fetches templates and cookbook files when the cache contains outdated files Chef::Config[:no_lazy_load] is true updates the outdated files Chef::Config[:no_lazy_load] is false updates the outdated files when the cache is up to date Chef::Config[:no_lazy_load] is true does not update files Chef::Config[:no_lazy_load] is false does not update files when Chef::Config[:skip_cookbook_sync] is true loads the cookbook files and warns the user that this isn't supported Chef::Cookbook::SyntaxCheck creates a syntax checker given the cookbook name when Chef::Config.cookbook_path is set creates a syntax checker given the cookbook name and cookbook_path safely handles a path containing control characters when using a standalone cookbook creates a syntax checker given the cookbook name and cookbook_path for a standalone cookbook when first created has the path to the cookbook to syntax check lists the ruby files in the cookbook lists the erb templates in the cookbook when validating cookbooks and the files have not been syntax checked previously shows that all ruby files require a syntax check shows that all template files require a syntax check removes a ruby file from the list of untested files after it is marked as validated removes a template file from the list of untested files after it is marked as validated validates all ruby files validates all templates and a file has a syntax error it indicates that a ruby file has a syntax error does not remove the invalid file from the list of untested files indicates that a template file has a syntax error does not remove the invalid template from the list of untested templates and an ignored file has a syntax error shows that ignored ruby files do not require a syntax check does not indicate that a ruby file has a syntax error and the files have been syntax checked previously does not syntax check ruby files does not syntax check templates Chef::CookbookLoader checks each directory only once when loading (CHEF-3487) after loading all cookbooks should be possible to reload all the cookbooks without triggering deprecation warnings on all of them [] should return cookbook objects with [] should raise an exception if it cannot find a cookbook with [] should allow you to look up available cookbooks with [] and a symbol should allow you to look up available cookbooks with [] and a string each should allow you to iterate over cookbooks with each should iterate in alphabetical order referencing cookbook files should find all the cookbooks in the cookbook path should allow you to override an attribute file via cookbook_path should load different attribute files from deeper paths should allow you to override a definition file via cookbook_path should load definition files from deeper paths should allow you to override a recipe file via cookbook_path should load recipe files from deeper paths should allow you to have an 'ignore' file, which skips loading files in later cookbooks should find files that start with a . should load the metadata for the cookbook loading all cookbooks when one has invalid metadata does not squelch the exception loading only one cookbook should have loaded the correct cookbook should not duplicate keys when serialized to JSON should not load the cookbook again when accessed should not load the other cookbooks should load another cookbook lazily with [] when an unrelated cookbook has invalid metadata ignores the invalid cookbook surfaces the exception if the cookbook is loaded later loading all cookbooks after loading only one cookbook should load all cookbooks loading a single cookbook with a different name than basename loads the correct cookbook Chef::CookbookManifest when policy mode is not specified defaults to policies disabled collecting cookbook data from the cookbook version object delegates `name' to cookbook_version delegates `root_paths' to cookbook_version delegates `metadata' to cookbook_version delegates `full_name' to cookbook_version delegates `version' to cookbook_version delegates `frozen_version?' to cookbook_version when given an empty cookbook converts the CookbookVersion to a ruby Hash representation when given a cookbook with files converts the CookbookVersion to a ruby Hash representation .each_file yields all the files excludes certain file parts providing upstream URLs for save and policy mode is disabled gives the save URL gives the force save URL and policy mode is enabled sets the identifier in the manifest data sets the name to just the name does not set a 'cookbook_name' field gives the save URL gives the force save URL Chef::CookbookSiteStreamingUploader create_build_dir should create the cookbook tmp dir make_request should send an http request should read the private key file should add the authentication signed header should be able to send post requests should be able to send put requests should be able to receive files to attach as argument should be able to receive strings to attach as argument should be able to receive strings and files as argument at the same time StreamPart should create a StreamPart should expose its size should read with offset and how_much StringPart should create a StringPart should expose its size should read with offset and how_much MultipartStream should create a MultipartStream should expose its size should read with how_much should read receiving destination buffer as second argument (CHEF-4456: Ruby 2 compat) Chef::CookbookVersion should have a name should allow you to set the list of attribute files and create the mapping from short names to paths should allow you to set the list of recipe files and create the mapping of recipe short name to filename should generate a list of recipes by fully-qualified name should raise an ArgumentException if you try to load a bad recipe name Chef::CookbookUploader defaults to not enabling policy mode has a list of cookbooks to upload creates an HTTP client with default configuration when not initialized with one uploading cookbooks when no files exist on the server uploads all files in a sandbox transaction, then creates cookbooks on the server when some files exist on the server uploads all files in a sandbox transaction, then creates cookbooks on the server when all files already exist on the server uploads all files in a sandbox transaction, then creates cookbooks on the server when policy_mode is specified uploads all files in a sandbox transaction, then creates cookbooks on the server using cookbook_artifacts API Chef::CookbookVersion file specificity should return a manifest record based on priority preference: host should return a manifest record based on priority preference: platform & full version should return a manifest record based on priority preference: platform & partial version should return a manifest record based on priority preference: platform only should return a manifest record based on priority preference: default should return a manifest record based on priority preference: platform & full version - platform_version variant 1 should return a manifest record based on priority preference: platform & partial version - platform_version variant 1 should return a manifest record based on priority preference: platform & full version - platform_version variant 2 should return a manifest record based on priority preference: platform & full version - platform_version variant 3 should raise a FileNotFound exception without match should raise a FileNotFound exception consistently without match when fetching the contents of a directory by file specificity should return a directory of manifest records based on priority preference: host should return a directory of manifest records based on priority preference: platform & full version should return a directory of manifest records based on priority preference: platform & partial version should return a directory of manifest records based on priority preference: platform only should return a directory of manifest records based on priority preference: default should return a manifest record based on priority preference: platform & full version - platform_version variant 1 should return a manifest record based on priority preference: platform & partial version - platform_version variant 1 should return a manifest record based on priority preference: platform & full version - platform_version variant 2 should return a manifest record based on priority preference: platform & full version - platform_version variant 3 when globbing for relative file paths based on filespecificity should return a list of relative paths based on priority preference: host should return a list of relative paths based on priority preference: platform & full version should return a list of relative paths based on priority preference: platform & partial version should return a list of relative paths based on priority preference: platform only should return a list of relative paths based on priority preference: default should return a list of relative paths based on priority preference: platform & full version - platform_version variant 1 should return a list of relative paths based on priority preference: platform & partial version - platform_version variant 1 should return a list of relative paths based on priority preference: platform & full version - platform_version variant 2 should return a list of relative paths based on priority preference: platform & full version - platform_version variant 3 Chef::CookbookVersion when first created has a name has an empty set of all_files is not frozen can be frozen has empty metadata with a cookbook directory named tatft and a cookbook with the same name determines whether a template is available for a given node determines whether a cookbook_file is available for a given node raises an error when attempting to load a missing cookbook_file and describes the cookbook and version lists suggested places to look with a cookbook directory named cookbook2 that has unscoped files should see a template should see a template using an array lookup should see a template using an array lookup with non-existent elements should see a file should see a file using an array lookup should see a file using an array lookup with non-existent elements should not see a non-existent template should not see a non-existent template using an array lookup should not see a non-existent file should not see a non-existent file using an array lookup <=> should sort based on the version number should equate versions 1.2 and 1.2.0 should not allow you to sort cookbooks with different names when you set a version should accept valid cookbook versions should raise InvalidVersion for bad cookbook versions Chef::Daemon .pid_file when the pid_file option has been set should return the supplied value without the pid_file option set should return a valued based on @name .pid_from_file should suck the pid out of pid_file .change_privilege changes the working directory to root when the user and group options are supplied should log an appropriate info message should call _change_privilege with the user and group when just the user option is supplied should log an appropriate info message should call _change_privilege with just the user ._change_privilege with sufficient privileges should initialize the supplemental group list should attempt to change the process GID should attempt to change the process UID with insufficient privileges should log an appropriate error message and fail miserably Chef::DataBagItem initialize should be a Chef::DataBagItem data_bag should let you set the data_bag to a string should return the current data_bag type should not accept spaces should throw an ArgumentError if you feed it anything but a string raw_data should let you set the raw_data with a hash should let you set the raw_data with a hash containing symbols should let you set the raw_data from a mash should raise an exception if you set the raw data without a key should raise an exception if you set the raw data to something other than a hash should accept alphanum/-/_ for the id should accept alphanum.alphanum for the id should accept .alphanum for the id should raise an exception if the id contains anything but alphanum/-/_ should return the raw data should be a Mash by default object_name should return an object name based on the bag name and the raw_data id class method object_name should return an object name based based on the bag name and an id class method name should return the object name should be distinct from raw_data 'name' key when used like a Hash responds to keys supports element reference with [] implements all the methods of Hash from_hash when hash contains raw_data should have the id key set should have the name key set when hash does not contain raw_data should have the id key set should have the name key set to_hash should return a hash should have the raw_data keys as top level keys should have the chef_type of data_bag_item should have the data_bag set should not mutate the data_bag_item when deserializing from JSON should deserialize to a Chef::DataBagItem object should have a matching 'data_bag' value should have a matching 'id' key should have a matching 'name' key should have a matching 'snooze' key should allow consumers to call #to_json or Chef::JSONCompat.to_json when converting to a string converts to a string in the form data_bag_item[ID] inspects as data_bag_item[BAG, ID, RAW_DATA] save should update the item when it already exists should create if the item is not found when whyrun mode is enabled should not save destroy should set default parameters when loading from an API call converts raw data to a data bag item does not convert when a DataBagItem is returned from the API call in solo mode converts the raw data to a data bag item raises an exception for unknown items Chef::DataBag initialize should be a Chef::DataBag name should let you set the name to a string should return the current name should not accept spaces should throw an ArgumentError if you feed it anything but a string should allow a '.' character in the data bag name should allow a '-' character in the data bag name should allow a '_' character in the data bag name should allow a '1' character in the data bag name deserialize should deserialize to a Chef::DataBag object should match 'name' should allow consumers to call #to_json or Chef::JSONCompat.to_json when saving should silently proceed when the data bag already exists should create the data bag when whyrun mode is enabled should not save when loading from an API call should get the data bag from the server should return the data bag data bag with string path it should behave like data bag in solo mode should get the data bag from the data_bag_path should get the data bag from the data_bag_path by symbolic name should return the data bag should raise if data bag has items with similar names but different content should return data bag if it has items with similar names and the same content should merge data bag items if there are no conflicts should return the data bag list should raise an error if the configured data_bag_path is invalid data bag with array path it should behave like data bag in solo mode should get the data bag from the data_bag_path should get the data bag from the data_bag_path by symbolic name should return the data bag should raise if data bag has items with similar names but different content should return data bag if it has items with similar names and the same content should merge data bag items if there are no conflicts should return the data bag list should raise an error if the configured data_bag_path is invalid Chef::DataCollector::Messages::Helpers #organization when the run is a solo run returns the data collector organization when the run is not a solo run returns the data collector organization #data_collector_organization when the org is specified in the config returns the org from the config when the org is not specified in the config returns the default chef_solo org #chef_server_organization when the URL is properly formatted returns the org from the parsed URL when the URL is not properly formatted returns unknown_organization when the organization in the URL contains hyphens returns the full org name #collector_source when the run is a solo run returns chef_solo when the run is not a solo run returns chef_client #solo_run? when :solo is set in Chef::Config returns true when :local_mode is set in Chef::Config returns true when neither :solo or :local_mode is set in Chef::Config returns false #node_uuid when the node UUID can be read returns the read-in node UUID when the node UUID cannot be read generated a new node UUID #generate_node_uuid generates a new UUID, stores it, and returns it #read_node_uuid reads the node UUID from metadata metadata when the metadata file exists returns the contents of the metadata file when the metadata file does not exist returns an empty hash #update_metadata updates the file Chef::DataCollector::Messages #run_start_message is not missing any required fields does not have any extra fields #run_end_message includes a valid node object in the payload returns a sane JSON representation of the node object when the run was successful is not missing any required fields does not have any extra fields only includes updated resources in its count when the run was not successful is not missing any required fields does not have any extra fields #run_end_message in policy mode includes a valid node object in the payload returns a sane JSON representation of the node object when the run was successful is not missing any required fields does not have any extra fields only includes updated resources in its count when the run was not successful is not missing any required fields does not have any extra fields Chef::DataCollector::ResourceReport #skipped should set status and conditional #up_to_date should set status #updated should set status #elapsed_time_in_milliseconds when elapsed_time is not set should return nil when elapsed_time is set should return it in milliseconds #failed should set exception and status #to_hash for a simple_resource returns a hash containing the expected values for a lazy_resource that got skipped should handle any Exception and throw a helpful message by mocking the identity Chef::DataCollector .register_reporter? when no data collector URL is configured returns false when a data collector URL is configured when operating in why_run mode returns false when not operating in why_run mode when a token is configured when report is enabled for current mode returns true when report is disabled for current mode returns false when a token is not configured when report is enabled for current mode when the current mode is solo returns true when the current mode is local mode returns false when the current mode is client mode returns true when report is disabled for current mode returns false .reporter_enabled_for_current_mode? when running in solo mode when data_collector_mode is :solo returns true when data_collector_mode is :client returns false when data_collector_mode is :both returns true when running in local mode when data_collector_mode is :solo returns true when data_collector_mode is :client returns false when data_collector_mode is :both returns true when running in client mode when data_collector_mode is :solo returns false when data_collector_mode is :client returns true when data_collector_mode is :both returns true Chef::DataCollector::Reporter selecting token or signed header authentication when the token is set in the config configures an HTTP client that doesn't do signed header auth when no token is set in the config configures an HTTP client that does signed header auth #run_started updates the run status sends the RunStart message output to the Data Collector server when sending a message at chef run completion #run_completed sends the run completion #run_failed updates the exception and sends the run completion #converge_start stashes the run_context for later use #converge_complete detects and processes any unprocessed resources #converge_failed detects and processes any unprocessed resources #resource_current_state_loaded when resource is a nested resource does not update the resource report when resource is not a nested resource initializes the resource report #resource_up_to_date when the resource is a nested resource does not mark the resource report as up-to-date when the resource is not a nested resource marks the resource report as up-to-date #resource_skipped when the resource is a nested resource does not mark the resource report as skipped when the resource is not a nested resource initializes the resource report and marks it as skipped #resource_updated marks the resource report as updated #resource_failed updates the error description when the resource is not a nested resource marks the resource report as failed when the resource is a nested resource does not mark the resource report as failed #resource_completed when there is no current resource report does not touch the current resource report when there is a current resource report when the resource is a nested resource does not mark the resource as finished when the resource is not a nested resource marks the current resource report as finished nils out the current resource report #run_list_expanded sets the expanded run list #run_list_expand_failed updates the error description #cookbook_resolution_failed updates the error description #cookbook_sync_failed updates the error description #disable_reporter_on_error when no exception is raise by the block does not disable the reporter does not raise an exception when an unexpected exception is raised by the block re-raises the exception when the block raises a Timeout::Error exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Errno::EINVAL exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Errno::ECONNRESET exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Errno::ECONNREFUSED exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a EOFError exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Net::HTTPBadResponse exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Net::HTTPHeaderSyntaxError exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Net::ProtocolError exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a OpenSSL::SSL::SSLError exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception when the block raises a Errno::EHOSTDOWN exception disables the reporter when raise-on-failure is enabled logs an error and raises when raise-on-failure is disabled logs an info message and does not raise an exception #validate_data_collector_server_url! when server_url is empty raises an exception when server_url is not empty when server_url is an invalid URI raises an exception when server_url is a valid URI when server_url is a URI with no host raises an exception when server_url is a URI with a valid host does not an exception #detect_unprocessed_resources when resources do not override core methods adds resource reports for any resources that have not yet been processed when a resource overrides a core method, such as #hash does not raise an exception Chef::Decorator::LazyArray behaves like an array accessing the array elements is lazy calling a method on the array element runs the proc (and both elements are autovivified) if we loop over the elements and do nothing then its not lazy Chef::Decorator::Lazy decorates an object the proc runs and does work creating the decorator does not cause the proc to run Chef::Decorator when the obj is a string #is_a?(String) is true #is_a?(Chef::Decorator) is true #kind_of?(String) is true #kind_of?(Chef::Decorator) is true #instance_of?(String) is false #instance_of?(Chef::Decorator) is true #class is Chef::Decorator #nil? is false !! is true dup returns a decorator dup dup's the underlying thing when the obj is a nil #nil? is true !! is false #is_a?(NilClass) is true #is_a?(Chef::Decorator) is true #kind_of?(NilClass) is true #kind_of?(Chef::Decorator) is true #instance_of?(NilClass) is false #instance_of?(Chef::Decorator) is true #class is Chef::Decorator when the obj is an empty Hash #is_a?(Hash) is true #is_a?(Chef::Decorator) is true #kind_of?(Hash) is true #kind_of?(Chef::Decorator) is true #instance_of?(Hash) is false #instance_of?(Chef::Decorator) is true #class is Chef::Decorator formats it correctly through ffi-yajl and not the JSON gem whent he obj is a Hash with elements #is_a?(Hash) is true #is_a?(Chef::Decorator) is true #kind_of?(Hash) is true #kind_of?(Chef::Decorator) is true #instance_of?(Hash) is false #instance_of?(Chef::Decorator) is true #class is Chef::Decorator dup is shallow on the Hash deep mutating the dup'd hash mutates the origin memoizing methods calls method_missing only once switching a Hash to an Array responds to keys then does not memoization of methods happens on the instances, not the classes Chef::Deprecated loading a deprecation class loads the correct class optionally sets a message optionally sets the location formatting deprecation warnings displays the full URL formats a complete deprecation message Chef::Deprecation should raise when deprecation warnings are treated as errors when Chef::Config[:treat_deprecation_warnings_as_errors] is off deprecated methods should still be called deprecation warning messages should be enabled for deprecated methods When a class has deprecated_attr, _reader and _writer The deprecated_attr emits warnings The deprecated_attr_writer emits warnings, and does not create a reader The deprecated_attr_reader emits warnings, and does not create a writer With deprecation warnings not throwing exceptions The deprecated_attr can be written to and read from The deprecated_attr_reader can be read from The deprecated_attr_writer can be written to Chef::Digester when computing checksums of cookbook files and templates proxies the class method checksum_for_file to the instance computes a checksum of a file generates a checksum from a non-file IO object Chef::DSL::Audit raises an error when a block of audits is not provided raises an error when no audit name is given audits already populated raises an error if the audit name is a duplicate included in a class without recipe DSL fails because it relies on the recipe DSL existing Chef::DSL::DataQuery ::data_bag lists the items in a data bag ::data_bag_item fetches a data bag item validates the name of the data bag you're trying to load an item from validates the id of the data bag item you're trying to load validates that the id of the data bag item is not nil when the item is encrypted detects encrypted data bag Chef::ResourceCollection #declare_resource inserts into the resource collection sets the property from the block #edit_resource! raises if nothing is found raises if nothing is found and no block is given edits the resource if it finds one acts like find_resource! if not given a block and the resource exists #edit_resource inserts a resource if nothing is found inserts a resource even if not given a block edits the resource if it finds one acts like find_resource if not given a block and the resource exists #find_resource! raises if nothing is found raises if given a block returns the resource if it finds one #find_resource without block returns nil if nothing is found returns the resource if it finds one #find_resource with block inserts a resource if nothing is found returns the resource if it finds one #delete_resource returns nil if nothing is found deletes and returns the resource if it finds one #delete_resource! raises if nothing is found deletes and returns the resource if it finds one removes pending delayed notifications removes pending immediate notifications removes pending before notifications run_context helpers our tests have correct separation with_run_context with :parent lets us build resources in the parent run_context from the child with_run_context with :root lets us build resources in the root run_context from the child with_run_context also takes a RunContext object as an argument with_run_context returns the return value of the block PlatformIntrospection implementors behaves like a platform introspector returns a default value when there is no known platform returns a default value when there is no known platform family returns a default value when the current platform doesn't match returns a default value when current platform_family doesn't match returns a value based on the current platform returns a value based on the current platform family returns a version-specific value based on the current platform returns a value based on the current platform if version not found returns the exact match raises RuntimeError should not require .0 to match >= 21.0 should return the value for that match when platform versions is an array returns a version-specific value based on the current platform returns a value based on the current platform if version not found when checking platform? returns true if the node is a provided platform and platforms are provided as symbols returns true if the node is a provided platform and platforms are provided as strings returns false if the node is not of the provided platforms when checking platform_family? returns true if the node is in a provided platform family and families are provided as symbols returns true if the node is a provided platform and platforms are provided as strings returns false if the node is not of the provided platforms returns false if the node is not of the provided platforms and platform_family is not set when the value is an array returns the correct default for a given platform returns the correct platform+version specific value Chef::DSL::PlatformIntrospection::PlatformDependentValue returns the default value when the platform doesn't match returns a value for a platform set as a group returns a value for the platform when it was set as a symbol but fetched as a string returns a value for a specific platform version returns a platform-default value if the platform version doesn't match an explicit one returns nil if there is no default and no platforms match raises an argument error if the platform hash is not correctly structured Chef::DSL::PlatformIntrospection::PlatformFamilyDependentValue returns the default value when the platform family doesn't match returns a value for the platform family when it was set as a string but fetched as a symbol returns a value for the platform family when it was set as a symbol but fetched as a string returns an array value stored for a platform family returns a value for the platform family when it was set within an array hash key as a symbol returns a value for the platform family when it was set within an array hash key as a string returns nil if there is no default and no platforms match Chef::DSL::RebootPending reboot_pending? in isolation platform is windows should return true if "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations" exists should return true if "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired" exists should return true if key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootRequired" exists version is server 2003 should return true if value "HKLM\SOFTWARE\Microsoft\Updates\UpdateExeVolatile" contains specific data on 2k3 platform is ubuntu should return true if /var/run/reboot-required exists should return false if /var/run/reboot-required does not exist in a recipe responds to reboot_pending? in a resource responds to reboot_pending? Chef::DSL::Recipe tracks when it is included via FullDSL doesn't track what is included via only the recipe DSL when included in a class that defines the required interface directly responds to cookbook_name responds to recipe_name responds to shell_out responds to shell_out responds to shell_out when included in a class that defines the required interface in a superclass responds to cookbook_name responds to recipe_name responds to shell_out responds to shell_out responds to shell_out Chef::Resource::RegistryKey tests registry dsl resource can access registry_helper method registry_key_exists resource can access registry_helper method registry_get_values resource can access registry_helper method registry_has_subkey resource can access registry_helper method registry_get_subkeys resource can access registry_helper method registry_value_exists resource can access registry_helper method data_value_exists Chef::DSL::Resources with a resource added should eq [[:test_resource, "test_name"]] with no resource added should raise NoMethodError with a resource added and removed should raise NoMethodError with a nameless resource should eq [[:test_resource, nil]] Chef::EncryptedDataBagItem::CheckEncrypted detects the item is not encrypted when the data is empty detects the item is not encrypted when the data only contains an id when the item is encrypted does not detect encryption when the item version is unknown when encryption version is 1 detects encrypted data bag when encryption version is 2 detects encrypted data bag Chef::EncryptedDataBagItem::Encryptor encrypts to format version 1 by default generating a random IV generates a new IV for each encryption pass when encrypting a non-hash non-array value serializes the value in a de-serializable way wrapping secret values in an envelope wraps the encrypted data in an envelope with the iv and version when using version 2 format creates a version 2 encryptor generates an hmac based on ciphertext with different iv includes the hmac in the envelope when using version 3 format on unsupported platforms throws an error warning about the OpenSSL version if it has no GCM support Chef::EncryptedDataBagItem::Decryptor when decrypting a version 2 (JSON+aes-256-cbc+hmac-sha256+random iv) encrypted value decrypts the encrypted value unwraps the encrypted data and returns it rejects the data if the hmac is wrong rejects the data if the hmac is missing when decrypting a version 1 (JSON+aes-256-cbc+random iv) encrypted value selects the correct strategy for version 1 decrypts the encrypted value unwraps the encrypted data and returns it and the decryption step returns invalid data raises a decryption failure error and the provided key is incorrect raises a sensible error and the cipher is not supported raises a sensible error and version 2 format is required raises an error attempting to decrypt when decrypting a version 0 (YAML+aes-256-cbc+no iv) encrypted value selects the correct strategy for version 0 decrypts the encrypted value and version 1 format is required raises an error attempting to decrypt Chef::EncryptedDataBagItem encrypting doesn't encrypt the 'id' key encrypts non-collection objects encrypts nested values decrypting doesn't try to decrypt 'id' decrypts 'greeting' decrypts 'nested' decrypts everyting via to_hash handles missing keys gracefully loading should defer to Chef::DataBagItem.load .load_secret when /var/mysecret exists load_secret('/var/mysecret') reads the secret when /etc/chef/encrypted_data_bag_secret exists load_secret(nil) reads the secret when /etc/chef/encrypted_data_bag_secret does not exist load_secret(nil) emits a reasonable error message path argument is a URL reads from the URL Chef::Environment initialize should be a Chef::Environment name should let you set the name to a string should return the current name should not accept spaces should not accept anything but strings description should let you set the description to a string should return the correct description should not accept anything but strings default attributes should let you set the attributes hash explicitly should let you return the attributes hash should throw an ArgumentError if we aren't a kind of hash override attributes should let you set the attributes hash explicitly should let you return the attributes hash should throw an ArgumentError if we aren't a kind of hash cookbook_versions should let you set the cookbook versions in a hash should return the cookbook versions should not accept anything but a hash should validate the hash cookbook should set the version of the cookbook in the cookbook_versions hash should validate the cookbook version it is passed update_from! should update everything but name to_hash should include 'name' should include 'description' should include 'cookbook_versions' should include 'json_class' should include 'chef_type' to_json should include 'name' should include 'description' should include 'cookbook_versions' should include 'json_class' should include 'chef_type' should allow consumers to call #to_json or Chef::JSONCompat.to_json from_json should return a Chef::Environment should match 'name' should match 'description' should match 'cookbook_versions' self.validate_cookbook_versions should validate the version string of each cookbook should return false if anything other than a hash is passed as the argument self.validate_cookbook_version should validate correct version numbers should return false when an invalid version is given in solo mode should raise an exception when updating from a parameter hash updates the name from parameters[:name] validates the name given in the params updates the description from parameters[:description] updates cookbook version constraints from the hash in parameters[:cookbook_version_constraints] validates the cookbook constraints is not valid if the name is not present is not valid after updating from params if the name is not present updates default attributes from a JSON string in params[:attributes] updates override attributes from a JSON string in params[:attributes] api model list should return a hash of environment names and urls inflated should return a hash of environment names and objects when loading in solo mode should get the environment from the environment_path should return a Chef::Environment object from JSON should return a Chef::Environment object from Ruby DSL should raise an error if the configured environment_path is invalid should raise an error if the file does not exist Chef::EventDispatch::Dispatcher has no subscribers by default when an event sink is registered it has the event sink as a subscriber forwards events to the subscribed event sink when an event sink has fewer arguments for an event trims the arugment list when two event sinks have different arguments for an event and the one with fewer arguments comes first trims the arugment list and the one with fewer arguments comes last trims the arugment list Chef::EventDispatch::DSL set handler name raise error when invalid event type is supplied register user hooks against valid event type preserve state across event hooks preserve instance variables across handler callbacks Chef::Exceptions should have an exception class of Chef::Exceptions::Application which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Cron which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Env which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Exec which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::FileNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Package which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Service which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Route which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::SearchIndex which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Override which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::UnsupportedAction which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::MissingLibrary which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::MissingRole which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::CannotDetermineNodeName which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::User which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Group which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Link which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::Mount which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::PrivateKeyMissing which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::CannotWritePrivateKey which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::RoleNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::ValidationFailed which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidPrivateKey which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of ChefConfig::ConfigurationError which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::RedirectLimitExceeded which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::AmbiguousRunlistSpecification which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::CookbookNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::AttributeNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidCommandOption which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::CommandTimeout which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Mixlib::ShellOut::ShellCommandFailed which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::RequestedUIDUnavailable which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidHomeDirectory which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::DsclCommandFailed which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::UserIDNotFound which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::GroupIDNotFound which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidResourceReference which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::ResourceNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidResourceSpecification which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::SolrConnectionError which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidDataBagPath which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidEnvironmentPath which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::EnvironmentNotFound which inherits from RuntimeError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::InvalidVersionConstraint which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::IllegalVersionConstraint which inherits from NotImplementedError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::RegKeyValuesTypeMissing which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json should have an exception class of Chef::Exceptions::RegKeyValuesDataMissing which inherits from ArgumentError should allow consumers to call #to_json or Chef::JSONCompat.to_json Chef::Exceptions::RunFailedWrappingError initialized with nothing should initialize with a default message should provide a modified backtrace when requested initialized with nil should initialize with a default message should provide a modified backtrace when requested initialized with 1 error and nil should initialize with a default message should provide a modified backtrace when requested initialized with 2 errors should initialize with a default message should provide a modified backtrace when requested Chef::FileAccessControl Unix has a resource has a file to manage is not modified yet determines the uid of the owner specified by the resource raises a Chef::Exceptions::UserIDNotFound error when Etc can't find the user's name does not attempt to resolve the uid if the user is not specified does not want to update the owner if none is specified raises an ArgumentError if the resource's owner is set to something wack uses the resource's uid for the target uid when the resource's owner is specified by an integer wraps uids to their negative complements to correctly handle negative uids does not wrap uids to their negative complements beyond -9 wants to update the owner when the current owner is nil (creating a file) wants to update the owner when the current owner doesn't match desired includes updating ownership in its list of desired changes sets the file's owner as specified in the resource when the current owner is incorrect doesn't set the file's owner if it already matches doesn't want to update a file's owner when it's already correct determines the gid of the group specified by the resource uses a user specified gid as the gid raises a Chef::Exceptions::GroupIDNotFound error when Etc can't find the user's name does not attempt to resolve a gid when none is supplied does not want to update the group when no target group is specified raises an error when the supplied group name is an alien wants to update the group when the current group is nil (creating a file) wants to update the group when the current group doesn't match the target group includes updating the group in the list of changes sets the file's group as specified in the resource when the group is not correct doesn't want to modify the file's group when the current group is correct doesnt set the file's group if it is already correct uses the supplied mode as octal when it's a string uses the supplied mode verbatim when it's an integer does not try to determine the mode when none is given doesn't want to update the mode when no target mode is given wants to update the mode when the current mode is nil (creating a file) wants to update the mode when the desired mode does not match the current mode includes changing the mode in the list of desired changes sets the file's mode as specified in the resource when the current modes are incorrect does not want to update the mode when the current mode is correct does not set the file's mode when the current modes are correct sets all access controls on a file class methods responds to #writable? Chef::FileCache when the relative path to the cache file doesn't exist creates intermediate directories as needed creates the cached file at the correct relative path when storing a file should print the contents to the file when loading cached files finds and reads the cached file should raise a Chef::Exceptions::FileNotFound if the file doesn't exist when deleting cached files unlinks the file when listing files in the cache should return the relative paths searches for cached files by globbing when checking for the existence of a file has a key if the corresponding cache file exists doesn't have a key if the corresponding cache file doesn't exist Chef::FileContentManagement::Deploy::Cp creating the file touches the file to create it updating the file copies the staging file's content Chef::FileContentManagement::Deploy::MvUnix creating the file touches the file to create it updating the file when the user has permissions to set file ownership fixes up permissions and moves the file into place when the user does not have permissions to set file ownership fixes up permissions and moves the file into place Chef::FileContentManagement::Deploy::MvWindows creating the file touches the file to create it updating the file when run without adminstrator privileges errors out with a WindowsNotAdmin error when run with administrator privileges and the target file has no dacl or sacl fixes up permissions and moves the file into place and the target file has null dacl and sacl fixes up permissions and moves the file into place and the target has an empty dacl and sacl fixes up permissions and moves the file into place and the target has a dacl and sacl and the dacl and sacl don't inherit fixes up permissions and moves the file into place and the dacl and sacl inherit fixes up permissions and moves the file into place Chef::FileContentManagement::Tempfile #tempfile_basename should return a dotfile should strip the extension #tempfile_extension should preserve the file extension #tempfile_dirnames should select a temp dir should select the destdir should select the destdir and a temp dir #tempfile_open should create a temporary file should preserve the extension in the tempfile path should pick the destdir preferrentially should use ENV['TMP'] otherwise Chef::Formatters::Base starts with an indentation of zero increments it to two correctly increments it and then decrements it corectly does not allow negative indentation humanizes EOFError exceptions for #registration_failed humanizes EOFError exceptions for #node_load_failed humanizes EOFError exceptions for #run_list_expand_failed humanizes EOFError exceptions for #cookbook_resolution_failed humanizes EOFError exceptions for #cookbook_sync_failed Chef::Formatters::Base prints a policyfile's name and revision ID prints cookbook name and version prints only seconds when elapsed time is less than 60 seconds prints minutes and seconds when elapsed time is more than 60 seconds prints hours, minutes and seconds when elapsed time is more than 3600 seconds shows the percentage completion of an action updates the percentage completion of an action Chef::Formatters::ErrorDescription #sections when no sections have been added should return an empty array when a section has been added should return an array with the added section as a hash #display when no sections have been added should output only the title and the Platform section when a section has been added should output the expected sections when node object is available should output the expected sections Chef::Formatters::APIErrorFormatting when describe_406_error is called when response['x-ops-server-api-version'] exists prints an error about client and server API version incompatibility with a min API version prints an error about client and server API version incompatibility with a max API version prints an error describing the request API version when response.body['error'] != 'invalid-x-ops-server-api-version' forwards the error_description to describe_http_error Chef::Formatters::ErrorInspectors::CompileErrorInspector finding the code responsible for the error when the stacktrace includes cookbook files when scrubbing backtraces shows backtrace lines from cookbook files when explaining an error in the compile phase reports the error was not located within cookbooks finds the line number of the error from the stacktrace prints a pretty message when the error is a RuntimeError about frozen object when explaining a runtime error in the compile phase correctly detects RuntimeError for frozen objects when the error does not contain any lines from cookbooks gives a full, non-filtered trace does not error when displaying the error reports the error was not located within cookbooks when explaining an error on windows when the drive letter in the path is uppercase reports the error was not located within cookbooks finds the culprit recipe name finds the line number of the error from the stack trace prints a pretty message when the drive letter in the path is lowercase reports the error was not located within cookbooks finds the culprit recipe name from the stacktrace finds the line number of the error from the stack trace prints a pretty message Chef::Formatters::ErrorInspectors::CookbookResolveErrorInspector when explaining a 403 error prints a nice message when explaining a PreconditionFailed (412) error with current error message style prints a pretty message when explaining a PreconditionFailed (412) error with current error message style without cookbook details prints a pretty message when explaining a PreconditionFailed (412) error with single encoded JSON prints a pretty message Chef::Formatters::ErrorInspectors::CookbookSyncErrorInspector when explaining a 502 error prints a nice message Chef::Formatters::ErrorInspectors::NodeLoadErrorInspector behaves like an api error inspector when explaining a network error prints a nice message when explaining a 'private key missing' error prints a nice message when explaining a 401 caused by clock skew prints a nice message when explaining a 401 (no clock skew) prints a nice message when explaining a 403 prints a nice message when explaining a 400 prints a nice message when explaining a 404 prints a nice message when explaining a 500 prints a nice message when explaining a 503 prints a nice message when explaining an unknown error prints a nice message Chef::Formatters::ErrorInspectors::RegistrationErrorInspector behaves like an api error inspector when explaining a network error prints a nice message when explaining a 'private key missing' error prints a nice message when explaining a 401 caused by clock skew prints a nice message when explaining a 401 (no clock skew) prints a nice message when explaining a 403 prints a nice message when explaining a 400 prints a nice message when explaining a 404 prints a nice message when explaining a 500 prints a nice message when explaining a 503 prints a nice message when explaining an unknown error prints a nice message Chef::Formatters::ErrorInspectors::ResourceFailureInspector when explaining an error converging a resource filters chef core code from the backtrace prints a pretty message and the error is a template error includes contextual info from the template error in the output recipe_snippet parses a Windows path parses a Windows path parses a unix path when the recipe file does not exist does not try to parse a recipe in chef-shell/irb (CHEF-3411) does not raise an exception trying to load a non-existent file (CHEF-3411) when examining a resource that confuses the parser does not generate an error Chef::Formatters::ErrorInspectors::RunListExpansionErrorInspector when explaining a missing role error prints a pretty message when explaining an HTTP 403 error prints a pretty message when explaining an HTTP 401 error prints a pretty message Chef::GuardInterpreter::ResourceGuardInterpreter get_interpreter_resource allows the guard interpreter to be set to Chef::Resource::Script allows the guard interpreter to be set to Chef::Resource::PowershellScript derived indirectly from Chef::Resource::Script raises an exception if guard_interpreter is set to a resource not derived from Chef::Resource::Script fails when parent_resource is nil when the resource cannot be found for the platform raises an exception #evaluate successfully evaluates the resource does not corrupt the run_context of the node script command opts switch resource is a Script and guard_interpreter is a :script merges to :code and guard_interpreter is :execute merges to :code resource is not a Script merges to :command Chef::GuardInterpreter #for_resource returns a DefaultGuardInterpreter if the resource has guard_interpreter set to :default returns a ResourceGuardInterpreter if the resource has guard_interpreter set to !:default Chef::Handler::JsonFile accepts arbitrary config options creates the directory where the reports will be saved when reporting success saves run status data to a file as JSON Chef::Handler when accessing the run status has a shortcut for the exception has a shortcut for the backtrace has a shortcut for all resources has a shortcut for just the updated resources has a shortcut for the start time has a shortcut for the end time has a shortcut for the elapsed time has a shortcut for the node has a shortcut for the run context has a shortcut for the success? and failed? predicates has a shortcut to the hash representation of the run status when running the report does not fail if the report handler raises an exception does not fail if the report handler does not raise an exception when running a report handler has a shortcut for all resources has a shortcut for just the updated resources has a shortcut for the start time has a shortcut for the end time has a shortcut for the elapsed time has a shortcut for the node has a shortcut for the run context has a shortcut for the success? and failed? predicates has a shortcut to the hash representation of the run status when running a start handler should not have all resources should not have updated resources has a shortcut for the start time does not have a shortcut for the end time does not have a shortcut for the elapsed time has a shortcut for the node does not have a shortcut for the run context has a shortcut for the success? and failed? predicates has a shortcut to the hash representation of the run status library report handler gets added to Chef::Config[:report_handlers] gets added to Chef::Config[:exception_handlers] gets added to Chef::Config[:start_handlers] runs the report handler runs the exception handler runs the start handler library singleton report handler gets added to Chef::Config[:report_handlers] gets added to Chef::Config[:exception_handlers] gets added to Chef::Config[:start_handlers] runs the report handler runs the exception handler runs the start handler Chef::HTTP::APIVersions correctly stores server api versions with an unacceptable api version resets the list of supported versions Chef::HTTP::Authenticator when handle_request is called when !sign_requests? authentication_headers is not called behaves like merging the server API version into the headers merges the default version of X-Ops-Server-API-Version into the headers when version_class is provided uses it to select the correct http version when api_version is set to something other than the default merges the requested version of X-Ops-Server-API-Version into the headers when sign_requests? calls authentication_headers with the proper input behaves like merging the server API version into the headers merges the default version of X-Ops-Server-API-Version into the headers when version_class is provided uses it to select the correct http version when api_version is set to something other than the default merges the requested version of X-Ops-Server-API-Version into the headers HTTP Connection .new creates an instance #initialize calls .start when doing keepalives does not call .start when not doing keepalives #build_http_client should build an http client should set an open timeout #proxy_uri uses ChefConfig's proxy_uri method Chef::HTTP::HTTPRequest should pass on explicit Host header unchanged with HTTP url scheme should not include port 80 in Host header should not include explicit port 80 in Host header should include explicit port 8000 in Host header should include explicit 443 port in Host header should pass on explicit Host header unchanged with HTTPS url scheme should not include port 443 in Host header should include explicit port 80 in Host header should include explicit port 8000 in Host header should not include explicit port 443 in Host header Chef::HTTP::JSONInput passes the response unmodified doesn't handle streaming responses does nothing for stream completion when handling a request with no body passes the request unmodified when the request should be serialized and the request has a ruby object as the body and no explicit content-type serializes the body to json ant the request has an explicit content type of json serializes the body to json when content-type is all lowercase when handling a request with an explicit content type other than json does not serialize the body to json when content type is given as lowercase does not serialize the body to json when content type is given in capitalized form Chef::HTTP::Simple should have content length validation middleware after compressor middleware Chef::HTTP::SocketlessChefZeroClient has a host has a port converting requests to rack format when the request has no body creates a rack request env when the request has a body creates a rack request env converting responses to Net::HTTP objects when the request was successful (2XX) creates a Net::HTTP success response object does not fail when calling read_body with a block when the requested object doesn't exist (404) creates a Net::HTTPNotFound response object request-response round trip makes a rack request to Chef Zero and returns the response as a Net::HTTP object HTTP SSL Policy Chef::HTTP::DefaultSSLPolicy when configured with :ssl_verify_mode set to :verify peer configures the HTTP client to use SSL when given a URL with the https protocol sets the OpenSSL verify mode to verify_peer raises a ConfigurationError if :ssl_ca_path is set to a path that doesn't exist should set the CA path if that is set in the configuration raises a ConfigurationError if :ssl_ca_file is set to a file that does not exist should set the CA file if that is set in the configuration when configured with :ssl_verify_mode set to :verify peer sets the OpenSSL verify mode to :verify_none when configured with a client certificate raises ConfigurationError if the certificate file doesn't exist raises ConfigurationError if the certificate file doesn't exist raises a ConfigurationError if one of :ssl_client_cert and :ssl_client_key is set but not both configures the HTTP client's cert and private key when additional certs are located in the trusted_certs dir enables verification of self-signed certificates enables verification of cert chains and some certs are duplicates skips duplicate certs Chef::HTTP::APISSLPolicy when verify_api_cert is set sets the OpenSSL verify mode to verify_peer Chef::HTTP::ValidateContentLength without response body shouldn't raise error without Content-Length header when running direct request should skip validation and log for debug when running streaming request should skip validation and log for debug with negative Content-Length header when running direct request should skip validation and log for debug when running streaming request should skip validation and log for debug with correct Content-Length header when running direct request should validate correctly when running streaming request should validate correctly with wrong Content-Length header when running direct request should raise ContentLengthMismatch error when running streaming request should raise ContentLengthMismatch error when download is interrupted should raise ContentLengthMismatch error when Transfer-Encoding & Content-Length is set when running direct request should skip validation and log for debug when running streaming request should skip validation and log for debug when client is being reused should reset internal counter should validate correctly second time Chef::HTTP when given a chefzero:// URL uses the SocketlessChefZeroClient to handle requests #intialize accepts a keepalive option and passes it to the http_client the default is not to use keepalives create_url should return a correctly formatted url 1/3 CHEF-5261 should return a correctly formatted url 2/3 CHEF-5261 should return a correctly formatted url 3/3 CHEF-5261 should treat scheme part of the URI in a case-insensitive manner #stream_to_tempfile should only close an existing Tempfile accepts a tempfile head should return nil for a "200 Success" response (CHEF-4762) should return false for a "304 Not Modified" response (CHEF-4762) retrying connection errors when ECONNRESET is raised retries the request 5 times when SocketError is raised retries the request 5 times when ETIMEDOUT is raised retries the request 5 times when ECONNREFUSED is raised retries the request 5 times when Timeout::Error is raised retries the request 5 times when OpenSSL::SSL::SSLError is raised retries the request 5 times when OpenSSL::SSL::SSLError is raised for certificate validation failure raises the error without retrying or sleeping Chef::JSONCompat should define .to_json on all classes #parse with JSON containing comments returns a Hash when pretty printing an object that defines #to_json should work should allow consumers to call #to_json or Chef::JSONCompat.to_json with the file with 252 or less nested entries when the 252 json file is loaded should create a Hash from the file should has 'test' as a 252 nested value Chef::Key when a new Chef::Key object is initialized with invalid input should raise an InvalidKeyArgument when a new Chef::Key object is initialized with valid input should be a Chef::Key should properly set the actor when actor field is set it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError it should behave like fields with username type validation when invalid input is passed should raise an ArgumentError when the name field is set it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError when the private_key field is set it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError when the public_key field is set it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError when create_key is true should raise an InvalidKeyAttribute when the create_key field is set when it is set to true should set the field when it is set to false should set the field when anything but a TrueClass or FalseClass is passed should raise an ArgumentError when public_key is defined should raise an InvalidKeyAttribute when the expiration_date field is set when a valid date is passed it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError when infinity is passed it should behave like string fields that are settable when it is set with valid input should set the field when you feed it anything but a string should raise an ArgumentError when an invalid date is passed should raise an ArgumentError when it is a valid UTC date missing a Z should raise an ArgumentError when serializing to JSON when key is for a user it should behave like common json operations should serializes as a JSON object should include the actor value under the key relative to the actor_field_name passed should include the name field when present should not include the name if not present should include the public_key field when present should not include the public_key if not present should include the private_key field when present should not include the private_key if not present should include the expiration_date field when present should not include the expiration_date if not present should include the create_key field when present should not include the create_key if not present when key is for a client it should behave like common json operations should serializes as a JSON object should include the actor value under the key relative to the actor_field_name passed should include the name field when present should not include the name if not present should include the public_key field when present should not include the public_key if not present should include the private_key field when present should not include the private_key if not present should include the expiration_date field when present should not include the expiration_date if not present should include the create_key field when present should not include the create_key if not present when deserializing from JSON when deserializing a key for a user it should behave like a deserializable object deserializes to a Chef::Key object preserves the actor preserves the name includes the public key if present includes the expiration_date if present includes the private_key if present includes the create_key if present when deserializing a key for a client it should behave like a deserializable object deserializes to a Chef::Key object preserves the actor preserves the name includes the public key if present includes the expiration_date if present includes the private_key if present includes the create_key if present API Interactions list when listing keys for a user lists all keys inflate all keys when listing keys for a client lists all keys inflate all keys create when creating a user key it should behave like create key when a field is missing should raise a MissingKeyAttribute when the name field is missing creates a new key via the API with the fingerprint as the name when every field is populated when create_key is false creates a new key via the API when create_key is true and public_key is nil should create a new key via the API when the server returns the private_key via key.create key.create returns the original key plus the private_key when create_key is false and public_key is nil should raise an InvalidKeyArgument when creating a client key it should behave like create key when a field is missing should raise a MissingKeyAttribute when the name field is missing creates a new key via the API with the fingerprint as the name when every field is populated when create_key is false creates a new key via the API when create_key is true and public_key is nil should create a new key via the API when the server returns the private_key via key.create key.create returns the original key plus the private_key when create_key is false and public_key is nil should raise an InvalidKeyArgument update when updating a user key it should behave like update key when name is missing and no argument was passed to update should raise an MissingKeyAttribute when some fields are populated should update the key via the API when @name is not nil and a arg is passed to update passes @name in the body and the arg in the PUT URL when the server returns a public_key and create_key is true returns a key with public_key populated returns a key without create_key set when updating a client key it should behave like update key when name is missing and no argument was passed to update should raise an MissingKeyAttribute when some fields are populated should update the key via the API when @name is not nil and a arg is passed to update passes @name in the body and the arg in the PUT URL when the server returns a public_key and create_key is true returns a key with public_key populated returns a key without create_key set load load_by_user it should behave like load should load a named key from the API load_by_client it should behave like load should load a named key from the API destroy when destroying a user key it should behave like destroy key when name is missing should raise an MissingKeyAttribute when name is not missing should delete the key via the API when destroying a client key it should behave like destroy key when name is missing should raise an MissingKeyAttribute when name is not missing should delete the key via the API Chef::Knife::Bootstrap::ChefVaultHandler when there's no vault option should report its not doing anything shouldn't do anything when setting chef vault items from knife_config[:bootstrap_vault_item] sets a single item as a scalar sets a single item as an array sets two items as an array sets two vaults from different hash keys from knife_config[:bootstrap_vault_json] sets a single item as a scalar sets a single item as an array sets two items as an array sets two vaults from different hash keys from knife_config[:bootstrap_vault_file] sets a single item as a scalar sets a single item as an array sets two items as an array sets two vaults from different hash keys Chef::Knife::Bootstrap::ClientBuilder #sanity_check! in cases where the prompting fails exits when the node exists and the user does not want to delete exits when the client exists and the user does not want to delete in cases where the prompting succeeds when both the client and node do not exist it succeeds when we are allowed to delete an old node when we are allowed to delete an old client when we are are allowed to delete both an old client and node #create_client! delegates everything to Chef::ApiClient::Registration and sets client #client_path has a public API for the temporary client.pem file #create_node! builds a node with a default run_list of [] does not add tags by default adds tags to the node when given builds a node when the run_list is a string builds a node when the run_list is an Array builds a node with first_boot_attributes if they're given builds a node with an environment if its given builds a node with policy_name and policy_group when given Chef::Knife::ClientBulkDelete run without a regex should exit if the regex is not provided with any clients should get the list of the clients should print the name of the clients should confirm you really want to delete them without --delete-validators should mention that validator clients wont be deleted should only delete nonvalidator clients with --delete-validators should mention that validator clients will be deleted should confirm twice should delete all clients with some clients should only delete clients that match the regex Chef::Knife::ClientCreate run when nothing is passed it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when clientname is passed should create the ApiClient should print a message upon creation should set the Client name by default it is not an admin by default it is not a validator by default it should set create_key to true should allow you to edit the data when public_key and prevent_keygen are passed prints the usage prints a relevant error message with -f or --file should write the private key to a file with -a or --admin should create an admin client with -p or --public-key sets the public key with -k or --prevent-keygen does not set create_key with --validator should create an validator client Chef::Knife::ClientDelete run should delete the client should print usage and exit when a client name is not provided receives multiple clients deletes all clients with a validator should delete non-validator client if --delete-validators is not set should delete non-validator client if --delete-validators is set should not delete validator client if --delete-validators is not set should delete validator client if --delete-validators is set Chef::Knife::ClientEdit run Client unchanged, not saving. should edit the client should print usage and exit when a client name is not provided Chef::Knife::ClientList run should list the clients Chef::Knife::ClientReregister when no client name is given on the command line should print usage and exit when a client name is not provided when not configured for file output reregisters the client and prints the key when configured for file output should write the private key to a file Chef::Knife::ClientShow run should list the client should pretty print json should print usage and exit when a client name is not provided Chef::Knife::ConfigureClient run should print usage and exit when a directory is not provided when specifing a directory should recursively create the directory should write out the config file should write out the validation.pem file should print information on what is being configured Chef::Knife::Configure asks the user for the URL of the chef server asks the user for the clientname they want for the new client if -i is specified should not ask the user for the clientname they want for the new client if -i and --node_name are specified asks the user for the existing API username or clientname if -i is not specified asks the user for the existing admin client's name if -i is specified should not ask the user for the existing admin client's name if -i and --admin-client_name are specified should not ask the user for the existing admin client's name if -i is not specified asks the user for the location of the existing admin key if -i is specified should not ask the user for the location of the existing admin key if -i and --admin_client_key are specified should not ask the user for the location of the existing admin key if -i is not specified should not ask the user for anything if -i and all other properties are specified writes the new data to a config file creates a new client when given the --initial option Chef::Knife::CookbookBulkDelete should exit if the regex is not provided when there are several cookbooks on the server should print the cookbooks you are about to delete should confirm you really want to delete them should delete each cookbook should only delete cookbooks that match the regex Chef::Knife::CookbookCreate run should expand the path of the cookbook directory Chef::Knife::CookbookDelete run should print usage and exit when a cookbook name is not provided when specifying a cookbook name should delete the cookbook without a specific version and a version should delete the specific version of the cookbook with -a or --all should delete all versions of the cookbook with -p or --purge should prompt to purge the files delete_explicit_version should delete the specific cookbook version delete_all_versions should prompt to delete all versions of the cookbook delete_all_without_confirmation should delete all versions without confirmation delete_without_explicit_version should exit if there are no available versions should delete the version if only one is found should ask which version(s) to delete if multiple are found available_versions should return the list of versions of the cookbook should raise if an error other than HTTP 404 is returned if the cookbook can't be found should print an error should return nil ask_which_version_to_delete should prompt the user to select a version should print an error and exit if a version wasn't specified should print an error if an invalid choice was selected should return the selected versions should return all of the versions if 'all' was selected delete_version_without_confirmation should delete the cookbook version should output that the cookbook was deleted with --print-after should display the cookbook data delete_versions_without_confirmation should delete each version without confirmation with -a or --all should delete all versions without confirmation Chef::Knife::CookbookDownload run should print usage and exit when a cookbook name is not provided should exit with a fatal error when there is no cookbook on the server with a cookbook name and no version should determine which version to download and a version should print an error and exit if the cookbook download directory already exists when downloading the cookbook should download the cookbook when the cookbook download directory doesn't exist with -f or --force should remove the existing the cookbook download directory if it exists determine_version should return nil if there are no versions should return and set the version if there is only one version should ask which version to download and return it if there is more than one with -N or --latest should return and set the version to the latest version available_versions should return nil if there are no versions should return the available versions should avoid multiple API calls to the server ask_which_version should prompt the user to select a version should set the version to the user's selection should print an error and exit if a version wasn't specified should print an error if an invalid choice was selected Chef::Knife::CookbookList run should display the latest version of the cookbooks should query cookbooks for the configured environment with -w or --with-uri should display the cookbook uris with -a or --all should display all versions of the cookbooks Chef::Knife::CookbookMetadataFromFile run Generating metadata for quick_start from /build/chef-13.8.7/spec/data/metadata/quick_start/metadata.rb should determine cookbook name from path Generating metadata for quick_start from /build/chef-13.8.7/spec/data/metadata/quick_start/metadata.rb should load the metadata source Generating metadata for quick_start from /build/chef-13.8.7/spec/data/metadata/quick_start/metadata.rb should write out the metadata to the correct location Generating metadata for quick_start from /build/chef-13.8.7/spec/data/metadata/quick_start/metadata.rb should generate json from the metadata Chef::Knife::CookbookMetadata run should print an error and exit if a cookbook name was not provided should print an error and exit if an empty cookbook name was provided should generate the metadata for the cookbook with -a or --all should generate the metadata for each cookbook with -o or --cookbook_path should look in the provided path and generate cookbook metadata generate_metadata should generate the metadata from metadata.rb if it exists should validate the metadata json if metadata.rb does not exist validation errors should fail for obsolete operators in metadata.rb should fail for obsolete format in metadata.rb (sadly) should fail for obsolete operators in metadata.json should not fail for unknown field in metadata.rb should not fail for unknown field in metadata.json should fail on unparsable json Chef::Knife::CookbookShow run with 0 arguments: help should should print usage and exit when given no arguments with 1 argument: versions should show the raw cookbook data should respect the user-supplied environment with 2 arguments: name and version should show the specific part of a cookbook with 3 arguments: name, version, and segment should print the json of the part with 4 arguments: name, version, segment and filename should print the raw result of the request (likely a file!) with 4 arguments: name, version, segment and filename -- with specificity with --fqdn should pass the fqdn and --platform should pass the platform and --platform-version should pass the platform with none of the arguments, it should use the default should pass them all Chef::Knife::CookbookSiteInstall run raises an error if a cookbook name is not provided raises an error if more than two arguments are given raises an error if the second argument is not a version raises an error if the second argument is a four-digit version raises an error if the second argument is a one-digit version Installing getting-started to /var/tmp/chef Removing downloaded tarball installs the specified version if second argument is a three-digit version Installing getting-started to /var/tmp/chef Removing downloaded tarball installs the specified version if second argument is a two-digit version Installing getting-started to /var/tmp/chef Removing downloaded tarball installs the latest version if only a cookbook name is given Installing getting-started to /var/tmp/chef Removing pre-existing version. Uncompressing getting-started version 0.3.0. Removing downloaded tarball does not create/reset git branches if use_current_branch is set Installing getting-started to /var/tmp/chef Removing downloaded tarball does not raise an error if cookbook_path is a string preferred_metadata returns a populated Metadata object if metadata.rb exists returns a populated Metadata object if metadata.json exists prefers metadata.rb over metadata.json rasies an error if it finds no metadata file Chef::Knife::CookbookSiteShare run should set true to config[:dry_run] as default should should print usage and exit when given no arguments Making tarball cookbook_name.tgz Upload complete should not fail when given only 1 argument and can determine category Making tarball cookbook_name.tgz Upload complete should use a default category when given only 1 argument and cannot determine category should print error and exit when given only 1 argument and Chef::ServerAPI throws an exception Making tarball cookbook_name.tgz Upload complete should check if the cookbook exists should exit and log to error if the cookbook doesn't exist Making tarball cookbook_name.tgz Upload complete should make a tarball of the cookbook Making tarball cookbook_name.tgz should exit and log to error when the tarball creation fails Making tarball cookbook_name.tgz Upload complete should upload the cookbook and clean up the tarball when the --dry-run flag is specified Making tarball cookbook_name.tgz Not uploading cookbook_name.tgz due to --dry-run flag. file should list files in the tarball Making tarball cookbook_name.tgz Not uploading cookbook_name.tgz due to --dry-run flag. file does not upload the cookbook do_upload should post the cookbook to "https://supermarket.chef.io" should alert the user when a version already exists should pass any errors on to the user should print the body if no errors are exposed on failure Chef::Knife::CookbookSiteUnshare run Unshared all versions of the cookbook cookbook_name should confirm you want to unshare the cookbook Unshared all versions of the cookbook cookbook_name should send a delete request to the cookbook site should log an error and exit when forbidden should re-raise any non-forbidden errors on delete should log a success message with no cookbook argument should print the usage and exit Chef::Knife::CookbookTest run WARNING: DEPRECATED: Please use ChefSpec or Cookstyle to syntax-check cookbooks. checking italian should test the cookbook WARNING: DEPRECATED: Please use ChefSpec or Cookstyle to syntax-check cookbooks. checking tats checking jimmy_johns should test multiple cookbooks when provided WARNING: DEPRECATED: Please use ChefSpec or Cookstyle to syntax-check cookbooks. checking example Running syntax check on example should test both ruby and templates with -a or --all WARNING: DEPRECATED: Please use ChefSpec or Cookstyle to syntax-check cookbooks. should test all of the cookbooks Chef::Knife::CookbookUpload with --concurrency should upload cookbooks with predefined concurrency run should print usage and exit when a cookbook name is not provided should freeze the version of the cookbooks if --freeze is specified when specifying a cookbook name should upload the cookbook should report on success when specifying the same cookbook name twice should upload the cookbook only once when uploading a cookbook that uses deprecated overlays emits a warning when specifying a cookbook name among many should read only one cookbook should not read all cookbooks should upload only one cookbook when specifying a cookbook name with dependencies should upload all dependencies once when specifying a cookbook name with missing dependencies should exit and not upload the cookbook should output a message for a single missing dependency should output a message for a multiple missing dependencies which are concatenated with -a or --all when cookbooks exist in the cookbook path should upload all cookbooks should report on success should update the version constraints for an environment when no cookbooks exist in the cookbook path should not upload any cookbooks when cookbook path is an array should warn users that no cookbooks exist when cookbook path is a string should warn users that no cookbooks exist when a frozen cookbook exists on the server should fail to replace it should not update the version constraints for an environment Chef::Knife::Core::BootstrapContext initializes with Chef 11 parameters runs chef with the first-boot.json with no environment specified reads the validation key generates the config file data when in verbosity mode adds '-l debug' when verbosity is >= 2 when no color value has been set in config adds '--no-color' when color is false alternate chef-client path runs chef-client from another path when specified validation key path that contains a ~ reads the validation key when it contains a ~ when an explicit node name is given sets the node name in the client.rb when bootstrapping into a specific environment starts chef in the configured environment when tags are given adds the attributes to first_boot when JSON attributes are given adds the attributes to first_boot when JSON attributes are NOT given sets first_boot equal to run_list when policy_name and policy_group are present in config includes them in the first_boot data and excludes run_list when an encrypted_data_bag_secret is provided reads the encrypted_data_bag_secret to support compatibility with existing templates sets the @config instance variable sets the @run_list instance variable when a bootstrap_version is specified should send the full version to the installer when a pre-release bootstrap_version is specified should send the full version to the installer and set the pre-release flag when a bootstrap_version is not specified should send the latest current to the installer ssl_verify_mode isn't set in the config_content by default when configured in config uses the config value when configured via CLI uses CLI value fips mode adds the chef version check verify_api_cert isn't set in the config_content by default when configured in config uses the config value when configured via CLI uses CLI value prerelease isn't set in the config_content by default when configured via cli uses CLI value #config_log_location when config_log_location is nil sets the default config_log_location in the client.rb when config_log_location is empty sets the default config_log_location in the client.rb when config_log_location is :win_evt raise error when config_log_location is :win_evt when config_log_location is :syslog sets the config_log_location value as :syslog in the client.rb When config_log_location is STDOUT Sets the config_log_location value as STDOUT in the client.rb when config_log_location is STDERR sets the config_log_location value as STDERR in the client.rb when config_log_location is a path sets the config_log_location path in the client.rb Chef::Knife::CookbookSCMRepo has a path to the cookbook repo has a default branch resets to default state by checking out the default branch determines if a the pristine copy branch exists determines if a the branch not exists correctly without substring search when sanity checking the repo exits when the directory does not exist and the repo dir exists exits when there is no git repo and the repo is a git repo exits when the default branch doesn't exist and the default branch exists exits when the git repo is dirty and the repo is clean passes the sanity check when the pristine copy branch does not exist prepares for import by creating the pristine copy branch when the pristine copy branch does exist prepares for import by checking out the pristine copy branch when the pristine copy branch was not updated by the changes shows no changes in the pristine copy does nothing to finalize the updates when the pristine copy branch was updated by the changes shows changes in the pristine copy commits the changes to the repo and tags the commit when a custom default branch is specified resets to default state by checking out the default branch Chef::Knife::SubcommandLoader::HashedCommandLoader #list_commands lists all commands by category when no argument is given lists only commands in the given category when a category is given when the plugin path is invalid lists all commands by category when no argument is given #subcommand_files lists all the files #load_commands returns false for non-existant commands loads the correct file and returns true if the command exists #subcommand_for_args returns the subcommands for an exact match finds the right subcommand even when _'s are elided returns nil if the the subcommand isn't in our manifest Chef::Knife::NodeEditor #view returns a Hash with only the name, chef_environment, normal, policy_name, policy_group, and run_list properties when config[:all_attributes] == true returns a Hash with all of the node's properties #apply_updates when the node name is changed emits a warning and prompts for confirmation when config[:all_attributes] == false returns a node with run_list and normal_attrs changed when config[:all_attributes] == true returns a node with all editable properties changed #updated? before the node has been edited returns false after the node has been edited and changes were made and changes affect only editable properties returns an array of the changed property names and the changes include non-editable properties returns an array of property names that doesn't include the non-editable properties and changes were not made should not be updated Chef::Knife::Core::ObjectLoader when the file is a Chef::Node when the file is a Ruby behaves like Chef object should create a Chef::Node object should has a attribute 'name' when the file is a JSON and it has defined 'json_class' behaves like Chef object should create a Chef::Node object should has a attribute 'name' and it has not defined 'json_class' behaves like Chef object should create a Chef::Node object should has a attribute 'name' when the file is a Chef::Role when the file is a Ruby behaves like Chef object should create a Chef::Role object should has a attribute 'name' when the file is a JSON and it has defined 'json_class' behaves like Chef object should create a Chef::Role object should has a attribute 'name' and it has not defined 'json_class' behaves like Chef object should create a Chef::Role object should has a attribute 'name' when the file is a Chef::Environment when the file is a Ruby behaves like Chef object should create a Chef::Environment object should has a attribute 'name' when the file is a JSON and it has defined 'json_class' behaves like Chef object should create a Chef::Environment object should has a attribute 'name' and it has not defined 'json_class' behaves like Chef object should create a Chef::Environment object should has a attribute 'name' Chef::Knife::SubcommandLoader #for_config when ~/.chef/plugin_manifest.json exists creates a HashedCommandLoader with the manifest has _autogenerated_command_paths when ~/.chef/plugin_manifest.json does not exist creates a GemGlobLoader #gem_glob_loader always creates a GemGlobLoader Chef::Knife::UI edit when editing is disabled when parse_output is false returns pretty json string when parse_output is true returns a ruby object but no object class is provided raises an error when editing is enabled and the editor works when parse_output is false returns an edited pretty json string when parse_output is true returns an edited ruby object when running the editor fails with nil throws an exception when running the editor fails with false throws an exception when editing and not stubbing Tempfile (semi-functional test) and the editor works when parse_output is false returns an edited pretty json string the tempfile should have mode 0600 when parse_output is true returns an edited ruby object the tempfile should have mode 0600 format_list_for_display should print the full hash if --with-uri is true should print only the keys if --with-uri is false output formats strings appropriately formats hashes appropriately formats empty hashes appropriately formats arrays appropriately formats empty arrays appropriately formats single-member arrays appropriately formats nested single-member arrays appropriately formats nested arrays appropriately formats nested arrays with single- and empty subarrays appropriately formats arrays of hashes with extra lines in between for readability formats hashes with empty array members appropriately formats hashes with single-member array values appropriately formats hashes with array members appropriately formats hashes with single-member nested array values appropriately formats hashes with nested array values appropriately formats hashes with hash values appropriately formats hashes with empty hash values appropriately behaves like an output mehthod handling IO exceptions should throw Errno::EIO exceptions should ignore Errno::EPIPE exceptions (CHEF-3516) should throw Errno::EPIPE exceptions with -VV (CHEF-3516) warn behaves like an output mehthod handling IO exceptions should throw Errno::EIO exceptions should ignore Errno::EPIPE exceptions (CHEF-3516) should throw Errno::EPIPE exceptions with -VV (CHEF-3516) error behaves like an output mehthod handling IO exceptions should throw Errno::EIO exceptions should ignore Errno::EPIPE exceptions (CHEF-3516) should throw Errno::EPIPE exceptions with -VV (CHEF-3516) fatal behaves like an output mehthod handling IO exceptions should throw Errno::EIO exceptions should ignore Errno::EPIPE exceptions (CHEF-3516) should throw Errno::EPIPE exceptions with -VV (CHEF-3516) format_for_display should return the raw data with --attribute passed should return the deeply nested attribute should return multiple attributes should handle attributes named the same as methods should handle nested attributes named the same as methods should return the name attribute should return a 'class' attribute and not the node.class should return the chef_environment attribute works with arrays returns nil when given an attribute path that isn't a name or attribute when --field-separator is passed honors that separator with --run-list passed should return the run list format_cookbook_list_for_display should return an array of the cookbooks with versions with --with-uri should return the URIs when running on Windows should have color set to true if knife config has color explicitly set to true should have color set to false if knife config has color explicitly set to false should not have color set to false by default confirm with default choice set to true should show 'Y/n' in the instructions with empty answer behaves like confirm with positive answer confirm should return true confirm_without_exit should return true with answer N behaves like confirm with negative answer confirm should exit 3 confirm_without_exit should return false with default choice set to false should show 'y/N' in the instructions with empty answer behaves like confirm with negative answer confirm should exit 3 confirm_without_exit should return false with answer N behaves like confirm with positive answer confirm should return true confirm_without_exit should return true with answer Y behaves like confirm with positive answer confirm should return true confirm_without_exit should return true with answer y behaves like confirm with positive answer confirm should return true confirm_without_exit should return true with answer N behaves like confirm with negative answer confirm should exit 3 confirm_without_exit should return false with answer n behaves like confirm with negative answer confirm should exit 3 confirm_without_exit should return false with --y or --yes passed should return true when asking for free-form user input asks a question and returns the answer provided by the user suggests a default setting and returns the default when the user's response only contains whitespace Chef::Knife::DataBagCreate when data_bag already exists doesn't create a data bag when data_bag doesn't exist FATAL: Chef::Exceptions::InvalidDataBagName tries to create a data bag with an invalid name when given one argument FATAL: Chef::Exceptions::InvalidDataBagName FATAL: Chef::Exceptions::InvalidDataBagName FATAL: Chef::Exceptions::InvalidDataBagName FATAL: Chef::Exceptions::InvalidDataBagName won't create a data bag with a reserved name for search when part of the name is a reserved name will create a data bag containing a reserved word when given one argument creates a data bag when given a data bag name partially matching a reserved name for search creates a data bag named 'xnode' creates a data bag named 'rolex' creates a data bag named 'xenvironmentx' creates a data bag named 'xclientx' no secret is specified for encryption Created data_bag[sudoing_admins] creates a data bag item a secret is specified for encryption Created data_bag[sudoing_admins] creates an encrypted data bag item Chef::Knife::DataBagEdit requires data bag and item arguments fails to edit an encrypted data bag if the secret is missing when no secret is provided Saving data bag unencrypted. To encrypt it, provide an appropriate secret. correctly edits then uploads the data bag when config[:print_after] is set Saving data bag unencrypted. To encrypt it, provide an appropriate secret. correctly edits then uploads the data bag when a secret is provided the data bag starts encrypted Encrypting data bag using provided secret. correctly edits then uploads the data bag the data bag starts unencrypted Encrypting data bag using provided secret. correctly edits then uploads the data bag Chef::Knife::DataBagFromFile Updated data_bag_item[::] loads from a file and saves Updated data_bag_item[::] Updated data_bag_item[::] loads all from multiple files and saves Updated data_bag_item[::] Updated data_bag_item[::] loads all from a folder and saves loading all data bags Updated data_bag_item[::] Updated data_bag_item[::] Updated data_bag_item[::] loads all data bags when -a or --all options is provided Updated data_bag_item[::] loads all data bags items when -a or --all options is provided encrypted data bag items Updated data_bag_item[::] encrypts values when given --secret command line parsing prints help if given no arguments Chef::Knife::DataBagSecretOptions #validate_secrets throws an error when provided with both --secret and --secret-file on the CL throws an error when provided with `secret` and `secret_file` in knife.rb #read_secret returns the secret first returns the secret_file only if secret does not exist returns the secret from the knife.rb config returns the secret_file from the knife.rb config only if the secret does not exist #encryption_secret_provided? returns true if the secret is passed on the CL returns true if the secret_file is passed on the CL returns true if --encrypt is passed on the CL and :secret is in config returns true if --encrypt is passed on the CL and :secret_file is in config throws an error if --encrypt is passed and there is not :secret or :secret_file in the config returns false if no secret is passed returns false if --encrypt is not provided and :secret is in the config returns false if --encrypt is not provided and :secret_file is in the config returns true if --encrypt is not provided, :secret is in the config and need_encrypt_flag is false returns true if --encrypt is not provided, :secret_file is in the config and need_encrypt_flag is false returns false if --encrypt is not provided and need_encrypt_flag is false Chef::Knife::DataBagShow displays the list of items in the data bag when only one @name_arg is provided raises an error when no @name_args are provided Data bag to show is encrypted decrypts and displays the encrypted data bag when the secret is provided displays the encrypted data bag when the secret is not provided Data bag to show is not encrypted displays the data bag when a secret is given displays the data bag Chef::Knife::EnvironmentCompare run should display only cookbooks with version constraints should display 4 number of lines with -m or --mismatch should display only cookbooks that have mismatching version constraints should display 3 number of lines with -a or --all should display all cookbooks should display 8 number of lines Chef::Knife::EnvironmentCreate run should create a new environment should set the environment name should not print the environment should prompt you to edit the data should save the environment should show usage and exit when no environment name is provided with --description should set the description with --print-after should pretty print the environment, formatted for display Chef::Knife::EnvironmentDelete should confirm that you want to delete should load the environment should delete the environment should not print the environment should show usage and exit when no environment name is provided with --print-after should pretty print the environment, formatted for display Chef::Knife::EnvironmentEdit should load the environment should let you edit the environment should save the edited environment data should not save the unedited environment data should not print the environment FATAL: You must specify an environment name shoud show usage and exit when no environment name is provided with --print-after should pretty print the environment, formatted for display Chef::Knife::EnvironmentFromFile run Updated Environment spec loads the environment data from a file and saves it Updated Environment spec should not print the environment should show usage and exit if not filename is provided when handling multiple environments Updated Environment spec Updated Environment spec loads multiple environments if given Updated Environment spec Updated Environment spec loads all environments with -a with --print-after Updated Environment spec should pretty print the environment, formatted for display Chef::Knife::EnvironmentList should make an api call to list the environments should print the environment names in a sorted list with --with-uri should print and unsorted list of the environments and their URIs Chef::Knife::EnvironmentShow should load the environment should pretty print the environment, formatted for display should show usage and exit when no environment name is provided Chef::Knife::IndexRebuild #grab_api_info against a Chef 11 server retrieves API information against a Chef 10 server finds no API information #unsupported_version? with Chef 11 API metadata is unsupported only truly relies on the version being non-nil with Chef 10 API metadata is supported Simulating a 'knife index rebuild' run against a Chef 11 server should not be allowed against a Chef 10 server should be allowed key create commands that inherit knife Chef::Knife::UserKeyCreate it should behave like a key create command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyCreate with the correct args it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::ClientKeyCreate it should behave like a key create command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyCreate with the correct args it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::KeyCreate when actor_field_name is 'user' it should behave like key create run command when public_key and key_name weren't passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when the command is run when a valid hash is passed creates the proper hash when public_key is passed calls File.expand_path with the public_key input when public_key isn't passed and key_name is should set create_key to true when the server returns a private key when file is not passed calls display_private_key with the private_key when file is passed calls output_private_key_to_file with the private_key when actor_field_name is 'client' it should behave like key create run command when public_key and key_name weren't passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when the command is run when a valid hash is passed creates the proper hash when public_key is passed calls File.expand_path with the public_key input when public_key isn't passed and key_name is should set create_key to true when the server returns a private key when file is not passed calls display_private_key with the private_key when file is passed calls output_private_key_to_file with the private_key key delete commands that inherit knife Chef::Knife::UserKeyDelete it should behave like a key delete command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyDelete with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::ClientKeyDelete it should behave like a key delete command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyDelete with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::KeyDelete when actor_field_name is 'user' it should behave like key delete run command when the command is run calls Chef::Key.new with the proper input calls name on the Chef::Key instance with the proper input calls destroy on the Chef::Key instance calls confirm! calls print_destroyed when actor_field_name is 'client' it should behave like key delete run command when the command is run calls Chef::Key.new with the proper input calls name on the Chef::Key instance with the proper input calls destroy on the Chef::Key instance calls confirm! calls print_destroyed key edit commands that inherit knife Chef::Knife::UserKeyEdit it should behave like a key edit command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyEdit with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::ClientKeyEdit it should behave like a key edit command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyEdit with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::KeyEdit when actor_field_name is 'user' it should behave like key edit run command when the command is run when public_key and create_key are passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when key_name is passed update_key_from_hash gets passed a hash with new key name Chef::Key.update is passed a string containing the original keyname Chef::Key.update is not passed a string containing the new keyname when public_key, key_name, and expiration_date are passed passes the right hash to update_key_from_hash when create_key is passed passes the right hash to update_key_from_hash when public_key is passed calls File.expand_path with the public_key input when the server returns a private key when file is not passed calls display_private_key with the private_key when file is passed calls output_private_key_to_file with the private_key when actor_field_name is 'client' it should behave like key edit run command when the command is run when public_key and create_key are passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when key_name is passed update_key_from_hash gets passed a hash with new key name Chef::Key.update is passed a string containing the original keyname Chef::Key.update is not passed a string containing the new keyname when public_key, key_name, and expiration_date are passed passes the right hash to update_key_from_hash when create_key is passed passes the right hash to update_key_from_hash when public_key is passed calls File.expand_path with the public_key input when the server returns a private key when file is not passed calls display_private_key with the private_key when file is passed calls output_private_key_to_file with the private_key key list commands that inherit knife Chef::Knife::UserKeyList it should behave like a key list command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyList with the correct args it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::ClientKeyList it should behave like a key list command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyList with the correct args it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::KeyList when list_method is :list_by_user it should behave like key list run command when only_expired and only_non_expired were both passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when the command is run calls Chef::Key with the proper list command and input displays all the keys when only_expired is called excludes displaying non-expired keys displays the expired keys when only_non_expired is called excludes displaying expired keys displays the non-expired keys when with_details is false does not display the uri does not display the expired status when with_details is true displays the uri displays the expired status when list_method is :list_by_client it should behave like key list run command when only_expired and only_non_expired were both passed raises a Chef::Exceptions::KeyCommandInputError with the proper error message when the command is run calls Chef::Key with the proper list command and input displays all the keys when only_expired is called excludes displaying non-expired keys displays the expired keys when only_non_expired is called excludes displaying expired keys displays the non-expired keys when with_details is false does not display the uri does not display the expired status when with_details is true displays the uri displays the expired status key show commands that inherit knife Chef::Knife::UserKeyShow it should behave like a key show command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyShow with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::ClientKeyShow it should behave like a key show command after apply_params! is called with valid args when the service object is called creates a new instance of Chef::Knife::KeyShow with the correct args it should behave like a knife key command with a keyname as the second arg before apply_params! is called when apply_params! is called with invalid args (missing keyname) shows the usage outputs the proper error exits 1 it should behave like a knife key command before apply_params! is called when apply_params! is called with invalid args (missing actor) shows the usage outputs the proper error exits 1 after apply_params! is called with valid args properly defines the actor Chef::Knife::KeyShow when load_method is :load_by_user it should behave like key show run command when the command is run loads the key using the proper method and args displays the key when load_method is :load_by_client it should behave like key show run command when the command is run loads the key using the proper method and args displays the key Chef::Knife::NodeBulkDelete when creating the list of nodes fetches the node list run should print the nodes you are about to delete should confirm you really want to delete them should delete each node should only delete nodes that match the regex FATAL: You must supply a regular expression to match the results against should exit if the regex is not provided Chef::Knife::NodeDelete run should confirm that you want to delete should load the nodes should delete the nodes should not print the node with -p or --print-after should pretty print the node, formatted for display Chef::Knife::NodeEdit should load the node after loading the node creates a view of the node without attributes from roles or ohai shows the extra attributes when given the --all option does not consider unedited data updated considers edited data updated edit_node ERROR: You specified the --disable_editing option, nothing to edit raises an exception when editing is disabled ERROR: You must set your EDITOR environment variable or configure your editor via knife.rb raises an exception when the editor is not set Chef::Knife::NodeEnvironmentSet run should load the node should update the environment should save the node should print the environment Chef::Knife::NodeFromFile run Updated Node should load from a file Updated Node should not print the Node with -p or --print-after Updated Node should print the Node Chef::Knife::NodeList run should list all of the nodes if -E is not specified should pretty print the list should list nodes in the specific environment if -E ENVIRONMENT is specified with -w or --with-uri should pretty print the hash Chef::Knife::NodeRunListAdd run should load the node should add to the run list should save the node should print the run list with -a or --after specified should add to the run list after the specified entry with -b or --before specified should add to the run list before the specified entry with both --after and --before specified exits with an error with more than one role or recipe should add to the run list all the entries with more than one role or recipe with space between items should add to the run list all the entries with more than one role or recipe as different arguments should add to the run list all the entries with more than one role or recipe as different arguments and list separated by commas should add to the run list all the entries with one role or recipe but with an extraneous comma should add to the run list one item Chef::Knife::NodeRunListRemove run should load the node should remove the item from the run list should save the node should print the run list run with a list of roles and recipes should remove the items from the run list should remove the items from the run list when name args contains whitespace should remove the items from the run list when name args contains multiple run lists should warn when the thing to remove is not in the runlist should warn even more when the thing to remove is not in the runlist and unqualified Chef::Knife::NodeRunListSet run should load the node should set the run list should save the node should print the run list with more than one role or recipe should set the run list to all the entries with more than one role or recipe with space between items should set the run list to all the entries with more than one role or recipe as different arguments should set the run list to all the entries with more than one role or recipe as different arguments and list separated by comas should add to the run list all the entries with one role or recipe but with an extraneous comma should add to the run list one item with an existing run list should overwrite any existing run list items Chef::Knife::NodeShow run should load the node should pretty print the node, formatted for display should pretty print json Chef::Knife::OscUserCreate creates a new user sets the password exits with an error if password is blank sets the user name sets the public key if given allows you to edit the data writes the private key to a file when --file is specified Chef::Knife::OscUserDelete deletes the user prints usage and exits when a user name is not provided Chef::Knife::OscUserEdit loads and edits the user prints usage and exits when a user name is not provided Chef::Knife::OscUserList lists the users Chef::Knife::OscUserReregister prints usage and exits when a user name is not provided reregisters the user and prints the key writes the private key to a file when --file is specified Chef::Knife::OscUserShow loads and displays the user prints usage and exits when a user name is not provided Chef::Knife::Raw run should set the x-ops-request-source header when --proxy-auth is set Chef::Knife::RoleBulkDelete run should get the list of the roles should print the roles you are about to delete should confirm you really want to delete them should delete each role should only delete roles that match the regex ERROR: You must supply a regular expression to match the results against should exit if the regex is not provided Chef::Knife::RoleCreate run should create a new role should set the role name should not print the role should allow you to edit the data should save the role with -d or --description should set the description with -p or --print-after should pretty print the node, formatted for display Chef::Knife::RoleDelete run should confirm that you want to delete should load the Role should delete the Role should not print the Role with -p or --print-after should pretty print the Role, formatted for display Chef::Knife::RoleEdit run should load the role should edit the role data should save the edited role data should not save the unedited role data should not print the role with -p or --print-after should pretty print the role, formatted for display Chef::Knife::RoleEnvRunListAdd run should have an empty default run list should have a QA environment should load the role named will should be able to add an environment specific run list should save the role should print the run list with -a or --after specified should not create a change if the specified 'after' never comes should add to the run list after the specified entries in the QA run list with more than one role or recipe should add to the QA run list all the entries with more than one role or recipe with space between items should add to the run list all the entries with more than one role or recipe as different arguments should add to the run list all the entries with more than one role or recipe as different arguments and list separated by comas should add to the run list all the entries Recipe with version number is allowed should add to the run list all the entries including the versioned recipe with one role or recipe but with an extraneous comma should add to the run list one item with more than one command should be able to the environment run list by running multiple knife commands with more than one environment should add to the run list a second environment in the specific run list Chef::Knife::RoleEnvRunListClear run should load the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] json_class: Chef::Role name: will override_attributes: run_list: should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] json_class: Chef::Role name: will override_attributes: run_list: should print the run list should clear an environmental run list of roles and recipes chef_type: role default_attributes: description: env_run_lists: QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: chef_type: role default_attributes: description: env_run_lists: PRD: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: should remove the items from the run list Chef::Knife::RoleEnvRunListRemove run should load the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] json_class: Chef::Role name: will override_attributes: run_list: should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] json_class: Chef::Role name: will override_attributes: run_list: should print the run list run with a list of roles and recipes chef_type: role default_attributes: description: env_run_lists: QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: chef_type: role default_attributes: description: env_run_lists: PRD: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: should remove the items from the run list Chef::Knife::RoleEnvRunListReplace run should load the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[dude] role[fixer] json_class: Chef::Role name: will override_attributes: run_list: should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[dude] role[fixer] json_class: Chef::Role name: will override_attributes: run_list: should print the run list run with a list of roles and recipes chef_type: role default_attributes: description: env_run_lists: QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: chef_type: role default_attributes: description: env_run_lists: PRD: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: should replace the items from the run list Chef::Knife::RoleEnvRunListSet run should load the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] role[bucket] json_class: Chef::Role name: will override_attributes: run_list: should replace all the items in the runlist with what is specified should save the node chef_type: role default_attributes: description: env_run_lists: QA: role[monkey] role[person] role[bucket] json_class: Chef::Role name: will override_attributes: run_list: should print the run list should clear an environmental run list of roles and recipes chef_type: role default_attributes: description: env_run_lists: QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: chef_type: role default_attributes: description: env_run_lists: PRD: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] QA: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] json_class: Chef::Role name: will override_attributes: run_list: should remove the items from the run list Chef::Knife::RoleFromFile run Updated Role should load from a file Updated Role should not print the role with -p or --print-after Updated Role should print the role run with multiple arguments Updated Role Updated Role should load each file Chef::Knife::RoleList run should list the roles should pretty print the list with -w or --with-uri should pretty print the hash Chef::Knife::RoleRunListAdd run should have a run list with the monkey role should load the role named will should save the role should print the run list with -a or --after specified should not create a change if the specified 'after' never comes should add to the run list after the specified entries in the default run list with more than one role or recipe should add to the QA run list all the entries with more than one role or recipe with space between items should add to the run list all the entries with more than one role or recipe as different arguments should add to the run list all the entries with more than one role or recipe as different arguments and list separated by comas should add to the run list all the entries Recipe with version number is allowed should add to the run list all the entries including the versioned recipe with one role or recipe but with an extraneous comma should add to the run list one item with more than one command should be able to the environment run list by running multiple knife commands Chef::Knife::RoleRunListClear run should load the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] should print the run list should clear an environmental run list of roles and recipes chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] should remove the items from the run list Chef::Knife::RoleRunListRemove run should load the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] should print the run list run with a list of roles and recipes chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] should remove the items from the run list Chef::Knife::RoleRunListReplace run should load the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[dude] role[fixer] should remove the item from the run list should save the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[dude] role[fixer] should print the run list run with a list of roles and recipes chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] should replace the items from the run list Chef::Knife::RoleRunListSet run should load the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] role[bucket] should replace all the items in the runlist with what is specified should save the node chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: role[monkey] role[person] role[bucket] should print the run list should clear an environmental run list of roles and recipes chef_type: role default_attributes: description: env_run_lists: json_class: Chef::Role name: will override_attributes: run_list: recipe[orange::chicken] role[monkey] recipe[duck::type] role[person] role[bird] role[town] should remove the items from the run list Chef::Knife::RoleShow run should list the role should pretty print json without a role name should print usage and exit when a role name is not provided Chef::Knife::Ssh #configure_session manual is set to false (default) searches for and returns an array of fqdns returns an array of the attributes specified on the command line OR config file, if only one is set returns an array of the attributes specified on the command line even when a config value is set should raise an error if no host are found when cloud hostnames are available returns an array of cloud public hostnames returns an array of the attributes specified on the command line OR config file, if only one is set returns an array of the attributes specified on the command line even when a config value is set when cloud hostnames are available but empty returns an array of fqdns returns an array of the attributes specified on the command line OR config file, if only one is set returns an array of the attributes specified on the command line even when a config value is set when there are some hosts found but they do not have an attribute to connect with should raise a specific error (CHEF-3402) manual is set to true returns an array of provided values #get_prefix_attribute should return nil by default should favor config over nil #get_ssh_attribute should return fqdn by default should return cloud.public_hostname attribute if available should favor config over cloud and default should return fqdn if cloud.hostname is empty #session_from_list uses the port from an ssh config file uses the port from a cloud attr uses the prefix from list defaults to a prefix of host defaults to a timeout of 120 seconds uses the timeout from Chef Config uses the timeout from knife config uses the user from an ssh config file uses keepalive settings from an ssh config file #ssh_command both connections return 0 returns a 0 exit code the first connection returns 1 and the second returns 0 returns a non-zero exit code the first connection returns 1 and the second returns 2 returns a non-zero exit code #tmux filters out invalid characters from tmux session name #run with an error should exit with a non-zero exit code with no error should not exit #configure_password when setting ssh_password_ng from knife ssh should prompt for a password when ssh_passsword_ng is nil should set ssh_password to false if ssh_password_ng is false should set ssh_password to ssh_password_ng if we set a password when setting ssh_password from knife bootstrap / knife * server create should set ssh_password to nil when ssh_password is nil should set ssh_password to false when ssh_password is false should set ssh_password to ssh_password if we set a password when setting ssh_password in the config variable when setting ssh_password_ng from knife ssh should prompt for a password when ssh_passsword_ng is nil should set ssh_password to the configured knife.rb value if ssh_password_ng is false should set ssh_password to ssh_password_ng if we set a password when setting ssh_password from knife bootstrap / knife * server create should set ssh_password to the configured knife.rb value when ssh_password is nil should set ssh_password to the configured knife.rb value when ssh_password is false should set ssh_password to ssh_password if we set a password Chef::Knife::SslCheck when no arguments are given uses the chef_server_url as the host to check when a specific URI is given checks the SSL configuration against the given host when an invalid URI is given prints an error and exits and its malformed enough to make URI.parse barf prints an error and exits verifying trusted certificate X509 properties when the trusted certificates have valid X509 properties does not generate any X509 warnings when the trusted certificates have invalid X509 properties generates a warning message with invalid certificate file names verifying the remote certificate when the remote host's certificate is valid prints a success message and the certificate is not valid when the certificate's CN does not match the hostname shows the CN used by the certificate and prints an error when the cert is not signed by any trusted authority shows the CN used by the certificate and prints an error Chef::Knife::SslFetch when no arguments are given uses the chef_server_url as the host to fetch when a specific URI is given fetchs the SSL configuration against the given host when an invalid URI is given prints an error and exits and its malformed enough to make URI.parse barf prints an error and exits normalizing CNs for use as paths normalizes '*' to 'wildcard' normalizes non-alnum and hyphen characters to underscores #cn_of when the certificate has a common name returns the common name when the certificate does not have a common name returns nil fetching the remote cert chain when the TLS connection is successful fetches the cert chain and writes the certs to the trusted_certs_dir when connecting to a non-SSL service (like HTTP) tells the user their URL is for a non-ssl service when the certificate does not have a CN fetches the certificate and writes it to a file in the trusted_certs_dir Chef::Knife::Status run should default to searching for everything should filter by nodes older than some mins should filter by environment should filter by environment and nodes older than some mins should not use partial search with long output should not colorize output unless it's writing to a tty with a custom query should allow a custom query to be specified should filter by nodes older than some mins with nodename specified should filter by environment with nodename specified should filter by environment and nodes older than some mins with nodename specified Chef::Knife::TagCreate run can create tags on a node Chef::Knife::TagDelete run can delete tags on a node Chef::Knife::TagList run can list tags on a node Chef::Knife::UserCreate when only one name_arg is passed displays the osc warning calls knife osc_user create when USERNAME isn't specified it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when FIRST_NAME isn't specified it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when LAST_NAME isn't specified it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when EMAIL isn't specified it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when PASSWORD isn't specified it should behave like mandatory field missing when field is nil exits 1 prints the usage prints a relevant error message when all mandatory fields are validly specified sets all the mandatory fields when user_key and prevent_keygen are passed prints the usage prints a relevant error message when --prevent-keygen is passed does not set user.create_key when --prevent-keygen is not passed sets user.create_key to true when --user-key is passed sets user.public_key when --user-key is not passed does not set user.public_key when a private_key is returned when --file is passed creates a new file of the path passed when --file is not passed prints the private key to stdout Chef::Knife::UserDelete deletes the user prints usage and exits when a user name is not provided when the username field is not supported by the server displays the osc warning forwards the command to knife osc_user edit Chef::Knife::UserEdit loads and edits the user prints usage and exits when a user name is not provided when the username field is not supported by the server displays the osc warning forwards the command to knife osc_user edit Chef::Knife::UserList lists the users Chef::Knife::UserReregister prints usage and exits when a user name is not provided reregisters the user and prints the key writes the private key to a file when --file is specified when the username field is not supported by the server displays the osc warning forwards the command to knife osc_user edit Chef::Knife::UserShow loads and displays the user prints usage and exits when a user name is not provided when the username field is not supported by the server displays the osc warning forwards the command to knife osc_user edit Chef::Log::Syslog should send message with severity info to syslog. should send message with severity warning to syslog. should fallback into send message with severity info to syslog when wrong format. Chef::Log::WinEvt should send message with severity info to Windows Event Log. should send message with severity warning to Windows Event Log. should fallback into send message with severity info to Windows Event Log when wrong format. LWRP when overriding an existing class should not skip loading a resource when there's a top level symbol of the same name should not skip loading a provider when there's a top level symbol of the same name should log if attempting to load resource of same name should log if attempting to load provider of same name keeps the old LRWP resource class in the list of resource subclasses does not attempt to remove classes from higher up namespaces [CHEF-4117] When an LWRP resource in cookbook l-w-r-p is loaded Can find the resource at l_w_r_p_foo When an LWRP resource lwrp_foo is loaded And the LWRP is asked to load again, this time with different code Should load the old content, and not the new Lightweight Chef::Resource should be resolvable with Chef::ResourceResolver.resolve(:lwrp_foo) should set resource_name should output the resource_name in .to_s should have a class that outputs a reasonable string should add the specified actions to the allowed_actions array should set the specified action as the default action should create a method for each attribute should build attribute methods that respect validation rules should have access to the run context and node during class definition resource_name returns nil when the resource_name is not set allows to user to user the resource_name returns the set value for the resource lazy default values evaluates the default value when requested evaluates yields self to the block when #default_action is an array returns the array of default actions when inheriting from LWRPBase when the child does not define the methods delegates #actions to the parent delegates #default_action to the parent when the child does define the methods does not delegate #actions to the parent does not delegate #default_action to the parent when actions are already defined amends actions when they are already defined when actions is set to an array actions includes those actions allowed_actions includes those actions resource.allowed_actions includes those actions when allowed_actions is set to an array actions includes those actions allowed_actions includes those actions resource.allowed_actions includes those actions Lightweight Chef::Provider should properly handle a new_resource reference should insert resources embedded in the provider into the middle of the resource collection should insert embedded resources from multiple providers, including from the last position, properly into the resource collection should properly handle a new_resource reference should properly handle an embedded Resource accessing the enclosing Provider's scope provider class created should not load the provider into a const should create a method for each action sets itself as a provider for a resource of the same name with a cookbook with an underscore in the name sets itself as a provider for a resource of the same name with a cookbook with a hypen in the name sets itself as a provider for a resource of the same name when using inline compilation does not add interior resources to the exterior resource collection when interior resources are updated processes notifications within the LWRP provider's action marks the parent resource updated when interior resources are not updated does not mark the parent resource updated resource class created should not load the resource into a const get_lwrp(:lwrp_once).new is an instance of the LWRP class with a subclass of get_lwrp(:lwrp_once) subclass.new is a subclass subclass.new is an instance of the LWRP class subclass.new is a get_lwrp(:lwrp_once) get_lwrp(:lwrp_once).new is *not* a subclass extending the DSL mixin lets you extend the recipe DSL lets you call your DSL from a recipe lets you call your DSL from a provider Mash should duplicate a simple key/value mash to a new mash should duplicate a mash with an array to a new mash should duplicate a nested mash to a new mash Chef::Mixin::ApiVersionRequestHandling .server_client_api_version_intersection when the response code is not 406 returns nil when the response code is 406 when x-ops-server-api-version header does not exist returns nil when x-ops-server-api-version header exists when there is no intersection between client and server versions when all the versions are higher than the max it should behave like no intersection between client and server versions return an array returns an empty array when all the versions are lower than the min it should behave like no intersection between client and server versions return an array returns an empty array when there is an intersection between client and server versions when multiple versions intersect includes all of the intersection when only the min client version intersects includes the intersection when only the max client version intersects includes the intersection Chef::Mixin::Checksum gets the checksum of a file short_cksum nil provided for checksum returns none non-nil provided for checksum returns the short checksum Chef::Mixin::ConvertToClassName converts a_snake_case_word to a CamelCaseWord converts a CamelCaseWord to a snake_case_word removes the base classes before snake casing removes the base classes without explicitly naming them and returns snake case interprets non-alphanumeric characters in snake case as word boundaries interprets underscore Chef::Mixin::DeepMerge deep_merge! tests merging an hash w/array into blank hash tests merging an hash w/array into blank hash tests merge from empty hash tests merge to empty hash tests simple string overwrite tests simple string overwrite of empty hash tests hashes holding array tests hashes holding hashes holding arrays (array with duplicate elements is merged with dest then src tests hash holding hash holding array v string (string is overwritten by array) tests hash holding hash holding string v array (array is overwritten by string) tests hash holding hash holding hash v array (array is overwritten by hash) tests 3 hash layers holding integers (integers are overwritten by source) tests 3 hash layers holding arrays of int (arrays are merged) tests 1 hash overwriting 3 hash layers holding arrays of int tests 3 hash layers holding arrays of int (arrays are merged) but second hash's array is overwritten tests 3 hash layers holding arrays of int, but one holds int. This one overwrites, but the rest merge tests 3 hash layers holding arrays of int, but source is incomplete. tests 3 hash layers holding arrays of int, but source is shorter and has new 2nd level ints. tests 3 hash layers holding arrays of int, but source is empty tests 3 hash layers holding arrays of int, but dest is empty tests hash holding arrays of arrays tests merging of hash with blank hash, and make sure that source array split does not function when turned off tests merging into a blank hash tests are unmerged hashes passed unmodified w/out :unpack_arrays? tests hash of array of hashes should overwrite true with false when merging boolean values should overwrite false with true when merging boolean values should overwrite a string with an empty string when merging string values should overwrite an empty string with a string when merging string values Chef::Mixin::DeepMerge merge should merge a hash into an empty hash should merge a nested hash into an empty hash should overwrite as string value when merging hashes should merge arrays within hashes should merge deeply nested hashes should not modify the source or destination during the merge should not error merging un-dupable objects hash-only merging merges Hashes like normal deep merge replaces arrays rather than merging them replaces non-hash items with hashes when there's a conflict does not mutate deeply-nested original hashes by default does not error merging un-dupable items Chef::Mixin deprecating constants (Class/Module) has a list of deprecated constants returns the replacement when accessing the deprecated constant warns when accessing the deprecated constant Chef::Mixin::Deprecation::DeprecatedInstanceVariable forward method calls to the target object Chef::Mixin::EnforceOwnershipAndPermissions should call set_all on the file access control object when nothing was updated does not set updated_by_last_action on the new resource when something was modified sets updated_by_last_action on the new resource Chef::Mixin::HomebrewUser when the homebrew user is provided returns the homebrew user without looking at the file when uid is provided returns the homebrew user without looking at the file when name is provided when the homebrew user is not provided raises an error if no executable is found debug statement prints owner name returns the owner of the brew executable when it is at a default location returns the owner of the brew executable when it is not at a default location the executable is owned by root debug statement prints owner name returns the owner of the brew executable when it is at a default location returns the owner of the brew executable when it is not at a default location Chef::Mixin::ParamsValidate should allow a hash and a hash as arguments to validate should raise an argument error if validate is called incorrectly should require validation map keys to be symbols or strings should allow options to be required with true should allow options to be optional with false should allow you to check what kind_of? thing an argument is with kind_of should allow you to specify an argument is required with required should allow you to specify whether an object has a method with respond_to should allow you to specify whether an object has all the given methods with respond_to and an array should let you set a default value with default => value should let you check regular expressions should let you specify your own callbacks should let you combine checks should raise an ArgumentError if the validation map has an unknown check should accept keys that are strings in the options should allow an array to kind_of asserts that a value returns false from a predicate method allows a custom validation message should set and return a value, then return the same value should set and return a default value when the argument is nil, then return the same value should raise an ArgumentError when argument is nil and required is true should not raise an error when argument is nil and required is false should set and return @name, then return @name for foo when argument is nil should allow DelayedEvaluator instance to be set for value regardless of restriction should raise an error when delayed evaluated attribute is not valid should create DelayedEvaluator instance when #lazy is used should execute block on each call when DelayedEvaluator should not evaluate non DelayedEvaluator instances Chef::Mixin::PathSanity when enforcing path sanity adds all useful PATHs even if environment is an empty hash adds all useful PATHs that are not yet in PATH to PATH does not re-add paths that already exist in PATH creates path with utf-8 encoding adds the current executing Ruby's bindir and Gem bindir to the PATH does not create entries for Ruby/Gem bindirs if they exist in SANE_PATH or PATH builds a valid windows path Chef::Mixin::PowershellTypeCoercions #translate_type single quotes a string base64 encodes a string that contains ' base64 encodes a string that contains " base64 encodes a string that contains # base64 encodes a string that contains ` does not quote an integer does not quote a floating point number translates $false when an instance of FalseClass is provided translates $true when an instance of TrueClass is provided translates all members of a hash and wrap them in @{} separated by ; translates all members of an array and them by a , translates a Chef::Node::ImmutableMash like a hash translates a Chef::Node::ImmutableArray like an array falls back :to_psobject if we have not defined at explicit rule Chef::Resource.property with a base class A with properties a, ab, and ac and a module B with properties b, ab and bc and a derived class C < A with properties c, ac and bc A.properties has a, ab, and ac with types 'a', ['a', 'b'], and ['b', 'c'] A.properties can get the description of `d` A.properties can get the release that introduced `d` B.properties has b, ab, and bc with types 'b', nil and ['b', 'c'] C.properties has a, b, c, ac and bc with merged types C.properties has ab with a non-merged type (from B) and an instance of C all properties can be retrieved and merged properties default to ab->b, ac->c, bc->c with an Inner module and an Outer module including it and an Outerest class including that Outerest.properties.validation_options[:is] inner, outer, outerest Chef::Mixin::ProxifiedSocket when no proxy is set returns a plain TCPSocket when https_proxy is set wraps the Socket in a Proxifier::Proxy when no_proxy is set wraps the Socket in a Proxifier::Proxy when http_proxy is set wraps the Socket in a Proxifier::Proxy Chef::Mixin::Securable should accept a group name or id for group should accept a user name or id for owner allows the owner to be specified as #user unix-specific behavior should accept group/owner names with spaces and backslashes should accept group/owner names that are a single character or digit should not accept group/owner names starting with '-', '+', or '~' should not accept group/owner names containing ':', ',' or non-space whitespace should accept Active Directory-style domain names pulled in via LDAP (on unix hosts) should not accept group/owner names containing embedded carriage returns (PENDING: XXX: params_validate needs to be extended to support multi-line regex) should accept group/owner names in UTF-8 should accept a unix file mode in string form as an octal number should accept a unix file mode in numeric form as a ruby-interpreted integer windows-specific behavior should not accept a group name or id for group with spaces and multiple backslashes should accept a unix file mode in string form as an octal number should accept a unix file mode in numeric form as a ruby-interpreted integer should allow you to specify :full_control, :modify, :read_execute, :read, and :write rights should allow you to specify :full_control, :modify, :read_execute, :read, and :write deny_rights should accept a principal as a string or an array should allow you to specify whether the permissions applies_to_children with true/false/:containers_only/:objects_only should allow you to specify whether the permissions applies_to_self with true/false should allow you to specify whether the permissions applies one_level_deep with true/false should allow multiple rights and deny_rights declarations should allow you to specify whether the permission applies_to_self only if you specified applies_to_children should allow you to specify whether the permission applies one_level_deep only if you specified applies_to_children should allow you to specify whether the permissions inherit with true/false Chef::Mixin::ShellOut when testing individual methods #shell_out when the last argument is a Hash and environment is an option should not change environment language settings when they are set to nil should not change environment language settings when they are set to non-nil should set environment language settings to the configured internal locale when they are not present should not mutate the options hash when it adds language settings and env is an option should not change env when langauge options are set to nil should not change env when language options are set to non-nil should set environment language settings to the configured internal locale when they are not present should not mutate the options hash when it adds language settings and no env/environment option is present should set environment language settings to the configured internal locale when the last argument is not a Hash should set environment language settings to the configured internal locale #shell_out_with_systems_locale when the last argument is a Hash and environment is an option should not change environment['LC_ALL'] when set to nil should not change environment['LC_ALL'] when set to non-nil should no longer set environment['LC_ALL'] to nil when 'LC_ALL' not present and env is an option should not change env when set to nil should not change env when set to non-nil should no longer set env['LC_ALL'] to nil when 'LC_ALL' not present and no env/environment option is present should no longer add environment option and set environment['LC_ALL'] to nil when the last argument is not a Hash should no longer add environment options and set environment['LC_ALL'] to nil Chef::Mixin::Uris the child instance has the directive set a child that does not declare it does not have it set Chef::Mixin::Template render_template should render the template evaluated in the given context should provide a node method to access @node when running on windows should render the templates with windows line endings when running on unix should render the templates with unix line endings with a template resource should provide a render method should render local files should render partials from a different cookbook should render using the source argument if provided should pass the node to partials should pass the original variables to partials should pass the template finder to the partials should pass variables to partials should pass variables to partials even if they are named the same should pass nil for missing variables in partials should render nested partials when customizing the template context extends the context to include modules emits a warning when overriding 'core' methods when an exception is raised in the template should catch and re-raise the exception as a TemplateError should raise an error if an attempt is made to access node but it is nil the raised TemplateError should have the original exception should determine the line number of the exception should provide a source listing of the template around the exception should provide the evaluation context of the template should defer the message to the original exception should provide a nice source location should create a pretty output for the terminal Chef::Mixin::Unformatter #write with a timestamp sends foo to itself when the message is of severity foo sends foo to itself when the message is of severity FOO without a timestamp sends foo to itself when the message is of severity foo sends foo to itself when the message is of severity FOO Chef::Mixin::Uris #uri_scheme? matches 'scheme://foo.com' does not match 'c:/foo.com' does not match '/usr/bin/foo.com' does not match 'c:/foo.com://bar.com' #as_uri parses a file scheme uri with spaces returns a URI object a class that mixes in user_context when running on Windows does not raise an exception when the user and all parameters are nil when given valid user credentials when the block doesn't raise an exception calls the supplied block does not raise an exception if the user, password, and domain are specified when the block raises an exception WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/mixin/user_context_spec.rb:86:in `block (5 levels) in '. raises the exception raised by the block WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/mixin/user_context_spec.rb:91:in `block (5 levels) in '. closes the logon session so resources are not leaked behaves like a method that requires a block raises an ArgumentError exception if a block is not supplied when not running on Windows raises a ::Chef::Exceptions::UnsupportedPlatform exception Chef::Mixin::VersionedAPI allows a class to declare the minimum supported API version Chef::Mixin::VersionedAPIFactory #add_versioned_api_class adds a target class can be called many times #versioned_api_class with no classes it returns nil with no known versions with one class it returns that class with many classes it returns the highest minimum version with a known version with one class it returns that class with a maximum version it returns the highest possible versioned class #best_request_version returns a String returns the most relevant version #possible_requests returns the number of registered classes #new creates an instance of the versioned class #def_versioned_delegator delegates the method to the correct class Chef::Mixin::WindowsArchitectureHelper returns true when valid architectures are passed to valid_windows_architecture? returns false when invalid architectures are passed to valid_windows_architecture? does not raise an exception when a valid architecture is passed to assert_valid_windows_architecture! raises an error if an invalid architecture is passed to assert_valid_windows_architecture! returns true only for supported desired architecture passed to node_supports_windows_architecture returns true only when forced_32bit_override_required? has 64-bit node architecture and 32-bit desired architecture Chef::Mixin::XMLEscape escapes ampersands to '&' escapes angle brackets to < or > does not modify ASCII strings converts invalid bytes to asterisks converts UTF-8 correctly converts win 1252 characters correctly URI when a URI contains an IPv6 literal returns the hostname without brackets MonoLogger should disable buffering when passed an IO stream when given an object that responds to write and close e.g. IO should use the object directly when given an object that is stringable (to_str) should open a File object with the given path Chef::Node::Attribute initialize should return a Chef::Node::Attribute should take an Automatioc, Normal, Default and Override hash should set normal should set default should set override should set automatic should be enumerable when printing attribute components does not cause a type error when debugging attributes gives the value at each level of precedence for a path spec works through arrays when fetching values based on precedence prefers 'forced default' over any other default prefers role_default over environment or cookbook default prefers environment default over cookbook default returns the cookbook default when no other default values are present prefers 'forced overrides' over role or cookbook overrides prefers environment overrides over role or cookbook overrides prefers role overrides over cookbook overrides returns cookbook overrides when no other overrides are present merges arrays within the default precedence merges arrays within the override precedence does not merge arrays between default and normal does not merge arrays between normal and override merges nested hashes between precedence levels when reading combined default or override values merges all types of overrides into a combined override merges all types of defaults into a combined default [] should return override data if it exists should return attribute data if it is not overridden should return data that doesn't have corresponding keys in every hash should return default data if it is not overriden or in attribute data should prefer the override data over an available default should prefer the attribute data over an available default should prefer override data over default data if there is no attribute data should return the merged hash if all three have values []= should error out when the type of attribute to set has not been specified should let you set an attribute value when another hash has an intermediate value should set the attribute value should set deeply nested attribute values when a precedence level is specified should die if you try and do nested attributes that do not exist without read vivification should let you set attributes manually without vivification does not support ||= when setting to_hash should convert to a hash should convert to a hash based on current state should create a deep copy of the node attribute should create a deep copy of arrays in the node attribute mutating strings should not mutate the attributes in a hash mutating array elements should not mutate the attributes dup array can be duped even if some elements can't mutating strings should not mutate the attributes in a hash mutating array elements should not mutate the attributes has_key? should return true if an attribute exists should return false if an attribute does not exist should return false if an attribute does not exist using dot notation should return true if an attribute exists but is set to false does not find keys above the current nesting level does not find keys below the current nesting level should alias the method include? to itself include? should behave like has_key? should alias the method key? to itself key? should behave like has_key? should alias the method member? to itself member? should behave like has_key? attribute? should return true if an attribute exists should return false if an attribute does not exist keys should yield each top level key should yield lower if we go deeper should not raise an exception if one of the hashes has a nil value on a deep lookup each should yield each top level key and value, post merge rules should yield as a two-element array each_key should respond to each_key should yield each top level key, post merge rules each_pair should respond to each_pair should yield each top level key and value pair, post merge rules each_value should respond to each_value should yield each value, post merge rules should yield four elements empty? should respond to empty? should return true when there are no keys should return false when there are keys fetch should respond to fetch when the key exists should return the value of the key, post merge (same result as each) when the key does not exist and no args are passed should raise an indexerror and a default arg is passed should return the value of the default arg and a block is passed should run the block and return its value has_value? should respond to has_value? should return true if any key has the value supplied should return false no key has the value supplied should alias value? index should respond to index when the value is indexed should return the index when the value is not indexed should return nil values should respond to values should return an array of values should match the values output from each select should respond to select should not raise a LocalJumpError if no block is given should return an empty hash/array (ruby-version-dependent) for a block containing nil should return a new array of k,v pairs for which the block returns true size should respond to size should alias length to size should return 0 for an empty attribute should return the number of pairs kind_of? should falsely inform you that it is a Hash should falsely inform you that it is a Mash should inform you that it is a Chef::Node::Attribute should inform you that it is anything else to_s should output simple attributes should output merged attributes inspect should be readable when not mutated does not reset the cache when dup'd [CHEF-3680] when setting a component attribute to a new value converts the input in to a VividMash tree (default) converts the input in to a VividMash tree (normal) converts the input in to a VividMash tree (override) converts the input in to a VividMash tree (automatic) when deep-merging between precedence levels correctly deep merges hashes and preserves the original contents does not deep merge arrays, and preserves the original contents correctly deep merges hashes and preserves the original contents when merging default and role_default correctly deep merges arrays, and preserves the original contents when merging default and role_default when attemping to write without specifying precedence raises an error when using []= deeply converting values converts values through an array converts values through nested arrays converts values through nested hashes node state sets __root__ correctly sets __node__ correctly sets __path__ correctly sets __precedence__ correctly notifies on attribute changes frozen immutable strings strings in hashes should be frozen strings in arrays should be frozen Chef::Node::ImmutableMash element references like regular hash element references like a regular Mash converts Hash-like inputs into ImmutableMash's converts array inputs into ImmutableArray's converts arrays of hashes to ImmutableArray's of ImmutableMashes converts nested hashes to ImmutableMashes does not call convert_value like Mash/VividMash doesn't allow mutation via `[]=' doesn't allow mutation via `clear' doesn't allow mutation via `default=' doesn't allow mutation via `default_proc=' doesn't allow mutation via `delete' doesn't allow mutation via `delete_if' doesn't allow mutation via `keep_if' doesn't allow mutation via `merge!' doesn't allow mutation via `update' doesn't allow mutation via `reject!' doesn't allow mutation via `replace' doesn't allow mutation via `select!' doesn't allow mutation via `shift' doesn't allow mutation via `write' doesn't allow mutation via `write!' doesn't allow mutation via `unlink' doesn't allow mutation via `unlink!' returns a mutable version of itself when duped to_hash converts an immutable mash to a new mutable hash converts an immutable nested mash to a new mutable hash converts an immutable nested array to a new mutable array should create a mash with the same content should allow mutation dup converts an immutable mash to a new mutable hash converts an immutable nested mash to a new mutable hash converts an immutable nested array to a new mutable array should create a mash with the same content should allow mutation to_h converts an immutable mash to a new mutable hash converts an immutable nested mash to a new mutable hash converts an immutable nested array to a new mutable array should create a mash with the same content should allow mutation Chef::Node::ImmutableArray does not allow mutation via `<< does not allow mutation via `[]= does not allow mutation via `clear does not allow mutation via `collect! does not allow mutation via `compact! does not allow mutation via `default= does not allow mutation via `default_proc= does not allow mutation via `delete does not allow mutation via `delete_at does not allow mutation via `delete_if does not allow mutation via `fill does not allow mutation via `flatten! does not allow mutation via `insert does not allow mutation via `keep_if does not allow mutation via `map! does not allow mutation via `merge! does not allow mutation via `pop does not allow mutation via `push does not allow mutation via `update does not allow mutation via `reject! does not allow mutation via `reverse! does not allow mutation via `replace does not allow mutation via `select! does not allow mutation via `shift does not allow mutation via `slice! does not allow mutation via `sort! does not allow mutation via `sort_by! does not allow mutation via `uniq! does not allow mutation via `unshift can be duped even if some elements can't returns a mutable version of itself when duped to_a converts an immutable array to a new mutable array converts an immutable nested array to a new mutable array converts an immutable nested mash to a new mutable hash should create an array with the same content should allow mutation dup converts an immutable array to a new mutable array converts an immutable nested array to a new mutable array converts an immutable nested mash to a new mutable hash should create an array with the same content should allow mutation to_array converts an immutable array to a new mutable array converts an immutable nested array to a new mutable array converts an immutable nested mash to a new mutable hash should create an array with the same content should allow mutation #[] works with array slices Chef::Node::VividMash without a root node sets the root to the root object does not send reset cache #[] works with array slices #[]= works with array slices deep converts values through arrays deep converts values through nested arrays deep converts values through hashes #read reads hashes deeply does not trainwreck when hitting hash keys that do not exist does not trainwreck when hitting an array with an out of bounds index does not trainwreck when hitting an array with a string key does not trainwreck when traversing a nil #exist? true if there's a hash key there true for intermediate hashes true for arrays that exist true when the value of the key is nil false when attributes don't exist false when traversing a non-container false when an array index does not exist false when traversing a nil #read! reads hashes deeply reads arrays deeply throws an exception when attributes do not exist throws an exception when traversing a non-container throws an exception when an array element does not exist #write should write into hashes should deeply autovivify should raise an exception if you overwrite an array with a hash should raise an exception if you traverse through an array with a hash should raise an exception if you overwrite a string with a hash should raise an exception if you traverse through a string with a hash should raise an exception if you overwrite a nil with a hash should raise an exception if you traverse through a nil with a hash writes with a block #write! should write into hashes should deeply autovivify should raise an exception if you overwrite an array with a hash should raise an exception if you traverse through an array with a hash should raise an exception if you overwrite a string with a hash should raise an exception if you traverse through a string with a hash should raise an exception if you overwrite a nil with a hash should raise an exception if you traverse through a nil with a hash writes with a block #unlink should return nil if the keys don't already exist should unlink hashes should unlink array elements should unlink nil should traverse a nil and safely do nothing #unlink! should raise an exception if the keys don't already exist should unlink! hashes should unlink! array elements should unlink! nil should raise an exception if it traverses a nil Chef::NodeMap with a bad filter name should raise an error when no matchers are set at all returns the value returns nil for keys that do not exist filtering by os returns the correct value for windows returns the correct value for linux returns nil for a non-matching os rejecting an os returns nil for windows returns the correct value for linux filtering by os and platform_family returns the correct value when both match returns nil for a non-matching os returns nil when the platform_family does not match platform version checks handles non-x.y.z platform versions without throwing an exception handles non-x.y.z platform versions without throwing an exception when the match fails ordering classes last writer wins when its reverse alphabetic order orders them alphabetically when they're set in alphabetic order deleting classes deletes a class and removes the mapping completely deletes a class and leaves the mapping that still has an entry handles deleting classes from multiple keys with a block doing platform_version checks returns the value when the node matches returns nil when the block does not match returns nil when the platform_family filter does not match returns nil when both do not match when there is a less specific definition returns the value when the node matches Chef::Node creates a node and assigns it a name should validate the name of the node should be sortable should share identity only with others of the same name behaves like a platform introspector returns a default value when there is no known platform returns a default value when there is no known platform family returns a default value when the current platform doesn't match returns a default value when current platform_family doesn't match returns a value based on the current platform returns a value based on the current platform family returns a version-specific value based on the current platform returns a value based on the current platform if version not found returns the exact match raises RuntimeError should not require .0 to match >= 21.0 should return the value for that match when platform versions is an array returns a version-specific value based on the current platform returns a value based on the current platform if version not found when checking platform? returns true if the node is a provided platform and platforms are provided as symbols returns true if the node is a provided platform and platforms are provided as strings returns false if the node is not of the provided platforms when checking platform_family? returns true if the node is in a provided platform family and families are provided as symbols returns true if the node is a provided platform and platforms are provided as strings returns false if the node is not of the provided platforms returns false if the node is not of the provided platforms and platform_family is not set when the value is an array returns the correct default for a given platform returns the correct platform+version specific value when the node does not exist on the server creates a new node for find_or_create when the node exists on the server loads the node via the REST API for find_or_create run_state is an empty hash initialize should default to the '_default' chef_environment name should allow you to set a name with name(something) should return the name with name() should always have a string for name cannot be blank should not accept name doesn't match /^[-[:alnum:]_:.]+$/ chef_environment should set an environment with chef_environment(something) should return the chef_environment with chef_environment() should disallow non-strings cannot be blank policy_name defaults to nil sets policy_name with a regular setter allows policy_name with every valid character sets policy_name when given an argument sets policy_name to nil when given nil disallows non-strings cannot be blank policy_group defaults to nil sets policy_group with a regular setter allows policy_group with every valid character sets an environment with chef_environment(something) sets policy_group to nil when given nil disallows non-strings cannot be blank attributes should have attributes should allow attributes to be accessed by name or symbol directly on node[] should return nil if it cannot find an attribute with node[] does not allow you to set an attribute via node[]= should allow you to query whether an attribute exists with attribute? should let you go deep with attribute? does not allow modification of node attributes via hash methods does not allow modification of node attributes via array methods returns merged immutable attributes for arrays returns merged immutable attributes for hashes should raise an ArgumentError if you ask for an attribute that doesn't exist via method_missing should allow you to iterate over attributes with each_attribute normal attributes should allow you to set an attribute with set, without pre-declaring a hash should allow you to set an attribute with set_unless should not allow you to set an attribute with set_unless if it already exists should allow you to set an attribute with set_unless if is a nil value should allow you to set a value after a set_unless should let you set a value after a 'dangling' set_unless should let you use tag as a convience method for the tags attribute set is a deprecated alias for normal set_unless is a deprecated alias for normal_unless normal_unless sets a value even if default or override attrs are set default_unless sets a value even if normal or override attrs are set override_unless sets a value even if default or normal attrs are set consume_attributes does not exhibit chef/chef/issues/6302 bug default attributes should be set with default, without pre-declaring a hash should allow you to set with default_unless without pre-declaring a hash should not allow you to set an attribute with default_unless if it already exists should allow you to set a value after a default_unless should allow you to set a value after a 'dangling' default_unless does not exhibit chef/chef/issues/5005 bug default_unless correctly resets the deep merge cache normal_unless correctly resets the deep merge cache override_unless correctly resets the deep merge cache override attributes should be set with override, without pre-declaring a hash should allow you to set with override_unless without pre-declaring a hash should not allow you to set an attribute with override_unless if it already exists should allow you to set a value after an override_unless should allow you to set a value after a 'dangling' override_unless globally deleting attributes with hash values deletes all the values and returns the value with the highest precidence deletes nested things correctly returns nil if the node attribute does not exist can delete the entire tree when trying to delete through a thing that isn't an array-like or hash-like object returns nil when you're two levels deeper returns nil when you're one level deeper correctly deletes at the top level with array indexes deletes the array element with real arrays deletes the array element when mistaking arrays for hashes, it considers the value removed and does nothing granular deleting attributes rm_default returns nil on deleting non-existent values rm_normal returns nil on deleting non-existent values rm_override returns nil on deleting non-existent values when only defaults exist returns the deleted values returns nil for the combined attribues returns an empty hash for the default attrs returns an empty hash after the last key is deleted when trying to delete through a thing that isn't an array-like or hash-like object returns nil when you're two levels deeper returns nil when you're one level deeper correctly deletes at the top level when a higher precedence exists returns the deleted values returns the higher precedence values after the delete returns an empty has for the default attrs when a lower precedence exists returns the deleted values returns the lower precedence levels after the delete returns an empty has for the override attrs granular replacing attributes removes everything at the level of the last key replaces a value at the cookbook sub-level of the atributes only higher precedence values aren't removed granular force replacing attributes removes everything at the level of the last key removes all values from the precedence level when setting higher precedence levels are not removed will autovivify lower precedence levels aren't removed when overwriting a non-hash/array when overwriting an array with a hash deep merge attribute cache edge conditions does not error with complicated attribute substitution caches both strings and symbols correctly method interpolation syntax also works functional attribute API should have an exist? function should have a read function should have a read! function delegates write(:level) to node.level.write() delegates write!(:level) to node.level.write!() delegates unlink(:level) to node.level.unlink() delegates unlink!(:level) to node.level.unlink!() consuming json consumes the run list portion of a collection of attributes and returns the remainder sets the node chef_environment should overwrites the run list with the run list it consumes should not add duplicate recipes from the json attributes doesn't change the run list if no run_list is specified in the json raises an exception if you provide both recipe and run_list attributes, since this is ambiguous should add json attributes to the node should set the tags attribute to an empty array if it is not already defined should not set the tags attribute to an empty array if it is already defined should set the tags attribute to an empty array if it is nil should return an array if it is fed a string should return an array if it is fed a hash deep merges attributes instead of overwriting them gives attributes from JSON priority when deep merging preparing for a chef client run sets its platform according to platform detection consumes the run list from provided json attributes saves non-runlist json attrs for later when expanding its run list and merging attributes sets the 'recipes' automatic attribute to the recipes in the expanded run_list sets the 'roles' automatic attribute to the expanded role list applies default attributes from the environment as environment defaults applies override attributes from the environment as env overrides applies default attributes from roles as role defaults applies override attributes from roles as role overrides loaded_recipe should not add a recipe that is already in the recipes list should add a recipe that is not already in the recipes list when querying for recipes in the run list when a recipe is in the top level run list finds the recipe does not find a recipe not in the run list when a recipe is in the expanded run list only finds a recipe in the expanded run list does not find a recipe that's not in the run list when clearing computed state at the beginning of a run removes default attributes removes override attributes leaves normal level attributes untouched when merging environment attributes does not nuke role-only default attrs does not nuke role-only override attrs does not nuke env-only default attrs does not nuke role-only override attrs gives role defaults precedence over env defaults gives env overrides precedence over role overrides when evaluating attributes files sets attributes from the files gives a sensible error when attempting to load a missing attributes file roles should allow you to query whether or not it has a recipe applied with role? should allow you to set roles with arguments run_list should have a Chef::RunList of recipes and roles that should be applied should allow you to query the run list with arguments should allow you to set the run list with arguments from file should load a node from a ruby file should raise an exception if the file cannot be found or read update_from! allows update of everything except name should not update the name of the node to_hash should serialize itself as a hash should return an empty array for empty run_list converting to or from json should serialize itself as json should serialize valid json with a run list should serialize the correct run list merges the override components into a combined override object merges the default components into a combined default object should deserialize itself from json should allow consumers to call #to_json or Chef::JSONCompat.to_json when policyfile attributes are not present does not have a policy_name key in the json does not have a policy_group key in the json when policyfile attributes are present includes policy_name key in the json includes a policy_group key in the json parses policyfile attributes from JSON to_s should turn into a string like node[name] api model list should return a hash of node names and urls inflated should return a hash of node names and objects load should load a node by name destroy should destroy a node save should update a node if it already exists should not try and create if it can update should create if it cannot update when whyrun mode is enabled should not save with whitelisted attributes configured should only save whitelisted attributes (and subattributes) should save false-y whitelisted attributes should not save any attributes if the whitelist is empty with blacklisted attributes configured should only save non-blacklisted attributes (and subattributes) should save all attributes if the blacklist is empty when policyfile attributes are present and the server supports policyfile attributes in node JSON creates the object normally saves the node object normally and the Chef Server does not support policyfile attributes in node JSON lets the 400 pass through method_missing handling should have an #empty? method via Chef::Node::Attribute it should correctly implement #respond_to? it should correctly retrieve the method with #method path tracking via __path__ works through hash keys works through the default level works through arrays works through arrays at the default level works on access when the node has been rearranged does not dup in the background when a node is assigned root tracking via __root__ works through hash keys works through the default level works through arrays works through arrays at the default level ways of abusing Chef 12 node state derived attributes work correctly works when saving nodes to variables Chef::Org initialize is a Chef::Org name lets you set the name to a string raises on invalid characters raises an ArgumentError if you feed it anything but a string full_name lets you set the full name raises an ArgumentError if you feed it anything but a string private_key returns the private key raises an ArgumentError if you feed it something lame when serializing to JSON serializes as a JSON object includes the name value includes the full name value includes the private key when present does not include the private key if not present when deserializing from JSON deserializes to a Chef::Org object preserves the name preserves the full_name includes the private key if present API Interactions list lists all orgs inflate all orgs create creates a new org via the API read loads a named org from the API update updates an existing org on via the API destroy deletes the specified org via the API Chef::Platform#windows_server_2003? returns false early when not on windows does not raise an exception Chef::Platform#windows_nano_server? returns false early when not on windows returns true when the registry value is 1 returns false when the registry value is not 1 returns false when the registry value does not exist returns false when the registry key does not exist Chef::Platform#supports_msi? returns false early when not on windows returns true when the registry key exists returns false when the registry key does not exist Chef::Platform#supports_dsc? returns false if powershell is not present returns false for Powershell 1.0 returns false for Powershell 2.0 returns false for Powershell 3.0 returns true for Powershell 4.0 returns true for Powershell 5.0 Chef::Platform#supports_dsc_invoke_resource? returns false if powershell is not present returns false for Powershell 1.0 returns false for Powershell 2.0 returns false for Powershell 3.0 returns false for Powershell 4.0 returns false for Powershell 5.0.10017.9 returns true for Powershell 5.0.10018.0 Chef::Platform#dsc_refresh_mode_disabled? returns true when RefreshMode is Disabled returns false when RefreshMode is not Disabled Chef::PolicyBuilder::Dynamic loading policy data delegating PolicyBuilder API to the correct implementation responds to #load_node forwards #original_runlist forwards #run_context forwards #run_list_expansion forwards #build_node to the implementation object forwards #setup_run_context to the implementation object forwards #expand_run_list to the implementation object forwards #sync_cookbooks to the implementation object forwards #temporary_policy? to the implementation object selecting a backend implementation when no policyfile attributes are present on the node and json_attribs are not given uses the ExpandNodeObject implementation and no policyfile attributes are present in json_attribs uses the ExpandNodeObject implementation and :use_policyfile is set in Chef::Config uses the Policyfile implementation and policy_name and policy_group are set on Chef::Config uses the Policyfile implementation and deployment_group and policy_document_native_api are set on Chef::Config uses the Policyfile implementation and policyfile attributes are present in json_attribs uses the Policyfile implementation when policyfile attributes are present on the node uses the Policyfile implementation loading a node when not running chef solo when successful selects the backend implementation and continues node loading when an error occurs finding the node sends a node_load_failed event and re-raises when an error occurs in the implementation's finish_load_node call sends a node_load_failed event and re-raises when running chef solo selects the backend implementation and continues node loading Chef::PolicyBuilder::ExpandNodeObject Public API implements a node method has removed the deprecated #load_node method implements a finish_load_node method implements a build_node method implements a setup_run_context method that accepts a list of recipe files to run implements a run_context method implements an expand_run_list method implements a sync_cookbooks method implements a temporary_policy? method finishing loading the node stores the node when first created has a node_name has ohai data has a set of attributes from command line option has an override_runlist once the node has been loaded expands the run_list building the node sanity checks test setup clears existing default and override attributes from the node applies ohai data to the node reports that a temporary_policy is not being used when the given run list is not in expanded form expands run list items via the server API when JSON attributes are given on the command line sets the run list according to the given JSON sets node attributes according to the given JSON when an override_runlist is given sets the override run_list on the node reports that a temporary policy is being used when no environment is specified does not set the environment when a custom environment is configured sets the environment as configured configuring the run_context configures FileVendor to fetch files remotely triggers cookbook compilation in the run_context Chef::PolicyBuilder::Policyfile configures a Chef HTTP API client reporting unsupported features always gives `false` for #temporary_policy? chef-solo errors on create when given an override run_list errors on create when json_attribs contains a run_list errors on create when an environment is configured errors when an environment is configured loading policy data when using compatibility mode (policy_document_native_api == false) when the deployment group cannot be loaded raises an error when the deployment_group is not configured errors while loading the node when deployment_group is correctly configured fetches the policy file from a data bag item extracts the run_list from the policyfile and policy_document_native_api is configured and policy_name or policy_group are not configured raises a Configuration error for policy_group raises a Configuration error for policy_name and policy_name and policy_group are configured fetches the policy file from a data bag item extracts the run_list from the policyfile building policy from the policyfile fetches the policy file from a data bag item extracts the run_list from the policyfile extracts the cookbooks and versions for display from the policyfile generates a RunListExpansion-alike object for feeding to the CookbookCompiler implements #expand_run_list in a manner compatible with ExpandNodeObject validating the Policyfile.lock errors if the policyfile json contains any non-recipe items errors if the policyfile json contains non-fully qualified recipe items errors if the policyfile doesn't have a run_list key error if the policyfile doesn't have a cookbook_locks key accepts a valid policyfile #build_node when the run is successful sends the run_list_expanded event building the node object resets default and override data selecting policy_name and policy_group from the various sources when only set in node JSON sets policy_name and policy_group on Chef::Config sets policy_name and policy_group on the node object when only set in Chef::Config sets policy_name and policy_group on the node object when only set on the node sets policy_name and policy_group on Chef::Config when set in Chef::Config and the fetched node prefers the policy_name and policy_group from Chef::Config when set in node json and the fetched node prefers the policy_name and policy_group from the node json when set in all sources prefers the policy_name and group from node json setting attribute values resets default and override data applies ohai data applies attributes from json file applies attributes from the policyfile sets the policyfile's run_list on the node object creates node.automatic_attrs[:roles] create node.automatic_attrs[:recipes] when a named run_list is given and the named run_list is not present in the policy raises a ConfigurationError and the named run_list is present in the policy sets the run list to the desired named run list disables the cookbook cache cleaner fetching the desired cookbook set when using compatibility mode (policy_document_native_api == false) when the cookbooks don't exist on the server and a cookbook is missing raises an error indicating which cookbook is missing when the cookbooks exist on the server and the cookbooks can be fetched builds a Hash of the form 'cookbook_name' => Chef::CookbookVersion syncs the desired cookbooks via CookbookSynchronizer builds a run context makes the run context available via static method on Chef when using native API mode (policy_document_native_api == true) when the cookbooks don't exist on the server and a cookbook is missing raises an error indicating which cookbook is missing when the cookbooks exist on the server and the cookbooks can be fetched builds a Hash of the form 'cookbook_name' => Chef::CookbookVersion syncs the desired cookbooks via CookbookSynchronizer builds a run context makes the run context available via static method on Chef Chef::Resource#identity and #state Chef::Resource#identity_properties With properties "property :x" name is the default identity identity_properties :x changes the identity With properties "property :y, identity: true" and identity_properties :x only returns :x as identity does not flip y.desired_state off With a subclass name is the default identity on the subclass With identity_properties :x on the superclass The subclass inherits :x as identity With property :y, identity: true on the subclass The subclass's identity includes both x and y With properties "property :y, String" With identity_properties :y on the subclass y is part of state y is the identity y still has validation With properties "property :string_only, String, identity: true" and "property :string_only2, String" identity_properties does not change validation With properties "property :x, desired_state: false" identity_properties does not change desired_state With custom property custom_property defined only as methods, using different variables for storage And identity_properties :custom_property identity_properties comes back as :custom_property custom_property becomes part of desired_state identity_properties does not change custom_property's getter or setter custom_property is returned as the identity Property#identity With properties "property :x, identity: true" name is only part of the identity if an identity attribute is defined With properties "property :x, identity: true, default: 'xxx'", "property :y, identity: true, default: 'yyy'" and "property :z, identity: true, default: 'zzz'" identity_property raises an error if multiple identity values are defined identity_attr raises an error if multiple identity values are defined identity returns all identity values in a hash if multiple are defined identity returns all values whether any value is set or not identity_properties wipes out any other identity attributes if multiple are defined With properties "property :x, identity: true, name_property: true" identity when x is not defined returns the value of x state when x is not defined returns the value of x Chef::Resource#state_properties state_properties is empty by default With properties "property :x", "property :y" and "property :z" x, y and z are state attributes values that are not set are not included in state when no values are set, nothing is included in state With properties "property :x", "property :y, desired_state: false" and "property :z, desired_state: true" x and z are state attributes, and y is not With properties "property :x, name_property: true" Set values with name_property are included in state With properties "property :x, default: 1" Unset values with defaults are not included in state Set values with defaults are included in state With a class with a normal getter and setter state_properties(:x) causes the value to be included in properties When state_properties happens before properties are declared the property works and is in state_properties With properties "property :x, Integer, identity: true" state_properties(:x) leaves the property in desired_state state_properties(:x) does not turn off validation state_properties(:x) does not turn off identity With properties "property :x, Integer, identity: true, desired_state: false" state_properties(:x) leaves x identical state_properties(:y) adds y to desired state With a subclassed resource state_properties(:x) adds x to desired state state_properties(:y) adds y to desired state Chef::Resource.property validation basic get, set, and nil set With properties "property :x, kind_of: String" when the variable already has a value get succeeds set to valid value succeeds set to invalid value raises ValidationFailed set to nil does a set when the variable does not have an initial value get succeeds set to valid value succeeds set to invalid value raises ValidationFailed set to nil emits no warning because the value would not change With properties "property :x, [ String, nil ]" when the variable already has a value get succeeds set(nil) does a set set to valid value succeeds set to invalid value raises ValidationFailed when the variable does not have an initial value get succeeds set(nil) sets the value set to valid value succeeds set to invalid value raises ValidationFailed bare types property :x, String, default: nil warns that the default is invalid property :x, :a, default: nil warns that the default is invalid property :x, :a, is: :b, default: nil warns that the default is invalid property :x, :a, is: [ :b, :c ], default: nil warns that the default is invalid property :x, [ :a, :b ], is: :c, default: nil warns that the default is invalid property :x, [ :a, :b ], is: [ :c, :d ], default: nil warns that the default is invalid property :x, [], default: nil warns that the default is invalid With properties "property :x, String" gets nil when retrieving the initial (non-set) value value "hi" is valid value 10 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, :a" gets nil when retrieving the initial (non-set) value value :a is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, :a, is: :b" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value :c is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, :a, is: [ :b, :c ]" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value :c is valid value :d is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, [ :a, :b ], is: :c" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value :c is valid value :d is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, [ :a, :b ], is: [ :c, :d ]" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value :c is valid value :d is valid value :e is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, nil" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, [ nil ]" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, [ nil ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, []" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, [ String, nil ], nillable: true" gets nil when retrieving the initial (non-set) value value nil is valid value "thing" is valid value :nope is invalid value false is invalid setting x to nil when it is already nil does not emit a warning With properties "property :x, [ String, nil ], nillable: true, nillable: true" /build/chef-13.8.7/spec/unit/property/validation_spec.rb:72: warning: key :nillable is duplicated and overwritten on line 72 changing x to nil with nillable true overwrites defaults and just works is property :x, is: String, default: nil warns that the default is invalid property :x, is: :a, default: nil warns that the default is invalid property :x, is: [ :a, :b ], default: nil warns that the default is invalid property :x, is: [ [ :a, :b ] ], default: nil warns that the default is invalid property :x, is: /abc/, default: nil warns that the default is invalid property :x, is: Chef::Property.new(is: :a), default: nil warns that the default is invalid property :x, is: Globalses.eq(10), default: nil warns that the default is invalid property :x, is: proc { |x| x }, default: nil warns that the default is invalid property :x, is: [], default: nil warns that the default is invalid With properties "property :x, is: String" gets nil when retrieving the initial (non-set) value value "a" is valid value "" is valid value :a is invalid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: :a" gets nil when retrieving the initial (non-set) value value :a is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: [ :a, :b ]" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value [:a, :b] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: [ [ :a, :b ] ]" gets nil when retrieving the initial (non-set) value value [:a, :b] is valid value :a is invalid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: /abc/" gets nil when retrieving the initial (non-set) value value "abc" is valid value "wowabcwow" is valid value "" is invalid value "abac" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: Chef::Property.new(is: :a)" gets nil when retrieving the initial (non-set) value value :a is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: Globalses.eq(10)" gets nil when retrieving the initial (non-set) value value 10 is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: proc { |x| x }" gets nil when retrieving the initial (non-set) value value true is valid value 1 is valid value false is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: proc { |x| x > blah }" gets nil when retrieving the initial (non-set) value value 10 is valid value -1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: nil" gets nil when retrieving the initial (non-set) value value "a" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: [ String, nil ]" gets nil when retrieving the initial (non-set) value value "a" is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: [ String, nil ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, is: []" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set combination With properties "property :x, kind_of: String, equal_to: \"a\"" gets nil when retrieving the initial (non-set) value value "a" is valid value "b" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: String, equal_to: \"a\", default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set equal_to With properties "property :x, equal_to: :a" gets nil when retrieving the initial (non-set) value value :a is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: :a, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ :a, :b ]" gets nil when retrieving the initial (non-set) value value :a is valid value :b is valid value [:a, :b] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ :a, :b ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ [ :a, :b ] ]" gets nil when retrieving the initial (non-set) value value [:a, :b] is valid value :a is invalid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ [ :a, :b ] ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: nil" gets nil when retrieving the initial (non-set) value value "a" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ \"a\", nil ]" gets nil when retrieving the initial (non-set) value value "a" is valid value "b" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ \"a\", nil ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ nil, \"a\" ]" gets nil when retrieving the initial (non-set) value value "a" is valid value "b" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [ nil, \"a\" ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: []" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, equal_to: [], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set kind_of With properties "property :x, kind_of: String" gets nil when retrieving the initial (non-set) value value "a" is valid value :b is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: String, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ String, Symbol ]" gets nil when retrieving the initial (non-set) value value "a" is valid value :b is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ String, Symbol ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ Symbol, String ]" gets nil when retrieving the initial (non-set) value value "a" is valid value :b is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ Symbol, String ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: NilClass" gets nil when retrieving the initial (non-set) value value "a" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: NilClass, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ NilClass, String ]" gets nil when retrieving the initial (non-set) value value "a" is valid value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [ NilClass, String ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: []" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: [], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: nil" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, kind_of: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set regex With properties "property :x, regex: /abc/" gets nil when retrieving the initial (non-set) value value "xabcy" is valid value "gbh" is invalid value 123 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: /abc/, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ /abc/, /z/ ]" gets nil when retrieving the initial (non-set) value value "xabcy" is valid value "aza" is valid value "gbh" is invalid value 123 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ /abc/, /z/ ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ /z/, /abc/ ]" gets nil when retrieving the initial (non-set) value value "xabcy" is valid value "aza" is valid value "gbh" is invalid value 123 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ /z/, /abc/ ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ [ /z/, /abc/ ], [ /n/ ] ]" gets nil when retrieving the initial (non-set) value value "xabcy" is valid value "aza" is valid value "ana" is valid value "gbh" is invalid value 123 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [ [ /z/, /abc/ ], [ /n/ ] ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: []" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: [], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: nil" gets nil when retrieving the initial (non-set) value value :a is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, regex: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set callbacks With properties "property :x, callbacks: { \"a\" => proc { |x| x > 10 }, \"b\" => proc { |x| x%2 == 0 } }" gets nil when retrieving the initial (non-set) value value 12 is valid value 11 is invalid value 4 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: { \"a\" => proc { |x| x > 10 }, \"b\" => proc { |x| x%2 == 0 } }, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: { \"a\" => proc { |x| x%2 == 0 }, \"b\" => proc { |x| x > 10 } }" gets nil when retrieving the initial (non-set) value value 12 is valid value 11 is invalid value 4 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: { \"a\" => proc { |x| x%2 == 0 }, \"b\" => proc { |x| x > 10 } }, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: { \"a\" => proc { |x| x.nil? } }" gets nil when retrieving the initial (non-set) value value "a" is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: { \"a\" => proc { |x| x.nil? } }, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: {}" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, callbacks: {}, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set respond_to With properties "property :x, respond_to: :split" gets nil when retrieving the initial (non-set) value value "hi" is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: :split, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: \"split\"" gets nil when retrieving the initial (non-set) value value "hi" is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: \"split\", default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: :to_s" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: :to_s, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: [ :split, :to_s ]" gets nil when retrieving the initial (non-set) value value "hi" is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: [ :split, :to_s ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: %w(split to_s)" gets nil when retrieving the initial (non-set) value value "hi" is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: %w(split to_s), default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: [ :to_s, :split ]" gets nil when retrieving the initial (non-set) value value "hi" is valid value 1 is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: [ :to_s, :split ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: []" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: [], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: nil" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, respond_to: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set cannot_be With properties "property :x, cannot_be: :empty" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: :empty, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: \"empty\"" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: \"empty\", default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :empty, :nil ]" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :empty, :nil ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ \"empty\", \"nil\" ]" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ \"empty\", \"nil\" ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :nil, :empty ]" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :nil, :empty ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :empty, :nil, :blahblah ]" gets nil when retrieving the initial (non-set) value value 1 is valid value [1, 2] is valid value {:a=>10} is valid value [] is invalid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [ :empty, :nil, :blahblah ], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: []" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: [], default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: nil" gets nil when retrieving the initial (non-set) value value :a is valid setting x to nil when it is already nil does not emit a warning changing x to nil does a set With properties "property :x, cannot_be: nil, default: nil" setting x to nil when it is already nil does not emit a warning changing x to nil does a set required With properties "property :x, required: true" if x is not specified, retrieval fails value 1 is valid value nil emits a validation failed error because it must have a value With properties "property :x, String, required: true" if x is not specified, retrieval fails value nil is not valid (required means 'not nil') value '1' is valid value 1 is invalid With properties "property :x, [String, nil], required: true" if x is not specified, retrieval fails value nil is not valid (required means 'not nil') value '1' is valid value 1 is invalid With properties "property :x, name_property: true, required: true" if x is not specified, the name property is returned value 1 is valid value nil is invalid With properties "property :x, default: 10, required: true" if x is not specified, the default is returned value 1 is valid value nil is invalid custom validators (def _pv_blarghle) With properties "property :x, blarghle: 1" and a class that implements _pv_blarghle value 1 is valid value '1' is invalid value nil does a set With properties "property :x, blarghle: 1" and a class that implements _pv_blarghle value 1 is valid value '1' is invalid value nil does a set custom validation messages With properties "property :x, String, validation_message: 'Must be a string, fool'" raise with the correct error message Chef::Resource.property raises an error if both name_property and name_attribute are specified With property :bare_property can be set nil does a set can be updated can be set with = can be set to nil with = can be updated with = With property :Straße properties with UTF-8 in their name work With property :x, name_property: true and subclass with property :x on the subclass x is still name_property with property :x, name_attribute: false on the subclass x is no longer name_property with property :x, default: 10 on the subclass x is no longer name_property With property :x, Integer and subclass x is inherited x's validation is inherited with property :y on the subclass x is still there y is there y is not on the superclass with property :x on the subclass x is still there x's validation is inherited with property :x, default: 80 on the subclass x is still there x defaults to 80 x's validation is inherited with property :x, String on the subclass x is still there x's validation is overwritten the superclass's validation for x is still there Chef::Resource::Property#reset_property when a resource is newly created, reset_property(:name) sets property to nil when referencing an undefined property, reset_property(:x) raises an error With property :x when the resource is newly created, reset_property(:x) does nothing when x is set, reset_property resets it With property :x, Integer when the resource is newly created, reset_property(:x) does nothing when x is set, reset_property resets it even though `nil` is technically invalid With property :x, default: 10 when the resource is newly created, reset_property(:x) does nothing when x is set, reset_property resets it and it returns the default With property :x, default: lazy { 10 } when the resource is newly created, reset_property(:x) does nothing when x is set, reset_property resets it and it returns the default Chef::Resource::Property#property_is_set? when a resource is newly created, property_is_set?(:name) is true when referencing an undefined property, property_is_set?(:x) raises an error With property :x when the resource is newly created, property_is_set?(:x) is false when x is set, property_is_set?(:x) is true when x is set with =, property_is_set?(:x) is true when x is set to a lazy value, property_is_set?(:x) is true when x is retrieved, property_is_set?(:x) is false With property :x, default: 10 when the resource is newly created, property_is_set?(:x) is false when x is set, property_is_set?(:x) is true when x is set with =, property_is_set?(:x) is true when x is set to a lazy value, property_is_set?(:x) is true when x is retrieved, property_is_set?(:x) is false With property :x, default: nil when the resource is newly created, property_is_set?(:x) is false when x is set, property_is_set?(:x) is true when x is set with =, property_is_set?(:x) is true when x is set to a lazy value, property_is_set?(:x) is true when x is retrieved, property_is_set?(:x) is false With property :x, default: lazy { 10 } when the resource is newly created, property_is_set?(:x) is false when x is set, property_is_set?(:x) is true when x is set with =, property_is_set?(:x) is true when x is retrieved, property_is_set?(:x) is false Chef::Resource::Property#default With property :x, default: 10 when x is set, it returns its value when x is not set, it returns 10 when x is not set, it is not included in state when x is set to nil, it returns nil With a subclass The default is inherited With property :x, default: 10, identity: true when x is not set, it is included in identity With properties "\":x, default: 1, identity: true\"" and "\":y, default: 2, identity: true\"" when x is not set, it is still included in identity With property :x, default: nil when x is not set, it returns nil With property :x when x is not set, it returns nil string default With property :x, default: '' when x is not set, it returns '' x is immutable With property :x, default: lazy { '' } x is immutable hash default With property :x, default: {} when x is not set, it returns {} x is immutable The same exact value is returned multiple times in a row Multiple instances of x receive the exact same value With property :x, default: lazy { {} } when x is not set, it returns {} The value is the same each time it is called Multiple instances of x receive different values complex, nested default With property :x, default: [{foo: 'bar'}] when x is not set, it returns [{foo: 'bar'}] x is immutable x.first is immutable x.first[:foo] is immutable with a class with 'blah' as both class and instance methods With property :x, default: lazy { blah } x is run in context of the instance x is run in the context of each instance it is run in With property :x, default: lazy { |x| "#{blah}#{x.blah}" } x is run in context of the class (where it was defined) and passed the instance x is passed the value of each instance it is run in validation of defaults When a class is declared with property :x, String, default: 10, it immediately fails validation With property :x, String, default: lazy { Namer.next_index } when the resource is created, no error is raised when x is set, no error is raised when x is retrieved, it fails validation With property :x, default: lazy { Namer.next_index.to_s }, is: proc { |v| Namer.next_index; true } coercion and validation is only run the first time With property :x, default: lazy { Namer.next_index.to_s.freeze }, is: proc { |v| Namer.next_index; true } coercion and validation is run each time coercion of defaults With property :x, coerce: proc { |v| "#{v}#{next_index}" }, default: 10 when the resource is created, the proc is not yet run when x is set, coercion is run when x is retrieved, coercion is run exactly once With property :x, coerce: proc { |v| "#{v}#{next_index}".freeze }, default: 10 when the resource is created, the proc is not yet run when x is set, coercion is run when x is retrieved, coercion is run each time With property :x, coerce: proc { |v| "#{v}#{next_index}" }, default: lazy { 10 } when the resource is created, the proc is not yet run when x is set, coercion is run when x is retrieved, coercion is run exactly once With property :x, coerce: proc { |v| "#{v}#{next_index}".freeze }, default: lazy { "10" } when the resource is created, the proc is not yet run when x is set, coercion is run when x is retrieved, coercion is run each time With property :x, proc { |v| Namer.next_index; true }, coerce: proc { |v| "#{v}#{next_index}" }, default: lazy { 10 } coercion and validation is only run the first time x is retrieved validation and coercion of defaults With property :x, String, coerce: proc { |v| "#{v}#{next_index}" }, default: 10 when x is retrieved, it is coerced before validating and passes With property :x, Integer, coerce: proc { |v| "#{v}#{next_index}" }, default: 10 when x is retrieved, it is coerced and fails validation With property :x, String, coerce: proc { |v| "#{v}#{next_index}" }, default: lazy { 10 } when x is retrieved, it is coerced before validating and passes With property :x, Integer, coerce: proc { |v| "#{v}#{next_index}" }, default: lazy { 10 } when x is retrieved, it is coerced and fails validation With property :x, proc { |v| Namer.next_index; true }, coerce: proc { |v| "#{v}#{next_index}" }, default: lazy { 10 } coercion is only run the first time x is retrieved, and validation is run Chef::Resource#lazy With property :x setting x to a lazy value does not run it immediately you can set x to a lazy value in the instance retrieving a lazy value pops it open retrieving a lazy value twice evaluates it twice setting the same lazy value on two different instances runs it on each instancee when the class has a class and instance method named blah retrieving lazy { |x| "#{blah}#{x.blah}" } gets the example and instance variables retrieving lazy { |x| "#{blah}#{x.blah}" } from two different instances gets two different instance variables With property :x, coerce: proc { |v| "#{v}#{Namer.next_index}" } lazy values are not coerced on set lazy values are coerced on get lazy values are coerced on each access With property :x, String lazy values are not validated on set lazy values are validated on get With property :x, is: proc { |v| Namer.next_index; true } lazy values are validated on each access With property :x, Integer, coerce: proc { |v| "#{v}#{Namer.next_index}" } lazy values are not validated or coerced on set lazy values are coerced before being validated, which fails With property :x, coerce: proc { |v| "#{v}#{Namer.next_index}" }, is: proc { |v| Namer.next_index; true } lazy values are coerced and validated exactly once With property :x, String, coerce: proc { |v| "#{v}#{Namer.next_index}" } lazy values are coerced before being validated, which succeeds Chef::Resource::Property#coerce With property :x, coerce: proc { |v| "#{v}#{Namer.next_index}" } coercion runs on set does not emit a deprecation warning if set to nil coercion sets the value (and coercion does not run on get) coercion runs each time set happens With property :x, coerce: proc { |x| x } does not emit a deprecation warning if set to nil With property :x, coerce: proc { |x| Namer.next_index; raise "hi" if x == 10; x }, is: proc { |x| Namer.next_index; x != 10 } failed coercion fails to set the value validation does not run if coercion fails Chef::Resource::Property validation With property :x, is: proc { |v| Namer.next_index; v.is_a?(Integer) } validation runs on set validation sets the value (and validation does not run on get) validation runs each time set happens failed validation fails to set the value Chef::Resource::Property#name_attribute With property :x, name_attribute: true defaults x to resource.name does not pick up resource.name if set binds to the latest resource.name when run caches resource.name With property :x, name_attribute: false defaults to nil With property :x, name_attribute: nil defaults to nil default ordering deprecation warnings emits an error for property :x, default: 10, name_attribute: true emits an error for property :x, default: nil, name_attribute: true emits an error for property :x, name_attribute: true, default: 10 emits an error for property :x, name_attribute: true, default: nil Chef::Resource::Property#name_property With property :x, name_property: true defaults x to resource.name does not pick up resource.name if set binds to the latest resource.name when run caches resource.name With property :x, name_property: false defaults to nil With property :x, name_property: nil defaults to nil default ordering deprecation warnings emits an error for property :x, default: 10, name_property: true emits an error for property :x, default: nil, name_property: true emits an error for property :x, name_property: true, default: 10 emits an error for property :x, name_property: true, default: nil property_type property_types validate their defaults With property_type ABType (is: [:a, :b]) and CDType (is: [:c, :d]) With property :x, [PropertySpecPropertyTypes::ABType, nil, PropertySpecPropertyTypes::CDType] The property can be set to nil without triggering a warning The property can be set to :a The property can be set to :c The property cannot be set to :z With property :x, [nil, PropertySpecPropertyTypes::ABType, PropertySpecPropertyTypes::CDType] The property can be set to nil without triggering a warning The property can be set to :a The property can be set to :c The property cannot be set to :z With property :x, [PropertySpecPropertyTypes::ABType, nil], default: nil The value defaults to nil With property :x, [PropertySpecPropertyTypes::ABType, nil], default: lazy { nil } The value defaults to nil redefining Object methods disallows redefining Object methods disallows redefining Chef::Resource methods allows redefining properties on Chef::Resource with a custom property type With property :x, CustomPropertyType.new creates x with the given type and a subclass with property :x, default: 10 on the subclass x has the given type and default on the subclass x does not have the default on the superclass With property :x, CustomPropertyType.new, default: 10 passes the default to the custom property type Chef::Provider::AptPreference responds to load_current_resource #action_add without a preferences.d directory creates the preferences.d directory with a preferences.d directory creates a sanitized .pref file and removes the legacy cookbook files #action_delete deletes the name santized .pref file Chef::Provider::AptRepository responds to load_current_resource #is_key_id? should detect a key should detect a key with a hex signifier should reject a key with the wrong length should reject a key with non-hex characters #extract_fingerprints_from_cmd should run the desired command should return a list of key fingerprints #no_new_keys? should match a set of keys should notice missing keys #install_ppa_key should get a key #make_ppa_url should ignore non-ppa repositories should create a URL #build_repo should create a repository string should create a repository string with no distribution should create a repository string with source should create a repository string with options should handle a ppa repo Chef::Provider::AptUpdate responds to load_current_resource when the apt config directory does not exist should create the directory should create the config file #action_update should update the apt cache #action_periodic should run if the time stamp is old should not run if the time stamp is new with a different frequency should run if the time stamp is old should not run if the time stamp is new Chef::Provider::CookbookFile::Content prefers the explicit cookbook name on the resource to the implicit one falls back to the implicit cookbook name on the resource Chef::Provider::CookbookFile behaves like Chef::Provider::File should return a Chef::Provider::CookbookFile should store the resource passed to new as new_resource should store the node passed to new as node when loading the current resource when running load_current_resource should not try to load the content when the file is present should not try to load the content when the file is missing when running load_current_resource and the file exists should load a current resource based on the one specified at construction the loaded current_resource name should be the same as the resource name the loaded current_resource path should be the same as the resoure path the loaded current_resource content should be nil it should call checksum if we are managing content it should not call checksum if we are not managing content when running load_current_resource and the file does not exist the current_resource should be a Chef::Resource::File the current_resource name should be the same as the resource name the current_resource path should be the same as the resource path the loaded current_resource content should be nil it should not call checksum if we are not managing content examining file security metadata on Unix with a file that exists when the new_resource does not specify any state should load the permissions into the current_resource should not set the new_resource permissions when the new_resource explicitly specifies resource state as numbers should load the permissions into the current_resource as numbers should not set the new_resource permissions when the new_resource explicitly specifies resource state as symbols should load the permissions into the current_resource as symbols should not set the new_resource permissions examining file security metadata on Unix with a file that does not exist when the new_resource does not specify any state the current_resource permissions should be nil should not set the new_resource permissions when the new_resource explicitly specifies resource state the current_resource permissions should be nil should not set the new_resource permissions when loading the new_resource after the run new_resource should record the new permission information when reporting security metadata on windows records the file owner (PENDING: No reason given) records rights for each user in the ACL (PENDING: No reason given) records deny_rights for each user in the ACL (PENDING: No reason given) define_resource_requirements when the enclosing directory does not exist action create raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action create_if_missing raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action touch raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode when the file exists but is not deletable action delete raises InsufficientPermissions action delete also raises InsufficientPermissions in why-run mode action create should create the file, update its contents and then set the acls on the file do_validate_content with user-supplied verifications calls #verify on each verification with tempfile path raises an exception if any verification fails does not show verification for sensitive resources do_create_file when the file exists should not create the file when the file does not exist should create the file do_contents_changes does nothing when there is no content to deploy (tempfile returned from contents is nil) raises an exception when the content object returns a tempfile with a nil path raises an exception when the content object returns a tempfile that does not exist when there is content to deploy does nothing when the contents have not changed when the contents have changed when the file was created does not backup the file does not produce a diff for reporting renders the final checksum correctly for reporting when the file was not created backs up the file produces a diff for reporting renders the final checksum correctly for reporting do_acl_changes needs tests (PENDING: No reason given) do_selinux when resource is updated should check for selinux_enabled? by default when selinux fixup is enabled in the config when selinux is enabled on the system restores security context on the file restores security context recursively when told so when selinux is disabled on the system should not restore security context when selinux fixup is disabled in the config should not check for selinux_enabled? when resource is not updated should not check for selinux_enabled? in why run mode does not modify new_resource action delete when the file exists when the file is writable when the file is not a symlink should backup and delete the file and be updated by the last action when the file is a symlink should not backup the symlink when the file is not writable should not try to backup or delete the file, and should not be updated by last action when the file does not exist should not try to backup or delete the file, and should not be updated by last action action touch when the file does not exist should update the atime/mtime on action_touch when the file exists should update the atime/mtime on action_touch action create_if_missing when the file does not exist should call action_create when the file exists should not call action_create behaves like a file provider with source field when testing managing_content? should be false when creating a file without content should be true when creating a file with content should be true when checksum is set on the content (no matter how crazy) should be false when action is create_if_missing Chef::Provider::Cron::Unix is a Chef::Provider:Cron read_crontab should call crontab -l with the user should return the contents of the crontab when the user has no crontab should return nil if the user has no crontab logs the crontab output to debug when any other error occurs should raise an exception if another error occurs logs the crontab output to debug write_crontab should call crontab for the user should call crontab with a file containing the crontab when writing the crontab fails should raise an exception if the command returns non-zero Chef::Provider::Cron when with special time string with a matching entry in the user's crontab should set cron_exists should pull the details out of the cron line should pull env vars out should parse and load generic and standard environment variables from cron entry should not break with variables that match the cron resource internals should report the match action_create when there is no existing crontab should create a crontab with the entry when examining the current system state with no crontab for the user should set cron_empty should report an empty crontab with no matching entry in the user's crontab should not set cron_exists or cron_empty should report no entry found should not fail if there's an existing cron with a numerical argument with a matching entry in the user's crontab should set cron_exists should pull the details out of the cron line should pull env vars out should parse and load generic and standard environment variables from cron entry should not break with variabels that match the cron resource internals should report the match with a matching entry in the user's crontab using month names and weekday names (#CHEF-3178) should set cron_exists should pull the details out of the cron line should report the match with a matching entry without a crontab line should set cron_exists and leave current_resource values at defaults should not pick up a commented out crontab line should not pick up a later crontab entry cron_different? should return true if minute doesn't match should return true if hour doesn't match should return true if day doesn't match should return true if month doesn't match should return true if weekday doesn't match should return true if command doesn't match should return true if mailto doesn't match should return true if path doesn't match should return true if shell doesn't match should return true if home doesn't match should return true if special time string doesn't match should return true if environment doesn't match should return true if mailto doesn't match should return false if the objects are identical action_create when there is no existing crontab should create a crontab with the entry should include env variables that are set should mark the resource as updated should log the action when there is a crontab with no matching section should add the entry to the crontab should include env variables that are set should mark the resource as updated should log the action when there is a crontab with a matching but different section should update the crontab entry should include env variables that are set should mark the resource as updated should log the action when there is a crontab with a matching section with no crontab line in it should add the crontab to the entry should not blat any following entries should handle env vars with no crontab when there is a crontab with a matching and identical section should not update the crontab should not mark the resource as updated should log nothing changed action_delete when the user's crontab has no matching section should do nothing should not mark the resource as updated when the user has a crontab with a matching section should remove the entry should remove any env vars with the entry should mark the resource as updated should log the action when the crontab has a matching section with no crontab line should remove the section should not blat following sections should remove any envvars with the section read_crontab should call crontab -l with the user should return the contents of the crontab should return nil if the user has no crontab should raise an exception if another error occurs write_crontab should call crontab for the user should raise an exception if the command returns non-zero weekday_in_crontab when weekday is symbol should return weekday in crontab format should raise an error with an unknown weekday when weekday is a number in a string should return the string should raise an error with an out of range number when weekday is string with the name of the week should return the string when weekday is an integer should return the integer should raise an error with an out of range integer Chef::Provider::Deploy::Revision uses the resolved revision from the SCM as the release slug deploys to a dir named after the revision stores the release dir in the file cache in the cleanup step removes a release from the file cache when it's used again in another release and append it to the end removes a release from the file cache when it's deleted by :cleanup! regenerates the file cache if it's not available Chef::Provider::Deploy::Timestamped gives a timestamp for release_slug Chef::Provider::Deploy loads scm resource supports :deploy and :rollback actions does not create deploy_to dir if it exists ensures the deploy_to dir ownership after the verfication that it exists updates and copies the repo, then does a migrate, symlink, restart, restart, cleanup on deploy should not deploy if there is already a deploy at release_path, and it is the current release should call action_rollback if there is already a deploy of this revision at release_path, and it is not the current release calls deploy when deploying a new release runs action svn_force_export when new_resource.svn_force_export is true Removes the old release before deploying when force deploying over it deploys as normal when force deploying and there's no prior release at the same path dont care by default if error happens on deploy rollbacks to previous release if error happens on deploy raises a runtime error when there's no release to rollback to runs the new resource collection in the runner during a callback loads callback files from the release/ dir if the file exists raises a runtime error if a callback file is explicitly specified but does not exist runs a default callback if the callback code is nil skips an eval callback if the file doesn't exist evaluates a callback file before the corresponding step gets a SCM provider as specified by its resource syncs the cached copy of the repo makes a copy of the cached repo in releases dir calls the internal callback :release_created when cleaning up the releases chowns the whole release dir to user and group specified in the resource skips the migration when resource.migrate => false but runs symlinks before migration links the database.yml and runs resource.migration_command when resource.migrate #=> true purges the current release's /log /tmp/pids/ and /public/system directories symlinks temporary files and logs from the shared dir into the current release symlinks the current release dir into production does nothing for restart if restart_command is empty runs the restart command in the current application dir when the resource has a restart_command lists all available releases removes all but the 5 newest releases removes all but a certain number of releases when the resource has a keep_releases fires a callback for :release_deleted when deleting an old release puts resource.to_hash in @configuration for backwards compat with capistano-esque deploy hooks sets @configuration[:environment] to the value of RAILS_ENV for backwards compat reasons shouldn't give a no method error on migrate if the environment is nil when the deploy resource has a timeout attribute relays the timeout to the scm resource when the deploy resource has no timeout attribute should not set a timeout on the scm resource when the deploy_to dir does not exist yet creates deploy_to dir on systems without broken Dir.glob results sets the release path to the penultimate release when one is not specified, symlinks, and rm's the last release on rollback sets the release path to the specified release, symlinks, and rm's any newer releases on rollback sets the release path to the penultimate release, symlinks, and rm's the last release on rollback if there are no releases to fallback to an exception is raised when there is only 1 release an exception is raised when there are no releases CHEF-628: on systems with broken Dir.glob results sets the release path to the penultimate release, symlinks, and rm's the last release on rollback with a customized app layout purges the purge_before_symlink directories symlinks files from the shared directory to the current release directory using inline recipes for callbacks runs an inline recipe with the provided block for :callback_name == {:recipe => &block} loads a recipe file from the specified path and from_file evals it instance_evals a block/proc for restart command API bridge to capistrano defines sudo as a forwarder to execute defines run as a forwarder to execute, setting the user, group, cwd and environment to new_resource.user defines run as a forwarder to execute, setting cwd and environment but not override converts sudo and run to exec resources in hooks installing gems from a gems.yml reads a gems.yml file, creating gem providers for each with action :upgrade takes a list of gem providers converges them Chef::Provider::Directory #load_current_resource on unix when the directory exists describes the access mode as a String of octal integers when the new_resource.owner is numeric, describes the owner as a numeric uid when the new_resource.group is numeric, describes the group as a numeric gid when the new_resource.owner is a string, describes the owner as a string when the new_resource.group is a string, describes the group as a string when the directory does not exist sets the mode, group and owner to nil #define_resource_requirements on unix raises an exception if the user does not exist raises an exception if the group does not exist #run_action(:create) when the directory exists does not create the directory should not set the resource as updated in why run mode does not modify new_resource when the directory does not exist creates the directory sets the new resource as updated when the parent directory does not exist raises an exception when recursive is false creates the directories when recursive is true raises an exception when the parent directory is a file and recursive is true on OS X os x 10.10 can write to sip locations os x 10.11 cannot write to sip locations os x 10.11 can write to sip exlcusions #run_action(:delete) when the directory exists deletes the directory sets the new resource as updated does not use rm_rf which silently consumes errors when the directory does not exist does not delete the directory sets the new resource as updated when the directory is not writable cannot delete it and raises an exception when the target directory is a file cannot delete it and raises an exception Chef::Provider::DscResource when Powershell does not support Invoke-DscResource raises a ProviderNotFound exception when Powershell supports Invoke-DscResource when RefreshMode is not set to Disabled and the WMF 5 is a preview release raises an exception and the WMF is 5 RTM or newer does not raises an exception when the LCM supports Invoke-DscResource does not update the resource if it is up to date converges the resource if it is not up to date flags the resource as reboot required when required does not flag the resource as reboot required when not required resource name cannot be found raises ResourceNotFound resource name is found no module name for resource found returns the default dsc resource module a module name for resource is found returns the default dsc resource module multiple resource are found raises MultipleDscResourcesFound define_resource_requirements module usage is valid action run does not raise the exception module usage is invalid action run raises the exception module_usage_valid? module_name and module_version both are not provided returns true module_name and module_version both are provided returns true module_name is given but module_version is not given returns true module_name is not given but module_version is given returns false module_info_object module_version is not given returns only name of the module module_version is given returns the module info object invoke_resource when module_version is not given invokes Invoke-DscResource command with module name when module_version is given invokes Invoke-DscResource command with module info object Chef::Provider::DscScript when DSC is available #load_current_resource describes the resource as converged if there were 0 DSC resources describes the resource as not converged if there is 1 DSC resources that is converged describes the resource as not converged if there is 1 DSC resources that is not converged describes the resource as not converged if there are any DSC resources that are not converged describes the resource as converged if all DSC resources that are converged #generate_configuration_document uses configuration_document_from_script_path when a dsc script file is given uses configuration_document_from_script_code when a the dsc resource is given should noop if neither code or command are provided action_run should converge the script if it is not converged should not converge if the script is already converged #generate_description removes the resource name from the beginning of any log line from the LCM ignores the last line reports a dsc resource has not been changed if the LCM reported no change was required when Dsc is not available action_run raises an exception for powershell version '1.0' raises an exception for powershell version '2.0' raises an exception for powershell version '3.0' raises an exception if Powershell is not present Chef::Provider::Env assumes the key_name exists by default when loading the current status should create a current resource with the same name as the new resource should set the key_name to the key name of the new resource should check if the key_name exists should flip the value of exists if the key does not exist should return the current resource action_create should call create_env if the key does not exist should set the new_resources updated flag when it creates the key should check to see if the values are the same if the key exists should call modify_env if the key exists and values are not equal should set the new_resources updated flag when it updates an existing value action_delete should not call delete_env if the key does not exist should not call delete_element if the key does not exist should call delete_env if the key exists should set the new_resources updated flag to true if the key is deleted action_modify should call modify_group if the key exists and values are not equal should set the new resources updated flag to true if modify_env is called should not call modify_env if the key exists but the values are equal should raise a Chef::Exceptions::Env if the key doesn't exist delete_element should return true if the element is not found should return false if the delim not defined should return true if the element is deleted when new_resource's value contains the delimiter should return false if all the elements are deleted should return true if any, but not all, of the elements are deleted should return true if none of the elements are deleted requires_modify_or_create? should return false if the values are equal should return true if the values not are equal should return false if the current value contains the element should return true if the current value does not contain the element when new_resource's value contains the delimiter should return false if all the current values are contained in specified order should return true if any of the new values are not contained should return true if values are contained in different order modify_env should not modify the variable passed to the resource should only add values not already contained should reorder values to keep order which asked Chef::Provider::ErlCall should return a Chef::Provider::ErlCall object should return true when running a distributed erl call resource should write to stdin of the erl_call command when running a local erl call resource should write to stdin of the erl_call command Chef::Provider::Execute #initialize should return a Chef::Provider::Execute provider #load_current_resource should return the current resource our timeout should default to 3600 #action_run runs shell_out with the default options does not use shell_out in such a way as to insert extra environment variables if you pass a command attribute, it runs the command should honor sensitive attribute should do nothing if the sentinel file exists should respect cwd options for 'creates' should not include stdout/stderr in failure exception for sensitive resource when the user specifies a relative path without cwd should raise if user specified relative path without cwd for Chef-13 streaming output should not set the live_stream if sensitive is on with an output formatter listening should set the live_stream if the log level is info or above should set the live_stream if the resource requests live streaming should not set the live_stream if the resource is sensitive with only logging enabled should set the live_stream to STDOUT if we are a TTY, not daemonized, not sensitive, and info is enabled should not set the live_stream to STDOUT if we are a TTY, not daemonized, but sensitive should not set the live_stream to STDOUT if we are a TTY, but daemonized Chef::Provider::File behaves like Chef::Provider::File should return a Chef::Provider::File should store the resource passed to new as new_resource should store the node passed to new as node when loading the current resource when running load_current_resource should not try to load the content when the file is present should not try to load the content when the file is missing when running load_current_resource and the file exists should load a current resource based on the one specified at construction the loaded current_resource name should be the same as the resource name the loaded current_resource path should be the same as the resoure path the loaded current_resource content should be nil it should call checksum if we are managing content it should not call checksum if we are not managing content when running load_current_resource and the file does not exist the current_resource should be a Chef::Resource::File the current_resource name should be the same as the resource name the current_resource path should be the same as the resource path the loaded current_resource content should be nil it should not call checksum if we are not managing content examining file security metadata on Unix with a file that exists when the new_resource does not specify any state should load the permissions into the current_resource should not set the new_resource permissions when the new_resource explicitly specifies resource state as numbers should load the permissions into the current_resource as numbers should not set the new_resource permissions when the new_resource explicitly specifies resource state as symbols should load the permissions into the current_resource as symbols should not set the new_resource permissions examining file security metadata on Unix with a file that does not exist when the new_resource does not specify any state the current_resource permissions should be nil should not set the new_resource permissions when the new_resource explicitly specifies resource state the current_resource permissions should be nil should not set the new_resource permissions when loading the new_resource after the run new_resource should record the new permission information when reporting security metadata on windows records the file owner (PENDING: No reason given) records rights for each user in the ACL (PENDING: No reason given) records deny_rights for each user in the ACL (PENDING: No reason given) define_resource_requirements when the enclosing directory does not exist action create raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action create_if_missing raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action touch raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode when the file exists but is not deletable action delete raises InsufficientPermissions action delete also raises InsufficientPermissions in why-run mode action create should create the file, update its contents and then set the acls on the file do_validate_content with user-supplied verifications calls #verify on each verification with tempfile path raises an exception if any verification fails does not show verification for sensitive resources do_create_file when the file exists should not create the file when the file does not exist should create the file do_contents_changes does nothing when there is no content to deploy (tempfile returned from contents is nil) raises an exception when the content object returns a tempfile with a nil path raises an exception when the content object returns a tempfile that does not exist when there is content to deploy does nothing when the contents have not changed when the contents have changed when the file was created does not backup the file does not produce a diff for reporting renders the final checksum correctly for reporting when the file was not created backs up the file produces a diff for reporting renders the final checksum correctly for reporting do_acl_changes needs tests (PENDING: No reason given) do_selinux when resource is updated should check for selinux_enabled? by default when selinux fixup is enabled in the config when selinux is enabled on the system restores security context on the file restores security context recursively when told so when selinux is disabled on the system should not restore security context when selinux fixup is disabled in the config should not check for selinux_enabled? when resource is not updated should not check for selinux_enabled? in why run mode does not modify new_resource action delete when the file exists when the file is writable when the file is not a symlink should backup and delete the file and be updated by the last action when the file is a symlink should not backup the symlink when the file is not writable should not try to backup or delete the file, and should not be updated by last action when the file does not exist should not try to backup or delete the file, and should not be updated by last action action touch when the file does not exist should update the atime/mtime on action_touch when the file exists should update the atime/mtime on action_touch action create_if_missing when the file does not exist should call action_create when the file exists should not call action_create behaves like a file provider with content field when testing managing_content? should be false when creating a file without content should be true when creating a file with content should be true when checksum is set on the content (no matter how crazy) should be false when action is create_if_missing Chef::Provider::Group::Dscl should run shell_out with the supplied array of arguments appended to the dscl command should return an array of four elements - cmd, status, stdout, stderr safe_dscl should run dscl with the supplied cmd /Path args with the dscl command returning a non zero exit status for a delete should return an empty string of standard output for a delete should raise an exception for any other command with the dscl command returning no such key should raise an exception with the dscl command returning a zero exit status should return the third array element, the string of standard output get_free_gid should run safe_dscl with list /Groups gid should return the first unused gid number on or above 200 should raise an exception when the search limit is exhausted gid_used? should run safe_dscl with search /Groups gid should return true for a used gid number should return false for an unused gid number should return false if not given any valid gid number set_gid with the new resource and a gid number which is already in use should raise an exception if the new resources gid is already in use with no gid number for the new resources should run get_free_gid and return a valid, unused gid number with blank gid number for the new resources should run get_free_gid and return a valid, unused gid number with a valid gid number which is not already in use should run safe_dscl with create /Groups/group PrimaryGroupID gid set_members with existing members in the current resource and append set to false in the new resource should log an appropriate message should run safe_dscl with create /Groups/group GroupMembership to clear the Group's UID list with supplied members in the new resource should log an appropriate debug message should run safe_dscl with append /Groups/group GroupMembership and group members all, your, base with no members in the new resource should not call safe_dscl when loading the current system state raises an error if the required binary /usr/bin/dscl doesn't exist doesn't raise an error if /usr/bin/dscl exists when creating the group creates the group, password field, gid, and sets group membership managing the group should manage the group_name if it changed and the new resources group_name is not null should manage the gid if it changed and the new resources gid is not null should manage the members if it changed and the new resources members is not null remove_group should run safe_dscl with delete /Groups/group and with the new resources group name Test DSCL loading should parse gid properly should parse members properly Chef::Provider::Group::Gpasswd modify_group_members when determining the current group state should raise an error if the required binary /usr/bin/gpasswd doesn't exist shouldn't raise an error if the required binaries exist after the group's current state is known when no group members are specified and append is not set logs a message and sets group's members to 'none' when no group members are specified and append is set does not modify group membership when the resource specifies group members should log an appropriate debug message should run gpasswd with the members joined by ',' followed by the target group when no user exists in the system should run gpasswd individually for each user when the append option is set Chef::Provider::Group::Groupadd should raise an error when calling add_member should raise an error when calling remove_member should raise an error when calling set_members #set_options should check for differences in gid between the current and new resources should set the option for gid if the new resources gid is not null should combine all the possible options when we want to create a system group should not set groupadd_options '-r' when system is false should set groupadd -r if system is true on Solaris should not set groupadd -r if system is true when we want to create a non_unique gid group should not set groupadd_options '-o' when non_unique is false should set groupadd -o if non_unique is true #create_group should run groupadd with the return of set_options should modify the group members #manage_group should run groupmod with the return of set_options should modify the group members #remove_group should run groupdel with the new resources group name #load_current_resource should raise an error if the required binary /usr/sbin/groupadd doesn't exist should raise an error if the required binary /usr/sbin/groupmod doesn't exist should raise an error if the required binary /usr/sbin/groupdel doesn't exist Chef::Provider::Group::Groupmod manage_group when determining the current group state should raise an error if the required binary /usr/sbin/group doesn't exist should raise an error if the required binary /usr/sbin/user doesn't exist shouldn't raise an error if the required binaries exist after the group's current state is known when no group members are specified and append is not set logs a message and sets group's members to 'none', then removes existing group members when no group members are specified and append is set logs a message and does not modify group membership when removing some group members updates group membership correctly create_group when creating a new group should run a group add command and some user mod commands remove_group when removing an existing group should run a group del command Chef::Provider::Group::Pw when setting options for the pw command does not set the gid option if gids match or are unmanaged sets the option for gid if it is not nil when creating a group should run pw groupadd with the return of set_options and set_members_option when managing the group should run pw groupmod with the return of set_options when removing the group should run pw groupdel with the new resources group name when setting group membership with an empty members array in both the new and current resource should set no options with an empty members array in the new resource and existing members in the current resource should log an appropriate message should set the -d option with the members joined by ',' with supplied members array in the new resource and an empty members array in the current resource should log an appropriate debug message should set the -m option with the members joined by ',' load_current_resource should raise an error if the required binary /usr/sbin/pw doesn't exist shouldn't raise an error if /usr/sbin/pw exists Chef::Provider::Group::Suse when determining the current group state should raise an error if the required binary /usr/sbin/groupmod doesn't exist should raise error if one of the member users does not exist #set_members should add missing members and remove deleted members #add_member should call out to groupmod to add user #remove_member should call out to groupmod to remove user Chef::Provider::Group::Usermod modify_group_members with an empty members array should log an appropriate message with supplied members should raise an error when setting the entire group directly should raise an error when excluded_members are set should usermod each user when the append option is set on openbsd should usermod each user when the append option is set on netbsd should usermod each user when the append option is set on solaris should usermod each user when the append option is set on suse should usermod each user when the append option is set on opensuse should usermod each user when the append option is set on smartos should usermod each user when the append option is set on omnios when loading the current resource should raise an error if the required binary /usr/sbin/usermod doesn't exist shouldn't raise an error if the required binaries exist Chef::Provider::Group::Windows when creating the group should call @net_group.local_add manage_group should call @net_group.local_set_members should call @net_group.local_add_members should call @net_group.local_delete_members remove_group should call @net_group.local_delete Chef::Provider::Group::Windows NetGroup sets group_name correctly Chef::Provider::User assumes the group exists by default when establishing the current state of the group sets the group name of the current resource to the group name of the new resource does not modify the desired gid if set sets the desired gid to the current gid if none is set looks up the group in /etc/group with getgrnam should flip the value of exists if it cannot be found in /etc/group should return the current resource when determining if the system is already in the target state should return true if gid doesn't match should return true if members doesn't match should return false if gid and members are equal should coerce an integer to a string for comparison should return false if append is true and the group member(s) already exists should return true if append is true and the group member(s) do not already exist should return false if append is true and excluded_members include a non existing member should return true if the append is true and excluded_members include an existing user when creating a group should call create_group if the group does not exist should set the new_resources updated flag when it creates the group should check to see if the group has mismatched attributes if the group exists should call manage_group if the group exists and has mismatched attributes should set the new_resources updated flag when it creates the group if we call manage_group when removing a group should not call remove_group if the group does not exist should call remove_group if the group exists when updating a group should run manage_group if the group exists and has mismatched attributes should set the new resources updated flag to true if manage_group is called should not run manage_group if the group does not exist should not run manage_group if the group exists but has no differing attributes when modifying the group should run manage_group if the group exists and has mismatched attributes should set the new resources updated flag to true if manage_group is called should not run manage_group if the group exists but has no differing attributes should raise a Chef::Exceptions::Group if the group doesn't exist when determining the reason for a change should report which group members are missing if members are missing and appending to the group should report that the group members will be overwritten if not appending should report the gid will be changed when it does not match should report no change reason when no change is required Chef::Provider::HttpRequest load_current_resource should set up a Chef::ServerAPI client, with no authentication when making REST calls action_get should inflate a message block at runtime should run a GET request action_put should run a PUT request with the message as the payload should inflate a message block at runtime action_post should run a PUT request with the message as the payload should inflate a message block at runtime action_delete should run a DELETE request action_head should inflate a message block at runtime should run a HEAD request should update a HEAD request with empty string response body (CHEF-4762) should update a HEAD request with nil response body (CHEF-4762) should not update a HEAD request if a not modified response (CHEF-4762) should run a HEAD request with If-Modified-Since header doesn't call converge_by if HEAD does not return modified Chef::Provider::Ifconfig::Aix #load_current_resource should load given interface with attributes. #action_add should add an interface if it does not exist should raise exception if metric attribute is set #action_enable should enable an interface if it does not exist #action_disable should not disable an interface if it does not exist interface exists should disable an interface if it exists #action_delete should not delete an interface if it does not exist interface exists should delete an interface if it exists Chef::Provider::Ifconfig::Redhat generate_config for action_add should write network-script for centos delete_config for action_delete should delete network-script if it exists for centos Chef::Provider::Ifconfig Chef::Provider::Ifconfig load_current_resource should track state of ifconfig failure should thrown an exception when ifconfig fails Chef::Provider::Ifconfig action_add should add an interface if it does not exist should set the address to target if specified should not add an interface if it already exists Chef::Provider::Ifconfig action_enable should enable interface if it does not exist should set the address to target if specified should not enable interface if it already exists Chef::Provider::Ifconfig action_delete should delete interface if it exists should not delete interface if it does not exist Chef::Provider::Ifconfig action_disable should disable interface if it exists should not delete interface if it does not exist Chef::Provider::Ifconfig action_delete should delete interface of it exists should not delete interface if it does not exist Chef::Provider::Launchd When launchd manages call.mom.weekly resource name and label should be call.mom.weekly with type is set to agent path should be /Library/LaunchAgents/call.mom.weekly.plist daemon path should be /Library/LaunchDaemons/call.mom.weekly.plist with a :create action and program is passed /usr/lib/ruby/vendor_ruby/plist/generator.rb:97: warning: constant ::Fixnum is deprecated /usr/lib/ruby/vendor_ruby/plist/generator.rb:162: warning: constant ::Fixnum is deprecated should produce the test_plist from properties start_calendar_interval is passed /usr/lib/ruby/vendor_ruby/plist/generator.rb:97: warning: constant ::Fixnum is deprecated /usr/lib/ruby/vendor_ruby/plist/generator.rb:162: warning: constant ::Fixnum is deprecated should allow array of Hashes /usr/lib/ruby/vendor_ruby/plist/generator.rb:97: warning: constant ::Fixnum is deprecated /usr/lib/ruby/vendor_ruby/plist/generator.rb:162: warning: constant ::Fixnum is deprecated should allow all StartCalendarInterval keys should not allow invalid ShowCalendarInterval keys should not allow non-integer values hash is passed /usr/lib/ruby/vendor_ruby/plist/generator.rb:97: warning: constant ::Fixnum is deprecated /usr/lib/ruby/vendor_ruby/plist/generator.rb:162: warning: constant ::Fixnum is deprecated should produce the test_plist content from the plist_hash property with an :enable action and the file has been updated should call manage_service with a :restart action works with action enable and the file has not been updated should call manage_service with a :enable action works with action enable with an :delete action and the ld file is present should call manage_service with a :disable action works with action :delete and the ld file is not present works with action :delete Chef::Resource::Link when the target is a symlink to a file that exists should set the symlink target should set the link type should update the source of the existing link with the links target should set the owner should set the group when the desired state is identical create does no work to a file that doesn't exist should set the symlink target should set the link type should update the source of the existing link to the link's target should not set the owner should not set the group when the target doesn't exist should set the symlink target should update the source of the existing link to nil should not set the owner should not set the group when the target is a regular old file and the source does not exist should set the symlink target should update the current source of the existing link with an empty string should not set the owner should not set the group and the source exists should set the symlink target should update the current source of the existing link with an empty string should not set the owner should not set the group and is hardlinked to the source should set the symlink target should set the link type should update the source of the existing link to the link's target should not set the owner should not set the group when the desired state is identical create does no work action_delete on Windows platform soft links to directories invokes Dir.delete method to delete the link to files invokes File.delete method to delete the link hard links to directories invokes Dir.delete method to delete the link to files invokes File.delete method to delete the link on Linux platform soft links to directories invokes File.delete method to delete the link to files invokes File.delete method to delete the link hard links to directories invokes File.delete method to delete the link to files invokes File.delete method to delete the link Chef::Provider::Log::ChefLog should write the string to the Chef::Log object at default level (info) should write the string to the Chef::Log object at debug level should write the string to the Chef::Log object at info level should write the string to the Chef::Log object at warn level should write the string to the Chef::Log object at error level should write the string to the Chef::Log object at fatal level should print the string in why-run mode when count_log_resource_updates is passed in knife.rb updates the resource count if count_log_resource_updates=true doesn't update the resource count if count_log_resource_updates=false Chef::Provider::Mdadm when determining the current metadevice status should set the current resources mount point to the new resources mount point determines that the metadevice exists when mdadm exit code is zero determines that the metadevice does not exist when mdadm exit code is 4 after the metadevice status is known when creating the metadevice should create the raid device if it doesnt exist should specify a bitmap only if set should specify a layout only if set should not specify a chunksize if raid level 1 should not create the raid device if it does exist when asembling the metadevice should assemble the raid device if it doesnt exist should not assemble the raid device if it doesnt exist when stopping the metadevice should stop the raid device if it exists should not attempt to stop the raid device if it does not exist Chef::Provider::Mount::Aix should load current_resource with properties if device is already mounted and enabled when discovering the current fs state should set current_resource.mounted to true if device is already mounted should set current_resource.mounted to false if device is not mounted should set current_resource.mounted to false if the mount point is used for another device mount_options_unchanged? should return true if mounted device is the same should return false if mounted device has changed mount_fs should mount resource if it is not mounted should not mount resource if it is already mounted umount_fs should umount resource if it is already mounted should not umount resource if it is not mounted remount_fs should remount resource if it is already mounted and it supports remounting should remount with new mount options if it is already mounted and it supports remounting enable_fs should enable mount if it is mounted and not enabled should not enable mount if it is mounted and already enabled and mount options are unchanged should return false if enabled_output is given in wrong syntax disable_fs should disable mount if it is mounted and enabled should not disable mount if it is not mounted Chef::Provider::Mount::Mount when discovering the current fs state should create a current resource with the same mount point and device should accecpt device_type :uuid should raise an error if the mount device does not exist should not call mountable? with load_current_resource - CHEF-1565 should raise an error if the mount device (uuid) does not exist should raise an error if the mount point does not exist does not expect the device to exist for tmpfs does not expect the device to exist for fuse does not expect the device to exist for cgroup does not expect the device to exist for vboxsf does not expect the device to exist for zfs does not expect the device to exist if it's none should set mounted true if the mount point is found in the mounts list should set mounted false if another mount point beginning with the same path is found in the mounts list should set mounted true if the symlink target of the device is found in the mounts list should set mounted true if the symlink target of the device is relative and is found in the mounts list - CHEF-4957 should set mounted true if the mount point is found last in the mounts list should set mounted false if the mount point is not last in the mounts list mounted should be false if the mount point is not found in the mounts list should set enabled to true if the mount point is last in fstab should set enabled to true if the mount point is not last in fstab and mount_point is a substring of another mount should set enabled to true if the symlink target is in fstab should set enabled to true if the symlink target is relative and is in fstab - CHEF-4957 should set enabled to false if the mount point is not in fstab should ignore commented lines in fstab should set enabled to false if the mount point is not last in fstab should not mangle the mount options if the device in fstab is a symlink should not mangle the mount options if the symlink target is in fstab when dealing with network mounts should detect network fs_spec (nfs) should ignore trailing slash and set mounted to true for network mount (nfs) should detect network fs_spec (cifs) should ignore trailing slash and set mounted to true for network mount (cifs) after the mount's state has been discovered mount_fs should mount the filesystem if it is not mounted should mount the filesystem with options if options were passed should mount the filesystem specified by uuid should not mount the filesystem if it is mounted umount_fs should umount the filesystem if it is mounted should not umount the filesystem if it is not mounted remount_fs should use mount -o remount if remount is supported should use mount -o remount with new mount options if remount is supported should umount and mount if remount is not supported should not try to remount at all if mounted is false when enabling the fs should enable if enabled isn't true should not enable if enabled is true and resources match should enable if enabled is true and resources do not match when disabling the fs should disable if enabled is true should disable if enabled is true and ignore commented lines should disable only the last entry if enabled is true should not disable if enabled is false Chef::Provider::Mount::Solaris #define_resource_requirements run_action(:mount) should raise an error if the device does not exist run_action(:remount) should raise an error if the device does not exist run_action(:mount) should raise an error if the mountpoint does not exist run_action(:remount) should raise an error if the mountpoint does not exist when the device has a fstype of tmpfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of nfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of ctfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of proc run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of mntfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of objfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of sharefs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of fd run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of smbfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error when the device has a fstype of vxfs run_action(:mount) should not raise an error run_action(:remount) should not raise an error #load_current_resource when loading a normal UFS filesystem with mount at boot should create a current_resource of type Chef::Resource::Mount should set the name on the current_resource should set the mount_point on the current_resource should set the device on the current_resource should set the fsck_device on the current_resource should set the device_type on the current_resource should set the mounted status on the current_resource should set the enabled status on the current_resource should set the fstype field on the current_resource should set the options field on the current_resource should set the pass field on the current_resource should not throw an exception when the device does not exist - CHEF-1565 should not throw an exception when the mount point does not exist #load_current_resource when loading a normal UFS filesystem with noauto, don't mount at boot should set the options field on the current_resource when the device is an smbfs mount should work at some point in the future (PENDING: SMBFS mounts on solaris look like they will need some future code work and more investigation) when the device is an NFS mount should set the name on the current_resource should set the mount_point on the current_resource should set the device on the current_resource should set the device_type on the current_resource should set the mounted status on the current_resource should set the enabled status on the current_resource should set the fstype field on the current_resource should set the options field on the current_resource should set the pass field on the current_resource when the device is symlink should set mounted true if the symlink target of the device is found in the mounts list should set enabled true if the symlink target of the device is found in the vfstab should have the correct mount options when the device is a relative symlink should set mounted true if the symlink target of the device is found in the mounts list should set enabled true if the symlink target of the device is found in the vfstab should have the correct mount options when the matching mount point is last in the mounts list should set mounted true when the matching mount point is not last in the mounts list should set mounted false when the matching mount point is not in the mounts list (mountpoint wrong) should set mounted false when the matching mount point is not in the mounts list (raw device wrong) should set mounted false when the mount point is last in fstab should set enabled to true when the mount point is not last in fstab and is a substring of another mount should set enabled to true when the mount point is not last in fstab should set enabled to false when the mount point is not in fstab, but the mountpoint is a substring of one that is should set enabled to false when the mount point is not in fstab, but the device is a substring of one that is should set enabled to false when the mountpoint line is commented out should set enabled to false after the mount's state has been discovered mount_fs should mount the filesystem should mount the filesystem with options if options were passed should delete the 'noauto' magic option umount_fs should umount the filesystem if it is mounted remount_fs without options and do not mount at boot should use mount -o remount remount_fs with options and do not mount at boot should use mount -o remount,rw remount_fs with options and mount at boot should use mount -o remount,rw remount_fs without options and mount at boot should use mount -o remount when enabling the fs in the typical case should leave the other mountpoint alone should enable the mountpoint we care about when the mount has options=noauto should leave the other mountpoint alone should enable the mountpoint we care about when the new mount has options of noauto and the existing mount has mount at boot yes should detect a changed entry should change mount at boot to no when the new mount has options of - and the existing mount has mount at boot no should detect a changed entry should change mount at boot to yes when the new mount has options of noauto and the existing mount has mount at boot no should detect an unchanged entry should not change mount at boot when the new mount has options of - and the existing mount has mount at boot yes should detect an unchanged entry should not change mount at boot when disabling the fs in the typical case should leave the other mountpoint alone should disable the mountpoint we care about when there is a commented out line should leave the other mountpoint alone should disable the mountpoint we care about should keep the comment when there is a duplicated line should leave the other mountpoint alone should still match the duplicated mountpoint should have removed the last line Chef::Provider::Mount::Windows when loading the current resource should set mounted true if the mount point is found should set mounted false if the mount point is not found with a local device should determine the device is a volume GUID with a remote device should determine the device is remote when mounting a file system should mount the filesystem if it is not mounted should not mount the filesystem if it is mounted mount_options_unchanged? should return true if mounted device is the same should return false if mounted device has changed when unmounting a file system should umount the filesystem if it is mounted should not umount the filesystem if it is not mounted Chef::Provider::Mount should delegates the mount implementation to subclasses should delegates the umount implementation to subclasses should delegates the remount implementation to subclasses should delegates the enable implementation to subclasses should delegates the disable implementation to subclasses when the target state is a mounted filesystem should mount the filesystem if it isn't mounted when the target state is an unmounted filesystem should umount the filesystem if it is mounted should unmount the filesystem if it is mounted should not umount the filesystem if it is not mounted when the filesystem should be remounted and the resource supports remounting should remount the filesystem if it is mounted should not remount the filesystem if it is not mounted when the filesystem should be remounted and the resource does not support remounting should try a umount/remount of the filesystem should fail when it runs out of remounts when enabling the filesystem to be mounted should enable the mount if it isn't enable should enable the mount if it is enabled and mount options have changed should not enable the mount if it is enabled and mount options have not changed when the target state is to disable the mount should disable the mount if it is enabled should not disable the mount if it isn't enabled Chef::Provider::Ohai when reloading ohai applies updated ohai data to the node should reload a specific plugin and cause node to pick up new values Chef::Provider::Package::Aix assessing the current package status should create a current resource with the name of new_resource should set the current resource bff package name to the new resource bff package name should raise an exception if a source is supplied but not found should get the source package version from lslpp if provided should warn if the package is not a fileset should return the current version installed if found by lslpp should raise an exception if the source is not set but we are installing should raise an exception if installp/lslpp fails to run should return a current resource with a nil version if the package is not found should raise an exception if the source doesn't provide the requested package candidate_version should return the candidate_version variable if already setup should lookup the candidate_version if the variable is not already set should throw and exception if the exitstatus is not 0 install and upgrade should run installp -aYF -d with the package source to install should run installp -aYF -d when the package is a path to install should run installp with -eLogfile option. remove should run installp -u samba.base to remove the package should run installp -u -e/tmp/installp.log with options -e/tmp/installp.log Chef::Provider::Package::Apt when the new_resource is a Chef::Resource::Package when loading current resource should create a current resource with the name of the new_resource should set the installed version if package has one if the package does not exist in the cache sets installed + candidate version to nil should not install the virtual package there is a single provider package and it is installed should raise an exception if you specify a virtual package with multiple provider packages should run apt-cache policy with the default_release option, if there is one on the resource raises an exception if a source is specified (CHEF-5113) after loading the current resource install_package should run apt-get install with the package name and version should run apt-get install with the package name and version and options if specified should run apt-get install with the package name and version and default_release if there is one and provider is explicitly defined should run apt-get install with the package name and quotes options if specified Chef::Resource::Package upgrade_package should run install_package with the name and version Chef::Resource::Package remove_package should run apt-get remove with the package name should run apt-get remove with the package name and options if specified when purging a package should run apt-get purge with the package name should run apt-get purge with the package name and options if specified when preseeding a package should get the full path to the preseed response file should run debconf-set-selections on the preseed file if it has changed should not run debconf-set-selections if the preseed file has not changed when reconfiguring a package should run dpkg-reconfigure package when locking a package should run apt-mark hold package when unlocking a package should run apt-mark unhold package when installing a virtual package should install the package without specifying a version when removing a virtual package should remove the resolved name instead of the virtual package name when purging a virtual package should purge the resolved name instead of the virtual package name when installing multiple packages can install a virtual package followed by a non-virtual package #action_install should run dpkg to compare versions if an existing version is installed should install the package if the installed version is older should not compare versions if an existing version is not installed when the new_resource is a Chef::Resource::AptPackage when loading current resource should create a current resource with the name of the new_resource should set the installed version if package has one if the package does not exist in the cache sets installed + candidate version to nil should not install the virtual package there is a single provider package and it is installed should raise an exception if you specify a virtual package with multiple provider packages should run apt-cache policy with the default_release option, if there is one on the resource raises an exception if a source is specified (CHEF-5113) after loading the current resource install_package should run apt-get install with the package name and version should run apt-get install with the package name and version and options if specified should run apt-get install with the package name and version and default_release if there is one and provider is explicitly defined should run apt-get install with the package name and quotes options if specified Chef::Resource::AptPackage upgrade_package should run install_package with the name and version Chef::Resource::AptPackage remove_package should run apt-get remove with the package name should run apt-get remove with the package name and options if specified when purging a package should run apt-get purge with the package name should run apt-get purge with the package name and options if specified when preseeding a package should get the full path to the preseed response file should run debconf-set-selections on the preseed file if it has changed should not run debconf-set-selections if the preseed file has not changed when reconfiguring a package should run dpkg-reconfigure package when locking a package should run apt-mark hold package when unlocking a package should run apt-mark unhold package when installing a virtual package should install the package without specifying a version when removing a virtual package should remove the resolved name instead of the virtual package name when purging a virtual package should purge the resolved name instead of the virtual package name when installing multiple packages can install a virtual package followed by a non-virtual package #action_install should run dpkg to compare versions if an existing version is installed should install the package if the installed version is older should not compare versions if an existing version is not installed Chef::Provider::Package::Cab #load_current_resource returns a current_resource sets the current_resource.version to nil when the package is not installed sets the new resource package version #source_resource sets the desired parameters of downloades cab file #default_download_cache_path returns a clean cache path where the cab file is downloaded #cab_file_source when local file path is set returns local cab file source path when url is set calls download_source_file method #initialize returns the correct class #package_version returns the new package version #installed_version returns the current installed version of package #action_remove does nothing when the package is already removed removes packages if package is installed #action_install installs package if already not installed does not install package if already installed Invalid package source raises error for invalid source path or file Chef::Provider::Package::Chocolatey #initialize should return the correct class should support arrays #candidate_version should set the candidate_version to the latest version when not pinning should set the candidate_version to pinned version if available should set the candidate_version to nil if there is no candidate should set the candidate_version correctly when there are two packages to install should set the candidate_version correctly when only the first is installable should set the candidate_version correctly when only the last is installable should set the candidate_version correctly when neither are is installable #load_current_resource should return a current_resource should set the current_resource#package_name should load and downcase names in the installed_packages hash should load and downcase names in the available_packages hash should set the current_resource.version to nil when the package is not installed should set the current_resource.version to the installed version when the package is installed should set the current_resource.version when there are two packages that are installed should set the current_resource.version correctly when only the first is installed should set the current_resource.version correctly when only the last is installed should set the current_resource.version correctly when none are installed #action_install should install a single package should not install packages that are up-to-date should not upgrade packages should upgrade packages when given a version pin should handle complicated cases when the name/version array is pruned should be case-insensitive should split up commands when given two packages, one with a version pin should do multipackage installs when given two packages without constraints should pass options into the install command installing a package that does not exist throws an error installing multiple packages with a package that does not exist throws an error when changing the timeout to 3600 sets the timeout on shell_out commands when passing a source argument should pass options into the install command alternate source installing a package that does not exist throws an error #action_upgrade should install a package that is not installed should upgrade a package that is installed but upgradable should be case insensitive should not install a package that is up-to-date version pins work as well upgrading multiple packages uses a single command upgrading a package that does not exist throws an error upgrading multiple packages with a package that does not exist throws an error alternate source installing a package that does not exist throws an error #action_remove does nothing when the package is already removed does nothing when all the packages are already removed removes a package is case-insensitive removes a single package when its the only one installed (PENDING: this is a bug in the superclass) #action_uninstall should call :remove with a deprecation warning behavior when Chocolatey is not installed #choco_exe triggers a MissingLibrary exception when Chocolatey is not installed #load_current_resource triggers a MissingLibrary exception when Chocolatey is not installed Chef::Provider::Package::Dnf::PythonHelper propagates stacktraces on stderr from the forked subprocess Chef::Provider::Package::Dpkg #define_resource_requirements should raise an exception if a source is supplied but not found when :install should raise an exception if a source is supplied but not found when :upgrade should not raise an exception if a source is supplied but not found when :remove should not raise an exception if a source is supplied but not found when :purge when source is nil should raise an exception if a source is nil when :install should raise an exception if a source is nil when :upgrade should not raise an exception if a source is nil when :remove should not raise an exception if a source is nil when :purge when loading the current resource state should create a current resource with the name of the new_resource should return the current version installed if found by dpkg on new debian/ubuntu we get an exit(1) and no stdout from dpkg -s for uninstalled on old debian/ubuntu we get an exit(0) and we get info on stdout from dpkg -s for uninstalled and we should raise if we get any other exit codes from dpkg -s should raise an exception if dpkg-deb -W fails to run gets the source package version from dpkg-deb if short version provided if extended version provided if distro-specific version provided returns the version if an epoch is used when the package name has `-', `+' or `.' characters gets the source package name from dpkg-deb correctly when the package version has `~', `-', `+' or `.' characters gets the source package version from dpkg-deb correctly when the package version has `~', `-', `+' or `.' characters when the source is not set should raise an exception if the source is not set but we are installing Chef::Provider::Package::Dpkg install and upgrade should run dpkg -i with the package source should run dpkg -i if the package is a path and the source is nil should run dpkg -i if the package is a path and the source is nil for an upgrade should run dpkg -i with the package source and options if specified should upgrade by running install_package Chef::Provider::Package::Dpkg remove and purge should run dpkg -r to remove the package should run dpkg -r to remove the package with options if specified should run dpkg -P to purge the package should run dpkg -P to purge the package with options if specified Chef::Provider::Package::Freebsd::Pkg load_current_resource when determining the current package state should create a current resource with the name of the new_resource should return a version if the package is installed should return nil if the package is not installed should return a candidate version if it exists when querying for package state and attributes should return the version number when it is installed does not set the current version number when the package is not installed should return the port path for a valid port name should return the ports candidate version when given a valid port path should figure out the package name when we have ports Chef::Provider::Package::Freebsd::Pkg install_package should run pkg_add -r with the package name Chef::Provider::Package::Freebsd::Pkg port path should figure out the port path from the package_name using whereis should use the package_name as the port path when it starts with / should use the package_name as a relative path from /usr/ports when it contains / but doesn't start with it Chef::Provider::Package::Freebsd::Pkg ruby-iconv (package with a dash in the name) should run pkg_add -r with the package name Chef::Provider::Package::Freebsd::Pkg remove_package should run pkg_delete with the package name and version Chef::Provider::Package::Freebsd::Pkg bonnie++ (package with a plus in the name :: CHEF-4371) should return the port path for a valid port name should return the version number when it is installed Chef::Provider::Package::Freebsd::Pkg install_package latest link fixes should install the perl binary package with the correct name should install the mysql50-server binary package with the correct name Chef::Provider::Package::Freebsd::Port initialization should create a current resource with the name of the new resource loading current resource should set the package name should set the current version should set the candidate version determining current installed version should query pkg database determining candidate version should query repository should query specified repository when given option should return candidate version from file when given a file installing a binary package should handle package source from file should handle package source over ftp or http should handle a package name should handle a package name with a specified repo removing a binary package should call pkg delete should not include repo option in pkg delete Chef::Provider::Package::Freebsd::Port initialization should create a current resource with the name of the new resource loading current resource should set the package name should set the current version should set the candidate version determining current installed version should check 'pkg_info' if system uses pkg_* tools should check 'pkg info' if make supports WITH_PKGNG if freebsd version is < 1000017 should check 'pkg info' if the freebsd version is greater than or equal to 1000017 determining candidate version should return candidate version if port exists should raise exception if ports tree not found determining port directory should return name if package name is absolute path should return full ports path given package name and category should query system for path given just a name should raise exception if not found building a binary package should run make install in port directory removing a binary package should run make deinstall in port directory Chef::Provider::Package::Homebrew load_current_resource creates a current resource with the name of the new resource creates a current resource with the version if the package is installed creates a current resource with a nil version if the package is not installed sets a candidate version if one exists current_installed_version returns the latest version from brew info if the package is keg only returns the linked keg version if the package is not keg only returns nil if the package is not installed returns nil if the package is keg only and not installed brew passes a single to the brew command and return stdout takes multiple arguments as an array when new_resource is Package does not try to read homebrew_user from Package, which does not have it when testing actions install_package installs the named package with brew install does not do anything if the package is installed uses options to the brew command if specified upgrade_package uses brew upgrade to upgrade the package if it is installed does not do anything if the package version is already installed uses brew install to install the package if it is not installed uses options to the brew command if specified remove_package uninstalls the package with brew uninstall does not do anything if the package is not installed purge_package uninstalls the package with brew uninstall --force does not do anything if the package is not installed Chef::Provider::Package::Ips when loading current resource should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should run pkg info with the package name should set the installed version to nil on the current resource if package state is not installed should set the installed version if package has one should return the current resource when installing a package should run pkg install with the package name and version should run pkg install with the package name and version and options if specified raises an error if package fails to install should not include the human-readable version in the candidate_version should not upgrade the package if it is already installed when accept_license is true should run pkg install with the --accept flag when upgrading a package should run pkg install with the package name and version when uninstalling a package should run pkg uninstall with the package name and version should run pkg uninstall with the package name and version and options if specified Chef::Provider::Package::Macports load_current_resource should create a current resource with the name of the new_resource should create a current resource with the version if the package is installed should create a current resource with a nil version if the package is not installed should set a candidate version if one exists current_installed_version should return the current version if the package is installed should return nil if a package is not currently installed macports_candidate_version should return the latest available version of a given package should return nil if there is no version for a given package install_package should run the port install command with the correct version should not do anything if a package already exists with the same version should add options to the port command when specified purge_package should run the port uninstall command with the correct version should purge the currently active version if no explicit version is passed in should add options to the port command when specified remove_package should run the port deactivate command with the correct version should remove the currently active version if no explicit version is passed in should add options to the port command when specified upgrade_package should run the port upgrade command with the correct version should not run the port upgrade command if the version is already installed should call install_package if the package isn't currently installed should add options to the port command when specified Chef::Provider::Package::Openbsd install a package when not already installed when there is a single candidate when source is not provided should run the installation command when there are multiple candidates if no version is specified should raise an exception if a flavor is specified if no version is specified should run the installation command if a version is specified should use the flavor from the version delete a package should run the command to delete the installed package Chef::Provider::Package::Pacman when determining the current package state should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should run pacman query with the package name should read stdout on pacman should set the installed version to nil on the current resource if pacman installed version not exists should set the installed version if pacman has one should set the candidate version if pacman has one should use pacman.conf to determine valid repo names for package versions should raise an exception if pacman fails should not raise an exception if pacman succeeds should raise an exception if pacman does not return a candidate version should return the current resouce Chef::Provider::Package::Pacman install_package should run pacman install with the package name and version should run pacman install with the package name and version and options if specified Chef::Provider::Package::Pacman upgrade_package should run install_package with the name and version Chef::Provider::Package::Pacman remove_package should run pacman remove with the package name should run pacman remove with the package name and options if specified Chef::Provider::Package::Pacman purge_package should run remove_package with the name and version Chef::Provider::Package::Paludis when loading current resource should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should run pkg info with the package name should return new version if package is installed should return the current resource when installing a package should run pkg install with the package name and version should run pkg install with the package name and version and options if specified should not contain invalid characters for the version string should not include the human-readable version in the candidate_version when upgrading a package should run pkg install with the package name and version when uninstalling a package should run pkg uninstall with the package name and version Chef::Provider::Package::Portage load_current_resource when determining the current state of the package should create a current resource with the name of new_resource should set the current resource package name to the new resource package name should return a current resource with the correct version if the package is found should return a current resource with the correct version if the package is found with revision should return a current resource with the correct version if the package is found with version with character should return a current resource with a nil version if the package is not found should return a package name match from /var/db/pkg/* if a category isn't specified and a match is found should return a current resource with a nil version if a category isn't specified and a name match from /var/db/pkg/* is not found should throw an exception if a category isn't specified and multiple packages are found should return a current resource with a nil version if a category is specified and multiple packages are found should return a current resource with a nil version if a category is not specified and multiple packages from the same category are found once the state of the package is known Chef::Provider::Package::Portage candidate_version should return the candidate_version variable if already set should throw an exception if the exitstatus is not 0 should find the candidate_version if a category is specifed and there are no duplicates should find the candidate_version if a category is not specifed and there are no duplicates should throw an exception if a category is not specified and there are duplicates should find the candidate_version if a category is specifed and there are category duplicates Chef::Provider::Package::Portage install_package should install a normally versioned package using portage should install a tilde versioned package using portage should add options to the emerge command when specified Chef::Provider::Package::Portage remove_package should un-emerge the package with no version specified should un-emerge the package with a version specified Chef::Provider::Package::Powershell #initialize should return the correct class #candidate_version should set the candidate_version to the latest version when not pinning should set the candidate_version to the latest version when not pinning and package name is space seperated should set the candidate_version to pinned version if available should set the candidate_version to nil if there is no candidate should set the candidate_version correctly when there are two packages to install should set the candidate_version correctly when only the first is installable should set the candidate_version correctly when only the last is installable should set the candidate_version correctly when neither are is installable and version is passed as nil array should set the candidate_version correctly when neither are is installable and version is not passed #action_install should install a single package should install a single package when package name has space in between should not install packages that are up-to-date should not install packages that are up-to-date should handle complicated cases when the name/version array is pruned should split up commands when given two packages, one with a version pin should do multipackage installs when given two packages without constraints when changing the timeout to 3600 sets the timeout on shell_out commands #action_remove does nothing when the package is already removed does nothing when all the packages are already removed removes a package when version is specified removes a package when version is not specified Chef::Provider::Package::Rpm when the package source is not valid when source is not defiend should raise an exception when attempting any action when the source is a file that doesn't exist should raise an exception when attempting any action when the source is an unsupported URI scheme should raise an exception if an uri formed source is non-supported scheme when the package source is valid when rpm fails when querying package installed state raises an exception when attempting any action when the package is installed when the source is a file system path should get the source package version from rpm if provided should return the current version installed if found by rpm action install when at the desired version already does nothing when the correct version is installed when a newer version is desired runs rpm -u with the package source to upgrade when an older version is desired should run rpm -u --oldpackage with the package source to downgrade action upgrade when at the desired version already does nothing when the correct version is installed when a newer version is desired runs rpm -u with the package source to upgrade when an older version is desired should run rpm -u --oldpackage with the package source to downgrade action :remove should remove the package when the package name contains a tilde (chef#3503) should correctly determine the candidate version and installed version when the package name contains a plus symbol (chef#3671) should correctly determine the candidate version and installed version when the source is given as an URI when the source URI uses protocol scheme 'http' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'HTTP' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'https' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'HTTPS' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'ftp' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'FTP' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'file' should get the source package version from rpm if provided should return the current version installed if found by rpm when the source URI uses protocol scheme 'FILE' should get the source package version from rpm if provided should return the current version installed if found by rpm when the package is not installed should not detect the package name as version when not installed when the package name contains a tilde (chef#3503) should correctly determine the candidate version managing the package action install installs the package when custom resource options are given installs with custom options specified in the resource action upgrade installs the package when removing the package should do nothing when the resource name is the path to the package should install from a path when the package is a path and the source is nil should uprgrade from a path when the package is a path and the source is nil Chef::Provider::Package::SmartOS load_current_resource when loading current resource should create a current resource with the name of the new_resource should set the current resource package name should set the installed version if it is installed should set the installed version to nil if it's not installed candidate_version should return the candidate_version variable if already setup should lookup the candidate_version if the variable is not already set (pkgin separated by spaces) should lookup the candidate_version if the variable is not already set (pkgin separated by semicolons) when manipulating a resource run pkgin and install the package Chef::Provider::Package::Solaris assessing the current package status should create a current resource with the name of new_resource should set the current reource package name to the new resource package name should raise an exception if a source is supplied but not found should get the source package version from pkginfo if provided should return the current version installed if found by pkginfo should raise an exception if the source is not set but we are installing should raise an exception if pkginfo fails to run should return a current resource with a nil version if the package is not found candidate_version should return the candidate_version variable if already setup should lookup the candidate_version if the variable is not already set should throw and exception if the exitstatus is not 0 install and upgrade should run pkgadd -n -d with the package source to install should run pkgadd -n -d when the package is a path to install should run pkgadd -n -a /tmp/myadmin -d with the package options -a /tmp/myadmin remove should run pkgrm -n to remove the package should run pkgrm -n -a /tmp/myadmin with options -a /tmp/myadmin Chef::Provider::Package::Windows::Exe responds to shell_out! expand_options returns an empty string if passed no options returns a string with a leading space if passed options installed_version returns the installed version no versions installed returns the installed version package_version returns the version attribute if given returns nil if no version given source file does not exist returns nil remove_package no version given and one package installed with unquoted uninstall string removes installed package and quotes uninstall string When timeout value is passed removes installed package and quotes uninstall string several packages installed with quoted uninstall strings version given and installed removes given version no version given removes both versions installs nsis installer calls installer with the correct flags installs installshield installer calls installer with the correct flags installs inno installer calls installer with the correct flags installs wise installer calls installer with the correct flags Chef::Provider::Package::Windows::MSI responds to shell_out! expand_options returns an empty string if passed no options returns a string with a leading space if passed options installed_version returns the installed version returns the installed version in the registry when install file not present package_version returns the version of a package version is explicitly provided returns the given version no source or version is given returns nil install_package calls msiexec /qn /i remove_package calls msiexec /qn /x no source is provided removes installed package there are multiple installs removes both installed package custom options includes /Q does not duplicate quiet switch custom options includes /qn does not duplicate quiet switch Chef::Provider::Package::Windows::RegistryUninstallEntry when QuietUninstallString key not present returns UninstallString key value when QuietUninstallString key present returns QuietUninstallString key value Chef::Provider::Package::Yum::YumCache can find yum-dump.py Chef::Provider::Package::Yum when loading the current system state should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should set the installed version to nil on the current resource if no installed package should set the installed version if yum has one should set the candidate version if yum info has one should return the current resouce should flush the cache if :before is true should flush the cache if :before is false should detect --enablerepo or --disablerepo when passed among options, collect them preserving order and notify the yum cache should let the yum cache know extra repos are disabled if --enablerepo or --disablerepo aren't among options should let the yum cache know extra repos are disabled if options aren't set should not return an error if no version number is specified in the resource should give precedence to the version attribute when both a requirement in the resource name and a version attribute are specified should correctly detect the installed states of an array of package names and version numbers should search provides if no package is available - if no match in installed provides then load the complete set should search provides if no package is available and not load the complete set if action is :remove or :purge should search provides if no package is available - if no match in provides leave the name intact when source is provided should set the candidate version yum_binary accessor when yum-deprecated exists when yum-deprecated does not exist when the yum_binary is set on the resource when the new_resource is a vanilla package class and yum-deprecated exists when the new_resource is a vanilla package class and yum-deprecated does not exist when arch in package_name should set the arch if no existing package_name is found and new_package_name+new_arch is available should not set the arch when an existing package_name is found should not set the arch when no existing package_name or new_package_name+new_arch is found should ensure it doesn't clobber an existing arch if passed when version constraint in package_name should set package_version if no existing package_name is found and new_package_name is available when the package name isn't found should search provides then set package_name to match should search provides then set version to match if a requirement was passed in the package name should search provides then set version to match if a requirement was passed in the version should search provides and not set the version to match if a specific version was requested should search provides then set versions to match if requirements were passed in the package name as an array should search provides and not set the versions to match if specific versions were requested in an array when installing a package should run yum install with the package name and version should run yum localinstall if given a path to an rpm should run yum localinstall if given a path to an rpm as the package should run yum install with the package name, version and arch installs the package with the options given in the resource should raise an exception if the package is not available should raise an exception if candidate version is older than the installed version and allow_downgrade is false should not raise an exception if candidate version is older than the installed version and the package is list in yum's installonlypkg option should run yum downgrade if candidate version is older than the installed version and allow_downgrade is true should run yum install then flush the cache if :after is true should run yum install then not flush the cache if :after is false when upgrading a package should run yum install if the package is installed and a version is given should run yum install if the package is not installed should raise an exception if candidate version is older than the installed version should call action_upgrade in the parent if the current resource version is nil should call action_upgrade in the parent if the candidate version is nil should call action_upgrade in the parent if the candidate is newer should not call action_upgrade in the parent if the candidate is older when removing a package should run yum remove with the package name should run yum remove with the package name and arch when purging a package should run yum remove with the package name when locking a package should run yum versionlock add with the package name when unlocking a package should run yum versionlock delete with the package name when running yum should run yum once if it exits with a return code of 0 should run yum once if it exits with a return code > 0 and no scriptlet failures should run yum once if it exits with a return code of 1 and %pre scriptlet failures should run yum twice if it exits with a return code of 1 and %post scriptlet failures should pass the yum_binary to the command if its specified Chef::Provider::Package::Yum::RPMUtils version_parse parses known good epoch strings parses strange epoch strings parses known good version strings parses strange version strings parses known good version release strings parses strange version release strings rpmvercmp should validate version compare logic for standard examples should validate version compare logic for strange examples tests isalnum good input tests isalnum bad input tests isalpha good input tests isalpha bad input tests isdigit good input tests isdigit bad input Chef::Provider::Package::Yum::RPMVersion should raise an error unless passed 1 or 3 args new - with parsing should expose evr (name-version-release) available should output a version-release string new - no parsing should expose evr (name-version-release) available should output a version-release string compare should sort based on complete epoch-version-release data should sort based on partial epoch-version-release data should verify equality of complete epoch-version-release data should verify equality of partial epoch-version-release data partial compare should compare based on partial epoch-version-release data should verify equality based on partial epoch-version-release data Chef::Provider::Package::Yum::RPMPackage should raise an error unless passed 4 or 6 args new - with parsing should expose nevra (name-epoch-version-release-arch) available should always have at least one provide, itself new - no parsing should expose nevra (name-epoch-version-release-arch) available should always have at least one provide, itself <=> should sort alphabetically based on package name should sort alphabetically based on package arch Chef::Provider::Package::Yum::RPMDbPackage initialize should return a Chef::Provider::Package::Yum::RPMDbPackage object available should return true installed should return true repoid should return the source repository repoid Chef::Provider::Package::Yum::RPMDependency should raise an error unless passed 3 or 5 args new - with parsing should expose name, version, flag available new - no parsing should expose name, version, flag available parse should parse a name, flag, version string into a valid RPMDependency object should parse a name into a valid RPMDependency object should parse an invalid string into the name of a RPMDependency object should parse various valid flags should parse various invalid flags and treat them as names satisfy? should raise an error unless a RPMDependency is passed should validate dependency satisfaction logic for standard examples Chef::Provider::Package::Yum::RPMDb initialize should return a Chef::Provider::Package::Yum::RPMDb object push should accept an RPMDbPackage object through pushing should accept multiple RPMDbPackage object through pushing should only accept an RPMDbPackage object should add the package to the package db should add conditionally add the package to the available list should add conditionally add the package to the installed list should have a total of 2 packages in the RPMDb should keep the Array unique when a duplicate is pushed should register the package provides in the provides index << should accept an RPMPackage object through the << operator lookup should return an Array of RPMPackage objects by index [] should return an Array of RPMPackage objects though the [index] operator should return an Array of 3 RPMPackage objects should return an Array of RPMPackage objects sorted from newest to oldest lookup_provides should return an Array of RPMPackage objects by index clear should clear the RPMDb clear_available should clear the available list available? should return true if a package is available clear_installed should clear the installed list installed? should return true if a package is installed whatprovides should raise an error unless a RPMDependency is passed should return an Array of packages statisfying a RPMDependency Chef::Provider::Package::Yum::YumCache initialize should return a Chef::Provider::Package::Yum::YumCache object should register reload for start of Chef::Client runs python_bin should return the default python if an error occurs should return the default python if the yum-executable doesn't start with #! should return /usr/bin/python if the interpreter is /bin/bash should return the interpreter for yum refresh should implicitly call yum-dump.py only once by default after being instantiated should run yum-dump.py using the system python when next_refresh is for :all should run yum-dump.py with the installed flag when next_refresh is for :installed should run yum-dump.py with the all-provides flag when next_refresh is for :provides should pass extra_repo_control args to yum-dump.py should pass extra_repo_control args and configured yum lock timeout to yum-dump.py should warn about invalid data with too many separators should warn about invalid data with an incorrect type should warn about no output from yum-dump.py should raise exception yum-dump.py exits with a non zero status should parse type 'i' into an installed state for a package should parse type 'a' into an available state for a package should parse type 'r' into an installed and available states for a package should parse installonlypkgs from yum-dump.py options output installed_version should take one or two arguments should return version-release for matching package regardless of arch should return version-release for matching package and arch should return nil for an unmatched package available_version should take one or two arguments should return version-release for matching package regardless of arch should return version-release for matching package and arch should return nil for an unmatched package version_available? should take two or three arguments should return true if our package-version-arch is available should return true if our package-version, no arch, is available should return false if our package-version-arch isn't available should return false if our package-version, no arch, isn't available package_repository should take two or three arguments should return repoid for package-version-arch should return repoid for package-version, no arch should return nil when no match for package-version-arch should return nil when no match for package-version, no arch reset should empty the installed and available packages RPMDb package_available? should return true a package name is available should return true a package name + arch is available enable_extra_repo_control should set @extra_repo_control to arg should call reload once when set to flag cache for update disable_extra_repo_control should set @extra_repo_control to nil should call reload once when cleared to flag cache for update Chef::Provider::Package::Yum - Multi when evaluating the correctness of the resource raises an error if the array lengths of package name, arch, and version do not match up when loading the current system state should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should set the installed version to nil on the current resource if no installed package should set the installed version if yum has one should set the candidate version if yum info has one should return the current resouce when version constraint in package_name should set package_version if no existing package_name is found and new_package_name is available when installing a package should run yum install with the package name and version should not run yum install with nil package name should run yum install with the package name, version and arch installs the package with the options given in the resource should run yum install with the package name and version when name has arch Chef::Provider::Package::Zypper when loading the current package state should create a current resource with the name of the new_resource should set the current resources package name to the new resources package name should run zypper info with the package name should set the installed version to nil on the current resource if zypper info installed version is (none) should set the installed version if zypper info has one (zypper version < 1.13.0) should set the installed version if zypper info has one (zypper version >= 1.13.0) should set the candidate version if zypper info has one (zypper version < 1.13.0) should set the candidate version if zypper info has one (zypper version >= 1.13.0) should return the current resouce install_package should run zypper install with the package name and version should run zypper install with gpg checks setting the property should disable gpg checks setting the config variable should disable gpg checks setting the property should allow downgrade should add user provided options to the command upgrade_package should run zypper update with the package name and version should run zypper update without gpg checks when setting the property should run zypper update without gpg checks when setting the config variable should add user provided options to the command remove_package when package version is not explicitly specified should run zypper remove with the package name when package version is explicitly specified should run zypper remove with the package name should run zypper remove without gpg checks should run zypper remove without gpg checks when the config is false should add user provided options to the command purge_package should run remove with the name and version and --clean-deps should run zypper purge without gpg checks should run zypper purge without gpg checks when the config is false should add user provided options to the command lock_package should run zypper addlock with the package name should run zypper addlock without gpg checks should add user provided options to the command unlock_package should run zypper removelock with the package name should run zypper removelock without gpg checks should add user provided options to the command on an older zypper install_package should run zypper install with the package name and version upgrade_package should run zypper update with the package name and version remove_package should run zypper remove with the package name when installing multiple packages should install an array of package names and versions should remove an array of package names and versions Chef::Provider::Package when installing a package raises a Chef::Exceptions::InvalidResourceSpecification if both multipackage and source are provided should raise a Chef::Exceptions::Package if no version is specified, and no candidate is available should call preseed_package if a response_file is given should not call preseed_package if a response_file is not given should install the package at the candidate_version if it is not already installed should install the package at the version specified if it is not already installed should install the package at the version specified if a different version is installed should not install the package if it is already installed and no version is specified should not install the package if it is already installed at the version specified should call the candidate_version accessor only once if the package is already installed and no version is specified should call the candidate_version accessor only once if the package is already installed at the version specified should set the resource to updated if it installs the package when upgrading the package should upgrade the package if the current version is not the candidate version should set the resource to updated if it installs the package should not install the package if the current version is the candidate version should print the word 'uninstalled' if there was no original version should raise a Chef::Exceptions::Package if current version and candidate are nil should not install the package if candidate version is nil When removing the package should remove the package if it is installed should remove the package at a specific version if it is installed at that version should not remove the package at a specific version if it is not installed at that version should not remove the package if it is not installed should set the resource to updated if it removes the package When purging the package should purge the package if it is installed should purge the package at a specific version if it is installed at that version should not purge the package at a specific version if it is not installed at that version should not purge the package if it is not installed should set the resource to updated if it purges the package when reconfiguring the package should info log, reconfigure the package and update the resource should debug log and not reconfigure the package if the package is not installed should debug log and not reconfigure the package if no response_file is given should debug log and not reconfigure the package if the response_file has not changed When locking the package should lock the package if it is unlocked should not lock the package if it is already locked should set the resource to updated if it locks the package When unlocking the package should unlock the package if it is locked should not unlock the package if it is already unlocked should set the resource to updated if it unlocks the package when running commands to be implemented by subclasses should raises UnsupportedAction for install should raises UnsupportedAction for upgrade should raises UnsupportedAction for remove should raises UnsupportedAction for purge should raise UnsupportedAction for preseed_package should raise UnsupportedAction for reconfig should raise UnsupportedAction for lock should raise UnsupportedAction for unlock when given a response file creating the cookbook file resource to fetch the response file sets the preseed resource's runcontext to its own run context should set the cookbook name of the remote file to the new resources cookbook name should set remote files source to the new resources response file should never back up the cached response file sets the install path of the resource to $file_cache/$cookbook/$pkg_name-$pkg_version.seed when installing the preseed file to the cache location creates the preseed file in the cache returns the path to the response file if the response file was updated should return false if the response file has not been updated Subclass with use_multipackage_api has use_multipackage_api? methods on the class and instance when user passes string to package_name, passes arrays to install_package when user pases string to package_name and version, passes arrays to install_package when user passes string to package_name, passes arrays to upgrade_package when user pases string to package_name and version, passes arrays to upgrade_package when user passes string to package_name, passes arrays to remove_package when user passes string to package_name, passes arrays to purge_package when user passes string to package_name, passes arrays to reconfig_package #a_to_s utility for subclasses converts varargs of strings to a single string converts an array of strings to a single string converts a mishmash of array args to a single string Chef::Provider::Package - Multi when installing multiple packages installs the candidate versions when none are installed installs the candidate versions when some are installed installs the specified version when some are out of date does not install any version if all are installed at the right version does not install any version if all are installed, and no version was specified raises an exception if both are not installed and no caondidates are available raises an exception if one is not installed and no candidates are available does not raise an exception if the packages are installed or have a candidate raises an exception if an explicit version is asked for, an old version is installed, but no candidate does not raise an exception if an explicit version is asked for, and is installed, but no candidate raise an exception if an explicit version is asked for, and is not installed, and no candidate does not raise an exception if an explicit version is asked for, and is not installed, and there is a candidate when upgrading multiple packages should upgrade the package if the current versions are not the candidate version should upgrade the package if some of current versions are not the candidate versions should not install the package if the current versions are the candidate version should raise an exception if both are not installed and no caondidates are available should raise an exception if one is not installed and no candidates are available should not raise an exception if the packages are installed or have a candidate should not raise an exception if the packages are installed or have a candidate When removing multiple packages should remove the packages if all are installed should remove the packages if some are installed should remove the packages at a specific version if they are installed at that version should remove the packages at a specific version any are is installed at that version should not remove the packages at a specific version if they are not installed at that version should not remove the packages if they are not installed When purging multiple packages should purge the packages if all are installed should purge the packages if some are installed should purge the packages at a specific version if they are installed at that version should purge the packages at a specific version any are is installed at that version should not purge the packages at a specific version if they are not installed at that version should not purge the packages if they are not installed shell_out helpers shell_out_with_timeout defaults to 900 seconds shell_out_with_timeout overrides the default timeout with its options shell_out_with_timeout overrides both timeouts with the new_resource.timeout shell_out_with_timeout defaults to 900 seconds and preserves options shell_out_with_timeout overrides the default timeout with its options and preserves options shell_out_with_timeout overrides both timeouts with the new_resource.timeout and preseves options shell_out_with_timeout defaults to 900 seconds shell_out_with_timeout overrides the default timeout with its options shell_out_with_timeout overrides both timeouts with the new_resource.timeout shell_out_with_timeout defaults to 900 seconds and preserves options shell_out_with_timeout overrides the default timeout with its options and preserves options shell_out_with_timeout overrides both timeouts with the new_resource.timeout and preseves options shell_out_with_timeout! defaults to 900 seconds shell_out_with_timeout! overrides the default timeout with its options shell_out_with_timeout! overrides both timeouts with the new_resource.timeout shell_out_with_timeout! defaults to 900 seconds and preserves options shell_out_with_timeout! overrides the default timeout with its options and preserves options shell_out_with_timeout! overrides both timeouts with the new_resource.timeout and preseves options shell_out_with_timeout! defaults to 900 seconds shell_out_with_timeout! overrides the default timeout with its options shell_out_with_timeout! overrides both timeouts with the new_resource.timeout shell_out_with_timeout! defaults to 900 seconds and preserves options shell_out_with_timeout! overrides the default timeout with its options and preserves options shell_out_with_timeout! overrides both timeouts with the new_resource.timeout and preseves options Chef::Provider::PowershellScript action_run when setting interpreter flags on nano sets the -Command flag as the last flag not on nano sets the -File flag as the last flag when running with an unspecified PowerShell version sets the -ExecutionPolicy flag to 'Unrestricted' by default when running PowerShell version 2.0 sets the -ExecutionPolicy flag to 'Unrestricted' when running PowerShell version 2.5 sets the -ExecutionPolicy flag to 'Unrestricted' when running PowerShell version 3.0 sets the -ExecutionPolicy flag to 'Bypass' when running PowerShell version 3.6 sets the -ExecutionPolicy flag to 'Bypass' when running PowerShell version 4.0 sets the -ExecutionPolicy flag to 'Bypass' when running PowerShell version 5.0 sets the -ExecutionPolicy flag to 'Bypass' Chef::Provider::RegistryKey when the key data is safe it should behave like a registry key executing load_current_resource when the key exists should set the key of the current resource to the key of the new resource should set the architecture of the current resource to the architecture of the new resource should set the recursive flag of the current resource to the recursive flag of the new resource should set the unscrubbed values of the current resource to the values it got from the registry when the key does not exist should set the values in the current resource to empty array action_create when a case insensitive match for the key exists should do nothing if the if a case insensitive key and the value both exist when the key exists should do nothing if the key and the value both exist should create the value if the key exists but the value does not should set the value if the key exists but the data does not match should set the value if the key exists but the type does not match when the key exists and the values in the new resource are empty when a value is in the key, it should do nothing when no value is in the key, it should do nothing when the key does not exist should create the key and the value when the key does not exist and the values in the new resource are empty should create the key action_create_if_missing when the key exists should do nothing if the key and the value both exist should create the value if the key exists but the value does not should not set the value if the key exists but the data does not match should not set the value if the key exists but the type does not match when the key does not exist should create the key and the value action_delete when the key exists deletes the value when the value exists deletes the value when the value exists, but the type is wrong deletes the value when the value exists, but the data is wrong does not delete the value when the value does not exist when the key does not exist does nothing action_delete_key when the key exists deletes the key when the key does not exist does nothing when the key data is unsafe it should behave like a registry key executing load_current_resource when the key exists should set the key of the current resource to the key of the new resource should set the architecture of the current resource to the architecture of the new resource should set the recursive flag of the current resource to the recursive flag of the new resource should set the unscrubbed values of the current resource to the values it got from the registry when the key does not exist should set the values in the current resource to empty array action_create when a case insensitive match for the key exists should do nothing if the if a case insensitive key and the value both exist when the key exists should do nothing if the key and the value both exist should create the value if the key exists but the value does not should set the value if the key exists but the data does not match should set the value if the key exists but the type does not match when the key exists and the values in the new resource are empty when a value is in the key, it should do nothing when no value is in the key, it should do nothing when the key does not exist should create the key and the value when the key does not exist and the values in the new resource are empty should create the key action_create_if_missing when the key exists should do nothing if the key and the value both exist should create the value if the key exists but the value does not should not set the value if the key exists but the data does not match should not set the value if the key exists but the type does not match when the key does not exist should create the key and the value action_delete when the key exists deletes the value when the value exists deletes the value when the value exists, but the type is wrong deletes the value when the value exists, but the data is wrong does not delete the value when the value does not exist when the key does not exist does nothing action_delete_key when the key exists deletes the key when the key does not exist does nothing action_create when key exists and type matches does not make a change for datatype of data value differing Chef::Provider::RegistryKey key_missing? type key when type key is present in all the values hash of registry_key resource returns false when type key is not present in any of the values hash of registry_key resource returns true when type key is not present only in some of the values hash of registry_key resource returns true when only name key is present in all the values hash of registry_key resource returns true data key when data key is present in all the values hash of registry_key resource returns false when data key is not present in any of the values hash of registry_key resource returns true when data key is not present only in some of the values hash of registry_key resource returns true when only name key is present in all the values hash of registry_key resource returns true Chef::Provider::RemoteFile::CacheControlData when loading data for an unknown URI returns empty cache control data and there is no current copy of the file returns empty cache control data and the URI contains a password loads the cache data from a path based on a sanitized URI when loading data for a known URI when the cache control data uses sha256 for its name and there is no on-disk copy of the file returns empty cache control data and the cached checksum does not match the on-disk copy returns empty cache control data and the cached checksum matches the on-disk copy when the filename uses sha256 populates the cache control data and the cached checksum data is corrupted returns empty cache control data and it still is valid JSON returns empty cache control data when the filename uses md5 populates the cache control data and creates the cache control data file with the correct path when saving to disk serializes its attributes to JSON writes data to the cache and the URI contains a password writes the data to the cache with a sanitized path name and the URI results in a file cache path that exceeds 102 characters in length truncates the file cache path to 102 characters uses a file cache path that starts with the first 64 characters of the URI Chef::Provider::RemoteFile::Content when the checksum of the current_resource matches the checksum set on the resource should return nil for the tempfile should not call any fetcher when the checksum of the current_resource is a partial match for the checksum set on the resource should return nil for the tempfile should not call any fetcher when the checksum are both nil behaves like the resource needs fetching when the fetcher returns nil for the tempfile should return nil for the tempfile when the fetcher returns a valid tempfile should return the tempfile object to the caller when the current_resource checksum is nil behaves like the resource needs fetching when the fetcher returns nil for the tempfile should return nil for the tempfile when the fetcher returns a valid tempfile should return the tempfile object to the caller when the new_resource checksum is nil behaves like the resource needs fetching when the fetcher returns nil for the tempfile should return nil for the tempfile when the fetcher returns a valid tempfile should return the tempfile object to the caller when the checksums are a partial match, but not to the leading portion behaves like the resource needs fetching when the fetcher returns nil for the tempfile should return nil for the tempfile when the fetcher returns a valid tempfile should return the tempfile object to the caller when the fetcher throws an exception should propagate the error back to the caller when there is an array of sources and the first fails with an exception of SocketError the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Errno::ECONNREFUSED the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Errno::ENOENT the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Errno::EACCES the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Timeout::Error the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Net::HTTPServerException the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Net::HTTPFatalError the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Net::FTPError the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller with an exception of Errno::ETIMEDOUT the second url should succeed should return a valid tempfile should not mutate the new_resource when both urls fail should propagate the error back to the caller when there is an array of sources and the first succeeds should return a valid tempfile should not mutate the new_resource Chef::Provider::RemoteFile::Fetcher when passed a network share when host is a name returns a network file fetcher when host is an ip returns a network file fetcher when passed an http url returns an http fetcher when passed an https url returns an http fetcher when passed an ftp url returns an ftp fetcher when passed a file url returns a localfile fetcher when passed a url we do not recognize throws an ArgumentError exception Chef::Provider::RemoteFile::FTP when first created throws an argument exception when no path is given throws an argument exception when only a / is given throws an argument exception when no filename is given throws an argument exception when the typecode is invalid does not use passive mode when new_resource sets ftp_active_mode to true uses passive mode when new_resource sets ftp_active_mode to false when fetching the object should connect to the host from the uri on the default port 21 should set passive true when ftp_active_mode is false should set passive false when ftp_active_mode is false should use anonymous ftp when no userinfo is provided and the URI specifies an alternate port should connect on an alternate port when one is provided and the URI contains a username and password should use authenticated ftp when userinfo is provided and the uri sets the typecode to ascii fetches the file with ascii typecode set and the uri sets the typecode to image should accept image for the typecode and the uri specifies a nested path should fetch the file from the correct path when not using last modified based conditional fetching should return a tempfile in the result and proxying is enabled fetches the file via the proxy Chef::Provider::RemoteFile::HTTP generating cache control headers and there is no valid cache control data for this URI on disk does not add conditional GET headers and the resource specifies custom headers has the user-specified custom headers and the cache control data matches the existing file and no conditional get features are enabled does not add headers to the request and conditional get is enabled adds If-None-Match and If-Modified-Since headers to the request and custom headers are provided preserves non-conflicting headers prefers user-supplied cache control headers and etag support is enabled only adds If-None-Match headers to the request and mtime support is enabled only adds If-Modified-Since headers to the request when fetching the uri should clean up the tempfile, and return a nil when streaming_request returns nil with progress reports should yield its progress and the request returns new content should return a tempfile and the response does not contain an etag does not include an etag in the result and the response has an etag header includes the etag value in the response and the response has no Date or Last-Modified header does not set an mtime in the result and the response has a Last-Modified header sets the mtime to the Last-Modified time in the response and the response has a Date header but no Last-Modified header sets the mtime to the Date in the response and the target file is a tarball [CHEF-3140] should disable gzip compression in the client Chef::Provider::RemoteFile::LocalFile when parsing source path on windows when given local unix path returns a correct unix path when given local windows path returns a valid windows local path when given local windows path with spaces returns a valid windows local path when given unc windows path returns a valid windows unc path when given unc windows path with spaces returns a valid windows unc path when first created stores the uri it is passed stores the new_resource when fetching the object stages the local file to a temporary file Chef::Provider::RemoteFile::NetworkFile when fetching the object stages the local file to a temporary file Chef::Provider::RemoteFile::SFTP on initialization without user and password provided in the URI throws an argument exception with no userinfo is given throws an argument exception with no user name is given throws an argument exception with no password is given on initialization with user and password provided in the URI throws an argument exception when no path is given throws an argument exception when only a / is given throws an argument exception when no filename is given when fetching the object should attempt to download a file from the provided url and path and the URI specifies an alternate port should connect on an alternate port when one is provided and the uri specifies a nested path should fetch the file from the correct path when not using last modified based conditional fetching should return a tempfile in the result Chef::Provider::RemoteFile behaves like Chef::Provider::File should return a Chef::Provider::RemoteFile should store the resource passed to new as new_resource should store the node passed to new as node when loading the current resource when running load_current_resource should not try to load the content when the file is present should not try to load the content when the file is missing when running load_current_resource and the file exists should load a current resource based on the one specified at construction the loaded current_resource name should be the same as the resource name the loaded current_resource path should be the same as the resoure path the loaded current_resource content should be nil it should call checksum if we are managing content it should not call checksum if we are not managing content when running load_current_resource and the file does not exist the current_resource should be a Chef::Resource::File the current_resource name should be the same as the resource name the current_resource path should be the same as the resource path the loaded current_resource content should be nil it should not call checksum if we are not managing content examining file security metadata on Unix with a file that exists when the new_resource does not specify any state should load the permissions into the current_resource should not set the new_resource permissions when the new_resource explicitly specifies resource state as numbers should load the permissions into the current_resource as numbers should not set the new_resource permissions when the new_resource explicitly specifies resource state as symbols should load the permissions into the current_resource as symbols should not set the new_resource permissions examining file security metadata on Unix with a file that does not exist when the new_resource does not specify any state the current_resource permissions should be nil should not set the new_resource permissions when the new_resource explicitly specifies resource state the current_resource permissions should be nil should not set the new_resource permissions when loading the new_resource after the run new_resource should record the new permission information when reporting security metadata on windows records the file owner (PENDING: No reason given) records rights for each user in the ACL (PENDING: No reason given) records deny_rights for each user in the ACL (PENDING: No reason given) define_resource_requirements when the enclosing directory does not exist action create raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action create_if_missing raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action touch raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode when the file exists but is not deletable action delete raises InsufficientPermissions action delete also raises InsufficientPermissions in why-run mode action create should create the file, update its contents and then set the acls on the file do_validate_content with user-supplied verifications calls #verify on each verification with tempfile path raises an exception if any verification fails does not show verification for sensitive resources do_create_file when the file exists should not create the file when the file does not exist should create the file do_contents_changes does nothing when there is no content to deploy (tempfile returned from contents is nil) raises an exception when the content object returns a tempfile with a nil path raises an exception when the content object returns a tempfile that does not exist when there is content to deploy does nothing when the contents have not changed when the contents have changed when the file was created does not backup the file does not produce a diff for reporting renders the final checksum correctly for reporting when the file was not created backs up the file produces a diff for reporting renders the final checksum correctly for reporting do_acl_changes needs tests (PENDING: No reason given) do_selinux when resource is updated should check for selinux_enabled? by default when selinux fixup is enabled in the config when selinux is enabled on the system restores security context on the file restores security context recursively when told so when selinux is disabled on the system should not restore security context when selinux fixup is disabled in the config should not check for selinux_enabled? when resource is not updated should not check for selinux_enabled? in why run mode does not modify new_resource action delete when the file exists when the file is writable when the file is not a symlink should backup and delete the file and be updated by the last action when the file is a symlink should not backup the symlink when the file is not writable should not try to backup or delete the file, and should not be updated by last action when the file does not exist should not try to backup or delete the file, and should not be updated by last action action touch when the file does not exist should update the atime/mtime on action_touch when the file exists should update the atime/mtime on action_touch action create_if_missing when the file does not exist should call action_create when the file exists should not call action_create behaves like a file provider with source field when testing managing_content? should be false when creating a file without content should be true when creating a file with content should be true when checksum is set on the content (no matter how crazy) should be false when action is create_if_missing Chef::Provider::Route Chef::Provider::Route hex2ip should return nil if ip address is invalid should return quad-dotted notation for a valid IP Chef::Provider::Route load_current_resource on linux should set is_running to false when a route is not detected should detect existing routes and set is_running attribute correctly should use gateway value when matching routes Chef::Provider::Route action_add should add the route if it does not exist should not add the route if it exists should not delete config file for :add action (CHEF-3332) Chef::Provider::Route action_delete should delete the route if it exists should not delete the route if it does not exist Chef::Provider::Route generate_command for action_add should include a netmask when a one is specified should not include a netmask when a one is specified should include ' via $gateway ' when a gateway is specified should not include ' via $gateway ' when a gateway is not specified should use the gatway when target is default Chef::Provider::Route generate_command for action_delete should include a netmask when a one is specified should not include a netmask when a one is specified should include ' via $gateway ' when a gateway is specified should not include ' via $gateway ' when a gateway is not specified Chef::Provider::Route config_file_contents for action_add should include a netmask when a one is specified should not include a netmask when a one is specified should include ' via $gateway ' when a gateway is specified should not include ' via $gateway ' when a gateway is not specified Chef::Provider::Route config_file_contents for action_delete should return an empty string Chef::Provider::Route generate_config method should write a route file on centos platform should write a route file on redhat platform should write a route file on fedora platform should write a default route file on centos platform should write a default route file on redhat platform should write a default route file on fedora platform should put all routes for a device in a route config file Chef::Provider::RubyBlock initialize should call the block and flag the resource as updated accepts `create' as an alias for `run' Chef::Provider::Script action_run #script_file creates a temporary file to store the script #unlink_script_file unlinks the tempfile when configuring the script file's security when not running on Windows #set_owner_and_group sets the owner and group for the script file when running on Windows when an alternate user is not specified does not attempt to set the script file's security descriptor when an alternate user is specified sets the script file's security descriptor with the script file set to the correct owner and group when writing the script to the file should put the contents of the script in the temp file closes before executing the script and unlinks it when finished when running the script should set the command to "interpreter" "tempfile" should call shell_out! with the command should set the command to 'interpreter flags tempfile' Chef::Provider::Service::Aix load current resource should create a current resource with the name of the new resource and determine the status determine current status when the service is active current resource is running when the service is inoperative current resource is not running when there is no such service current resource is not running is resource group when there are multiple subsystems associated with group service is a group when there is a single subsystem in the group service is a group when the service is a subsystem service is a subsystem when starting the service should call the start command for groups should call the start command for subsystem when stopping a service should call the stop command for groups should call the stop command for subsystem when reloading a service should call the reload command for groups should call the reload command for subsystem when restarting the service should call stop service followed by start service Chef::Provider::Service::AixInit load_current_resource sets current resource attributes action_enable when the service is disabled behaves like the service is not up to date enables the service and sets the resource as updated when the service is enabled and the service sets no priority behaves like the service is up to date does not enable the service and the service requests the same priority as is set behaves like the service is up to date does not enable the service and the service requests a different priority than is set behaves like the service is not up to date enables the service and sets the resource as updated enable_service when the service doesn't set a priority creates symlink with status S when the service sets a simple priority (integer) creates a symlink with status S and a priority when the service sets complex priorities (hash) create symlink with status start (S) or stop (K) and a priority disable_service when the service doesn't set a priority creates symlinks with status stop (K) when the service sets a simple priority (integer) create symlink with status stop (k) and a priority when the service sets complex priorities (hash) create symlink with status stop (k) and a priority set_current_resource_attributes when rc2.d contains only start script the service is enabled when rc2.d contains only stop script the service is not enabled when rc2.d contains both start and stop scripts the service is enabled when rc2.d contains only start script (without priority) the service is enabled when rc2.d contains only stop script (without priority) the service is not enabled when rc2.d contains both start and stop scripts the service is enabled Chef::Provider::Service::Arch load_current_resource should raise error if the node has a nil ps attribute and no other means to get status should raise error if the node has an empty ps attribute and no other means to get status should fail if file /etc/rc.conf does not exist should fail if file /etc/rc.conf does not contain DAEMONS array should return existing entries in DAEMONS array when first created should set the current resources service name to the new resources service name when the service supports status should run '/etc/rc.d/service_name status' should set running to true if the status command returns 0 should set running to false if the status command returns anything except 0 should set running to false if the status command raises when a status command has been specified should run the services status command if one has been specified when discovering service status with ps determines the service is running when it appears in ps determines the service is not running when it does not appear in ps should raise an exception if ps fails when the current service status is known Chef::Provider::Service::Arch enable_service should add chef to DAEMONS array Chef::Provider::Service::Arch disable_service should remove chef from DAEMONS array Chef::Provider::Service::Arch start_service should call the start command if one is specified should call '/etc/rc.d/service_name start' if no start command is specified Chef::Provider::Service::Arch stop_service should call the stop command if one is specified should call '/etc/rc.d/service_name stop' if no stop command is specified Chef::Provider::Service::Arch restart_service should call 'restart' on the service_name if the resource supports it should call the restart_command if one has been specified should just call stop, then start when the resource doesn't support restart and no restart_command is specified Chef::Provider::Service::Arch reload_service should call 'reload' on the service if it supports it should should run the user specified reload command if one is specified and the service doesn't support reload Chef::Provider::Service::Debian load_current_resource ensures /usr/sbin/update-rc.d is available when update-rc.d shows init linked to rc*.d/ says the service is enabled stores the 'enabled' state when update-rc.d shows init isn't linked to rc*.d/ says the service is disabled stores the 'disabled' state when update-rc.d fails raises an error on Debian/Lenny and older when update-rc.d shows init linked to rc*.d/ says the service is enabled stores the 'enabled' state stores the start/stop priorities of the service when update-rc.d shows init isn't linked to rc*.d/ says the service is disabled stores the 'disabled' state on Debian/Squeeze and earlier when update-rc.d shows init linked to rc*.d/ says the service is enabled stores the 'enabled' state stores the start/stop priorities of the service when update-rc.d shows init isn't linked to rc*.d/ says the service is disabled stores the 'disabled' state on Debian/Wheezy and earlier, a service only starting at run level S when update-rc.d shows init linked to rc*.d/ says the service is enabled stores the 'enabled' state stores the start/stop priorities of the service when update-rc.d shows init isn't linked to rc*.d/ says the service is disabled stores the 'disabled' state action_enable when the service is disabled behaves like the service is not up to date enables the service and sets the resource as updated when the service is enabled and the service sets no priority behaves like the service is up to date does not enable the service and the service requests the same priority as is set behaves like the service is up to date does not enable the service and the service requests a different priority than is set behaves like the service is not up to date enables the service and sets the resource as updated enable_service when the service doesn't set a priority calls update-rc.d 'service_name' defaults when the service sets a simple priority calls update-rc.d 'service_name' defaults when the service sets complex priorities calls update-rc.d 'service_name' with those priorities disable_service when the service doesn't set a priority calls update-rc.d -f 'service_name' remove + stop with default priority when the service sets a simple priority calls update-rc.d -f 'service_name' remove + stop with the specified priority Chef::Provider::Service::Freebsd Chef::Provider::Service::Freebsd initialize should default enabled_state_found to false should find /usr/local/etc/rc.d init scripts should find /etc/rc.d init scripts should set init_command to nil if it can't find anything Chef::Provider::Service::Freebsd determine_current_status! when a status command has been specified should run the services status command if one has been specified when the service supports status should run '/etc/init.d/service_name status' should set running to true if the status command returns 0 should set running to false if the status command returns anything except 0 when we have a 'ps' attribute should shell_out! the node's ps command should read stdout of the ps command should set running to false if the regex doesn't match should set running to nil if ps fails when the regex matches the output should set running to true when ps is empty string should set running to nil Chef::Provider::Service::Freebsd determine_enabled_status! when /etc/rc.conf does not exist sets enabled to false when /etc/rc.conf does exist when the enable variable is set to YES sets enabled to true when the enable variable is set to Yes sets enabled to true when the enable variable is set to yes sets enabled to true when the enable variable is set to yEs sets enabled to true when the enable variable is set to YeS sets enabled to true when the enable variable is set to No sets enabled to false when the enable variable is set to NO sets enabled to false when the enable variable is set to no sets enabled to false when the enable variable is set to nO sets enabled to false when the enable variable is set to None sets enabled to false when the enable variable is set to NONE sets enabled to false when the enable variable is set to none sets enabled to false when the enable variable is set to nOnE sets enabled to false when the enable variable is garbage sets enabled to false when the enable variable partial matches (left) some other service and we are disabled sets enabled based on the exact match (false) when the enable variable partial matches (right) some other service and we are disabled sets enabled based on the exact match (false) when the enable variable partial matches (left) some other disabled service and we are enabled sets enabled based on the exact match (true) when the enable variable partial matches (right) some other disabled service and we are enabled sets enabled based on the exact match (true) when the enable variable only partial matches (left) some other enabled service sets enabled to false when the enable variable only partial matches (right) some other enabled service sets enabled to false when nothing matches sets enabled to true Chef::Provider::Service::Freebsd service_enable_variable_name when the rc script has a 'name' variable should not raise an exception if the rcscript have a name variable should not run rcvar should return the enable variable determined from the rcscript name when the rcscript does not have a name variable when rcvar returns foobar_enable should get the service name from rcvar if the rcscript does not have a name variable should not raise an exception if the rcscript does not have a name variable when rcvar does not return foobar_enable should return nil Chef::Provider::Service::Freebsd load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should return the current resource when testing actions Chef::Provider::Service::Freebsd start_service should call the start command if one is specified should call '/usr/local/etc/rc.d/service_name faststart' if no start command is specified Chef::Provider::Service::Freebsd stop_service should call the stop command if one is specified should call '/usr/local/etc/rc.d/service_name faststop' if no stop command is specified Chef::Provider::Service::Freebsd restart_service should call 'restart' on the service_name if the resource supports it should call the restart_command if one has been specified otherwise it should call stop and start Chef::Provider::Service::Freebsd define_resource_requirements when the init script is not found should raise an exception when the action is start should raise an exception when the action is reload should raise an exception when the action is restart should raise an exception when the action is enable should not raise an error when the action is stop should not raise an error when the action is disable when the init script is found, but the service_enable_variable_name is nil should raise an exception when the action is start should raise an exception when the action is reload should raise an exception when the action is restart should raise an exception when the action is enable should not raise an error when the action is stop should not raise an error when the action is disable Chef::Provider::Service::Freebsd enable_service should enable the service if it is not enabled should not partial match an already enabled service should enable the service if it is not enabled and not already specified in the rc.conf file should not enable the service if it is already enabled should remove commented out versions of it being enabled Chef::Provider::Service::Freebsd disable_service should disable the service if it is not disabled should not disable an enabled service that partially matches should not disable the service if it is already disabled should remove commented out versions of it being disabled or enabled Chef::Provider::Service::Gentoo load_current_resource should raise Chef::Exceptions::Service if /sbin/rc-update does not exist should track when service file is not found in /etc/runlevels should track when service file is found in /etc/runlevels/**/ should return the current_resource should support the status command automatically should support the restart command automatically should not support the reload command automatically when detecting the service enable state and the glob returns a default service script file and the file exists and is readable should set enabled to true and the file exists but is not readable should set enabled to false and the file does not exist should set enabled to false action_methods Chef::Provider::Service::Gentoo enable_service should call rc-update add *service* default Chef::Provider::Service::Gentoo disable_service should call rc-update del *service* default Chef::Provider::Service::Init load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should return the current resource when the service supports status should run '/etc/init.d/service_name status' should set running to true if the status command returns 0 should set running to false if the status command returns anything except 0 should set running to false if the status command raises when a status command has been specified should run the services status command if one has been specified when an init command has been specified should use the init_command if one has been specified when the node has not specified a ps command should raise an error if the node has a nil ps attribute should raise an error if the node has an empty ps attribute when we have a 'ps' attribute should shell_out! the node's ps command should set running to true if the regex matches the output should set running to false if the regex doesn't match should raise an exception if ps fails when starting the service should call the start command if one is specified should call '/etc/init.d/service_name start' if no start command is specified Chef::Provider::Service::Init stop_service should call the stop command if one is specified should call '/etc/init.d/service_name stop' if no stop command is specified when restarting a service should call 'restart' on the service_name if the resource supports it should call the restart_command if one has been specified should just call stop, then start when the resource doesn't support restart and no restart_command is specified when reloading a service should call 'reload' on the service if it supports it should should run the user specified reload command if one is specified and the service doesn't support reload when a custom command has been specified should still pass all why run assertions Chef::Provider::Service::Insserv load_current_resource when startup links exist sets the current enabled status to true when startup links do not exist sets the current enabled status to false enable_service should call insserv and create the default links disable_service should call insserv and remove the links Chef::Provider::Service::Invokercd load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should return the current resource when the service supports status should run '/usr/sbin/invoke-rc.d service_name status' should set running to true if the status command returns 0 should set running to false if the status command returns anything except 0 should set running to false if the status command raises when a status command has been specified should run the services status command if one has been specified when the node has not specified a ps command should raise error if the node has a nil ps attribute and no other means to get status should raise error if the node has an empty ps attribute and no other means to get status when we have a 'ps' attribute should shell_out! the node's ps command should set running to true if the regex matches the output should set running to false if the regex doesn't match should raise an exception if ps fails when starting the service should call the start command if one is specified should call '/usr/sbin/invoke-rc.d service_name start' if no start command is specified Chef::Provider::Service::Invokercd stop_service should call the stop command if one is specified should call '/usr/sbin/invoke-rc.d service_name stop' if no stop command is specified when restarting a service should call 'restart' on the service_name if the resource supports it should call the restart_command if one has been specified should just call stop, then start when the resource doesn't support restart and no restart_command is specified when reloading a service should call 'reload' on the service if it supports it should should run the user specified reload command if one is specified and the service doesn't support reload Chef::Provider::Service::Macosx .gather_plist_dirs when HOME directory is set includes users's LaunchAgents folder when HOME directory is not set doesn't include user's LaunchAgents folder when service name is given as redis-server that is a Daemon running Osx 10.9 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service redis-server that is a Daemon running Osx 10.10 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service redis-server that is a Daemon running Osx 10.11 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Daemon running Osx 10.9 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Daemon running Osx 10.10 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Daemon running Osx 10.11 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service redis-server that is a Agent running Osx 10.9 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service redis-server that is a Agent running Osx 10.10 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service redis-server that is a Agent running Osx 10.11 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Agent running Osx 10.9 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Agent running Osx 10.10 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service io.redis.redis-server that is a Agent running Osx 10.11 #load_current_resource when the plist doesn't exist works for action :nothing works for action :start errors if action is :enable errors if action is :disable when launchctl returns pid in service list sets resource running state to true sets resouce enabled state to true running unsupported actions should throw an exception when reload action is attempted when launchctl returns empty service pid sets resource running state to false sets resouce enabled state to true when launchctl doesn't return service entry at all sets service running state to false and plist for service is not available sets resouce enabled state to false and plist for service is available sets resouce enabled state to true and several plists match service name throws exception #start_service calls the start command if one is specified and service is not running shows warning message if service is already running starts service via launchctl if service found #stop_service calls the stop command if one is specified and service is running shows warning message if service is not running stops the service via launchctl if service found #restart_service issues a command if given stops and then starts service Chef::Provider::Service::Openbsd Chef::Provider::Service::Openbsd initialize should find /etc/rc.d init scripts should set init_command to nil if it can't find anything Chef::Provider::Service::Openbsd determine_current_status! when a status command has been specified should run the services status command if one has been specified when the service supports status should run '/etc/rc.d/service_name status' should set running to true if the status command returns 0 should set running to false if the status command returns anything except 0 Chef::Provider::Service::Openbsd determine_enabled_status! when the service is builtin when the enable variable is set to YES sets enabled to true when the enable variable is set to Yes sets enabled to true when the enable variable is set to yes sets enabled to true when the enable variable is set to yEs sets enabled to true when the enable variable is set to YeS sets enabled to true when the enable variable is set to No sets enabled to false when the enable variable is set to NO sets enabled to false when the enable variable is set to no sets enabled to false when the enable variable is set to nO sets enabled to false when the enable variable is set to None sets enabled to false when the enable variable is set to NONE sets enabled to false when the enable variable is set to none sets enabled to false when the enable variable is set to nOnE sets enabled to false when the enable variable is garbage sets enabled to false when the enable variable partial matches (left) some other service and we are disabled sets enabled based on the exact match (false) when the enable variable partial matches (right) some other service and we are disabled sets enabled based on the exact match (false) when the enable variable partial matches (left) some other disabled service and we are enabled sets enabled based on the exact match (true) when the enable variable partial matches (right) some other disabled service and we are enabled sets enabled based on the exact match (true) when the enable variable only partial matches (left) some other enabled service sets enabled to false when the enable variable only partial matches (right) some other enabled service sets enabled to false when nothing matches sets enabled to true Chef::Provider::Service::Openbsd load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should return the current resource when testing actions Chef::Provider::Service::Openbsd start_service should call the start command if one is specified should call '/usr/local/etc/rc.d/service_name start' if no start command is specified Chef::Provider::Service::Openbsd stop_service should call the stop command if one is specified should call '/usr/local/etc/rc.d/service_name stop' if no stop command is specified Chef::Provider::Service::Openbsd restart_service should call the restart_command if one has been specified otherwise it should call stop and start when the new_resource supports restart should call 'restart' on the service_name if the resource supports it Chef::Provider::Service::Openbsd define_resource_requirements when the init script is not found should raise an exception when the action is start should raise an exception when the action is reload should raise an exception when the action is restart should raise an exception when the action is enable should not raise an error when the action is stop should not raise an error when the action is disable when the init script is found, but the service_enable_variable_name is nil should raise an exception when the action is start should raise an exception when the action is reload should raise an exception when the action is restart should raise an exception when the action is enable should not raise an error when the action is stop should not raise an error when the action is disable Chef::Provider::Service::Openbsd enable_service is builtin and disabled by default is enabled should not change rc.conf.local since it is already enabled is disabled should enable the service by adding a line to rc.conf.local is builtin and enabled by default is enabled should not change rc.conf.local since it is already enabled is disabled should enable the service by removing a line from rc.conf.local is not builtin is enabled should not change rc.conf.local since it is already enabled is disabled should enable the service by adding it to the pkg_scripts list Chef::Provider::Service::Openbsd disable_service is builtin and disabled by default is enabled should disable the service by removing its line from rc.conf.local is disabled should not change rc.conf.local since it is already disabled is builtin and enabled by default is enabled should disable the service by adding a line to rc.conf.local is disabled should not change rc.conf.local since it is already disabled is not builtin is enabled should disable the service by removing it from the pkg_scripts list is disabled should not change rc.conf.local since it is already disabled Chef::Provider::Service::Redhat while not in why run mode load current resource sets supports[:status] to true by default lets the user override supports[:status] in the new_resource sets the current enabled status to true if the service is enabled for any run level sets the current enabled status to false if the regex does not match sets the current enabled status to true if the service is enabled at specified run levels sets the current enabled status to false if the service is enabled at a run level it should not sets the current enabled status to false if the service is not enabled at specified run levels define resource requirements it should behave like define_resource_requirements_common should raise an error if /sbin/chkconfig does not exist should not raise an error if the service exists but is not added to any runlevels when the service does not exist should raise an error when the action is start should raise an error when the action is reload should raise an error when the action is restart should raise an error when the action is enable should not raise an error when the action is start and init_command is set should not raise an error when the action is start and start_command is set should not raise an error when the action is reload and init_command is set should not raise an error when the action is reload and reload_command is set should not raise an error when the action is restart and init_command is set should not raise an error when the action is restart and restart_command is set should not raise an error when the action is stop should not raise an error when the action is disable while in why run mode define resource requirements should not raise an error if the service does not exist it should behave like define_resource_requirements_common should raise an error if /sbin/chkconfig does not exist should not raise an error if the service exists but is not added to any runlevels enable_service should call chkconfig to add 'service_name' should call chkconfig to add 'service_name' at specified run_levels should call chkconfig to add 'service_name' at specified run_levels when run_levels do not match should call chkconfig to add 'service_name' at specified run_levels if there is an extra run_level disable_service should call chkconfig to del 'service_name' should call chkconfig to del 'service_name' at specified run_levels Chef::Provider::Service::Simple load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should raise error if the node has a nil ps attribute and no other means to get status should raise error if the node has an empty ps attribute and no other means to get status should return the current resource when we have a 'ps' attribute should shell_out! the node's ps command should read stdout of the ps command should set running to true if the regex matches the output should set running to false if the regex doesn't match should raise an exception if ps fails when starting the service should call the start command if one is specified should raise an exception if no start command is specified when stopping a service should call the stop command if one is specified should raise an exception if no stop command is specified Chef::Provider::Service::Simple restart_service should call the restart command if one has been specified should raise an exception if the resource doesn't support restart, no restart command is provided, and no stop command is provided should just call stop, then start when the resource doesn't support restart and no restart_command is specified Chef::Provider::Service::Simple reload_service should raise an exception if reload is requested but no command is specified should should run the user specified reload command if one is specified Chef::Provider::Service::Solaris should raise an error if /bin/svcs and /usr/sbin/svcadm are not executable should raise an error if /bin/svcs is not executable should raise an error if /usr/sbin/svcadm is not executable on a host with /bin/svcs and /usr/sbin/svcadm when discovering the current service state should create a current resource with the name of the new resource should return the current resource should call '/bin/svcs -l service_name' should mark service as not running should mark service as running should not mark service as maintenance should mark service as maintenance when enabling the service should call svcadm enable -s chef should call svcadm enable -s chef for start_service should call svcadm clear chef for start_service when state maintenance when enabling the service recursively should call svcadm enable -s -r chef should call svcadm enable -s -r -t chef when passed an array of options when disabling the service should call svcadm disable -s chef should call svcadm disable -s chef for stop_service should call svcadm disable chef with options when reloading the service should call svcadm refresh chef when the service doesn't exist should be marked not running should be marked not enabled Chef::Provider::Service::Systemd load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should check if the service is running should set running to true if the service is running should set running to false if the service is not running should check if the service is enabled should set enabled to true if the service is enabled should set enabled to false if the service is not enabled should check if the service is masked should set masked to true if the service is masked should set masked to false if the service is not masked should return the current resource when a status command has been specified should run the services status command if one has been specified should run the services status command if one has been specified and properly set status check state should set running to false if a status command fails should update state to indicate status check failed when a status command fails when systemctl path is /usr/bin/systemctl start and stop service should call the start command if one is specified should call the restart command if one is specified should call '/usr/bin/systemctl --system restart service_name' if no restart command is specified should call the stop command if one is specified should call '/usr/bin/systemctl --system stop service_name' if no stop command is specified should not call '/usr/bin/systemctl --system stop service_name' if it is already stopped when a user is not specified should call '/usr/bin/systemctl --system start service_name' if no start command is specified should not call '/usr/bin/systemctl --system start service_name' if it is already running when a user is specified should call '/usr/bin/systemctl --user start service_name' if no start command is specified should not call '/usr/bin/systemctl --user start service_name' if it is already running reload service when a reload command is specified should call the reload command when a reload command is not specified should call '/usr/bin/systemctl --system reload service_name' if the service is running should start the service if the service is not running enable and disable service should call '/usr/bin/systemctl --system enable service_name' to enable the service should call '/usr/bin/systemctl --system disable service_name' to disable the service mask and unmask service should call '/usr/bin/systemctl --system mask service_name' to mask the service should call '/usr/bin/systemctl --system unmask service_name' to unmask the service is_active? should return true if '/usr/bin/systemctl --system is-active service_name' returns 0 should return false if '/usr/bin/systemctl --system is-active service_name' returns anything except 0 is_enabled? should return true if '/usr/bin/systemctl --system is-enabled service_name' returns 0 should return false if '/usr/bin/systemctl --system is-enabled service_name' returns anything except 0 is_masked? should return true if '/usr/bin/systemctl --system is-enabled service_name' returns 'masked' and returns anything except 0 should return true if '/usr/bin/systemctl --system is-enabled service_name' outputs 'masked-runtime' and returns anything except 0 should return false if '/usr/bin/systemctl --system is-enabled service_name' returns 0 should return false if '/usr/bin/systemctl --system is-enabled service_name' returns anything except 0 and outputs an error' when systemctl path is /bin/systemctl start and stop service should call the start command if one is specified should call the restart command if one is specified should call '/bin/systemctl --system restart service_name' if no restart command is specified should call the stop command if one is specified should call '/bin/systemctl --system stop service_name' if no stop command is specified should not call '/bin/systemctl --system stop service_name' if it is already stopped when a user is not specified should call '/bin/systemctl --system start service_name' if no start command is specified should not call '/bin/systemctl --system start service_name' if it is already running when a user is specified should call '/bin/systemctl --user start service_name' if no start command is specified should not call '/bin/systemctl --user start service_name' if it is already running reload service when a reload command is specified should call the reload command when a reload command is not specified should call '/bin/systemctl --system reload service_name' if the service is running should start the service if the service is not running enable and disable service should call '/bin/systemctl --system enable service_name' to enable the service should call '/bin/systemctl --system disable service_name' to disable the service mask and unmask service should call '/bin/systemctl --system mask service_name' to mask the service should call '/bin/systemctl --system unmask service_name' to unmask the service is_active? should return true if '/bin/systemctl --system is-active service_name' returns 0 should return false if '/bin/systemctl --system is-active service_name' returns anything except 0 is_enabled? should return true if '/bin/systemctl --system is-enabled service_name' returns 0 should return false if '/bin/systemctl --system is-enabled service_name' returns anything except 0 is_masked? should return true if '/bin/systemctl --system is-enabled service_name' returns 'masked' and returns anything except 0 should return true if '/bin/systemctl --system is-enabled service_name' outputs 'masked-runtime' and returns anything except 0 should return false if '/bin/systemctl --system is-enabled service_name' returns 0 should return false if '/bin/systemctl --system is-enabled service_name' returns anything except 0 and outputs an error' Chef::Provider::Service::Upstart when first created should return /etc/event.d as the upstart job directory when running on Ubuntu 9.04 should return /etc/init as the upstart job directory when running on Ubuntu 9.10 should return /etc/init as the upstart job directory by default load_current_resource should create a current resource with the name of the new resource should set the current resources service name to the new resources service name should not change the service name when parameters are specified should run '/sbin/status rsyslog' should set running to false if it catches a Chef::Exceptions::Exec should set enabled to true when it finds 'starts on' should set enabled to false when it finds '#starts on' should assume disable when no job configuration file is found should track state when the upstart configuration file fails to load should track state when we fail to obtain service status via upstart_goal_state should return the current resource when the status command uses the new format should set running to true if the goal state is 'start' should set running to true if the goal state is 'start' but current state is not 'running' should set running to false if the goal state is 'stop' when the status command uses the new format with an instance should set running to true if the goal state is 'start' should set running to true if the goal state is 'start' but current state is not 'running' should set running to false if the goal state is 'stop' when the status command uses the old format should set running to true if the goal state is 'start' should set running to true if the goal state is 'start' but current state is not 'running' should set running to false if the goal state is 'stop' when a status command has been specified should run the services status command if one has been specified should track state when the user-provided status command fails should set running to false if it catches a Chef::Exceptions::Exec when using a status command enable and disable service should enable the service if it is not enabled should disable the service if it is enabled start and stop service should call the start command if one is specified should call '/sbin/start service_name' if no start command is specified should not call '/sbin/start service_name' if it is already running should pass parameters to the start command if they are provided should call the restart command if one is specified should call start/sleep/stop if no restart command is specified should call '/sbin/start service_name' if restart_service is called for a stopped service should call the reload command if one is specified should call '/sbin/reload service_name' if no reload command is specified should call the stop command if one is specified should call '/sbin/stop service_name' if no stop command is specified should not call '/sbin/stop service_name' if it is already stopped Chef::Provider::Service::Windows load_current_resource sets the current resources service name to the new resources service name returns the current resource sets the current resources status sets the current resources start type does not set the current resources start type if it is neither AUTO START or DISABLED Chef::Provider::Service::Windows start_service calls the start command if one is specified uses the built-in command if no start command is specified does nothing if the service does not exist does nothing if the service is running raises an error if the service is paused waits and continues if the service is in start_pending fails if the service is in stop_pending running as a different account calls #grant_service_logon if the :run_as_user and :run_as_password attributes are present does not grant user SeServiceLogonRight if it already has it Chef::Provider::Service::Windows stop_service calls the stop command if one is specified uses the built-in command if no stop command is specified does nothing if the service does not exist does nothing if the service is stopped raises an error if the service is paused waits and continue if the service is in stop_pending fails if the service is in start_pending passes custom timeout to the stop command if provided Chef::Provider::Service::Windows restart_service calls the restart command if one is specified stops then starts the service if it is running just starts the service if it is stopped does nothing if the service does not exist Chef::Provider::Service::Windows enable_service enables service does nothing if the service does not exist Chef::Provider::Service::Windows action_enable does nothing if the service is enabled enables the service if it is not set to automatic start Chef::Provider::Service::Windows action_disable does nothing if the service is disabled disables the service if it is not set to disabled Chef::Provider::Service::Windows disable_service disables service does nothing if the service does not exist Chef::Provider::Service::Windows action_configure_startup sets the startup type to automatic if it is something else leaves the startup type as automatic if it is already set sets the startup type to manual if it is something else leaves the startup type as manual if it is already set sets the startup type to disabled if it is something else leaves the startup type as disabled if it is already set Chef::Provider::Service::Windows set_start_type when called with :automatic it calls Win32::Service#configure with Win32::Service::AUTO_START when called with :manual it calls Win32::Service#configure with Win32::Service::DEMAND_START when called with :disabled it calls Win32::Service#configure with Win32::Service::DISABLED raises an exception when given an unknown start type grant_service_logon calls win32 api to grant user SeServiceLogonRight strips '.' from user name when sending to win32 api raises an exception when the grant fails cleaning usernames correctly reformats usernames to create valid filenames correctly reformats usernames for the policy file Chef::Provider::Service delegates enable_service to subclasses delegates disable_service to subclasses delegates start_service to subclasses delegates stop_service to subclasses delegates restart_service to subclasses delegates reload_service to subclasses when enabling the service should enable the service if disabled and set the resource as updated should not enable the service if already enabled when disabling the service should disable the service if enabled and set the resource as updated should not disable the service if already disabled action_start should start the service if it isn't running and set the resource as updated should not start the service if already running action_stop should stop the service if it is running and set the resource as updated should not stop the service if it's already stopped action_restart should restart the service if it's supported and set the resource as updated should restart the service even if it isn't running and set the resource as updated action_reload should raise an exception if reload isn't supported should reload the service if it is running and set the resource as updated should not reload the service if it's stopped Chef::Provider::Subversion converts resource attributes to options for shell_out creates the current_resource object and sets its revision to the current deployment's revision as long as we're not exporting generates a checkout command with default options generates a checkout command with authentication generates a checkout command with arbitrary options generates a sync command with default options generates an export command with default options doesn't try to find the current revision when loading the resource if running an export doesn't try to find the current revision when loading the resource if running a force export runs an export with the --force option runs the checkout command for action_checkout raises an error if the svn checkout command would fail because the enclosing directory doesn't exist should not checkout if the destination exists or is a non empty directory runs commands with the user and group specified in the resource does a checkout for action_sync if there's no deploy dir does a checkout for action_sync if the deploy dir exists but is empty runs the sync_command on action_sync if the deploy dir exists and isn't empty does not fetch any updates if the remote revision matches the current revision runs the export_command on action_export determining the revision of the currently deployed code sets the revision to nil if there isn't any deployed code yet determines the current revision if there's a checkout with svn data available gives nil as the current revision if the deploy dir isn't a SVN working copy finds the current revision when loading the current resource state resolving revisions to an integer returns the revision number as is if it's already an integer queries the server and resolves the revision if it's not an integer (i.e. 'HEAD') returns a helpful message if data from `svn info` can't be parsed responds to :revision_slug as an alias for revision_sha selects the correct svn binary selects 'svn' as the binary by default selects an svn binary with an exe extension on windows uses a custom svn binary as part of the svn command wraps custom svn binary with quotes if it contains whitespace when proxy environment variables exist http_proxy is specified it should behave like proxied configuration generates a checkout command with a http proxy https_proxy is specified it should behave like proxied configuration generates a checkout command with a http proxy when no_proxy is specified generates a checkout command with default options Chef::Provider::SystemdUnit define_resource_requirements accepts valid resource requirements rejects failed resource requirements load_current_resource should create a current resource with the name of the new resource should check if the unit is active sets the active property to true if the unit is active sets the active property to false if the unit is not active should check if the unit is enabled sets the enabled property to true if the unit is enabled sets the enabled property to false if the unit is not enabled should check if the unit is masked sets the masked property to true if the unit is masked sets the masked property to false if the unit is masked should check if the unit is static sets the static property to true if the unit is static sets the static property to false if the unit is not static loads the system unit content if the file exists and user is not set does not load the system unit content if the unit file is not present and the user is not set loads the user unit content if the file exists and user is set does not load the user unit if the file does not exist and user is set when systemctl path is /bin/systemctl creates/deletes the unit creates the unit file when it does not exist creates the file when the unit content is different does not create the unit file when the content is the same triggers a daemon-reload when creating a unit with triggers_reload triggers a daemon-reload when deleting a unit with triggers_reload does not trigger a daemon-reload when creating a unit without triggers_reload does not trigger a daemon-reload when deleting a unit without triggers_reload when a user is specified deletes the file when it exists does not delete the file when it is absent when no user is specified deletes the file when it exists does not delete the file when it is absent enables/disables the unit when a user is specified enables the unit when it is disabled does not enable the unit when it is enabled does not enable the unit when it is static disables the unit when it is enabled does not disable the unit when it is disabled does not disable the unit when it is static when no user is specified enables the unit when it is disabled does not enable the unit when it is enabled does not enable the unit when it is static disables the unit when it is enabled does not disable the unit when it is disabled does not disable the unit when it is static masks/unmasks the unit when a user is specified masks the unit when it is unmasked does not mask the unit when it is masked unmasks the unit when it is masked does not unmask the unit when it is unmasked when no user is specified masks the unit when it is unmasked does not mask the unit when it is masked unmasks the unit when it is masked does not unmask the unit when it is unmasked starts/stops the unit when a user is specified starts the unit when it is inactive does not start the unit when it is active stops the unit when it is active does not stop the unit when it is inactive when no user is specified starts the unit when it is inactive does not start the unit when it is active stops the unit when it is active does not stop the unit when it is inactive restarts/reloads the unit when a user is specified restarts the unit reloads the unit if active does not reload if the unit is inactive when no user is specified restarts the unit reloads the unit if active does not reload the unit if inactive try-restarts the unit when a user is specified try-restarts the unit when no user is specified try-restarts the unit reload-or-restarts the unit when a user is specified reload-or-restarts the unit when no user is specified reload-or-restarts the unit reload-or-try-restarts the unit when a user is specified reload-or-try-restarts the unit when no user is specified reload-or-try-restarts the unit #active? when a user is specified returns true when unit is active returns false when unit is inactive when no user is specified returns true when unit is active returns false when unit is not active #enabled? when a user is specified returns true when unit is enabled returns false when unit is not enabled when no user is specified returns true when unit is enabled returns false when unit is not enabled #masked? when a user is specified returns true when the unit is masked returns false when the unit is not masked when no user is specified returns true when the unit is masked returns false when the unit is not masked #static? when a user is specified returns true when the unit is static returns false when the unit is not static when no user is specified returns true when the unit is static returns false when the unit is not static when systemctl path is /usr/bin/systemctl creates/deletes the unit creates the unit file when it does not exist creates the file when the unit content is different does not create the unit file when the content is the same triggers a daemon-reload when creating a unit with triggers_reload triggers a daemon-reload when deleting a unit with triggers_reload does not trigger a daemon-reload when creating a unit without triggers_reload does not trigger a daemon-reload when deleting a unit without triggers_reload when a user is specified deletes the file when it exists does not delete the file when it is absent when no user is specified deletes the file when it exists does not delete the file when it is absent enables/disables the unit when a user is specified enables the unit when it is disabled does not enable the unit when it is enabled does not enable the unit when it is static disables the unit when it is enabled does not disable the unit when it is disabled does not disable the unit when it is static when no user is specified enables the unit when it is disabled does not enable the unit when it is enabled does not enable the unit when it is static disables the unit when it is enabled does not disable the unit when it is disabled does not disable the unit when it is static masks/unmasks the unit when a user is specified masks the unit when it is unmasked does not mask the unit when it is masked unmasks the unit when it is masked does not unmask the unit when it is unmasked when no user is specified masks the unit when it is unmasked does not mask the unit when it is masked unmasks the unit when it is masked does not unmask the unit when it is unmasked starts/stops the unit when a user is specified starts the unit when it is inactive does not start the unit when it is active stops the unit when it is active does not stop the unit when it is inactive when no user is specified starts the unit when it is inactive does not start the unit when it is active stops the unit when it is active does not stop the unit when it is inactive restarts/reloads the unit when a user is specified restarts the unit reloads the unit if active does not reload if the unit is inactive when no user is specified restarts the unit reloads the unit if active does not reload the unit if inactive try-restarts the unit when a user is specified try-restarts the unit when no user is specified try-restarts the unit reload-or-restarts the unit when a user is specified reload-or-restarts the unit when no user is specified reload-or-restarts the unit reload-or-try-restarts the unit when a user is specified reload-or-try-restarts the unit when no user is specified reload-or-try-restarts the unit #active? when a user is specified returns true when unit is active returns false when unit is inactive when no user is specified returns true when unit is active returns false when unit is not active #enabled? when a user is specified returns true when unit is enabled returns false when unit is not enabled when no user is specified returns true when unit is enabled returns false when unit is not enabled #masked? when a user is specified returns true when the unit is masked returns false when the unit is not masked when no user is specified returns true when the unit is masked returns false when the unit is not masked #static? when a user is specified returns true when the unit is static returns false when the unit is not static when no user is specified returns true when the unit is static returns false when the unit is not static Chef::Provider::Template::Content finds the template file in the cookbook cache if it isn't local finds the template file locally if it is local should use the cookbook name if defined in the template resource returns a tempfile in the tempdir when :file_staging_uses_destdir is not set returns a tempfile in the destdir when :file_staging_uses_destdir is set creates the template with the rendered content when creating a tempfile in destdir fails returns a tempfile in the tempdir when :file_deployment_uses_destdir is set to :auto fails when :file_desployment_uses_destdir is set returns a tempfile in the tempdir when :file_desployment_uses_destdir is not set when using location helpers creates the template with the rendered content Chef::Provider::Template behaves like Chef::Provider::File should return a Chef::Provider::Template should store the resource passed to new as new_resource should store the node passed to new as node when loading the current resource when running load_current_resource should not try to load the content when the file is present should not try to load the content when the file is missing when running load_current_resource and the file exists should load a current resource based on the one specified at construction the loaded current_resource name should be the same as the resource name the loaded current_resource path should be the same as the resoure path the loaded current_resource content should be nil it should call checksum if we are managing content it should not call checksum if we are not managing content when running load_current_resource and the file does not exist the current_resource should be a Chef::Resource::File the current_resource name should be the same as the resource name the current_resource path should be the same as the resource path the loaded current_resource content should be nil it should not call checksum if we are not managing content examining file security metadata on Unix with a file that exists when the new_resource does not specify any state should load the permissions into the current_resource should not set the new_resource permissions when the new_resource explicitly specifies resource state as numbers should load the permissions into the current_resource as numbers should not set the new_resource permissions when the new_resource explicitly specifies resource state as symbols should load the permissions into the current_resource as symbols should not set the new_resource permissions examining file security metadata on Unix with a file that does not exist when the new_resource does not specify any state the current_resource permissions should be nil should not set the new_resource permissions when the new_resource explicitly specifies resource state the current_resource permissions should be nil should not set the new_resource permissions when loading the new_resource after the run new_resource should record the new permission information when reporting security metadata on windows records the file owner (PENDING: No reason given) records rights for each user in the ACL (PENDING: No reason given) records deny_rights for each user in the ACL (PENDING: No reason given) define_resource_requirements when the enclosing directory does not exist action create raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action create_if_missing raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode action touch raises EnclosingDirectoryDoesNotExist does not raise an exception in why-run mode when the file exists but is not deletable action delete raises InsufficientPermissions action delete also raises InsufficientPermissions in why-run mode action create should create the file, update its contents and then set the acls on the file do_validate_content with user-supplied verifications calls #verify on each verification with tempfile path raises an exception if any verification fails does not show verification for sensitive resources do_create_file when the file exists should not create the file when the file does not exist should create the file do_contents_changes does nothing when there is no content to deploy (tempfile returned from contents is nil) raises an exception when the content object returns a tempfile with a nil path raises an exception when the content object returns a tempfile that does not exist when there is content to deploy does nothing when the contents have not changed when the contents have changed when the file was created does not backup the file does not produce a diff for reporting renders the final checksum correctly for reporting when the file was not created backs up the file produces a diff for reporting renders the final checksum correctly for reporting do_acl_changes needs tests (PENDING: No reason given) do_selinux when resource is updated should check for selinux_enabled? by default when selinux fixup is enabled in the config when selinux is enabled on the system restores security context on the file restores security context recursively when told so when selinux is disabled on the system should not restore security context when selinux fixup is disabled in the config should not check for selinux_enabled? when resource is not updated should not check for selinux_enabled? in why run mode does not modify new_resource action delete when the file exists when the file is writable when the file is not a symlink should backup and delete the file and be updated by the last action when the file is a symlink should not backup the symlink when the file is not writable should not try to backup or delete the file, and should not be updated by last action when the file does not exist should not try to backup or delete the file, and should not be updated by last action action touch when the file does not exist should update the atime/mtime on action_touch when the file exists should update the atime/mtime on action_touch action create_if_missing when the file does not exist should call action_create when the file exists should not call action_create when creating the template stops executing when the local template source can't be found behaves like a file provider with source field when testing managing_content? should be false when creating a file without content should be true when creating a file with content should be true when checksum is set on the content (no matter how crazy) should be false when action is create_if_missing Chef::Provider::User::Aix when we set a password should call chpasswd correctly #create_user with a system user should add the user to the system group with manage_home should create the home directory should move an existing home dir should not pass -m Chef::Provider::User::Dscl when shelling out to dscl should run dscl with the supplied cmd /Path args returns an empty string from delete commands should raise an exception for any other command raises an exception when dscl reports 'no such key' raises an exception when dscl reports 'eDSRecordNotFound' get_free_uid should return the first unused uid number on or above 200 should raise an exception when the search limit is exhausted when resource is configured as system should return the first unused uid number on or above 500 uid_used? should return false if not given any valid uid number when called with a user id should return true for a used uid number should return false for an unused uid number when determining the uid to set raises RequestedUIDUnavailable if the requested uid is already in use finds a valid, unused uid when none is specified sets the uid specified in the resource current_home_exists? returns false for nil home dir is false for empty string is true for existing directory when modifying the home directory deletes the home directory when resource#home is nil raises InvalidHomeDirectory when the resource's home directory doesn't look right moves the users home to the new location if it exists and the target location is different should raise an exception when the systems user template dir (skel) cannot be found should run ditto to copy any missing files from skel to the new home dir creates the user's NFSHomeDirectory and home directory resource_requirements when dscl doesn't exist should raise an error when plutil doesn't exist should raise an error when on Mac 10.6 should raise an error when on Mac 10.7 when password is SALTED-SHA512 should not raise an error when password is SALTED-SHA512-PBKDF2 should raise an error when on Mac 10.9 when password is SALTED-SHA512 should raise an error when password is SALTED-SHA512-PBKDF2 when salt and iteration is not set should raise an error when salt and iteration is set should not raise an error when on Mac 10.10 when password is SALTED-SHA512 should raise an error when password is SALTED-SHA512-PBKDF2 when salt and iteration is not set should raise an error when salt and iteration is set should not raise an error load_current_resource when user is not there shouldn't raise an error should set @user_exists should set username when user is there on 10.7 collects the user data correctly when a plain password is set that is same diverged_password? should report false when a plain password is set that is different diverged_password? should report true when iterations change diverged_password? should report false when shadow hash changes diverged_password? should report true when salt change diverged_password? should report false on 10.8 collects the user data correctly on 10.7 upgraded to 10.8 collects the user data correctly when a plain text password is set reports password needs to be updated when a salted-sha512-pbkdf2 shadow is set reports password needs to be updated on 10.9 collects the user data correctly when a plain password is set that is same diverged_password? should report false when a plain password is set that is different diverged_password? should report true when iterations change diverged_password? should report true when shadow hash changes diverged_password? should report true when salt change diverged_password? should report true when salt isn't found diverged_password? should report true salted_sha512_pbkdf2? should return true when the string is a salted_sha512_pbkdf2 hash should return false otherwise salted_sha512? should return true when the string is a salted_sha512_pbkdf2 hash should return false otherwise prepare_password_shadow_info when on Mac 10.7 when the password is plain text password_shadow_info should have salted-sha-512 format when the password is salted-sha-512 password_shadow_info should have salted-sha-512 format when on Mac 10.8 when the password is plain text password_shadow_info should have salted-sha-512 format when the password is salted-sha-512 password_shadow_info should have salted-sha-512 format when on Mac 10.9 when the password is plain text password_shadow_info should have salted-sha-512 format when the password is salted-sha-512 password_shadow_info should have salted-sha-512 format when on Mac 10.10 when the password is plain text password_shadow_info should have salted-sha-512 format when the password is salted-sha-512 password_shadow_info should have salted-sha-512 format set_password should sleep and flush the dscl cache before saving the password when the user does not yet exist and chef is creating it should set group ID to 20 if it's not specified with a numeric gid creates the user, comment field, sets uid, gid, configures the home directory, sets the shell, and sets the password creates the user and sets the comment field sets the comment field sets the comment field to username should run run_dscl with create /Users/user PrimaryGroupID to set the users primary group should run run_dscl with create /Users/user UserShell to set the users login shell with a non-numeric gid should map the group name to a numeric ID when the group exists should raise an exception when the group does not exist when the user exists and chef is managing it sets the user, comment field, uid, gid, moves the home directory, sets the shell, and sets the password when changing the gid sets the gid when the user exists when Chef is removing the user removes the user from the groups and deletes home directory when the resource is configured to manage home when user is not locked determines the user as not locked when user is locked determines the user as not locked can unlock the user when locking the user should run run_dscl with append /Users/user AuthenticationAuthority ;DisabledUser; to lock the user account Chef::Provider::User::Linux when setting option should check for differences in comment between the new and current resources should set the option for comment if the new resources comment is not nil should set the option for comment if the new resources comment is not nil, without homedir management should set the option for comment if the new resources comment is not nil, without homedir management (using real attributes) should check for differences in gid between the new and current resources should set the option for gid if the new resources gid is not nil should set the option for gid if the new resources gid is not nil, without homedir management should set the option for gid if the new resources gid is not nil, without homedir management (using real attributes) should check for differences in uid between the new and current resources should set the option for uid if the new resources uid is not nil should set the option for uid if the new resources uid is not nil, without homedir management should set the option for uid if the new resources uid is not nil, without homedir management (using real attributes) should check for differences in shell between the new and current resources should set the option for shell if the new resources shell is not nil should set the option for shell if the new resources shell is not nil, without homedir management should set the option for shell if the new resources shell is not nil, without homedir management (using real attributes) should check for differences in password between the new and current resources should set the option for password if the new resources password is not nil should set the option for password if the new resources password is not nil, without homedir management should set the option for password if the new resources password is not nil, without homedir management (using real attributes) should combine all the possible options when non_unique is false should not set -m when non_unique is true should set -o when we want to create a system user should set useradd -r when the resource has a different home directory and supports home directory management should set -m -d /homedir when the resource has a different home directory and supports home directory management (using real attributes) should set -m -d /homedir when creating a user runs useradd with the computed command options and home is not specified for new system user resource should not include -m or -d in the command options when managing a user runs usermod with the computed command options does not set the -r option to usermod CHEF-3429: does not set -m if we aren't changing the home directory when removing a user should run userdel with the new resources user name should run userdel with the new resources user name and -r if manage_home is true should run userdel with the new resources user name if non_unique is true should run userdel with the new resources user name and -f if force is true when checking the lock should return false if status begins with P should return false if status begins with N should return true if status begins with L should raise a ShellCommandFailed exception if passwd -S exits with something other than 0 or 1 should raise an error if the output isn't parsable when in why run mode should return false if the user does not exist should not raise an error if the user does not exist when locking the user should run usermod -L with the new resources username when unlocking the user should run usermod -L with the new resources username when checking if home needs updating should return false if home matches should return true if home doesn't match should return false if home only differs by trailing slash should return false if home is an equivalent path should return true if the current home does not exist but a home is specified by the new resource manage_home behavior throws an error when trying to set supports manage_home: true throws an error when trying to set supports non_unique: true defaults manage_home to false by default manage_home is false and we use -M setting manage_home to false includes -M setting manage_home to true includes -m Chef::Provider::User::Pw setting options to the pw command should check for differences in comment between the new and current resources should set the option for comment if the new resources comment is not null should check for differences in home between the new and current resources should set the option for home if the new resources home is not null should check for differences in gid between the new and current resources should set the option for gid if the new resources gid is not null should check for differences in uid between the new and current resources should set the option for uid if the new resources uid is not null should check for differences in shell between the new and current resources should set the option for shell if the new resources shell is not null should combine all the possible options create_user should run pw useradd with the return of set_options should modify the password manage_user should run pw usermod with the return of set_options should modify the password remove_user should run pw userdel with the new resources user name should run pw userdel with the new resources user name and -r if manage_home is true determining if the user is locked should return true if user is locked should return false if user is not locked when locking the user should run pw lock with the new resources username when unlocking the user should run pw unlock with the new resources username when modifying the password and the new password has not been specified logs an appropriate message and the new password has been specified should check for differences in password between the new and current resources and the passwords are identical logs an appropriate message and the passwords are different should log an appropriate message should run pw usermod with the username and the option -H 0 should raise an exception if pw usermod fails should not raise an exception if pw usermod succeeds when loading the current state should raise an error if the required binary /usr/sbin/pw doesn't exist shouldn't raise an error if /usr/sbin/pw exists Chef::Provider::User::Solaris when we want to set a password should use its own shadow file writer to set the password should write out a modified version of the password file #create_user with a system user should not pass -r with manage_home should not pass -r when managing user locked status when determining if the user is locked when user does not exist should raise a sensible error for user 'adam' with entry 'adam:*LK*:::::::' should return true for user 'adam' with entry 'adam:*LK*foobar:::::::' should return true for user 'adam' with entry 'adam:*LK*bahamas10:::::::' should return true for user 'adam' with entry 'adam:*LK*goonawaLK:::::::' should return true for user 'adam' with entry 'adam:*LK*LKgir:::::::' should return true for user 'adam' with entry 'adam:*LK*L....:::::::' should return true for user 'adam' with entry 'adam:NP:::::::' should return false for user 'adam' with entry 'adam:*NP*:::::::' should return false for user 'adam' with entry 'adam:foobar:::::::' should return false for user 'adam' with entry 'adam:bahamas10:::::::' should return false for user 'adam' with entry 'adam:goonawaLK:::::::' should return false for user 'adam' with entry 'adam:LKgir:::::::' should return false for user 'adam' with entry 'adam:L...:::::::' should return false when locking the user should run passwd -l with the new resources username when unlocking the user should run passwd -u with the new resources username Chef::Provider::User::Windows creates a net_user object with the provided username when comparing the user's current attributes to the desired attributes and the attributes match doesn't set the comment field to be updated doesn't set the home directory to be updated doesn't set the group id to be updated doesn't set the user id to be updated doesn't set the shell to be updated doesn't set the password to be updated and the attributes do not match marks the full_name field to be updated marks the home_dir attribute to be updated ignores the primary_group_id attribute marks the user_id attribute to be updated marks the script_path attribute to be updated marks the password attribute to be updated when creating the user should call @net_user.add with the return of set_options manage_user should call @net_user.update with the return of set_options when removing the user should call @net_user.delete when checking if the user is locked should return true if user is locked should return false if user is not locked locking the user should call @net_user.disable_account unlocking the user should call @net_user.enable_account Chef::Provider::User when first created assume the user exists by default does not know the locked state executing load_current_resource should create a current resource with the same name as the new resource should set the username of the current resource to the username of the new resource should change the encoding of gecos to the encoding of the new resource should look up the user in /etc/passwd with getpwnam should set user_exists to false if the user is not found with getpwnam should set the current resources uid based on getpwnam uid should set the current resources gid based on getpwnam gid should set the current resources comment based on getpwnam gecos should set the current resources home based on getpwnam dir should set the current resources shell based on getpwnam shell should attempt to convert the group gid if one has been supplied shouldn't try and convert the group gid if none has been supplied should return the current resource and running assertions ruby-shadow gem not installed for dynamic load test (PENDING: No reason given) should fail assertions when ruby-shadow cannot be loaded compare_user should return true if uid doesn't match should return true if gid doesn't match should return true if comment doesn't match should return true if home doesn't match should return true if shell doesn't match should return true if password doesn't match should return false if string uid matches fixnum should return false if string gid matches fixnum should return false if the objects are identical should ignore differences in trailing slash in home paths action_create should call create_user if the user does not exist should call manage_user if the user exists and has mismatched attributes should set the new_resources updated flag when it creates the user if we call manage_user action_remove should not call remove_user if the user does not exist should call remove_user if the user exists should set the new_resources updated flag to true if the user is removed action_manage should run manage_user if the user exists and has mismatched attributes should set the new resources updated flag to true if manage_user is called should not run manage_user if the user does not exist should not run manage_user if the user exists but has no differing attributes action_modify should run manage_user if the user exists and has mismatched attributes should set the new resources updated flag to true if manage_user is called should not run manage_user if the user exists but has no differing attributes should raise a Chef::Exceptions::User if the user doesn't exist action_lock should lock the user if it exists and is unlocked should set the new resources updated flag to true if lock_user is called should raise a Chef::Exceptions::User if we try and lock a user that does not exist action_unlock should unlock the user if it exists and is locked should raise a Chef::Exceptions::User if we try and unlock a user that does not exist convert_group_name should lookup the group name locally should raise an error if we can't translate the group name during resource assertions does not raise an error if we can't translate the group name during resource assertions if we are removing the user should set the new resources gid to the integerized version if available Chef::Provider::WhyrunSafeRubyBlock initialize should call the block and flag the resource as updated should call the block and flat the resource as updated - even in whyrun Chef::Provider::WindowsTask #load_current_resource returns a current_resource sets the attributes of current_resource if the given task name already exists calls set_current_resource #action_create doesn't create the same task if it's already existing sets the start_time in 24hr format while updating an existing task sets the start_day in mm/dd/yyyy format while updating an existing task when start_day and start_time are N/A for frequency :on_logon doesn't update the start_day and start_time of new_resource when task is not existing creates the task if it's not already existing updates the task XML if random_delay is provided updates the task XML if execution_time_limit is provided updates the task XML if frequency is set as `:none` #action_run does nothing if the task doesn't exist when the task exists does nothing if the task is already running runs the task #action_delete deletes the task if it exists does nothing if the task doesn't exist #action_end does nothing if the task doesn't exist when the task exists does nothing if the task is not running ends the task if it's running #action_enable raises error if the task doesn't exist when the task exists does nothing if the task is already enabled enables the task if it exists #action_disable does nothing if the task doesn't exist when the task exists disables the task if it's enabled does nothing if the task is already disabled #run_schtasks forms the command properly from the given options #basic_validation when command doesn't exist raise error when task_name doesn't exist raise error when task_name and command exists returns true #task_need_update? when task doesn't exist returns true when the task exists when no attributes are modified returns false when frequency_modifier is updated returns true when months are updated returns true when start_day is updated returns true when start_time updated returns true when command updated return true #start_day_updated? when start_day not changed returns false when start_day changed returns true #start_time_updated? when start_time not changed returns false when start_time changed returns true #convert_user_date_to_system_date when current resource start date is '05/30/2017' then returns '30/05/2017' #convert_system_date_format_to_ruby_date_format when system date format 'dd-MMM-yy' returns '%d-%b-%y' when system date format 'dd/MM/yyyy' returns '%d/%m/%Y' #convert_system_date_format_to_ruby_long_date when system date format 'dd-MMM-yy' returns '%d-%m-%Y' when system date format 'dd/MM/yyyy' returns '%d/%m/%Y' #common_date_format_conversion when system date format 'dd-MM-yyyy' returns '%d-%m-%Y' when system date format 'd-M-yyyy' returns '%d-%m-%Y' #update_task_xml does nothing if the task doesn't exist updates the task XML if random_delay is passed updates the task XML if frequency is set as `:none` #load_task_hash returns false if the task doesn't exist returns task hash if the task exists #frequency_modifier_allowed returns true for frequency :hourly returns true for frequency :monthly if frequency_modifier is THIRD returns false for frequency :once returns false for frequency :none #random_delay_updated? returns false if current_resource.random_delay = nil & random_delay is set to '0' seconds returns false if current_resource.random_delay = 'P7D' & random_delay is set to '604800' seconds returns false if current_resource.random_delay = 'P7DT1S' & random_delay is set to '604801' seconds returns true if current_resource.random_delay = 'PT1S' & random_delay is set to '3600' seconds returns false if current_resource.random_delay = 'P2Y1MT2H' & random_delay is set to '65707200' seconds #execution_time_limit_updated? returns false if current_resource.execution_time_limit = 'P7D' & execution_time_limit is set to 604800 seconds returns false if current_resource.execution_time_limit = 'P7DT1S' & execution_time_limit is set to 604801 seconds returns true if current_resource.execution_time_limit = 'PT1S' & execution_time_limit is set to '3600' seconds returns false if current_resource.execution_time_limit = 'P2Y1MT2H' & execution_time_limit is set to '65707200' seconds Chef::Provider::YumRepository responds to load_current_resource Chef::Provider::ZypperRepository responds to load_current_resource #action_create skips key import if gpgautoimportkeys is false #escaped_repo_name returns an escaped repo name #cookbook_name returns 'test' when the cookbook property is set #key_type returns :remote_file with an http URL returns :cookbook_file with a chef managed file throws exception if an unknown file specified #key_installed? returns true if the key is installed returns false if the key is not installed #key_fingerprint returns the key's fingerprint #install_gpg_key skips installing the key if a nil value for key is passed Chef::Provider should mixin shell_out should mixin shell_out! should mixin shell_out_with_systems_locale should store the resource passed to new as new_resource should store the node passed to new as node should have nil for current_resource by default should support whyrun by default should do nothing for check_resource_semantics! by default should return true for action_nothing evals embedded recipes with a pristine resource collection does not re-load recipes when creating the temporary run context when no converge actions are queued does not mark the new resource as updated when converge actions have been added to the queue and provider supports whyrun mode should tell us that it does support whyrun queues up converge actions executes pending converge actions to converge the system marks the resource as updated and provider does not support whyrun mode should tell us that it doesn't support whyrun should automatically generate a converge_by block on the provider's behalf should automatically execute the generated converge_by block and the resource is invalid fails with InvalidResourceSpecification when run when using use_inline_resources should log a deprecation warning (PENDING: No reason given) Chef::Application load_config_file calls ConfigFetcher successfully without NameError Chef::Resource::AptPackage initialize supports default_release Chef::Resource::AptPackage static provider initialization should return a Chef::Resource::AptPackage should set the resource_name to apt_package should leave the provider nil should resolve to a Chef::Provider::Package::Apt Chef::Resource::AptPreference creates a new Chef::Resource::AptPreference resolves to a Noop class when on non-linux OS resolves to a Noop class when on non-debian linux resolves to a AptUpdate class when on a debian platform_family Chef::Resource::AptRepository creates a new Chef::Resource::AptRepository uses keyserver.ubuntu.com as the keyserver default distribution is nillable resolves to a Noop class when on non-linux OS resolves to a Noop class when on non-debian linux resolves to a AptUpdate class when on a debian platform_family Chef::Resource::AptUpdate creates a new Chef::Resource::AptUpdate default frequency is set to be 1 day frequency accepts integers resolves to a Noop class when on non-linux OS resolves to a Noop class when on non-debian linux resolves to a AptUpdate class when on a debian platform_family Chef::Resource::Bash creates a new Chef::Resource::Bash has a resource name of :bash has an interpreter of bash Chef::Resource::Batch creates a new Chef::Resource::Batch windows script it should behave like a Windows script resource should be a kind of Chef::Resource::WindowsScript when evaluating guards should have a default_guard_interpreter attribute that is the same as the resource should default to using guard_interpreter attribute that is the same as the resource should use a resource to evaluate the guard when guard_interpreter is not specified when the guard is given a ruby block should evaluate the guard if the guard_interpreter is set to its default value should raise an exception if the guard_interpreter is overridden from its default value script with a default guard interpreter it should behave like a script resource should create a new Chef::Resource::Script should have a resource name of :script should set command to nil on the resource should accept a string for the code should accept a string for the flags should raise an exception if users set command on the resource when executing guards inherits exactly the :cwd, :environment, :group, :path, :user, and :umask attributes from a parent resource class when guard_interpreter is set to the default value, the guard command string should be evaluated by command execution and not through a resource when a valid guard_interpreter resource is specified, a block should be used to evaluate the guard Chef::Resource::Breakpoint gets the iterator from @collection and pauses it doesn't pause the iterator if chef-shell isn't running allows the action :break defaults to the break action names itself after the line number of the file where it's created Chef::Resource::CabPackage creates a new Chef::Resource::CabPackage sets resource name as :cab_package sets the default action as :install coerces name property to package_name property coerces name property to a source property if source not provided coerces name property to a source property if source not provided and package_name is coerces source property if it does not looks like a path Chef::Resource::ChefGem initialize Chef::Resource::ChefGem static provider initialization should return a Chef::Resource::ChefGem should set the resource_name to chef_gem should leave the provider nil should resolve to a Chef::Provider::Package::Rubygems Chef::Resource::ChefGem gem_binary raises an exception when gem_binary is set sets the gem_binary based on computing it from RbConfig sets compile_time to false by default when building the resource does not runs the install at compile-time by default compile_time true installs at compile-time compile_time false does not install at compile-time by default does not install at compile-time compile_time true installs at compile-time compile_time false does not install at compile-time Chef::Resource::ChocolateyPackage creates a new Chef::Resource::ChocolateyPackage has a resource name of :python coerces its name to a package_name array the package_name setter coerces to arrays the package_name setter accepts arrays the name accepts arrays the default version is nil the version setter coerces to arrays the version setter accepts arrays the default returns is 0 supports setting an alternate return value as a Integer supports setting an alternate return value as a Array Chef::Resource::ConditionalActionNotNothing after running a :nothing action indicates that resource convergence should not continue after running an action different to :nothing indicates that resource convergence should continue Chef::Resource::Conditional raises an exception when neither a block or command is given does not evaluate a guard interpreter on initialization of the conditional configure raises an exception when a guard_interpreter is specified and a block is given when created as an `only_if` after running a successful command given as a string indicates that resource convergence should continue after running a negative/false command given as a string indicates that resource convergence should not continue after running a successful command given as an array indicates that resource convergence should continue after running a negative/false command given as an array indicates that resource convergence should not continue after running a command which timed out indicates that resource convergence should not continue logs a warning after running a block that returns a truthy value indicates that resource convergence should continue after running a block that returns a falsey value indicates that resource convergence should not continue after running a block that returns a string value logs a warning after running a block that returns a string value on a sensitive resource logs a warning when created as a `not_if` after running a successful/true command given as a string indicates that resource convergence should not continue after running a failed/false command given as a string indicates that resource convergence should continue after running a successful/true command given as an array indicates that resource convergence should not continue after running a failed/false command given as an array indicates that resource convergence should continue after running a command which timed out indicates that resource convergence should continue logs a warning after running a block that returns a truthy value indicates that resource convergence should not continue after running a block that returns a falsey value indicates that resource convergence should continue after running a block that returns a string value logs a warning after running a block that returns a string value on a sensitive resource logs a warning Chef::Resource::CookbookFile uses the basepath of the resourc ename for the source property source property accepts Strings cookbook property defaults to nil (current cookbook will be used) has a cookbook property that accepts Strings when it has a backup number, group, mode, owner, source, checksum, and cookbook on nix or path, rights, deny_rights, checksum on windows describes the state returns the path as its identity Chef::Resource::Cron creates a new Chef::Resource::Cron has a name property has a default action of [:create] accepts create or delete for action allows you to set a command allows you to set a user allows you to specify the minute allows you to specify the hour allows you to specify the day allows you to specify the month allows you to specify the weekday allows you to specify the mailto variable allows you to specify the path allows you to specify the home directory allows you to specify the shell to run the command with allows you to specify environment variables hash allows * for all time and date values allows ranges for all time and date values has a default value of * for all time and date values has a default value of root for the user rejects any minute over 59 rejects any hour over 23 rejects any day over 31 rejects any month over 12 converts integer schedule values to a string weekday rejects any weekday over 7 rejects any symbols which don't represent day of week when it has a time (minute, hour, day, month, weeekend) and user describes the state returns the command as its identity Chef::Resource::Csh creates a new Chef::Resource::Csh has a resource name of :csh has an interpreter of csh Chef::Resource::DeployRevision Chef::Resource::DeployRevision static provider initialization should return a Chef::Resource::DeployRevision should set the resource_name to deploy_revision should leave the provider nil should resolve to a Chef::Provider::Deploy::Revision Chef::Resource::DeployBranch Chef::Resource::DeployBranch static provider initialization should return a Chef::Resource::DeployBranch should set the resource_name to deploy_branch should leave the provider nil should resolve to a Chef::Provider::Deploy::Revision Chef::Resource::Deploy has a String attribute for repo has a String attribute for deploy_to has a String attribute for role has a String attribute for restart_command has a String attribute for migration_command has a String attribute for user has a String attribute for group has a String attribute for repository_cache has a String attribute for copy_exclude has a String attribute for revision has a String attribute for remote has a String attribute for git_ssh_wrapper has a String attribute for svn_username has a String attribute for svn_password has a String attribute for svn_arguments has a String attribute for svn_info_args has a Boolean attribute for migrate has a Boolean attribute for enable_submodules has a Boolean attribute for shallow_clone uses the first argument as the deploy directory aliases #revision as #branch takes the SCM resource to use as a constant, and defaults to git allows scm providers to be set via symbol allows scm providers to be set via string has a boolean attribute for svn_force_export defaulting to false takes arbitrary environment variables in a hash takes string arguments to environment for backwards compat, setting RAILS_ENV, RACK_ENV, and MERB_ENV sets destination to $deploy_to/shared/$repository_cache sets shared_path to $deploy_to/shared sets current_path to $deploy_to/current gets the current_path correct even if the shared_path is set (regression test) allows depth to be set via integer gives #depth as 5 if shallow clone is true, nil otherwise aliases repo as repository aliases git_ssh_wrapper as ssh_wrapper has an Array attribute purge_before_symlink, default: log, tmp/pids, public/system has an Array attribute create_dirs_before_symlink, default: tmp, public, config has a Hash attribute symlinks, default: {"system" => "public/system", "pids" => "tmp/pids", "log" => "log"} has a Hash attribute symlink_before_migrate, default "config/database.yml" => "config/database.yml" has a Callback attribute before_migrate has a Callback attribute before_symlink has a Callback attribute before_restart has a Callback attribute after_restart aliases restart_command as restart takes a block for the restart parameter allows providers to be set with a full class name allows deploy providers to be set via symbol allows deploy providers to be set via string defaults keep_releases to 5 allows keep_releases to be set via integer enforces a minimum keep_releases of 1 Chef::Resource::Deploy static provider initialization should return a Chef::Resource::Deploy should set the resource_name to deploy should leave the provider nil should resolve to a Chef::Provider::Deploy::Timestamped when it has a timeout attribute stores this timeout when it has no timeout attribute has no default timeout when it has meta application root, revision, user, group, scm provider, repository cache, environment, simlinks and migrate describes its state returns the repository URI as its identity Chef::Resource::Directory creates a new Chef::Resource::Directory has a name has a default action of 'create' accepts create or delete for action uses the object name as the path by default accepts a string as the path allows you to have specify whether the action is recursive with true/false when it has group, mode, and owner describes its state returns the directory path as its identity Chef::Resource::DnfPackage initialize Chef::Resource::DnfPackage static provider initialization should return a Chef::Resource::DnfPackage should set the resource_name to dnf_package should leave the provider nil should resolve to a Chef::Provider::Package::Dnf Chef::Resource::DnfPackage arch sets the arch variable to whatever is passed in Chef::Resource::DnfPackage flush_cache defaults the flush timing to false allows you to set the flush timing with an array allows you to set the flush timing with a hash allows 'true' for flush_cache allows 'false' for flush_cache allows ':before' for flush_cache allows ':after' for flush_cache Chef::Resource::DnfPackage allow_downgrade allows you to specify whether allow_downgrade is true or false Chef::Resource::DpkgPackage initialize Chef::Resource::DpkgPackage static provider initialization should return a Chef::Resource::DpkgPackage should set the resource_name to dpkg_package should leave the provider nil should resolve to a Chef::Provider::Package::Dpkg Chef::Resource::DscResource when Powershell supports Dsc has a default action of `:run` has an ed_actions attribute with only the `:run` and `:nothing` attributes allows the resource attribute to be set allows the module_name attribute to be set allows the module_version attribute to be set allows the reboot_action attribute to be set allows the timeout attribute to be set when setting a dsc property allows setting a dsc property with a property name of type Symbol raises a TypeError if property_name is not a symbol when using DelayedEvaluators allows setting a dsc property with a property name of type Symbol Powershell DSL methods responds to :ps_credential Chef::Resource::DscScript when Powershell supports Dsc has a default action of `:run` has an allowed_actions attribute with only the `:run` and `:nothing` attributes allows the code attribute to be set allows the command attribute to be set allows the configuration_name attribute to be set allows the configuration_data attribute to be set allows the configuration_data_script attribute to be set has the ps_credential helper method raises an ArgumentError exception if an attempt is made to set the code attribute when the command attribute is already set raises an ArgumentError exception if an attempt is made to set the command attribute when the code attribute is already set raises an ArgumentError exception if an attempt is made to set the configuration_name attribute when the code attribute is already set raises an ArgumentError exception if an attempt is made to set the configuration_data attribute when the configuration_data_script attribute is already set raises an ArgumentError exception if an attempt is made to set the configuration_data_script attribute when the configuration_data attribute is already set when calling imports allows an arbitrary number of resources to be set for a module to be set adds * to the imports when no resources are set for a moudle allows an arbitrary number of modules allows resources to be added for a module Chef::Resource::Env creates a new Chef::Resource::Env has a name has a default action of 'create' should accept create should accept delete should accept modify should not accept flibber uses the object name as the key_name by default accepts a string as the env value via 'value' does not accept a Hash for the env value via 'to' allows you to set an env value via 'to' when it has key name and value describes its state returns the key name as its identity Chef::Resource::ErlCall creates a new Chef::Resource::ErlCall has a resource name of :erl_call has a default action of run accepts run as an action allows you to set the code attribute allows you to set the cookie attribute allows you to set the distributed attribute allows you to set the name_type attribute allows you to set the node_name attribute when it has cookie and node_name returns the code as its identity Chef::Resource::Execute default guard interpreter is :execute interpreter defaults to not being a guard interpreter behaves like an execute resource should create a new Chef::Resource::Execute should set the command to the first argument to new should accept an array on instantiation, too should accept a string for the command to run should accept an array for the command to run should accept a string for the cwd should accept a hash for the environment allows the environment to be specified with #env should accept a string for the group should accept an integer for the group WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/support/shared/unit/execute_resource.rb:80:in `block (2 levels) in '. the old path property (that never worked) is not supported in chef >= 13 should accept an integer for the return code should accept an integer for the timeout should accept a string for the user should accept an integer for the user should accept a string for the domain should accept a string for the password should accept a string for creates should accept a boolean for live streaming the resource's sensitive attribute should be false by default should be true if set to true should be true if the password is non-nil should be true if the password is non-nil but the value is explicitly set to false should be false if the sensitive is set before password property when it has cwd, environment, group, path, return value, and a user returns the command as its identity #qualify_user when username is passed as user@domain correctly parses the user and domain when username is passed as domain\user correctly parses the user and domain behaves like a consumer of the Execute resource when running on Windows when no user, domain, or password is specified behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when a valid username is specified when a valid domain is specified when the password is not specified behaves like it received invalid credentials the validation method raises an error when the password is specified behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when the domain is not specified when the password is not specified behaves like it received invalid credentials the validation method raises an error when the password is specified behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when username is not specified when domain is specified behaves like it received invalid username and domain the validation method raises an error when password is specified behaves like it received invalid username and domain the validation method raises an error when invalid username is specified behaves like it received invalid username and domain the validation method raises an error when the domain is provided in both username and domain when username is in the form domain\user behaves like it received invalid username and domain the validation method raises an error when username is in the form user@domain behaves like it received invalid username and domain the validation method raises an error when elevated is passed when username and password are not passed behaves like it received invalid credentials the validation method raises an error when username and password are passed behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when not running on Windows when no user, domain, or password is specified behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when the user is specified and the domain and password are not behaves like it received valid credentials the validation method does not raise an error the name qualification method correctly translates the user and domain when the password is specified and the domain is not behaves like it received credentials that are not valid on the platform the validation method raises an error when the domain is specified and the password is not behaves like it received credentials that are not valid on the platform the validation method raises an error when the domain and password are specified behaves like it received credentials that are not valid on the platform the validation method raises an error when the user is not specified when the domain is specified when the password is specified behaves like it received credentials that are not valid on the platform the validation method raises an error when password is not specified behaves like it received credentials that are not valid on the platform the validation method raises an error when the domain is not specified when the password is specified behaves like it received credentials that are not valid on the platform the validation method raises an error Chef::Resource::File::Verification::SystemdUnit verification registration registers itself for later use #initialize overwrites the @command variable with the verification command #verify with the systemd-analyze binary available copies the temp file to secondary location under correct name returns the value given by #verify_command with the systemd-analyze binary unavailable skips verification Chef::Resource::File::Verification verification registration registers a verification for later use raises an error if a verification can't be found #verify expects a string argument accepts an options hash with a verification block passes a file path to the block returns true if the block returned true returns false if the block returned false responds to to_s with a verification command(String) raises an error when %{file} is used does not raise an error when %{file} is not used substitutes %{path} with the path returns false if the command fails returns true if the command succeeds responds to to_s with a named verification(Symbol) delegates to the registered verification responds to to_s Chef::Resource::File has a name has a default action of 'create' has a default content of nil is set to back up 5 files by default only accept strings for content only accept false or a number for backup accepts a sha256 for checksum accepts create, delete or touch for action accepts a block, symbol, or string for verify accepts multiple verify statements uses the object name as the path by default accepts a string as the path when it has a path, owner, group, mode, and checksum returns the file path as its identity on unix describes its state Chef::Resource::GemPackage initialize Chef::Resource::GemPackage static provider initialization should return a Chef::Resource::GemPackage should set the resource_name to gem_package should leave the provider nil should resolve to a Chef::Provider::Package::Rubygems Chef::Resource::GemPackage gem_binary sets the gem_binary variable to whatever is passed in Chef::Resource::Git is a kind of Scm Resource uses aliases revision as branch aliases revision as reference Chef::Resource::Git static provider initialization should return a Chef::Resource::Git should set the resource_name to git should leave the provider nil should resolve to a Chef::Provider::Git Chef::Resource::Group initialize creates a new Chef::Resource::Group sets the resource_name to :group sets the group_name equal to the argument to initialize defaults gid to nil defaults members to an empty array aliases users to members, also an empty array sets action to :create allows action create allows action remove allows action modify allows action manage accepts domain groups (@ or separator) on non-windows Chef::Resource::Group group_name allows a string does not allow a hash Chef::Resource::Group gid allows an integer does not allow a hash Chef::Resource::Group members (users) allows and convert a string (users) should split a string on commas (users) allows an array (users) does not allow a hash (members) allows and convert a string (members) should split a string on commas (members) allows an array (members) does not allow a hash Chef::Resource::Group append defaults to false allows a boolean does not allow a hash when it has members describes its state returns the group name as its identity Chef::Resource::HomebrewPackage initialize Chef::Resource::HomebrewPackage static provider initialization should return a Chef::Resource::HomebrewPackage should set the resource_name to homebrew_package should leave the provider nil should resolve to a Chef::Provider::Package::Homebrew homebrew_user is set returns the configured homebrew_user as an integer returns the configured homebrew_user Chef::Resource::HttpRequest creates a new Chef::Resource::HttpRequest sets url to a string sets the message to the name by default sets message to a string when it has a message and headers returns the url as its identity Chef::Resource::Ifconfig when it has target, hardware address, inet address, and a mask describes its state returns the device as its identity when it is a RedHat platform it should behave like being a platform based on RedHat uses an Provider::Ifconfig::Redhat as a provider for redhat 4.0 when it is an old Debian platform it should behave like being a platform based on an old Debian uses an ordinary Provider::Ifconfig as a provider for debian 6.0 when it is a new Debian platform it should behave like being a platform based on a recent Debian uses an Ifconfig::Debian as a provider for debian 7.0 when it is an old Ubuntu platform it should behave like being a platform based on an old Debian uses an ordinary Provider::Ifconfig as a provider for ubuntu 11.04 when it is a new Ubuntu platform it should behave like being a platform based on a recent Debian uses an Ifconfig::Debian as a provider for ubuntu 11.10 Chef::Resource::IpsPackage initialize should support accept_license Chef::Resource::IpsPackage static provider initialization should return a Chef::Resource::IpsPackage should set the resource_name to ips_package should leave the provider nil should resolve to a Chef::Provider::Package::Ips Chef::Resource::Ksh creates a new Chef::Resource::Ksh has a resource name of :ksh has an interpreter of ksh Chef::Resource::Launchd creates a new Chef::Resource::Launchd has a resource name of Launchd has a default action of create accepts enable, disable, create, and delete as actions Chef::Resource::Link creates a new Chef::Resource::Link has a name has a default action of 'create' should accept create should accept delete should not accept blues uses the object name as the target_file by default accepts a delayed evaluator as the target path accepts a delayed evaluator when accessing via 'path' accepts a delayed evaluator via 'to' accepts a string as the link source via 'to' does not accept a Hash for the link source via 'to' allows you to set a link source via 'to' allows you to specify the link type defaults to a symbolic link accepts a hard link_type rejects any other link_type but :hard and :symbolic accepts a group name or id for group accepts a user name or id for owner when it has to, link_type, owner, and group describes its state returns the target file as its identity Chef::Resource::Log creates a new Chef::Resource::Log supports the :write actions has a name of log allows you to set a log string sets the message to the first argument to new accepts a string for the log message accepts a vaild level option when the identity is defined returns the log string as its identity Chef::Resource::MacportsPackage initialize Chef::Resource::MacportsPackage static provider initialization should return a Chef::Resource::MacportsPackage should set the resource_name to macports_package should leave the provider nil should resolve to a Chef::Provider::Package::Macports Chef::Resource::Mdadm creates a new Chef::Resource::Mdadm has a resource name of :mdadm has a default action of create accepts create, assemble, stop as actions allows you to set the raid_device attribute allows you to set the chunk attribute allows you to set the level attribute allows you to set the metadata attribute allows you to set the bitmap attribute allows you to set the layout attribute allows you to set the devices attribute allows you to set the exists attribute when it has devices, level, and chunk describes its state returns the raid device as its identity Chef::Resource::Mount creates a new Chef::Resource::Mount has a name sets mount_point to the name has a default action of mount accepts mount, umount, unmount and remount as actions allows you to set the device attribute sets fsck_device to '-' by default allows you to set the fsck_device attribute allows you to set the fstype attribute allows you to set the dump attribute allows you to set the pass attribute sets the options attribute to defaults allows options to be sent as a string, and convert to array allows options attribute as an array allows options to be sent as a delayed evaluator allows options to be sent as a delayed evaluator, and convert to array accepts true for mounted accepts false for mounted sets mounted to false by default does not accept a string for mounted accepts true for enabled accepts false for enabled sets enabled to false by default does not accept a string for enabled defaults all feature support to false allows you to set feature support as an array allows you to set feature support as a hash allows you to set username allows you to set password allows you to set domain when it has mount point, device type, and fstype describes its state returns the device as its identity when it has username, password and domain describes its state Chef::Resource::MsuPackage creates a new Chef::Resource::MsuPackage sets resource name as :msu_package sets the default action as :install coerces name property to package_name property coerces name property to a source property if source not provided coerces name property to a source property if source not provided and package_name is coerces source property if it does not looks like a path Chef::Resource::Ohai creates a new Chef::Resource::Ohai has a resource name of :ohai has a default action of reload allows you to set the plugin attribute when it has a plugin value describes its state returns the name as its identity Chef::Resource::OpenbsdPackage Initialization returns a Chef::Resource::OpenbsdPackage sets the resource_name to :openbsd_package does not set the provider Chef::Resource::OsxProfile creates a new Chef::Resource::OsxProfile has a resource name of profile has a default action of install accepts install and remove as actions allows you to set the profile attribute allows you to set the profile attribute to a string allows you to set the profile attribute to a hash Chef::Resource::Package creates a new Chef::Resource::Package sets the package_name to the first argument to new accepts a string for the package name accepts a string for the version accepts a string for the response file accepts a hash for response file template variables accepts a string for the source accepts a string for the options splits options supports setting a timeout as a String supports setting a timeout as a Integer when it has a package_name and version describes its state returns the file path as its identity takes options as an array Chef::Resource::PacmanPackage initialize Chef::Resource::PacmanPackage static provider initialization should return a Chef::Resource::PacmanPackage should set the resource_name to pacman_package should leave the provider nil should resolve to a Chef::Provider::Package::Pacman Chef::Resource::Perl creates a new Chef::Resource::Perl has a resource name of :perl has an interpreter of perl Chef::Resource::PortagePackage initialize returns a Chef::Resource::PortagePackage sets the resource_name to :portage_package sets the provider to Chef::Provider::Package::Portage Chef::Resource::PowershellPackage creates a new Chef::Resource::PowershellPackage has a resource name of :python coerces its name to a package_name array the package_name setter coerces to arrays the package_name setter accepts arrays the name accepts arrays the default version is nil the version setter coerces to arrays the version setter accepts arrays Chef::Resource::PowershellScript creates a new Chef::Resource::PowershellScript sets convert_boolean_return to false by default returns the value for convert_boolean_return that was set raises an error when architecture is i386 on Windows Nano Server when using guards inherits exactly the :cwd, :environment, :group, :path, :user, :umask, :architecture, :elevated attributes from a parent resource class allows guard interpreter to be set to Chef::Resource::Script allows guard interpreter to be set to Chef::Resource::Bash derived from Chef::Resource::Script allows guard interpreter to be set to Chef::Resource::PowershellScript derived indirectly from Chef::Resource::Script enables convert_boolean_return by default for guards in the context of powershell_script when no guard params are specified enables convert_boolean_return by default for guards in non-Chef::Resource::Script derived resources when no guard params are specified enables convert_boolean_return by default for guards in the context of powershell_script when guard params are specified passes convert_boolean_return as true if it was specified as true in a guard parameter passes convert_boolean_return as false if it was specified as true in a guard parameter as a script running in Windows-based scripting language behaves like a Windows script resource should be a kind of Chef::Resource::WindowsScript when evaluating guards should have a default_guard_interpreter attribute that is the same as the resource should default to using guard_interpreter attribute that is the same as the resource should use a resource to evaluate the guard when guard_interpreter is not specified when the guard is given a ruby block should evaluate the guard if the guard_interpreter is set to its default value should raise an exception if the guard_interpreter is overridden from its default value script with a default guard interpreter it should behave like a script resource should create a new Chef::Resource::Script should have a resource name of :script should set command to nil on the resource should accept a string for the code should accept a string for the flags should raise an exception if users set command on the resource when executing guards inherits exactly the :cwd, :environment, :group, :path, :user, and :umask attributes from a parent resource class when guard_interpreter is set to the default value, the guard command string should be evaluated by command execution and not through a resource when a valid guard_interpreter resource is specified, a block should be used to evaluate the guard Chef::Resource::Python creates a new Chef::Resource::Python has a resource name of :python has an interpreter of python Chef::Resource::Reboot creates a new Chef::Resource::Reboot has a default action of :nothing supports the :nothing, :request_reboot, :reboot_now, and :cancel actions has a resource_name of :reboot accepts a String for the reboot reason accepts an Integer for delay_mins Chef::Resource::RegistryKey initialize creates a new Chef::Resource::RegistryKey sets the resource_name to :registry_key sets the key equal to the argument to initialize defaults recursive to false defaults architecture to :machine sets action to :create allows action create allows action create_if_missing allows action delete allows action delete_key Chef::Resource::RegistryKey key allows a string does not allow an integer does not allow a hash Chef::Resource::RegistryKey values allows a single proper hash of registry values allows an array of proper hashes of registry values returns checksummed data if the type is unsafe raises an exception if the name field is missing raises an exception if extra fields are present does not allow a string does not allow an integer raises an exception if type of name is not string does not raise an exception if type of name is string type key not given does not raise an exception type key given raises an exception if type of type is not symbol does not raise an exception if type of type is symbol Chef::Resource::RegistryKey recursive allows a boolean does not allow a hash does not allow an array does not allow a string does not allow an integer Chef::Resource::RegistryKey architecture allows i386 as a symbol allows x86_64 as a symbol allows machine as a symbol does not allow a hash does not allow an array does not allow a string does not allow an integer Chef::Resource::RegistryKey :unscrubbed_values returns unsafe data as-is Chef::Resource::RegistryKey state returns scrubbed values Chef::Resource::RemoteDirectory creates a new Chef::Resource::RemoteDirectory sets the path to the first argument to new accepts a string for the remote directory source has the basename of the remote directory resource as the default source accepts a number for the remote files backup accepts false for the remote files backup accepts 3 or 4 digets for the files_mode accepts a string or number for the files group accepts a string or number for the files owner when it has cookbook, files owner, files mode, and source describes its state returns the path as its identity Chef::Resource::RemoteFile says its provider is RemoteFile when the source is an absolute URI says its provider is RemoteFile when the source is a network share initialize creates a new Chef::Resource::RemoteFile source does not have a default value for 'source' accepts a URI for the remote file source accepts a windows network share source accepts file URIs with spaces accepts a delayed evalutator (string) for the remote file source accepts an array of URIs for the remote file source accepts a delated evaluator (array) for the remote file source accepts an multiple URIs as arguments for the remote file source only accept a single argument if a delayed evalutor is used only accept a single array item if a delayed evalutor is used does not accept a non-URI as the source does not accept a non-URI as the source when read from a delayed evaluator raises an exception when source is an empty array checksum accepts a string for the checksum object defaults to nil ftp_active_mode accepts a boolean for the ftp_active_mode object defaults to false conditional get options defaults to using etags and last modified enable or disables etag and last modified options as a group disables etags indivdually disables last modified individually when it has group, mode, owner, source, and checksum describes its state returns the path as its identity Chef::Resource::Notification has a resource to be notified has an action to take on the service has a notifying resource is a duplicate of another notification with the same target resource and action is not a duplicate of another notification if the actions differ is not a duplicate of another notification if the target resources differ raises an ArgumentError if you try to check a non-ducktype object for duplication takes no action to resolve a resource reference that doesn't need to be resolved resolves a lazy reference to a resource resolves a lazy reference to its notifying resource resolves lazy references to both its resource and its notifying resource raises a RuntimeError if you try to reference multiple resources raises a RuntimeError if you try to reference multiple notifying resources raises a RuntimeError if it can't find a resource in the resource collection when resolving a lazy reference raises a RuntimeError if it can't find a notifying resource in the resource collection when resolving a lazy reference raises an ArgumentError if improper syntax is used in the lazy reference to its resource raises an ArgumentError if improper syntax is used in the lazy reference to its notifying resource Chef::Resource::Route creates a new Chef::Resource::Route has a name has a default action of 'add' accepts add or delete for action uses the object name as the target by default allows you to specify the netmask allows you to specify the gateway allows you to specify the metric allows you to specify the device allows you to specify the route type defaults to a host route type accepts a net route type rejects any other route_type but :host and :net when it has netmask, gateway, and device describes its state returns the target as its identity Chef::Resource::RpmPackage initialize Chef::Resource::RpmPackage static provider initialization should return a Chef::Resource::RpmPackage should set the resource_name to rpm_package should leave the provider nil should resolve to a Chef::Provider::Package::Rpm Chef::Resource::RpmPackage static provider initialization should return a Chef::Resource::RpmPackage should set the resource_name to rpm_package should leave the provider nil should resolve to a Chef::Provider::Package::Rpm Chef::Resource::RpmPackage allow_downgrade allows you to specify whether allow_downgrade is true or false Chef::Resource::RubyBlock creates a new Chef::Resource::RubyBlock has a default action of 'run' has a resource name of :ruby_block accepts a ruby block/proc/.. for the 'block' parameter allows the action to be 'create' when it has been initialized with block code returns the block as its identity Chef::Resource::Ruby creates a new Chef::Resource::Ruby has a resource name of :ruby has an interpreter of ruby Chef::Resource::Scm is a SCM resource supports :checkout, :export, :sync, :diff, and :log actions takes the destination path as a string takes a string for the repository URL takes a string for the revision defaults to the ``HEAD'' revision takes a string for the user to run as also takes an integer for the user to run as takes a string for the group to run as, defaulting to nil also takes an integer for the group to run as has a svn_username String attribute has a svn_password String attribute has a svn_arguments String attribute has a svn_info_args String attribute takes the depth as an integer for shallow clones defaults to nil depth for a full clone takes a boolean for #enable_submodules defaults to not enabling submodules takes a boolean for #enable_checkout defaults to enabling checkout takes a string for the remote defaults to ``origin'' for the remote takes a string for the ssh wrapper defaults to nil for the ssh wrapper defaults to nil for the environment when it has a timeout attribute stores this timeout when it has no timeout attribute has no default timeout when it has repository, revision, user, and group describes its state returns the destination as its identity when it has a environment attribute stores this environment Chef::Resource::Script accepts a string for the interpreter when it has interpreter and flags returns the name as its identity behaves like a script resource should create a new Chef::Resource::Script should have a resource name of :script should set command to nil on the resource should accept a string for the code should accept a string for the flags should raise an exception if users set command on the resource when executing guards inherits exactly the :cwd, :environment, :group, :path, :user, and :umask attributes from a parent resource class when guard_interpreter is set to the default value, the guard command string should be evaluated by command execution and not through a resource when a valid guard_interpreter resource is specified, a block should be used to evaluate the guard Chef::Resource::Service creates a new Chef::Resource::Service does not set a provider unless node[:init_package] is defined as systemd sets the service_name to the first argument to new sets the pattern to be the service name by default accepts a string for the service name accepts a string for the service pattern does not accept a regexp for the service pattern accepts a string for the service start command does not accept a regexp for the service start command accepts a string for the service stop command does not accept a regexp for the service stop command accepts a string for the service status command does not accept a regexp for the service status command accepts a string for the service restart command does not accept a regexp for the service restart command accepts a string for the service reload command does not accept a regexp for the service reload command accepts a string for the service init command does not accept a regexp for the service init command accepts an array for options accepts a string for options accepts a string with multiple flags for options does not accept a boolean for options accepts true for enabled accepts false for enabled does not accept a string for enabled defaults all the feature support to nil allows you to set what features this resource supports as a array allows you to set what features this resource supports as a hash accepts true for running accepts false for running does not accept a string for running defaults all the feature support to nil allows you to set what features this resource supports as a array allows you to set what features this resource supports as a hash when it has pattern and supports describes its state returns the service name as its identity Chef::Resource::SmartosPackage initialize sets the package_name to the name provided Chef::Resource::SmartosPackage static provider initialization should return a Chef::Resource::SmartosPackage should set the resource_name to smartos_package should leave the provider nil should resolve to a Chef::Provider::Package::SmartOS Chef::Resource::SolarisPackage initialize sets the package_name to the name provided Chef::Resource::SolarisPackage static provider initialization should return a Chef::Resource::SolarisPackage should set the resource_name to solaris_package should leave the provider nil should resolve to a Chef::Provider::Package::Solaris Chef::Resource::SolarisPackage static provider initialization should return a Chef::Resource::SolarisPackage should set the resource_name to solaris_package should leave the provider nil should resolve to a Chef::Provider::Package::Solaris Chef::Resource::Subversion is a subclass of Resource::Scm set destination property to the name_property allows the force_export action sets svn info arguments to --no-auth-cache by default resets svn info arguments to nil when given false in the setter sets svn arguments to --no-auth-cache by default sets svn binary to nil by default resets svn arguments to nil when given false in the setter hides password from custom exception message Chef::Resource::Subversion static provider initialization should return a Chef::Resource::Subversion should set the resource_name to subversion should leave the provider nil should resolve to a Chef::Provider::Subversion Chef::Resource::SystemdUnit creates a new Chef::Resource::SystemdUnit has a name has a default action of nothing supports appropriate unit actions accepts boolean state properties accepts the content property accepts the user property accepts the triggers_reload property reports its state returns the unit name as its identity serializes to ini with a string-formatted content property serializes to ini with a hash-formatted content property Chef::Resource::Template initialize creates a new Chef::Resource::Template source accepts a string for the template source has a default based on the param name with .erb appended uses only the basename of the file as the default variables accepts a hash for the variable list cookbook accepts a string for the cookbook name defaults to nil local accepts a boolean for whether a template is local or remote defaults to false when it has a path, owner, group, mode, and checksum returns the file path as its identity on unix describes its state defining helper methods collects helper method bodies as blocks compiles helper methods into a module compiles helper methods with arguments into a module raises an error when attempting to define a helper method without a method body raises an error when attempting to define a helper method with a non-Symbod method name collects helper module bodies as blocks compiles helper module bodies into modules raises an error when no block or module name is given for helpers definition raises an error when a non-module is given for helpers definition raises an error when a module name and block are both given for helpers definition collects helper modules combines all helpers into a set of compiled modules Chef::Resource::TimestampedDeploy initialize Chef::Resource::TimestampedDeploy static provider initialization should return a Chef::Resource::TimestampedDeploy should set the resource_name to timestamped_deploy should leave the provider nil should resolve to a Chef::Provider::Deploy::Timestamped Chef::Resource::User initialize creates a new Chef::Resource::User sets the resource_name to :user sets the username equal to the argument to initialize sets comment to nil sets uid to nil sets gid to nil sets home to nil sets shell to nil sets password to nil sets action to :create sets manage_home to false sets non_unique to false sets force to false allows action create allows action remove allows action modify allows action manage allows action lock allows action unlock accepts domain users (@ or separator) on non-windows Chef::Resource::User username allows a string does not allow a hash Chef::Resource::User comment allows a string does not allow a hash Chef::Resource::User home allows a string does not allow a hash Chef::Resource::User shell allows a string does not allow a hash Chef::Resource::User password allows a string does not allow a hash Chef::Resource::User uid allows a string allows an integer does not allow a hash when it has uid, gid, and home describes its state returns the username as its identity Chef::Resource::User gid allows a string allows an integer does not allow a hash when it has uid, gid, and home describes its state returns the username as its identity Chef::Resource::WindowsPackage initialize returns a Chef::Resource::WindowsPackage sets the resource_name to :windows_package supports setting installer_type as a symbol supports setting a timeout as a String supports setting a timeout as a Integer supports setting an alternate return value as a String supports setting an alternate return value as a Integer supports setting an alternate return value as a Array coverts a source to an absolute path converts slashes to backslashes in the source path defaults source to the resource name supports the checksum attribute Chef::Resource::WindowsPackage static provider initialization should return a Chef::Resource::WindowsPackage should set the resource_name to windows_package should leave the provider nil should resolve to a Chef::Provider::Package::Windows when a URL is used returns the source unmodified Chef::Resource::WindowsPath sets resource name as :windows_path sets the path as its name sets the default action as :add supports :add and :remove actions Chef::Resource::WindowsService initialize returns a Chef::Resource::WindowsService sets the resource_name to :windows_service supports setting startup_type allows the action to be 'configure_startup' Chef::Resource::WindowsService static provider initialization should return a Chef::Resource::WindowsService should set the resource_name to windows_service should leave the provider nil should resolve to a Chef::Provider::Service::Windows Chef::Resource::WindowsTask creates a new Chef::Resource::WindowsTask sets resource name as :windows_task sets the task_name as its name sets the default action as :create sets the default user as System sets the default run_level as :limited sets the default force as false sets the default interactive_enabled as false sets the default frequency_modifier as 1 sets the default frequency as :hourly when user is set but password is not raises an error if the user is a non-system user does not raise an error if the user is a system user does not raise an error if the user is a system user even if lowercase when random_delay is passed raises error if frequency is `:once` raises error for invalid random_delay raises error for invalid random_delay which looks like an Integer converts seconds String into iso8601 duration format converts seconds Integer into iso8601 duration format raises error that random_delay is not supported when execution_time_limit isn't specified sets the default value to PT72H when execution_time_limit is passed raises error for invalid execution_time_limit raises error for invalid execution_time_limit that looks like an Integer converts seconds Integer into iso8601 format converts seconds String into iso8601 format #validate_start_time raises error if start_time is nil when frequency `:once` raises error if start_time is given when frequency `:none` raises error if start_time is not HH:mm format does not raise error if start_time is in HH:mm format #validate_start_day raise error if start_day is passed with invalid frequency (:on_logon) does not raise error if start_day is passed with valid frequency (:weekly) raise error if start_day is passed with invalid date format (DD/MM/YYYY) raise error if start_day is passed with invalid date format (M/DD/YYYY) raise error if start_day is passed with invalid date format (MM/D/YYYY) raise error if start_day is passed with invalid date format (MM/DD/YY) #validate_interactive_setting raises error when interactive_enabled is passed without password #validate_create_frequency_modifier when frequency is :minute raises error if frequency_modifier > 1439 when frequency is :hourly raises error if frequency_modifier > 23 when frequency is :daily raises error if frequency_modifier > 365 when frequency is :weekly raises error if frequency_modifier > 52 when frequency is :monthly raises error if frequency_modifier > 12 raises error if frequency_modifier is invalid #validate_create_day raises error if frequency is not :weekly or :monthly accepts a valid single day accepts a comma separated list of valid days raises error for invalid day value #validate_create_months raises error if frequency is not :monthly accepts a valid single month accepts a comma separated list of valid months raises error for invalid month value #validate_idle_time raises error if frequency is not :on_idle raises error if idle_time > 999 raises error if idle_time < 0 raises error if idle_time is not set does not raises error if idle_time is not set for other frequencies #sec_to_dur return nil when passed 0 return PT1S when passed 1 return PT86400S when passed 86400 return PT86401S when passed 86401 return PT86500S when passed 86500 return PT604801S when passed 604801 Chef::Resource::YumPackage initialize Chef::Resource::YumPackage static provider initialization should return a Chef::Resource::YumPackage should set the resource_name to yum_package should leave the provider nil should resolve to a Chef::Provider::Package::Yum Chef::Resource::YumPackage when passed immutable node attribute arrays allows mutation of the package_name array allows mutation of the version array allows mutation of the arch array Chef::Resource::YumPackage arch sets the arch variable to whatever is passed in Chef::Resource::YumPackage flush_cache should default the flush timing to false should allow you to set the flush timing with an array should allow you to set the flush timing with a hash should allow 'true' for flush_cache should allow 'false' for flush_cache should allow ':before' for flush_cache should allow ':after' for flush_cache Chef::Resource::YumPackage allow_downgrade should allow you to specify whether allow_downgrade is true or false Chef::Resource::YumPackage yum_binary should allow you to specify the yum_binary Chef::Resource::YumRepository has a resource_name of :yum_repository the repositoryid property is the name_property WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:36:in `block (2 levels) in '. the timeout property expects numeric Strings WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:41:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:42:in `block (2 levels) in '. the priority property expects numeric Strings from '1' to '99' WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:48:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:49:in `block (2 levels) in '. the failovermethod property accepts 'priority' or 'roundrobin' WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:54:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:55:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:56:in `block (2 levels) in '. the http_caching property accepts 'packages', 'all', or 'none' WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:61:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:62:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:63:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:64:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:65:in `block (2 levels) in '. the metadata_expire property accepts a time value or 'never' WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:70:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:71:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:72:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:73:in `block (2 levels) in '. the mirror_expire property accepts a time value WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:78:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:79:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:80:in `block (2 levels) in '. WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource/yum_repository_spec.rb:81:in `block (2 levels) in '. the mirrorlist_expire property accepts a time value on linux resolves to a Noop class when yum is not found resolves to a YumRepository class when yum is found Chef::Resource::ZypperRepository has a resource_name of :zypper_repository repo_name is the name_property has a default action of create supports all valid actions on linux resolves to a Noop class when on non-linux OS resolves to a Noop class when on non-suse linux resolves to a ZypperRepository class when on a suse platform_family Chef::ResourceCollection::ResourceList initialize should return a Chef::ResourceList insert should be able to insert a Chef::Resource should insert things in order should raise error when trying to install something other than Chef::Resource accessors should be able to insert with []= should be empty by default when resources are inserted should get resources with all_resources method should be able to get resources with each should be able to get resources with each_index should be able to check if the list is empty during execute should execute resources in order should be able to insert resources on the fly Chef::ResourceCollection::ResourceSet initialize should return a Chef::ResourceSet keys should return an empty list for an empty ResourceSet should return the keys for a non-empty ResourceSet insert_as, lookup and find should accept only Chef::Resources should allow you to lookup resources by a default .to_s should use a custom type and name to insert should raise an exception if you send something strange to lookup should raise an exception if it cannot find a resource with lookup should find a resource by type symbol and name should find a resource by type symbol and array of names should find a resource by type symbol and array of names with custom names should find resources of multiple kinds (:zen_master => a, :zen_follower => b) should find resources of multiple kinds (:zen_master => a, :zen_follower => b with custom names) should find a resource by string zen_master[a] should find a resource by string zen_master[a] with custom names should find resources by strings of zen_master[a,b] should find array names should favor array names over multi resource syntax should find resources by strings of zen_master[a,b] with custom names should find resources of multiple types by strings of zen_master[a] should find resources of multiple types by strings of zen_master[a] with custom names should only keep the last copy when multiple instances of a Resource are inserted should raise an exception if you pass a bad name to resources should raise an exception if you pass something other than a string or hash to resource raises an error when attempting to find a resource that does not exist nameless resources looks up nameless resources with find without brackets looks up nameless resources with find with empty brackets looks up nameless resources with find with empty string hash key looks up nameless resources with lookup with empty brackets looks up nameless resources with lookup with the resource validate_lookup_spec! accepts a string of the form 'resource_type[resource_name]' accepts a single-element :resource_type => 'resource_name' Hash accepts a chef resource object rejects a malformed query string rejects an argument that is not a String, Hash, or Chef::Resource Chef::ResourceCollection::StepableIterator has an empty array for its collection by default doing basic iteration re-initializes the instance with a collection iterates over the collection iterates over the collection with each_index iterates over the collection with index and element pausing and resuming iteration allows the iteration to be paused allows the iteration to be resumed allows iteration to be rewound allows iteration to be fast forwarded allows iteration to be rewound allows iteration to be stepped doesn't step if there are no more steps allows the iteration to start by being stepped should work correctly when elements are added to the collection during iteration Chef::ResourceCollection should throw an error when calling a non-delegated method initialize should return a Chef::ResourceCollection [] should accept Chef::Resources through [index] should allow you to fetch Chef::Resources by position push should accept Chef::Resources through pushing << should accept the << operator insert should accept only Chef::Resources should accept named arguments in any order should append resources to the end of the collection when not executing a run should insert resources to the middle of the collection if called while executing a run each should allow you to iterate over every resource in the collection each_index should allow you to iterate over every resource by index lookup should allow you to find resources by name via lookup should raise an exception if you send something strange to lookup should raise an exception if it cannot find a resource with lookup delete should allow you to delete resources by name via delete should raise an exception if you send something strange to delete should raise an exception if it cannot find a resource with delete resources should find a resource by symbol and name (:zen_master => monkey) should find a resource by symbol and array of names (:zen_master => [a,b]) should find resources of multiple kinds (:zen_master => a, :file => b) should find a resource by string zen_master[a] should find resources by strings of zen_master[a,b] should find resources of multiple types by strings of zen_master[a] should raise an exception if you pass a bad name to resources should raise an exception if you pass something other than a string or hash to resource raises an error when attempting to find a resource that does not exist when validating a resource query object accepts a string of the form 'resource_type[resource_name]' accepts a single-element :resource_type => 'resource_name' Hash accepts a chef resource object rejects a malformed query string rejects an argument that is not a String, Hash, or Chef::Resource to_json should serialize to json should allow consumers to call #to_json or Chef::JSONCompat.to_json self.from_json should not respond to this method should convert from json using the Chef::JSONCompat library provides access to the raw resources array returns the resources via the all_resources method provides access to stepable iterator returns the iterator object multiple run_contexts should find resources in the parent run_context with lookup should not find resources in the parent run_context with lookup_local should find resources in the child run_context with lookup_local should find resources in the parent run_context with find should not find resources in the parent run_context with find_local should find resources in the child run_context with find_local should not find resources in the child run_context in any way from the parent should behave correctly when there is an identically named resource in the child and parent Chef::ResourceDefinition should accept a new definition with a symbol for a name should accept a new definition with a hash should expose the prototype hash params in the params hash should store the block passed to define as a proc under recipe should set parameters based on method_missing should raise an exception if prototype_params is not a hash should raise an exception if define is called without a block should load a description from a file should turn itself into a string based on the name with to_s initialize should be a Chef::ResourceDefinition should not initialize a new node if one is not provided should accept a node as an argument node should set the node with node= should return the node Chef::ResourceResolver #resolve #list instance methods #resolve #list #provided_by? returns true when resource class is in the list #provided_by? returns false when resource class is not in the list Chef::Resource should mixin shell_out should mixin shell_out! should mixin shell_out_with_systems_locale runs an action by finding its provider, loading the current resource and then running the action (PENDING: No reason given) when inherited adds an entry to a list of subclasses keeps track of subclasses of subclasses when declaring the identity attribute has :name as identity attribute by default sets an identity attribute inherits an identity attribute from a superclass overrides the identity attribute from a superclass when the identity attr is set when no identity attribute has been declared uses the name as the identity when an identity attribute has been declared gives the value of its identity attribute when declaring state attributes has no state_attrs by default sets a list of state attributes inherits state attributes from the superclass combines inherited state attributes with non-inherited state attributes when a set of state attributes has been declared describes its state #state_for_resource_reporter when a property is marked as sensitive suppresses the sensitive property's value when a property is not marked as sensitive does not suppress the property's value load_from should load the attributes of a prior resource should not inherit the action from the prior resource name should have a name should let you set a new name coerces arrays to names should coerce objects to a string notifies should make notified resources appear in the actions hash should make notified resources be capable of acting immediately should raise an exception if told to act in other than :delay or :immediate(ly) should allow multiple notified resources appear in the actions hash creates a notification for a resource that is not yet in the resource collection notifies another resource immediately notifies a resource to take action at the end of the chef run notifies a resource with an array for its name via its prettified string name notifies a resource without a name via a string name with brackets notifies a resource without a name via a string name without brackets notifies a resource without a name via a hash name with an empty string subscribes should make resources appear in the actions hash of subscribed nodes should make resources appear in the actions hash of subscribed nodes should make subscribed resources be capable of acting immediately defined_at should correctly parse source_line on unix-like operating systems should correctly parse source_line on Windows should include the cookbook and recipe when it knows it should recognize dynamically defined resources to_s should become a string like resource_name[name] to_text prints nice message when property is sensitive supresses that properties value when property is required WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/chef-13.8.7/spec/unit/resource_spec.rb:385:in `block (4 levels) in '. does not propagate vailidation errors Documentation of resources can have a description can say when it was introduced can have some examples self.resource_name resource_name without provides is honored setting class.resource_name with 'resource_name = blah' overrides declared_type setting class.resource_name with 'resource_name blah' overrides declared_type When resource_name is not set and there are no provides lines, resource_name is nil and there are no provides lines, resource_name is used and the resource class gets a late-bound name, resource_name is nil to_json should serialize to json should allow consumers to call #to_json or Chef::JSONCompat.to_json to_hash should convert to a hash when the resource has a property with a default should include the default in the hash self.json_create should deserialize itself from json ignore_failure should default to throwing an error if a provider fails for a resource should allow you to set whether a provider should throw exceptions with ignore_failure should allow you to epic_fail retries should default to not retrying if a provider fails for a resource should allow you to set how many retries a provider should attempt after a failure should default to a retry delay of 2 seconds should allow you to set the retry delay should keep given value of retries intact after the provider fails for a resource should not rescue from non-StandardError exceptions when updated by a provider records that it was updated records that the last action updated the resource and then run again without being updated reports that it is updated reports that it was not updated by the last action when invoking its action does not run only_if if no only_if command is given runs runs an only_if when one is given runs multiple only_if conditionals accepts command options for only_if conditionals runs not_if as a command when it is a string runs not_if as a block when it is a ruby block does not run not_if if no not_if command is given accepts command options for not_if conditionals accepts multiple not_if conditionals reports 0 elapsed time if actual elapsed time is < 0 guard_interpreter attribute should be set to :default by default if set to :default should return :default when read should raise Chef::Exceptions::ValidationFailed on an attempt to set the guard_interpreter attribute to something other than a Symbol should not raise an exception when setting the guard interpreter attribute to a Symbol should_skip? should return false by default should return false when only_if is met should return true when only_if is not met should return true when not_if is met should return false when not_if is not met should return true when only_if is met but also not_if is met should return false when only_if is met and also not_if is not met should return true when one of multiple only_if's is not met should return true when one of multiple not_if's is met should return false when all of multiple only_if's are met should return false when all of multiple not_if's are not met should return true when action is :nothing should return true when action is :nothing ignoring only_if/not_if conditionals should print "skipped due to action :nothing" message for doc formatter when action is :nothing when resource action is :nothing should not run only_if/not_if conditionals (CHEF-972) should run only_if/not_if conditionals when notified to run another action (CHEF-972) building the platform map adds mappings for a single platform adds mappings for multiple platforms adds mappings for all platforms resource_for_node lookups from the platform map returns a resource by short_name if nothing else matches lookups from the platform map returns a resource by short_name and node when creating notifications with a string resource spec creates a delayed notification when timing is not specified creates a delayed notification when :delayed is not specified creates an immediate notification when :immediate is specified creates an immediate notification when :immediately is specified with a syntax error in the resource spec raises an exception immmediately with a resource reference creates a delayed notification when timing is not specified creates a delayed notification when :delayed is not specified creates an immediate notification when :immediate is specified creates an immediate notification when :immediately is specified resource sensitive attribute set to false by default when set to false should show compiled resource for failed resource when set to true should show compiled resource for failed resource #action with a no action should eq [:nothing] with a default action should eq [:one] with a symbol action should eq [:one] with a string action should eq [:two] with an array action should eq [:two, :one] with an assignment should eq [:one] with an array assignment should eq [:two, :one] with an invalid action should raise Chef::Exceptions::ValidationFailed with an invalid assignment action should raise Chef::Exceptions::ValidationFailed .default_action with no default actions should eq [:nothing] with a symbol default action should eq [:one] with a string default action should eq [:one] with an array default action should eq [:two, :one] Chef::Role has a name does not accept a name with spaces does not accept non-String objects for the name when a run list is set returns the run list and per-environment run lists are set uses the default run list as *the* run_list gives the default run list as the when getting the _default run list gives an environment specific run list gives the default run list when no run list exists for the given environment gives the environment specific run list even if it is empty env_run_lists can only be set with _default run list in it using the old #recipes API should let you set the recipe array should let you return the recipe array should not list roles in the recipe array default_attributes should let you set the default attributes hash explicitly should let you return the default attributes hash should throw an ArgumentError if we aren't a kind of hash override_attributes should let you set the override attributes hash explicitly should let you return the override attributes hash should throw an ArgumentError if we aren't a kind of hash update_from! should update all fields except for name when serialized as JSON should serialize to a json hash includes the name in the JSON output includes its description in the JSON should include 'default_attributes' should include 'override_attributes' should include 'run_list' should allow consumers to call #to_json or Chef::JSONCompat.to_json and it has per-environment run lists includes the per-environment run lists does not include the default environment in the per-environment run lists when created from JSON should deserialize to a Chef::Role object should preserves the 'name' attribute from the JSON object should preserves the 'description' attribute from the JSON object should preserves the 'default_attributes' attribute from the JSON object should preserves the 'override_attributes' attribute from the JSON object should preserves the 'run_list' attribute from the JSON object when loading from disk should return a Chef::Role object from JSON should return a Chef::Role object from a Ruby DSL should prefer a Chef::Role Object from JSON over one from a Ruby DSL should raise an exception if the file does not exist should raise an exception if two files exist with the same name should not raise an exception if two files exist with a similar name when loading from disk and role_path is an array should return a Chef::Role object from JSON should return a Chef::Role object from JSON when role is in the second path should return a Chef::Role object from a Ruby DSL should return a Chef::Role object from a Ruby DSL when role is in the second path should raise an exception if the file does not exist Chef::RunContext::ChildRunContext with a run context with stuff in it and a child run context parent_run_context is set to the parent audits is not the same as the parent resource_collection is not the same as the parent immediate_notification_collection is not the same as the parent immediate_notifications is not the same as the parent delayed_notification_collection is not the same as the parent delayed_notifications is not the same as the parent create_child creates a child-of-child after load('include::default') load_recipe loads into the child include_recipe loads into the child load_recipe_file loads into the child Chef::RunContext::CookbookCompiler loading attribute files loads default.rb first, then other files in sort order loads dependencies before loading the depending cookbook's attributes does not follow infinite dependency loops loads attributes from cookbooks that don't have a default.rb attribute file loading libraries loads libraries in run list order loading LWRPs loads LWRPs in run list order loading resource definitions loads resource definitions in run list order loading recipes event dispatch dispatches normally dispatches when a recipe is not found dispatches when a recipe has an error listing cookbook order should return an array of cookbook names as symbols without duplicates determines if a cookbook is in the list of cookbooks reachable by dependency Chef::RunContext has a cookbook collection has a node loads up node[:cookbooks] has a nil parent_run_context loading cookbooks for a run list should load all the definitions in the cookbooks for this node should load all the recipes specified for this node loads all the attribute files in the cookbook collection registers attributes files as loaded so they won't be reloaded raises an error when attempting to include_recipe from a cookbook not reachable by run list or dependencies raises an error on a recipe with a leading :: with no current_cookbook querying the contents of cookbooks queries whether a given cookbook has a specific template errors when querying for a template in a not-available cookbook queries whether a given cookbook has a specific cookbook_file errors when querying for a cookbook_file in a not-available cookbook handling reboot requests stores and deletes the reboot request notifications of the immediate kind should be keyed off the resource name should be keyed off the resource declared key of the delayed kind should be keyed off the resource name should be keyed off the resource declared key Chef::RunList::RunListExpansion before expanding the run list has an array of run list items has default_attrs has override attrs it has an empty list of recipes has not applied its roles after applying a role with environment-specific run lists has the correct list of recipes for the given environment after applying a role tracks the applied role does not inflate the role again after expanding a run list produces json tree upon tracing expansion has the ordered list of recipes has the merged attributes from the roles with outer roles overriding inner has the list of all roles applied after expanding a run list with a non existent role is invalid has a list of invalid role names Chef::RunList::RunListItem when creating from a Hash raises an exception when the hash doesn't have a :type key raises an exception when the hash doesn't have an :name key sets the name and type as given in the hash when creating an item from a string parses a qualified recipe parses a qualified recipe with a version parses a qualified role parses an unqualified recipe raises an exception when the string has typo on the type part raises an exception when the string has extra space between the type and the name raises an exception when the string does not close the bracket comparing to other run list items is equal to another run list item that has the same name and type is not equal to another run list item with the same name and different type is not equal to another run list item with the same type and different name is not equal to another run list item with the same name and type but different version comparing to strings is equal to a string if that string matches its to_s representation Chef::RunList::VersionedRecipeList initialize should create an empty array add_recipe should append the recipe to the end of the list should not duplicate entries should allow you to specify a version should allow you to specify a version for a recipe that already exists should allow you to specify the same version of a recipe twice should allow you to spcify no version, even when a version already exists should not allow multiple versions of the same recipe with_versions should return an array of hashes with :name and :version should retain the same order as the version-less list with_version_constraints should return an array of hashes with :name and :version_constraint with_fully_qualified_names_and_version_constraints with bare cookbook names gives $cookbook_name::default with qualified recipe names but no versions returns the qualified recipe names with unqualified names that have version constraints gives qualified names with their versions does not mutate the recipe name with fully qualified names that have version constraints gives qualified names with their versions does not mutate the recipe name with duplicate names expands default recipes Chef::RunList << should add a recipe to the run list and recipe list with the fully qualified name should add a role to the run list and role list with the fully qualified name should accept recipes that are unqualified should not allow duplicates should allow two versions of a recipe should not allow duplicate versions of a recipe add should add a recipe to the run_list should add a role to the run_list == should believe two RunLists are equal if they have the same members should believe a RunList is equal to an array named after it's members empty? should be emtpy if the run list has no members should not be empty if the run list has members [] should let you look up a member in the run list by position []= should let you set a member of the run list by position should properly expand a member of the run list given by position each should yield each member to your block each_index should yield each members index to your block include? should be true if the run list includes the item reset should reset the run_list based on the array you pass when expanding the run list should return the list of expanded recipes should return the list of default attributes should return the list of override attributes should recurse into a child role should not recurse infinitely from disk should load the role from disk should log a helpful error if the role is not available from the chef server should load the role from the chef server should default to expanding from the server with an environment set expands the run list using the environment specific run list and multiply nested roles expands the run list using the specified environment for all nested roles when converting to an alternate representation converts to an array of the string forms of its items converts to json by converting its array form should allow consumers to call #to_json or Chef::JSONCompat.to_json Chef::RunLock when first created locates the lockfile in the file cache path by default locates the lockfile in the user-configured path when set acquire when Chef::Config[:run_lock_timeout] is not set (set to default) and the lockfile is not locked by another client run should not wait and the lockfile is locked by another client run should wait for the lock to be released when Chef::Config[:run_lock_timeout] is set to 0 and the lockfile is not locked by another client run should acquire the lock and the lockfile is locked by another client run should raise Chef::Exceptions::RunLockTimeout when Chef::Config[:run_lock_timeout] is set to >0 and the lockfile is not locked by another client run should acquire the lock and the lockfile is locked by another client run and the lock is released before the timeout expires should acquire the lock and the lock is not released before the timeout expires should raise a RunLockTimeout exception Chef::RunStatus before the run context has been set converts to a hash when the run context has been set has a run context provides access to the run context's node converts to a hash after it has recorded timing information records the start time of the run records the end time of the run gives the elapsed time of the chef run includes timing information in its hash form with resources in the resource_collection lists all resources has no updated resources includes the list of all resources in its hash form and some have been updated lists the updated resources includes the list of updated resources in its hash form when the run failed stores the exception stores the backtrace says the run was not successful converts to a hash including the exception information Chef::Runner runner sets up a pointer back to itself in the run_context when we are doing dynamic provider resolution should pass each resource in the collection to a provider should use the provider specified by the resource (if it has one) should run the action for each resource should raise exceptions as thrown by a provider should not raise exceptions thrown by providers if the resource has ignore_failure set to true should retry with the specified delay if retries are specified should execute immediate actions on changed resources should follow a chain of actions should execute delayed actions on changed resources should execute delayed notifications when a failure occurs in the chef client run should execute delayed notifications when a failure occurs in a notification should execute delayed notifications when a failure occurs in multiple notifications does not duplicate delayed notifications executes delayed notifications in the order they were declared does not fire notifications if the resource was not updated by the last action executed should check a resource's only_if and not_if if notified by another resource should resolve resource references in notifications when resources are defined lazily Chef::ScanAccessControl when the fs entity does not exist does not set any fields on the current resource when the fs entity exists when new_resource does not specify mode, user or group sets the mode of the current resource to the current mode as a String on unix sets the group of the current resource to the current group as a String sets the owner of the current resource to the current owner as a String when new_resource specifies the mode with a string sets the mode of the current resource to the file's current mode as a string when new_resource specified the mode with an integer sets the mode of the current resource to the current mode as a String when new_resource specifies the user with a UID sets the owner of current_resource to the UID of the current owner when new_resource specifies the user with a username sets the owner of current_resource to the username of the current owner and there is no passwd entry for the user sets the owner of the current_resource to the UID when new_resource specifies the group with a GID sets the group of the current_resource to the gid of the current owner when new_resource specifies the group with a group name sets the group of the current resource to the group name and there is no group entry for the group sets the current_resource's group to the GID Chef::Search::Query search accepts a type as the first argument queries for every object of a type by default allows a custom query lets you set a starting object lets you set how many rows to return throws an exception if you pass an incorrect option returns the raw rows, start, and total if no block is passed calls a block for each object in the response pages through the responses paginates correctly in the face of filtered nodes without explicit rows paginates correctly in the face of filtered nodes fuzzifies node searches when fuzz is set does not fuzzify node searches when fuzz is not set does not fuzzify client searches when :filter_result is provided as a result returns start returns total returns rows with the filter applied Chef::ServerAPI #initialize uses the configured key file allows a user to set a raw_key versioned apis on protocol negotiation it posts the same message body without doubly-encoding the json string retrying normal requests 500 on a post retries and posts correctly 500 on a put retries and puts correctly 500 on a get retries and gets correctly Chef::ServerAPIVersions #reset! resets the version information resets the unversioned flag #min_server_version returns nil if no versions have been recorded returns 0 if unversioned returns the correct value #max_server_version returns nil if no versions have been recorded returns 0 if unversioned returns the correct value Shell::ModelWrapper determines the model symbol from the class name when created with an explicit model_symbol uses the explicit model symbol when listing objects lists fully inflated objects without the resource IDs maps the listed nodes when given a block when searching for objects falls back to listing the objects when the 'query' is :all searches for objects using the given query string creates a 'AND'-joined query string from a HASH Shell::Extensions extending object for top level methods finds a subsession in irb for an object finds, then switches to a session creates a new session if an existing one isn't found switches to recipe context switches to attribute context has a help command turns irb tracing on and off says if tracing is on or off prints node attributes resets the recipe and reloads ohai data turns irb echo on and off says if echo is on or off gives access to the stepable iterator lists directory contents extending the recipe object gives a list of the resources Shell::ShellSession is a singleton object Shell::ClientSession builds the node's run_context with the proper environment passes the shell CLI args to the client Shell::SoloSession builds the node's run_context with the proper environment passes the shell CLI args to the client Shell::StandAloneSession has a run_context returns a collection based on it's standalone recipe file gives nil for the definitions (for now) gives nil for the cookbook_loader runs chef with the standalone recipe passes the shell CLI args to the client Shell::SoloLegacySession returns a collection based on it's compilation object and the extra recipe provided by chef-shell returns definitions from its compilation object keeps json attribs and passes them to the node for consumption generates its resource collection from the compiled cookbooks and the ad hoc recipe Session type: standalone Loading.......[2020-06-01T10:02:44+14:00] WARN: Plugin Network: unable to detect ipaddress .done. runs chef with a resource collection from the compiled cookbooks passes the shell CLI args to the client Shell reporting its status always says it is running configuring IRB configures irb history has a prompt like ``chef > '' in the default context has a prompt like ``chef:recipe > '' in recipe context has a prompt like ``chef:attributes > '' in attributes/node context convenience macros for creating the chef object creates help text for methods with descriptions adds help text when a new method is described then defined adds help text for subcommands doesn't add previous subcommand help to commands defined afterward creates a help banner with the command descriptions Chef::User initialize should be a Chef::User name should let you set the name to a string should return the current name should not accept invalid characters should not accept spaces should throw an ArgumentError if you feed it anything but a string admin should let you set the admin bit should return the current admin value should default to false should throw an ArgumentError if you feed it anything but true or false public_key should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame private_key should let you set the private key should return the private key should throw an ArgumentError if you feed it something lame when serializing to JSON serializes as a JSON object includes the name value includes the public key value includes the 'admin' flag includes the private key when present does not include the private key if not present includes the password if present does not include the password if not present should allow consumers to call #to_json or Chef::JSONCompat.to_json when deserializing from JSON should deserialize to a Chef::User object preserves the name preserves the public key preserves the admin status includes the private key if present includes the password if present API Interactions list lists all clients on an OSC server inflate all clients on an OSC server lists all clients on an OHC/OPC server inflate all clients on an OHC/OPC server create creates a new user via the API read loads a named user from the API update updates an existing user on via the API destroy deletes the specified user via the API Chef::UserV1 initialize should be a Chef::UserV1 username should let you set the username to a string should return the current username should not accept invalid characters should not accept spaces should throw an ArgumentError if you feed it anything but a string boolean fields create_key it should behave like boolean fields with no constraints should let you set the field should return the current field value should return the false value when false should throw an ArgumentError if you feed it anything but true or false string fields public_key it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame private_key it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame display_name it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame first_name it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame middle_name it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame last_name it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame email it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame password it should behave like string fields with no contraints should let you set the public key should return the current public key should throw an ArgumentError if you feed it something lame when serializing to JSON serializes as a JSON object includes the username value includes the display name when present does not include the display name if not present includes the first name when present does not include the first name if not present includes the middle name when present does not include the middle name if not present includes the last name when present does not include the last name if not present includes the email when present does not include the email if not present includes the public key when present does not include the public key if not present includes the private key when present does not include the private key if not present includes the password if present does not include the password if not present should allow consumers to call #to_json or Chef::JSONCompat.to_json when deserializing from JSON should deserialize to a Chef::UserV1 object preserves the username preserves the display name if present preserves the first name if present preserves the middle name if present preserves the last name if present preserves the email if present includes the password if present preserves the public key if present includes the private key if present includes the create key status if not nil Versioned API Interactions update when server API V1 is valid on the Chef Server receiving the request when the user submits valid data properly updates the user when server API V1 is not valid on the Chef Server receiving the request when the server returns a 400 when the 400 was due to public / private key fields no longer being supported proceeds with the V0 PUT since it can handle public / private key fields does not call server_client_api_version_intersection, since we know to proceed with V0 in this case when the 400 was NOT due to public / private key fields no longer being supported will not proceed with the V0 PUT since the original bad request was not key related raises the original error when the server returns a 406 it should behave like version handling when the server does not support the min or max server API version that Chef::UserV1 supports raises the original exception when the server supports API V0 properly updates the user create it should behave like user or client create when server API V1 is valid on the Chef Server receiving the request creates a new object via the API creates a new object via the API with a public_key when it exists raise error when create_key and public_key are both set rasies the proper error when create_key == true creates a new object via the API with create_key when chef_key is returned by the server puts the public key into the objectr returned by create when private_key is returned in chef_key puts the private key into the object returned by create when server API V1 is not valid on the Chef Server receiving the request when the server supports API V0 creates a new object via the API creates a new object via the API with a public_key when it exists when handling API V1 creates a new user via the API with a middle_name when it exists when API V1 is not supported by the server it should behave like version handling when the server does not support the min or max server API version that Chef::UserV1 supports raises the original exception when handling API V0 creates a new user via the API with a middle_name when it exists reregister when server API V0 is valid on the Chef Server receiving the request creates a new object via the API when server API V0 is not supported by the Chef Server it should behave like user and client reregister when V0 is not supported by the server when the exception is 406 and returns x-ops-server-api-version header raises an error about only V0 being supported when the exception is not versioning related raises the original error API Interactions list lists all clients on an OHC/OPC server inflate all clients on an OHC/OPC server read loads a named user from the API destroy deletes the specified user via the API Chef::Util::Backup should store the resource passed to new as new_resource for cases when we don't want to back anything up should not attempt to backup a file if :backup is false should not attempt to backup a file if :backup == 0 should not attempt to backup a file if it does not exist for cases when we want to back things up when the number of backups is specified as 1 should not delete anything if this is the only backup should keep only 1 backup copy when the number of backups is specified as 2 should not delete anything if we only have one other backup should keep only 2 backup copies backup_filename should return a timestamped path should strip the drive letter off for windows should strip the drive letter off for windows (with forwardslashes) backup_path uses the file's directory when Chef::Config[:file_backup_path] is nil uses the configured Chef::Config[:file_backup_path] uses the configured Chef::Config[:file_backup_path] and strips the drive on windows Chef::Util::Diff when file path has spaces behaves like a diff util should return a Chef::Util::Diff produces a diff even if the old_file does not exist produces a diff even if the new_file does not exist when the two files exist with no content calling for_output should return the error message calling for_reporting should be nil when diffs are disabled calling for_output should return the error message calling for_reporting should be nil when the old_file has binary content calling for_output should return the error message calling for_reporting should be nil when the new_file has binary content calling for_output should return the error message calling for_reporting should be nil when the default external encoding is UTF-8 when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has Latin-1 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Shift-JIS text calling for_output should complain that the content is binary calling for_reporting should be nil when the default external encoding is Latin-1 when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Latin-1 text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has Shift-JIS text calling for_output should complain that the content is binary calling for_reporting should be nil when the default external encoding is Shift_JIS when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Latin-1 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Shift-JIS text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when testing the diff_filesize_threshold when the old_file goes over the threshold calling for_output should return the error message calling for_reporting should be nil when the new_file goes over the threshold calling for_output should return the error message calling for_reporting should be nil when generating a valid diff calling for_output should return a unified diff calling for_reporting should return a unified diff when the diff output is too long calling for_output should return the error message calling for_reporting should be nil when checking if files are binary or text should identify zero-length files as text should identify text files as text should identify a null-terminated string files as binary should identify null-teriminated multi-line string files as binary when the default external encoding is UTF-8 should identify normal ASCII as text should identify UTF-8 as text should identify Latin-1 that is invalid UTF-8 as binary should identify Shift-JIS that is invalid UTF-8 as binary when the default external encoding is Latin-1 should identify normal ASCII as text should identify UTF-8 that is invalid Latin-1 as binary should identify Latin-1 as text should identify Shift-JIS that is invalid Latin-1 as binary when the default external encoding is Shift-JIS should identify normal ASCII as text should identify UTF-8 that is invalid Shift-JIS as binary should identify Latin-1 that is invalid Shift-JIS as binary should identify Shift-JIS as text when file path doesn't have spaces behaves like a diff util should return a Chef::Util::Diff produces a diff even if the old_file does not exist produces a diff even if the new_file does not exist when the two files exist with no content calling for_output should return the error message calling for_reporting should be nil when diffs are disabled calling for_output should return the error message calling for_reporting should be nil when the old_file has binary content calling for_output should return the error message calling for_reporting should be nil when the new_file has binary content calling for_output should return the error message calling for_reporting should be nil when the default external encoding is UTF-8 when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has Latin-1 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Shift-JIS text calling for_output should complain that the content is binary calling for_reporting should be nil when the default external encoding is Latin-1 when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Latin-1 text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has Shift-JIS text calling for_output should complain that the content is binary calling for_reporting should be nil when the default external encoding is Shift_JIS when a file has ASCII text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when a file has UTF-8 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Latin-1 text calling for_output should complain that the content is binary calling for_reporting should be nil when a file has Shift-JIS text calling for_output should return a valid diff calling for_reporting should return a utf-8 string when testing the diff_filesize_threshold when the old_file goes over the threshold calling for_output should return the error message calling for_reporting should be nil when the new_file goes over the threshold calling for_output should return the error message calling for_reporting should be nil when generating a valid diff calling for_output should return a unified diff calling for_reporting should return a unified diff when the diff output is too long calling for_output should return the error message calling for_reporting should be nil when checking if files are binary or text should identify zero-length files as text should identify text files as text should identify a null-terminated string files as binary should identify null-teriminated multi-line string files as binary when the default external encoding is UTF-8 should identify normal ASCII as text should identify UTF-8 as text should identify Latin-1 that is invalid UTF-8 as binary should identify Shift-JIS that is invalid UTF-8 as binary when the default external encoding is Latin-1 should identify normal ASCII as text should identify UTF-8 that is invalid Latin-1 as binary should identify Latin-1 as text should identify Shift-JIS that is invalid Latin-1 as binary when the default external encoding is Shift-JIS should identify normal ASCII as text should identify UTF-8 that is invalid Shift-JIS as binary should identify Latin-1 that is invalid Shift-JIS as binary should identify Shift-JIS as text Chef::Util::DSC::ConfigurationGenerator #validate_configuration_name! should not raise an error if a name contains all upper case letters should not raise an error if the name contains all lower case letters should not raise an error if no special characters are used except _ raises an Argument error if it configuration name contains ! raises an Argument error if it configuration name contains @ raises an Argument error if it configuration name contains # raises an Argument error if it configuration name contains $ raises an Argument error if it configuration name contains % raises an Argument error if it configuration name contains ^ raises an Argument error if it configuration name contains & raises an Argument error if it configuration name contains * raises an Argument error if it configuration name contains & raises an Argument error if it configuration name contains * raises an Argument error if it configuration name contains ( raises an Argument error if it configuration name contains ) raises an Argument error if it configuration name contains - raises an Argument error if it configuration name contains = raises an Argument error if it configuration name contains + raises an Argument error if it configuration name contains { raises an Argument error if it configuration name contains } raises an Argument error if it configuration name contains . raises an Argument error if it configuration name contains ? raises an Argument error if it configuration name contains < raises an Argument error if it configuration name contains > raises an Argument error if it configuration name contains \ raises an Argument error if it configuration name contains / #get_merged_configuration_flags when strings are used as switches should merge the hash if there are no restricted switches should raise an ArgumentError if you try to override outputpath should be case insensitive for switches that are not allowed should be case insensitive to switches that are allowed when symbols are used as switches should merge the hash if there are no restricted switches should raise an ArgumentError if you try to override outputpath should be case insensitive for switches that are not allowed should be case insensitive to switches that are allowed when there are no flags should supply an output path if configuration_flags is an empty hash should supply an output path if configuration_flags is an empty hash #write_document_generation_script should write the input to a file #find_configuration_document should find the mof file should return nil if the mof file is not found #configuration_code should build dsc with imports should import all resources when a module has an empty list should import all resources when a module has a list with * should import specific resources when a module has list without * that is not empty should import multiple modules with multiple import statements Chef::Util::DSC::LocalConfigurationManager::Parser empty input parameter for WhatIfParser raises an exception when there are no valid lines raises an exception for a nil input empty input parameter for TestDSCParser raises an exception when there are no valid lines raises an exception for a nil input correctly formatted output from lcm for WhatIfParser returns a single resource when only 1 logged with the correct name identifies when a resource changes the state of the system preserves the log provided for how the system changed the state returns false for changes_state? returns an empty array for change_log if changes_state? is false correctly formatted output from lcm for TestDSCParser returns a single resource when only 1 logged with the correct name identifies when a resource changes the state of the system returns false for changes_state? returns an empty array for change_log if changes_state? is false Incorrectly formatted output from LCM for WhatIfParser allows missing [End Resource] when its the last one and still find all the resource allow missing [End Resource] when its the first one and still find all the resource allows missing set and end resource and assume an unconverged resource in this case Incorrectly formatted output from LCM for TestDSCParser allows missing [End Resource] when its the last one and still find all the resource Chef::Util::DSC::LocalConfigurationManager test_configuration method invocation identify a correctly formatted error message as a resource import failure does not identify an incorrectly formatted error message as a resource import failure does not identify a message without a CimException reference as a resource import failure when interacting with the LCM using a PowerShell cmdlet that returns successfully successfully returns resource information for normally formatted output when cmdlet the cmdlet succeeds when running on PowerShell version 5 successfully returns resource information for normally formatted output when cmdlet the cmdlet succeeds when running on PowerShell version less than 5 successfully returns resource information for normally formatted output when cmdlet the cmdlet succeeds #lcm_command successfully returns command when apply_configuration true successfully returns command when PowerShell version 4 successfully returns command when PowerShell version 5 that fails due to missing what-if switch in DSC resource cmdlet implementation returns true when passed to #whatif_not_supported? returns a (possibly empty) array of ResourceInfo instances that fails due to a DSC resource not being imported before StartDSCConfiguration -whatif is executed logs a warning if the message is formatted as expected when a resource import failure occurs returns a (possibly empty) array of ResourceInfo instances that fails due to an unknown PowerShell cmdlet error logs a warning #run_configuration_cmdlet when invalid dsc script is given raises exception Chef::Util::Editor #initialize takes an Enumerable of lines makes a copy of an Array #append_line_after matches a Regexp when there is no match returns the number of added lines does not add any lines when there is a match returns the number of added lines adds a line after each match #append_line_if_missing matches a Regexp when there is no match returns the number of added lines adds a line to the end when there is a match returns the number of added lines does not add any lines #remove_lines matches a Regexp when there is no match returns the number of removed lines does not remove any lines when there is a match returns the number of removed lines removes the matching lines #replace matches a Regexp when there is no match returns the number of changed lines does not change any lines when there is a match returns the number of changed lines replaces the matching portions #replace_lines matches a Regexp when there is no match returns the number of changed lines does not change any lines when there is a match returns the number of replaced lines replaces the matching line Chef::Util::FileEdit initialiize should create a new Chef::Util::FileEdit object should throw an exception if the input file does not exist should read the contents into memory as an array when the file is blank should not throw an exception search_file_replace should accept regex passed in as a string (not Regexp object) and replace the match if there is one should accept regex passed in as a Regexp object and replace the match if there is one should do nothing if there isn't a match search_file_replace_line should search for match and replace the whole line search_file_delete should search for match and delete the match search_file_delete_line should search for match and delete the matching line insert_line_after_match should search for match and insert the given line after the matching line insert_line_if_no_match should search for match and insert the given line if no line match should do nothing if there is a match should work more than once file_edited should return true if a file got edited Chef::Util::Powershell::Cmdlet #validate_switch_name! should not raise an error if a name contains all upper case letters should not raise an error if the name contains all lower case letters should not raise an error if no special characters are used except _ raises an Argument error if it configuration name contains ! raises an Argument error if it configuration name contains @ raises an Argument error if it configuration name contains # raises an Argument error if it configuration name contains $ raises an Argument error if it configuration name contains % raises an Argument error if it configuration name contains ^ raises an Argument error if it configuration name contains & raises an Argument error if it configuration name contains * raises an Argument error if it configuration name contains & raises an Argument error if it configuration name contains * raises an Argument error if it configuration name contains ( raises an Argument error if it configuration name contains ) raises an Argument error if it configuration name contains - raises an Argument error if it configuration name contains = raises an Argument error if it configuration name contains + raises an Argument error if it configuration name contains { raises an Argument error if it configuration name contains } raises an Argument error if it configuration name contains . raises an Argument error if it configuration name contains ? raises an Argument error if it configuration name contains < raises an Argument error if it configuration name contains > raises an Argument error if it configuration name contains \ raises an Argument error if it configuration name contains / #escape_parameter_value escapse ` escapse " escapse # escapse ' does not do anything to a string without special characters #escape_string_parameter_value surrounds a string with '' #command_switches_string raises an ArgumentError if the key is not a symbol does not allow invalid switch names ignores switches with a false value should correctly handle a value type of string should correctly handle a value type of string even when it is 0 length should not quote integers should not quote floats has just the switch when the value is true Chef::Util::Powershell::PSCredential when username and password are provided when calling to_psobject should create the script to create a PSCredential when calling when to_text is called should not contain the password Chef::Util::Selinux each part of ENV['PATH'] should be checked when selinuxenabled binary exists when selinux is enabled should report selinux is enabled when selinux is disabled should report selinux is disabled when selinux gives an unexpected status should throw an error when selinuxenabled binary doesn't exist should report selinux is disabled when restorecon binary exists on the system should call restorecon non-recursive by default should call restorecon recursive when recursive is set should call restorecon non-recursive when recursive is not set when restorecon doesn't exist on the system should log a warning message Chef::Util::ThreadedJobQueue should pass mutex to jobs with an arity of 1 should pass nothing to jobs with an arity of 0 should use specified number of threads # terminated with exception (report_on_exception is true): /build/chef-13.8.7/spec/unit/util/threaded_job_queue_spec.rb:48:in `block (3 levels) in ': WorkerThreadError (WorkerThreadError) from /build/chef-13.8.7/lib/chef/util/threaded_job_queue.rb:52:in `block (3 levels) in process' from /build/chef-13.8.7/lib/chef/util/threaded_job_queue.rb:50:in `loop' from /build/chef-13.8.7/lib/chef/util/threaded_job_queue.rb:50:in `block (2 levels) in process' should propagate exceptions to the main thread Chef::Util::Windows::LogonSession when the session is initialized with a nil user when the password, and domain are all nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when the password is non-nil password, and the domain is nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when the password is nil and the domain is non-nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when the password and domain are non-nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when the session is initialized with a valid user when the password is nil when the domain is non-nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when the domain is nil when the domain is non-nil behaves like it received syntactically invalid credentials does not raisees an exception when it is initialized when a syntactically valid username and password are supplied when the password is non-nil and the domain is nil does not raise an exception if it is initialized with a non-nil username, non-nil password, and a nil domain behaves like it received valid credentials does not raise an exception when the open method is called behaves like it received an incorrect username and password combination raises a Chef::Exceptions::Win32APIError exception when the open method is called when the password and domain are non-nil does not raise an exception if it is initialized with a non-nil username, non-nil password, and non-nil domain behaves like it received valid credentials does not raise an exception when the open method is called behaves like it received an incorrect username and password combination raises a Chef::Exceptions::Win32APIError exception when the open method is called when the #open method has not been called behaves like the session is not open does not raise an exception when #open is called raises an exception if #close is called raises an exception if #restore_user_context is called when the session was opened raises an exception if #open is called can be closed and close the operating system handle can impersonate the user when the session was opened and then closed with the #close method behaves like the session is not open does not raise an exception when #open is called raises an exception if #close is called raises an exception if #restore_user_context is called when #set_user_context fails due to low resources causing a failure to impersonate raises an exception when #set_user_context fails because impersonation failed when calling subsequent methods behaves like the session is open does not result in an exception when #restore_user_context is called does not result in an exception when #close is called does close the operating system handle when #close is called when #set_user_context successfully impersonates the user when attempting to impersonate while already impersonating raises an error if the #set_user_context is called again the impersonation will be reverted behaves like the session is open does not result in an exception when #restore_user_context is called does not result in an exception when #close is called does close the operating system handle when #close is called when the attempt to revert impersonation fails raises an exception when #restore_user_context is called raises an exception when #close is called and impersonation fails when calling methods after revert fails in #restore_user_context when revert continues to fail raises an exception when #close is called and impersonation fails when revert stops failing and succeeds does not raise an exception when #restore_user_context is called does not raise an exception when #close is called Chef::Version::Platform is a subclass of Chef::Version should transform 1 to 1.0.0 when creating valid Versions should accept '1' should accept '1.2' should accept '1.2.3' should accept '1000.80.50000' should accept '0.300.25' should accept '001.02.00003' should accept '1.2-STABLE' should accept '10.0-BETA3' should accept '9.1-RELEASE-p3' when given bogus input should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2.3.4' should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2.a4' should raise Chef::Exceptions::InvalidPlatformVersion when given 'a' should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2 3' should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2 a' should raise Chef::Exceptions::InvalidPlatformVersion when given '1 2 3' should raise Chef::Exceptions::InvalidPlatformVersion when given '1-2-3' should raise Chef::Exceptions::InvalidPlatformVersion when given '1_2_3' should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2_3' should raise Chef::Exceptions::InvalidPlatformVersion when given '1.2-3' <=> should equate versions 1 and 1.0.0 Chef::Version should turn itself into a string should make a round trip with its string representation should transform 1.2 to 1.2.0 should transform 01.002.0003 to 1.2.3 when creating valid Versions should accept '1.2' should accept '1.2.3' should accept '1000.80.50000' should accept '0.300.25' should accept '001.02.00003' when given bogus input should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2.3.4' should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2.a4' should raise Chef::Exceptions::InvalidCookbookVersion when given '1' should raise Chef::Exceptions::InvalidCookbookVersion when given 'a' should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2 3' should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2 a' should raise Chef::Exceptions::InvalidCookbookVersion when given '1 2 3' should raise Chef::Exceptions::InvalidCookbookVersion when given '1-2-3' should raise Chef::Exceptions::InvalidCookbookVersion when given '1_2_3' should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2_3' should raise Chef::Exceptions::InvalidCookbookVersion when given '1.2-3' <=> should equate versions 1.2 and 1.2.0 should equate version 1.04 and 1.4 should treat versions as numbers in the right way should sort based on the version number should sort an array of versions should sort an array of versions, part 2 comparison examples (0.0.0 > 0.0.0) should be false (0.0.0 >= 0.0.0) should be true (0.0.0 == 0.0.0) should be true (0.0.0 <= 0.0.0) should be true (0.0.0 < 0.0.0) should be false (0.0.0 > 0.0.1) should be false (0.0.0 >= 0.0.1) should be false (0.0.0 == 0.0.1) should be false (0.0.0 <= 0.0.1) should be true (0.0.0 < 0.0.1) should be true (0.0.1 > 0.0.1) should be false (0.0.1 >= 0.0.1) should be true (0.0.1 == 0.0.1) should be true (0.0.1 <= 0.0.1) should be true (0.0.1 < 0.0.1) should be false (0.1.0 > 0.1.0) should be false (0.1.0 >= 0.1.0) should be true (0.1.0 == 0.1.0) should be true (0.1.0 <= 0.1.0) should be true (0.1.0 < 0.1.0) should be false (0.1.1 > 0.1.1) should be false (0.1.1 >= 0.1.1) should be true (0.1.1 == 0.1.1) should be true (0.1.1 <= 0.1.1) should be true (0.1.1 < 0.1.1) should be false (1.0.0 > 1.0.0) should be false (1.0.0 >= 1.0.0) should be true (1.0.0 == 1.0.0) should be true (1.0.0 <= 1.0.0) should be true (1.0.0 < 1.0.0) should be false (1.0.0 > 0.0.1) should be true (1.0.0 >= 1.9.2) should be false (1.0.0 == 9.7.2) should be false (1.0.0 <= 1.9.1) should be true (1.0.0 < 1.9.0) should be true (1.2.2 > 1.2.1) should be true (1.2.2 >= 1.2.1) should be true (1.2.2 == 1.2.1) should be false (1.2.2 <= 1.2.1) should be false (1.2.2 < 1.2.1) should be false Chef::VersionConstraint::Platform is a subclass of Chef::VersionConstraint should work with Chef::Version::Platform classes include? pessimistic ~> x Chef::VersionConstraint should default to >= 0.0.0 should default to >= 0.0.0 when initialized with nil should work with Chef::Version classes should allow ops without space separator should allow ops with multiple spaces validation should raise Chef::Exceptions::InvalidCookbookVersion when given >= 1.2.z should raise Chef::Exceptions::InvalidCookbookVersion when given > 1.2.3 < 5.0 should raise Chef::Exceptions::InvalidCookbookVersion when given > 1.2.3, < 5.0 should raise Chef::Exceptions::InvalidVersionConstraint when given > > should raise Chef::Exceptions::InvalidVersionConstraint when given >$ 1.2.3 should raise Chef::Exceptions::InvalidVersionConstraint when given ! 3.4 should interpret a lone version number as implicit = OP should allow initialization with [] for back compatibility should allow initialization with ['1.2.3'] for back compatibility include? strictly less than strictly greater than less than or equal to greater than or equal to equal to pessimistic ~> x.y.z pessimistic ~> x.y handles various input data types String Chef::Version Chef::CookbookVersion to_s shows a patch-level if one is given shows no patch-level if one is not given inspect shows a patch-level if one is given shows no patch-level if one is not given Chef::VersionString should eq "1.2.3" should eql "1.2.3" should be == 1.2.3 should be < abc should be > 0 should eq "1.2.3" should be == 1.2.3 with != should equal true with + should eq "1.2.3asdf" with * should eq "1.2.31.2.31.2.3" with version-like comparisons should eq "1.2.3" should be > 1.2.2 should be > 1.2.3a should be < 1.2.4 with =~ Regexp should eq 0 with =~ Requirement should equal true with =~ String should equal true with Regexp =~ should equal nil with String =~ should raise TypeError Chef::Win32::Registry get_values gets all values for a key if the key exists throws an exception if key does not exist set_value does nothing if key and hive and value exist does nothing if case insensitive key and hive and value exist does nothing if key and hive and value with a case insensitive name exist updates value if key and hive and value exist, but data is different creates value if the key exists and the value does not exist should raise an exception if the key does not exist delete_value deletes value if value exists raises an exception if the key does not exist does nothing if the value does not exist create_key creates key if intermediate keys are missing and recursive is set to true raises an exception if intermediate keys are missing and recursive is set to false does nothing if the key exists create key if intermediate keys not missing and recursive is set to false create key if intermediate keys not missing and recursive is set to true key_exists? returns true if key_exists returns false if key does not exist key_exists! throws an exception if the key_parent does not exist hive_exists? returns true if the hive exists returns false if the hive does not exist has_subkeys? returns true if the key has subkeys returns false if the key does not have subkeys throws an exception if the key does not exist get_subkeys returns the subkeys if they exist value_exists? throws an exception if the key does not exist returns true if the value exists returns false if the value does not exist data_exists? throws an exception if the key does not exist returns true if the data exists returns false if the data does not exist value_exists! does nothing if the value exists throws an exception if the value does not exist data_exists! does nothing if the data exists throws an exception if the data does not exist type_matches? returns true if type matches returns false if type does not match throws an exception if value does not exist type_matches! does nothing if the type_matches throws an exception if the type does not match keys_missing? returns true if the keys are missing returns false if no keys in the path are missing Pending: (Failures listed here are expected and do not affect your suite's status) 1) Chef::ChefFS::FileSystem::Repository::BaseFile#is_json_file? returns false when the file is not json # We assume that everything is ruby or JSON Failure/Error: expect(file.is_json_file?).to be_falsey expected: falsey value got: true # ./spec/unit/chef_fs/file_system/repository/base_file_spec.rb:52:in `block (3 levels) in ' 2) Chef::ChefFS::FileSystem::Repository::BaseFile#name_valid? rejects non json files # We assume that everything is ruby or JSON Failure/Error: expect(file.name_valid?).to be_falsey expected: falsey value got: true # ./spec/unit/chef_fs/file_system/repository/base_file_spec.rb:68:in `block (3 levels) in ' 3) Chef::Mixin::Securable unix-specific behavior should not accept group/owner names containing embedded carriage returns # XXX: params_validate needs to be extended to support multi-line regex # ./spec/unit/mixin/securable_spec.rb:118 4) Chef::Provider::CookbookFile behaves like Chef::Provider::File when reporting security metadata on windows records the file owner # No reason given # ./spec/support/shared/unit/provider/file.rb:402 5) Chef::Provider::CookbookFile behaves like Chef::Provider::File when reporting security metadata on windows records rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:406 6) Chef::Provider::CookbookFile behaves like Chef::Provider::File when reporting security metadata on windows records deny_rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:410 7) Chef::Provider::CookbookFile behaves like Chef::Provider::File action create do_acl_changes needs tests # No reason given # ./spec/support/shared/unit/provider/file.rb:609 8) Chef::Provider::File behaves like Chef::Provider::File when reporting security metadata on windows records the file owner # No reason given # ./spec/support/shared/unit/provider/file.rb:402 9) Chef::Provider::File behaves like Chef::Provider::File when reporting security metadata on windows records rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:406 10) Chef::Provider::File behaves like Chef::Provider::File when reporting security metadata on windows records deny_rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:410 11) Chef::Provider::File behaves like Chef::Provider::File action create do_acl_changes needs tests # No reason given # ./spec/support/shared/unit/provider/file.rb:609 12) Chef::Provider::Mount::Solaris#load_current_resource when the device is an smbfs mount should work at some point in the future # SMBFS mounts on solaris look like they will need some future code work and more investigation # ./spec/unit/provider/mount/solaris_spec.rb:260 13) Chef::Provider::Package::Chocolatey#action_remove removes a single package when its the only one installed # this is a bug in the superclass Got 2 failures: 13.1) Failure/Error: provider.run_action(:remove) #, @action=:remove, @current_resource=, @run_context=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}, @delayed_actions=[]>, @converge_actions=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}, @delayed_actions=[]>, @resource=, @actions=[["remove package [\"git\", \"conemu\"]", #]]>, @recipe_name=nil, @cookbook_name=nil, @candidate_version=["2.6.2", "15.10.25.1"], @available_packages={"chocolatey"=>"0.9.9.11", "conemu"=>"15.10.25.1", "git"=>"2.6.2", "munin-node"=>"1.6.1.20130823"}, @installed_packages={"chocolatey"=>"0.9.9.11", "conemu"=>"15.10.25.0"}, @requirements=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @resource=, @assertions={:install=>[#, @failure_message="No version specified, and no candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>], :upgrade=>[#, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>], :all_actions=>[], :remove=>[]}, @blocked_actions=[]>, @forced_packages_missing_candidates=[], @packages_missing_candidates=[]> received :shell_out! with unexpected arguments expected: ("C:\\ProgramData\\chocolatey\\bin\\choco.exe uninstall -y conemu", {:returns=>[0], :timeout=>900}) got: ("C:\\ProgramData\\chocolatey\\bin\\choco.exe uninstall -y git conemu", {:returns=>[0], :timeout=>900}) Diff: @@ -1,3 +1,3 @@ -["C:\\ProgramData\\chocolatey\\bin\\choco.exe uninstall -y conemu", +["C:\\ProgramData\\chocolatey\\bin\\choco.exe uninstall -y git conemu", {:returns=>[0], :timeout=>900}] # ./lib/chef/provider/package.rb:662:in `shell_out_with_timeout!' # ./lib/chef/provider/package/chocolatey.rb:182:in `choco_command' # ./lib/chef/provider/package/chocolatey.rb:124:in `remove_package' # ./lib/chef/provider/package.rb:155:in `block (3 levels) in ' # ./lib/chef/provider/package.rb:258:in `multipackage_api_adapter' # ./lib/chef/provider/package.rb:154:in `block (2 levels) in ' # ./lib/chef/mixin/why_run.rb:52:in `add_action' # ./lib/chef/provider.rb:216:in `converge_by' # ./lib/chef/provider/package.rb:153:in `block in ' # (eval):2:in `block in action_remove' # ./lib/chef/provider.rb:225:in `instance_eval' # ./lib/chef/provider.rb:225:in `compile_and_converge_action' # (eval):2:in `action_remove' # ./lib/chef/provider.rb:171:in `run_action' # ./spec/unit/provider/package/chocolatey_spec.rb:438:in `block (3 levels) in ' 13.2) Failure/Error: expect(provider).to receive(:shell_out!).with("#{choco_exe} uninstall -y conemu", { :returns => [0], :timeout => timeout }).and_return(double) #, @action=:remove, @current_resource=, @run_context=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @converge_actions=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}, @delayed_actions=[]>, @resource=, @actions=[["remove package [\"git\", \"conemu\"]", #]]>, @recipe_name=nil, @cookbook_name=nil, @candidate_version=["2.6.2", "15.10.25.1"], @available_packages={"chocolatey"=>"0.9.9.11", "conemu"=>"15.10.25.1", "git"=>"2.6.2", "munin-node"=>"1.6.1.20130823"}, @installed_packages={"chocolatey"=>"0.9.9.11", "conemu"=>"15.10.25.0"}, @requirements=#, @override_runlist=#, @policy_name=nil, @policy_group=nil, @attributes=#, @run_state={}, @run_context=#>, @cookbook_collection={}, @events=#, @definitions={}, @loaded_recipes_hash={}, @loaded_attributes_hash={}, @reboot_info={}, @cookbook_compiler=nil, @delayed_actions=[], @audits={}, @resource_collection=#, @resource_set=#, @resource_list=#>, @before_notification_collection={}, @immediate_notification_collection={}, @delayed_notification_collection={}>, @resource=, @assertions={:install=>[#, @failure_message="No version specified, and no candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>], :upgrade=>[#, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>, #, @failure_message="No candidate version available for ", @whyrun_message="Assuming a repository that offers would have been configured", @resource_modifier=nil, @assertion_failed=false, @exception_type=Chef::Exceptions::Package>], :all_actions=>[], :remove=>[]}, @blocked_actions=[]>, @forced_packages_missing_candidates=[], @packages_missing_candidates=[]> received :shell_out! with unexpected arguments expected: ("C:\\ProgramData\\chocolatey\\bin\\choco.exe uninstall -y conemu", {:returns=>[0], :timeout=>900}) got: ("C:\\ProgramData\\chocolatey\\bin\\choco.exe list -r git", {:returns=>[0], :timeout=>900}) (1 time) ("C:\\ProgramData\\chocolatey\\bin\\choco.exe list -r conemu", {:returns=>[0], :timeout=>900}) (1 time) # ./spec/unit/provider/package/chocolatey_spec.rb:437:in `block (3 levels) in ' 14) Chef::Provider::RemoteFile behaves like Chef::Provider::File when reporting security metadata on windows records the file owner # No reason given # ./spec/support/shared/unit/provider/file.rb:402 15) Chef::Provider::RemoteFile behaves like Chef::Provider::File when reporting security metadata on windows records rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:406 16) Chef::Provider::RemoteFile behaves like Chef::Provider::File when reporting security metadata on windows records deny_rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:410 17) Chef::Provider::RemoteFile behaves like Chef::Provider::File action create do_acl_changes needs tests # No reason given # ./spec/support/shared/unit/provider/file.rb:609 18) Chef::Provider::Template behaves like Chef::Provider::File when reporting security metadata on windows records the file owner # No reason given # ./spec/support/shared/unit/provider/file.rb:402 19) Chef::Provider::Template behaves like Chef::Provider::File when reporting security metadata on windows records rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:406 20) Chef::Provider::Template behaves like Chef::Provider::File when reporting security metadata on windows records deny_rights for each user in the ACL # No reason given # ./spec/support/shared/unit/provider/file.rb:410 21) Chef::Provider::Template behaves like Chef::Provider::File action create do_acl_changes needs tests # No reason given # ./spec/support/shared/unit/provider/file.rb:609 22) Chef::Provider::User executing load_current_resource and running assertions ruby-shadow gem not installed for dynamic load test # No reason given # ./spec/unit/provider/user_spec.rb:146 23) Chef::Provider when using use_inline_resources should log a deprecation warning # No reason given Got 1 failure: 23.1) Failure/Error: expect(Chef).to receive(:deprecated).with(:use_inline_resources, kind_of(String)) (Chef (class)).deprecated(:use_inline_resources, kind of String) expected: 1 time with arguments: (:use_inline_resources, kind of String) received: 0 times # ./spec/unit/provider_spec.rb:201:in `block (3 levels) in ' 24) Chef::Resource runs an action by finding its provider, loading the current resource and then running the action # No reason given # ./spec/unit/resource_spec.rb:622 Finished in 6 minutes 21 seconds (files took 18.46 seconds to load) 11422 examples, 0 failures, 24 pending ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installinit --name chef-client -- defaults 99 02 install -d debian/chef/etc/default install -p -m0644 debian/chef.chef-client.default debian/chef/etc/default/chef-client install -d debian/chef/etc/init.d install -p -m0755 debian/chef.chef-client.init debian/chef/etc/init.d/chef-client install -d debian/.debhelper/generated/chef [META] Append autosnippet "postinst-init-restart" to postinst [debian/.debhelper/generated/chef/postinst.service] [META] Append autosnippet "prerm-init-norestart" to prerm [debian/.debhelper/generated/chef/prerm.service] [META] Append autosnippet "postrm-init" to postrm [debian/.debhelper/generated/chef/postrm.service] cp -rf /build/chef-13.8.7/debian/etc/chef/client.rb /build/chef-13.8.7/debian/chef/usr/share/chef cp -rf /build/chef-13.8.7/debian/etc/chef/solo.rb /build/chef-13.8.7/debian/chef/usr/share/chef make[1]: Leaving directory '/build/chef-13.8.7' dh_installdocs -O--buildsystem=ruby cp --reflink=auto -a ./README.md debian/chef/usr/share/doc/chef chmod -R u\+rw,go=rX debian/chef/usr/share/doc install -p -m0644 debian/copyright debian/chef/usr/share/doc/chef/copyright install -d debian/ruby-chef-config/usr/share/doc/ruby-chef-config install -d debian/.debhelper/generated/ruby-chef-config install -p -m0644 debian/copyright debian/ruby-chef-config/usr/share/doc/ruby-chef-config/copyright dh_ruby_fixdocs -O--buildsystem=ruby dh_installchangelogs -O--buildsystem=ruby install -p -m0644 debian/changelog debian/chef/usr/share/doc/chef/changelog.Debian chmod 0644 -- debian/chef/usr/share/doc/chef/changelog install -p -m0644 debian/changelog debian/ruby-chef-config/usr/share/doc/ruby-chef-config/changelog.Debian install -p -m0644 ./CHANGELOG.md debian/ruby-chef-config/usr/share/doc/ruby-chef-config/changelog dh_installman -O--buildsystem=ruby install -d debian/chef/usr/share/man/man1/ install -p -m0644 ./distro/common/man/man1/chef-shell.1 debian/chef/usr/share/man/man1/chef-shell.1 install -p -m0644 ./distro/common/man/man1/knife-bootstrap.1 debian/chef/usr/share/man/man1/knife-bootstrap.1 install -p -m0644 ./distro/common/man/man1/knife-client.1 debian/chef/usr/share/man/man1/knife-client.1 install -p -m0644 ./distro/common/man/man1/knife-configure.1 debian/chef/usr/share/man/man1/knife-configure.1 install -p -m0644 ./distro/common/man/man1/knife-cookbook-site.1 debian/chef/usr/share/man/man1/knife-cookbook-site.1 install -p -m0644 ./distro/common/man/man1/knife-cookbook.1 debian/chef/usr/share/man/man1/knife-cookbook.1 install -p -m0644 ./distro/common/man/man1/knife-data-bag.1 debian/chef/usr/share/man/man1/knife-data-bag.1 install -p -m0644 ./distro/common/man/man1/knife-delete.1 debian/chef/usr/share/man/man1/knife-delete.1 install -p -m0644 ./distro/common/man/man1/knife-deps.1 debian/chef/usr/share/man/man1/knife-deps.1 install -p -m0644 ./distro/common/man/man1/knife-diff.1 debian/chef/usr/share/man/man1/knife-diff.1 install -p -m0644 ./distro/common/man/man1/knife-download.1 debian/chef/usr/share/man/man1/knife-download.1 install -p -m0644 ./distro/common/man/man1/knife-edit.1 debian/chef/usr/share/man/man1/knife-edit.1 install -p -m0644 ./distro/common/man/man1/knife-environment.1 debian/chef/usr/share/man/man1/knife-environment.1 install -p -m0644 ./distro/common/man/man1/knife-exec.1 debian/chef/usr/share/man/man1/knife-exec.1 install -p -m0644 ./distro/common/man/man1/knife-index-rebuild.1 debian/chef/usr/share/man/man1/knife-index-rebuild.1 install -p -m0644 ./distro/common/man/man1/knife-list.1 debian/chef/usr/share/man/man1/knife-list.1 install -p -m0644 ./distro/common/man/man1/knife-node.1 debian/chef/usr/share/man/man1/knife-node.1 install -p -m0644 ./distro/common/man/man1/knife-raw.1 debian/chef/usr/share/man/man1/knife-raw.1 install -p -m0644 ./distro/common/man/man1/knife-recipe-list.1 debian/chef/usr/share/man/man1/knife-recipe-list.1 install -p -m0644 ./distro/common/man/man1/knife-role.1 debian/chef/usr/share/man/man1/knife-role.1 install -p -m0644 ./distro/common/man/man1/knife-search.1 debian/chef/usr/share/man/man1/knife-search.1 install -p -m0644 ./distro/common/man/man1/knife-serve.1 debian/chef/usr/share/man/man1/knife-serve.1 install -p -m0644 ./distro/common/man/man1/knife-show.1 debian/chef/usr/share/man/man1/knife-show.1 install -p -m0644 ./distro/common/man/man1/knife-ssh.1 debian/chef/usr/share/man/man1/knife-ssh.1 install -p -m0644 ./distro/common/man/man1/knife-ssl-check.1 debian/chef/usr/share/man/man1/knife-ssl-check.1 install -p -m0644 ./distro/common/man/man1/knife-ssl-fetch.1 debian/chef/usr/share/man/man1/knife-ssl-fetch.1 install -p -m0644 ./distro/common/man/man1/knife-status.1 debian/chef/usr/share/man/man1/knife-status.1 install -p -m0644 ./distro/common/man/man1/knife-tag.1 debian/chef/usr/share/man/man1/knife-tag.1 install -p -m0644 ./distro/common/man/man1/knife-upload.1 debian/chef/usr/share/man/man1/knife-upload.1 install -p -m0644 ./distro/common/man/man1/knife-user.1 debian/chef/usr/share/man/man1/knife-user.1 install -p -m0644 ./distro/common/man/man1/knife-xargs.1 debian/chef/usr/share/man/man1/knife-xargs.1 install -p -m0644 ./distro/common/man/man1/knife.1 debian/chef/usr/share/man/man1/knife.1 install -d debian/chef/usr/share/man/man8/ install -p -m0644 ./distro/common/man/man8/chef-apply.8 debian/chef/usr/share/man/man8/chef-apply.8 install -p -m0644 ./distro/common/man/man8/chef-client.8 debian/chef/usr/share/man/man8/chef-client.8 install -p -m0644 ./distro/common/man/man8/chef-solo.8 debian/chef/usr/share/man/man8/chef-solo.8 man -l --recode UTF-8 ./debian/chef/usr/share/man/man8/chef-apply.8 > debian/chef/usr/share/man/man8/chef-apply.8.dh-new man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-deps.1 > debian/chef/usr/share/man/man1/knife-deps.1.dh-new man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-cookbook.1 > debian/chef/usr/share/man/man1/knife-cookbook.1.dh-new man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-serve.1 > debian/chef/usr/share/man/man1/knife-serve.1.dh-new mv debian/chef/usr/share/man/man8/chef-apply.8.dh-new debian/chef/usr/share/man/man8/chef-apply.8 man -l --recode UTF-8 ./debian/chef/usr/share/man/man8/chef-solo.8 > debian/chef/usr/share/man/man8/chef-solo.8.dh-new mv debian/chef/usr/share/man/man1/knife-serve.1.dh-new debian/chef/usr/share/man/man1/knife-serve.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-exec.1 > debian/chef/usr/share/man/man1/knife-exec.1.dh-new mv debian/chef/usr/share/man/man1/knife-deps.1.dh-new debian/chef/usr/share/man/man1/knife-deps.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-show.1 > debian/chef/usr/share/man/man1/knife-show.1.dh-new mv debian/chef/usr/share/man/man1/knife-cookbook.1.dh-new debian/chef/usr/share/man/man1/knife-cookbook.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-recipe-list.1 > debian/chef/usr/share/man/man1/knife-recipe-list.1.dh-new mv debian/chef/usr/share/man/man1/knife-exec.1.dh-new debian/chef/usr/share/man/man1/knife-exec.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-role.1 > debian/chef/usr/share/man/man1/knife-role.1.dh-new mv debian/chef/usr/share/man/man8/chef-solo.8.dh-new debian/chef/usr/share/man/man8/chef-solo.8 man -l --recode UTF-8 ./debian/chef/usr/share/man/man8/chef-client.8 > debian/chef/usr/share/man/man8/chef-client.8.dh-new mv debian/chef/usr/share/man/man1/knife-recipe-list.1.dh-new debian/chef/usr/share/man/man1/knife-recipe-list.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-bootstrap.1 > debian/chef/usr/share/man/man1/knife-bootstrap.1.dh-new mv debian/chef/usr/share/man/man1/knife-show.1.dh-new debian/chef/usr/share/man/man1/knife-show.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-configure.1 > debian/chef/usr/share/man/man1/knife-configure.1.dh-new mv debian/chef/usr/share/man/man1/knife-role.1.dh-new debian/chef/usr/share/man/man1/knife-role.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-index-rebuild.1 > debian/chef/usr/share/man/man1/knife-index-rebuild.1.dh-new mv debian/chef/usr/share/man/man8/chef-client.8.dh-new debian/chef/usr/share/man/man8/chef-client.8 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife.1 > debian/chef/usr/share/man/man1/knife.1.dh-new mv debian/chef/usr/share/man/man1/knife-bootstrap.1.dh-new debian/chef/usr/share/man/man1/knife-bootstrap.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-download.1 > debian/chef/usr/share/man/man1/knife-download.1.dh-new mv debian/chef/usr/share/man/man1/knife-configure.1.dh-new debian/chef/usr/share/man/man1/knife-configure.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-user.1 > debian/chef/usr/share/man/man1/knife-user.1.dh-new mv debian/chef/usr/share/man/man1/knife-index-rebuild.1.dh-new debian/chef/usr/share/man/man1/knife-index-rebuild.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-data-bag.1 > debian/chef/usr/share/man/man1/knife-data-bag.1.dh-new mv debian/chef/usr/share/man/man1/knife.1.dh-new debian/chef/usr/share/man/man1/knife.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-client.1 > debian/chef/usr/share/man/man1/knife-client.1.dh-new mv debian/chef/usr/share/man/man1/knife-download.1.dh-new debian/chef/usr/share/man/man1/knife-download.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-node.1 > debian/chef/usr/share/man/man1/knife-node.1.dh-new mv debian/chef/usr/share/man/man1/knife-user.1.dh-new debian/chef/usr/share/man/man1/knife-user.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-status.1 > debian/chef/usr/share/man/man1/knife-status.1.dh-new mv debian/chef/usr/share/man/man1/knife-client.1.dh-new debian/chef/usr/share/man/man1/knife-client.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-raw.1 > debian/chef/usr/share/man/man1/knife-raw.1.dh-new mv debian/chef/usr/share/man/man1/knife-node.1.dh-new debian/chef/usr/share/man/man1/knife-node.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/chef-shell.1 > debian/chef/usr/share/man/man1/chef-shell.1.dh-new mv debian/chef/usr/share/man/man1/knife-data-bag.1.dh-new debian/chef/usr/share/man/man1/knife-data-bag.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-cookbook-site.1 > debian/chef/usr/share/man/man1/knife-cookbook-site.1.dh-new mv debian/chef/usr/share/man/man1/knife-status.1.dh-new debian/chef/usr/share/man/man1/knife-status.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-tag.1 > debian/chef/usr/share/man/man1/knife-tag.1.dh-new mv debian/chef/usr/share/man/man1/knife-raw.1.dh-new debian/chef/usr/share/man/man1/knife-raw.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-upload.1 > debian/chef/usr/share/man/man1/knife-upload.1.dh-new mv debian/chef/usr/share/man/man1/chef-shell.1.dh-new debian/chef/usr/share/man/man1/chef-shell.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-delete.1 > debian/chef/usr/share/man/man1/knife-delete.1.dh-new mv debian/chef/usr/share/man/man1/knife-tag.1.dh-new debian/chef/usr/share/man/man1/knife-tag.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-ssl-fetch.1 > debian/chef/usr/share/man/man1/knife-ssl-fetch.1.dh-new mv debian/chef/usr/share/man/man1/knife-cookbook-site.1.dh-new debian/chef/usr/share/man/man1/knife-cookbook-site.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-xargs.1 > debian/chef/usr/share/man/man1/knife-xargs.1.dh-new mv debian/chef/usr/share/man/man1/knife-delete.1.dh-new debian/chef/usr/share/man/man1/knife-delete.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-diff.1 > debian/chef/usr/share/man/man1/knife-diff.1.dh-new mv debian/chef/usr/share/man/man1/knife-upload.1.dh-new debian/chef/usr/share/man/man1/knife-upload.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-environment.1 > debian/chef/usr/share/man/man1/knife-environment.1.dh-new mv debian/chef/usr/share/man/man1/knife-ssl-fetch.1.dh-new debian/chef/usr/share/man/man1/knife-ssl-fetch.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-search.1 > debian/chef/usr/share/man/man1/knife-search.1.dh-new mv debian/chef/usr/share/man/man1/knife-xargs.1.dh-new debian/chef/usr/share/man/man1/knife-xargs.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-edit.1 > debian/chef/usr/share/man/man1/knife-edit.1.dh-new mv debian/chef/usr/share/man/man1/knife-search.1.dh-new debian/chef/usr/share/man/man1/knife-search.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-ssl-check.1 > debian/chef/usr/share/man/man1/knife-ssl-check.1.dh-new mv debian/chef/usr/share/man/man1/knife-diff.1.dh-new debian/chef/usr/share/man/man1/knife-diff.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-list.1 > debian/chef/usr/share/man/man1/knife-list.1.dh-new mv debian/chef/usr/share/man/man1/knife-edit.1.dh-new debian/chef/usr/share/man/man1/knife-edit.1 chmod 0644 -- debian/chef/usr/share/man/man1/knife-serve.1 debian/chef/usr/share/man/man1/knife-exec.1 debian/chef/usr/share/man/man1/knife-role.1 debian/chef/usr/share/man/man1/knife-index-rebuild.1 debian/chef/usr/share/man/man1/knife-data-bag.1 debian/chef/usr/share/man/man1/knife-cookbook-site.1 debian/chef/usr/share/man/man1/knife-xargs.1 debian/chef/usr/share/man/man1/knife-edit.1 mv debian/chef/usr/share/man/man1/knife-environment.1.dh-new debian/chef/usr/share/man/man1/knife-environment.1 man -l --recode UTF-8 ./debian/chef/usr/share/man/man1/knife-ssh.1 > debian/chef/usr/share/man/man1/knife-ssh.1.dh-new mv debian/chef/usr/share/man/man1/knife-ssl-check.1.dh-new debian/chef/usr/share/man/man1/knife-ssl-check.1 chmod 0644 -- debian/chef/usr/share/man/man1/knife-deps.1 debian/chef/usr/share/man/man1/knife-show.1 debian/chef/usr/share/man/man1/knife-configure.1 debian/chef/usr/share/man/man1/knife-user.1 debian/chef/usr/share/man/man1/knife-status.1 debian/chef/usr/share/man/man1/knife-tag.1 debian/chef/usr/share/man/man1/knife-ssl-fetch.1 debian/chef/usr/share/man/man1/knife-search.1 debian/chef/usr/share/man/man1/knife-ssl-check.1 mv debian/chef/usr/share/man/man1/knife-ssh.1.dh-new debian/chef/usr/share/man/man1/knife-ssh.1 chmod 0644 -- debian/chef/usr/share/man/man8/chef-apply.8 debian/chef/usr/share/man/man8/chef-solo.8 debian/chef/usr/share/man/man8/chef-client.8 debian/chef/usr/share/man/man1/knife.1 debian/chef/usr/share/man/man1/knife-client.1 debian/chef/usr/share/man/man1/knife-raw.1 debian/chef/usr/share/man/man1/knife-upload.1 debian/chef/usr/share/man/man1/knife-environment.1 debian/chef/usr/share/man/man1/knife-ssh.1 mv debian/chef/usr/share/man/man1/knife-list.1.dh-new debian/chef/usr/share/man/man1/knife-list.1 chmod 0644 -- debian/chef/usr/share/man/man1/knife-cookbook.1 debian/chef/usr/share/man/man1/knife-recipe-list.1 debian/chef/usr/share/man/man1/knife-bootstrap.1 debian/chef/usr/share/man/man1/knife-download.1 debian/chef/usr/share/man/man1/knife-node.1 debian/chef/usr/share/man/man1/chef-shell.1 debian/chef/usr/share/man/man1/knife-delete.1 debian/chef/usr/share/man/man1/knife-diff.1 debian/chef/usr/share/man/man1/knife-list.1 dh_installdebconf -O--buildsystem=ruby install -d debian/chef/DEBIAN sed s/\#DEBHELPER\#// debian/chef.config > debian/chef/DEBIAN/config chmod 0755 -- debian/chef/DEBIAN/config po2debconf debian/chef.templates > debian/chef/DEBIAN/templates (grep -a -s -v misc:Depends debian/chef.substvars; echo "misc:Depends=debconf (>= 0.5) | debconf-2.0") > debian/chef.substvars.new mv debian/chef.substvars.new debian/chef.substvars [META] Append autosnippet "postrm-debconf" to postrm [debian/chef.postrm.debhelper] install -d debian/ruby-chef-config/DEBIAN dh_systemd_enable -O--buildsystem=ruby dh_installinit -O--buildsystem=ruby dh_systemd_start -O--buildsystem=ruby dh_installlogrotate -O--buildsystem=ruby install -d debian/chef/etc/logrotate.d install -p -m0644 debian/chef.logrotate debian/chef/etc/logrotate.d/chef dh_perl -O--buildsystem=ruby dh_link -O--buildsystem=ruby dh_strip_nondeterminism -O--buildsystem=ruby dh_compress -X.rb -O--buildsystem=ruby cd debian/chef cd debian/ruby-chef-config chmod a-x usr/share/doc/ruby-chef-config/changelog usr/share/doc/ruby-chef-config/changelog.Debian gzip -9nf usr/share/doc/ruby-chef-config/changelog usr/share/doc/ruby-chef-config/changelog.Debian chmod a-x usr/share/doc/chef/README.md usr/share/doc/chef/changelog usr/share/doc/chef/changelog.Debian usr/share/man/man1/chef-shell.1 usr/share/man/man1/knife-bootstrap.1 usr/share/man/man1/knife-client.1 usr/share/man/man1/knife-configure.1 usr/share/man/man1/knife-cookbook-site.1 usr/share/man/man1/knife-cookbook.1 usr/share/man/man1/knife-data-bag.1 usr/share/man/man1/knife-delete.1 usr/share/man/man1/knife-deps.1 usr/share/man/man1/knife-diff.1 usr/share/man/man1/knife-download.1 usr/share/man/man1/knife-edit.1 usr/share/man/man1/knife-environment.1 usr/share/man/man1/knife-exec.1 usr/share/man/man1/knife-index-rebuild.1 usr/share/man/man1/knife-list.1 usr/share/man/man1/knife-node.1 usr/share/man/man1/knife-raw.1 usr/share/man/man1/knife-recipe-list.1 usr/share/man/man1/knife-role.1 usr/share/man/man1/knife-search.1 usr/share/man/man1/knife-serve.1 usr/share/man/man1/knife-show.1 usr/share/man/man1/knife-ssh.1 usr/share/man/man1/knife-ssl-check.1 usr/share/man/man1/knife-ssl-fetch.1 usr/share/man/man1/knife-status.1 usr/share/man/man1/knife-tag.1 usr/share/man/man1/knife-upload.1 usr/share/man/man1/knife-user.1 usr/share/man/man1/knife-xargs.1 usr/share/man/man1/knife.1 usr/share/man/man8/chef-apply.8 usr/share/man/man8/chef-client.8 usr/share/man/man8/chef-solo.8 gzip -9nf usr/share/doc/chef/README.md usr/share/doc/chef/changelog usr/share/doc/chef/changelog.Debian usr/share/man/man1/chef-shell.1 usr/share/man/man1/knife-bootstrap.1 usr/share/man/man1/knife-client.1 usr/share/man/man1/knife-configure.1 usr/share/man/man1/knife-cookbook-site.1 usr/share/man/man1/knife-cookbook.1 usr/share/man/man1/knife-data-bag.1 usr/share/man/man1/knife-delete.1 usr/share/man/man1/knife-deps.1 usr/share/man/man1/knife-diff.1 usr/share/man/man1/knife-download.1 usr/share/man/man1/knife-edit.1 usr/share/man/man1/knife-environment.1 usr/share/man/man1/knife-exec.1 usr/share/man/man1/knife-index-rebuild.1 usr/share/man/man1/knife-list.1 usr/share/man/man1/knife-node.1 usr/share/man/man1/knife-raw.1 usr/share/man/man1/knife-recipe-list.1 usr/share/man/man1/knife-role.1 usr/share/man/man1/knife-search.1 usr/share/man/man1/knife-serve.1 usr/share/man/man1/knife-show.1 usr/share/man/man1/knife-ssh.1 usr/share/man/man1/knife-ssl-check.1 usr/share/man/man1/knife-ssl-fetch.1 usr/share/man/man1/knife-status.1 usr/share/man/man1/knife-tag.1 usr/share/man/man1/knife-upload.1 usr/share/man/man1/knife-user.1 usr/share/man/man1/knife-xargs.1 usr/share/man/man1/knife.1 usr/share/man/man8/chef-apply.8 usr/share/man/man8/chef-client.8 usr/share/man/man8/chef-solo.8 cd '/build/chef-13.8.7' cd '/build/chef-13.8.7' dh_fixperms -O--buildsystem=ruby find debian/chef ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/ruby-chef-config ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/ruby-chef-config/usr/share/doc -type f -a -true -a ! -regex 'debian/ruby-chef-config/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/ruby-chef-config/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/ruby-chef-config -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/ruby-chef-config/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w find debian/chef/usr/share/doc -type f -a -true -a ! -regex 'debian/chef/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/chef/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/chef/usr/share/man -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/chef -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/chef/usr/bin debian/chef/etc/init.d -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod a+x find debian/chef/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w dh_missing -O--buildsystem=ruby dh_installdeb -O--buildsystem=ruby cp -f debian/chef.postinst debian/chef/DEBIAN/postinst perl -p -i -e "s~#DEBHELPER#~qx{cat debian/.debhelper/generated/chef/postinst.service}~eg" debian/chef/DEBIAN/postinst chmod 0755 -- debian/chef/DEBIAN/postinst cp -f debian/chef.prerm debian/chef/DEBIAN/prerm perl -p -i -e "s~#DEBHELPER#~qx{cat debian/.debhelper/generated/chef/prerm.service}~eg" debian/chef/DEBIAN/prerm chmod 0755 -- debian/chef/DEBIAN/prerm cp -f debian/chef.postrm debian/chef/DEBIAN/postrm perl -p -i -e "s~#DEBHELPER#~qx{cat debian/.debhelper/generated/chef/postrm.service debian/chef.postrm.debhelper}~eg" debian/chef/DEBIAN/postrm chmod 0755 -- debian/chef/DEBIAN/postrm find debian/chef/etc -type f -printf '/etc/%P ' | LC_ALL=C sort >> debian/chef/DEBIAN/conffiles chmod 0644 -- debian/chef/DEBIAN/conffiles dh_gencontrol -O--buildsystem=ruby echo misc:Pre-Depends= >> debian/chef.substvars dpkg-gencontrol -pchef -ldebian/changelog -Tdebian/chef.substvars -Pdebian/chef -UMulti-Arch echo misc:Depends= >> debian/ruby-chef-config.substvars echo misc:Pre-Depends= >> debian/ruby-chef-config.substvars dpkg-gencontrol -pruby-chef-config -ldebian/changelog -Tdebian/ruby-chef-config.substvars -Pdebian/ruby-chef-config -UMulti-Arch dpkg-gencontrol: warning: Depends field of package chef: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: Depends field of package ruby-chef-config: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-chef-config: substitution variable ${ruby:Versions} unused, but is defined chmod 0644 -- debian/ruby-chef-config/DEBIAN/control chmod 0644 -- debian/chef/DEBIAN/control dh_md5sums -O--buildsystem=ruby cd debian/ruby-chef-config >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums cd debian/chef >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/ruby-chef-config/DEBIAN/md5sums chmod 0644 -- debian/chef/DEBIAN/md5sums dh_builddeb -O--buildsystem=ruby dpkg-deb --root-owner-group --build debian/chef .. dpkg-deb --root-owner-group --build debian/ruby-chef-config .. dpkg-deb: building package 'ruby-chef-config' in '../ruby-chef-config_13.8.7-4_all.deb'. dpkg-deb: building package 'chef' in '../chef_13.8.7-4_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../chef_13.8.7-4_armhf.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration I: user script /srv/workspace/pbuilder/19860/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/19860/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/19860 and its subdirectories I: Current time: Mon Jun 1 10:03:00 +14 2020 I: pbuilder-time-stamp: 1590955380