Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add vagrantfile support for popos 21.10 #237

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

logicminds
Copy link
Contributor

@logicminds logicminds commented Feb 17, 2022

This adds the ability to spin up a popos 21.10 image via vagrant. However, when doing so facterdb classifies the OS as just debian and overwrites an existing file which is not desired.

I have included that overwritten file for example purposes so this should not be merged until we can figure out why that is created.

The command I used to run was vagrant up --provision popos-21.10-x86_64

I am also getting errors upon provisioning so it looks like the script to install puppet is not working correctly because of OS detection.

Facter 3.14 is the only thing it was able to install.

➜  facts git:(popos) ✗ vagrant provision popos-21.10-x86_64
==> popos-21.10-x86_64: Running provisioner: shell...
    popos-21.10-x86_64: Running: inline script
    popos-21.10-x86_64: Hit:1 http://apt.pop-os.org/proprietary impish InRelease
    popos-21.10-x86_64: Hit:2 http://apt.pop-os.org/release impish InRelease
    popos-21.10-x86_64: Hit:3 http://us.archive.ubuntu.com/ubuntu impish InRelease
    popos-21.10-x86_64: Hit:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease
    popos-21.10-x86_64: Hit:5 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
    popos-21.10-x86_64: Hit:6 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
    popos-21.10-x86_64: Reading package lists...
==> popos-21.10-x86_64: Running provisioner: shell...
    popos-21.10-x86_64: Running: inline script
    popos-21.10-x86_64: Hit:1 http://apt.pop-os.org/proprietary impish InRelease
    popos-21.10-x86_64: Hit:2 http://apt.pop-os.org/release impish InRelease
    popos-21.10-x86_64: Hit:3 http://us.archive.ubuntu.com/ubuntu impish InRelease
    popos-21.10-x86_64: Hit:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease
    popos-21.10-x86_64: Hit:5 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
    popos-21.10-x86_64: Hit:6 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: libc6-dev is already the newest version (2.34-0ubuntu3).
    popos-21.10-x86_64: libc6-dev set to manually installed.
    popos-21.10-x86_64: ruby is already the newest version (1:2.7+2build1).
    popos-21.10-x86_64: The following additional packages will be installed:
    popos-21.10-x86_64:   libgmp-dev libgmpxx4ldbl ruby2.7-dev ruby2.7-doc
    popos-21.10-x86_64: Suggested packages:
    popos-21.10-x86_64:   gmp-doc libgmp10-doc libmpfr-dev
    popos-21.10-x86_64: The following NEW packages will be installed:
    popos-21.10-x86_64:   libgmp-dev libgmpxx4ldbl ruby-dev ruby2.7-dev ruby2.7-doc
    popos-21.10-x86_64: 0 upgraded, 5 newly installed, 0 to remove and 165 not upgraded.
    popos-21.10-x86_64: Need to get 2,735 kB of archives.
    popos-21.10-x86_64: After this operation, 26.2 MB of additional disk space will be used.
    popos-21.10-x86_64: Get:1 http://us.archive.ubuntu.com/ubuntu impish/main amd64 libgmpxx4ldbl amd64 2:6.2.1+dfsg-1ubuntu2 [9,012 B]
    popos-21.10-x86_64: Get:2 http://us.archive.ubuntu.com/ubuntu impish/main amd64 libgmp-dev amd64 2:6.2.1+dfsg-1ubuntu2 [317 kB]
    popos-21.10-x86_64: Get:3 http://us.archive.ubuntu.com/ubuntu impish-security/main amd64 ruby2.7-dev amd64 2.7.4-1ubuntu3.1 [189 kB]
    popos-21.10-x86_64: Get:4 http://us.archive.ubuntu.com/ubuntu impish/main amd64 ruby-dev amd64 1:2.7+2build1 [4,524 B]
    popos-21.10-x86_64: Get:5 http://us.archive.ubuntu.com/ubuntu impish-security/main amd64 ruby2.7-doc all 2.7.4-1ubuntu3.1 [2,216 kB]
    popos-21.10-x86_64: Fetched 2,735 kB in 1s (3,218 kB/s)
    popos-21.10-x86_64: Selecting previously unselected package libgmpxx4ldbl:amd64.
(Reading database ... 237335 files and directories currently installed.)
    popos-21.10-x86_64: Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg-1ubuntu2_amd64.deb ...
    popos-21.10-x86_64: Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1ubuntu2) ...
    popos-21.10-x86_64: Selecting previously unselected package libgmp-dev:amd64.
    popos-21.10-x86_64: Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg-1ubuntu2_amd64.deb ...
    popos-21.10-x86_64: Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg-1ubuntu2) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby2.7-dev:amd64.
    popos-21.10-x86_64: Preparing to unpack .../ruby2.7-dev_2.7.4-1ubuntu3.1_amd64.deb ...
    popos-21.10-x86_64: Unpacking ruby2.7-dev:amd64 (2.7.4-1ubuntu3.1) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby-dev:amd64.
    popos-21.10-x86_64: Preparing to unpack .../ruby-dev_1%3a2.7+2build1_amd64.deb ...
    popos-21.10-x86_64: Unpacking ruby-dev:amd64 (1:2.7+2build1) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby2.7-doc.
    popos-21.10-x86_64: Preparing to unpack .../ruby2.7-doc_2.7.4-1ubuntu3.1_all.deb ...
    popos-21.10-x86_64: Unpacking ruby2.7-doc (2.7.4-1ubuntu3.1) ...
    popos-21.10-x86_64: Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg-1ubuntu2) ...
    popos-21.10-x86_64: Setting up ruby2.7-doc (2.7.4-1ubuntu3.1) ...
    popos-21.10-x86_64: Setting up libgmp-dev:amd64 (2:6.2.1+dfsg-1ubuntu2) ...
    popos-21.10-x86_64: Setting up ruby2.7-dev:amd64 (2.7.4-1ubuntu3.1) ...
    popos-21.10-x86_64: Setting up ruby-dev:amd64 (1:2.7+2build1) ...
    popos-21.10-x86_64: Processing triggers for libc-bin (2.34-0ubuntu3) ...
==> popos-21.10-x86_64: Running provisioner: file...
    popos-21.10-x86_64: Gemfile => Gemfile
==> popos-21.10-x86_64: Running provisioner: shell...
    popos-21.10-x86_64: Running: /tmp/vagrant-shell20220217-15276-ygs9uj.sh
    popos-21.10-x86_64: Hit:1 http://apt.pop-os.org/proprietary impish InRelease
    popos-21.10-x86_64: Hit:2 http://apt.pop-os.org/release impish InRelease
    popos-21.10-x86_64: Hit:3 http://us.archive.ubuntu.com/ubuntu impish InRelease
    popos-21.10-x86_64: Hit:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease
    popos-21.10-x86_64: Hit:5 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
    popos-21.10-x86_64: Hit:6 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: lsb-release is already the newest version (11.1.0ubuntu3).
    popos-21.10-x86_64: 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: curl is already the newest version (7.74.0-1.3ubuntu2).
    popos-21.10-x86_64: curl set to manually installed.
    popos-21.10-x86_64: 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    popos-21.10-x86_64:                                  Dload  Upload   Total   Spent    Left  Speed
100   361  100   361    0     0   1504      0 --:--:-- --:--:-- --:--:--  1504
    popos-21.10-x86_64: dpkg-deb: error: '/tmp/puppet6-release.deb' is not a Debian format archive
    popos-21.10-x86_64: dpkg: error processing archive /tmp/puppet6-release.deb (--install):
    popos-21.10-x86_64:  dpkg-deb --control subprocess returned error exit status 2
    popos-21.10-x86_64: Errors were encountered while processing:
    popos-21.10-x86_64:  /tmp/puppet6-release.deb
    popos-21.10-x86_64: Hit:1 http://apt.pop-os.org/proprietary impish InRelease
    popos-21.10-x86_64: Hit:2 http://apt.pop-os.org/release impish InRelease
    popos-21.10-x86_64: Hit:3 http://us.archive.ubuntu.com/ubuntu impish InRelease
    popos-21.10-x86_64: Hit:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease
    popos-21.10-x86_64: Hit:5 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
    popos-21.10-x86_64: Hit:6 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '6.2*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '6.4*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '6.6*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: E: Unable to locate package puppet6-release
    popos-21.10-x86_64:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    popos-21.10-x86_64:                                  Dload  Upload   Total   Spent    Left  Speed
100   361  100   361    0     0   1910      0 --:--:-- --:--:-- --:--:--  1910
    popos-21.10-x86_64: dpkg-deb: error: '/tmp/puppet7-release.deb' is not a Debian format archive
    popos-21.10-x86_64: dpkg: error processing archive /tmp/puppet7-release.deb (--install):
    popos-21.10-x86_64:  dpkg-deb --control subprocess returned error exit status 2
    popos-21.10-x86_64: Errors were encountered while processing:
    popos-21.10-x86_64:  /tmp/puppet7-release.deb
    popos-21.10-x86_64: Hit:1 http://apt.pop-os.org/proprietary impish InRelease
    popos-21.10-x86_64: Hit:2 http://apt.pop-os.org/release impish InRelease
    popos-21.10-x86_64: Hit:3 http://us.archive.ubuntu.com/ubuntu impish InRelease
    popos-21.10-x86_64: Hit:4 http://us.archive.ubuntu.com/ubuntu impish-security InRelease
    popos-21.10-x86_64: Hit:5 http://us.archive.ubuntu.com/ubuntu impish-updates InRelease
    popos-21.10-x86_64: Hit:6 http://us.archive.ubuntu.com/ubuntu impish-backports InRelease
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '7.5.0*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '7.6.1*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: Package puppet-agent is not available, but is referred to by another package.
    popos-21.10-x86_64: This may mean that the package is missing, has been obsoleted, or
    popos-21.10-x86_64: is only available from another source
    popos-21.10-x86_64: 
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: E: Version '7.12.0*' for 'puppet-agent' was not found
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: E: Unable to locate package puppet7-release
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: gcc is already the newest version (4:11.2.0-1ubuntu1).
    popos-21.10-x86_64: libgmp-dev is already the newest version (2:6.2.1+dfsg-1ubuntu2).
    popos-21.10-x86_64: libgmp-dev set to manually installed.
    popos-21.10-x86_64: make is already the newest version (4.3-4ubuntu1).
    popos-21.10-x86_64: make set to manually installed.
    popos-21.10-x86_64: 0 upgraded, 0 newly installed, 0 to remove and 165 not upgraded.
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: Reading package lists...
    popos-21.10-x86_64: Building dependency tree...
    popos-21.10-x86_64: Reading state information...
    popos-21.10-x86_64: ruby is already the newest version (1:2.7+2build1).
    popos-21.10-x86_64: ruby-dev is already the newest version (1:2.7+2build1).
    popos-21.10-x86_64: The following additional packages will be installed:
    popos-21.10-x86_64:   augeas-lenses debconf-utils hiera libaugeas0 libboost-log1.74.0
    popos-21.10-x86_64:   libboost-nowide1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0
    popos-21.10-x86_64:   libcpp-hocon0.3.0 libfacter3.14.12 libleatherman1.12.1 libyaml-cpp0.6
    popos-21.10-x86_64:   ruby-augeas ruby-deep-merge ruby-selinux ruby-shadow
    popos-21.10-x86_64: Suggested packages:
    popos-21.10-x86_64:   augeas-doc mcollective-common puppet-common augeas-tools ruby-rrd ruby-hocon
    popos-21.10-x86_64: The following NEW packages will be installed:
    popos-21.10-x86_64:   augeas-lenses debconf-utils facter hiera libaugeas0 libboost-log1.74.0
    popos-21.10-x86_64:   libboost-nowide1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0
    popos-21.10-x86_64:   libcpp-hocon0.3.0 libfacter3.14.12 libleatherman1.12.1 libyaml-cpp0.6 puppet
    popos-21.10-x86_64:   ruby-augeas ruby-deep-merge ruby-selinux ruby-shadow
    popos-21.10-x86_64: 0 upgraded, 18 newly installed, 0 to remove and 165 not upgraded.
    popos-21.10-x86_64: Need to get 4,956 kB of archives.
    popos-21.10-x86_64: After this operation, 27.1 MB of additional disk space will be used.
    popos-21.10-x86_64: Get:1 http://apt.pop-os.org/release impish/main amd64 debconf-utils all 1.5.77pop0~1631387232~21.10~d742cfc [57.2 kB]
    popos-21.10-x86_64: Get:2 http://us.archive.ubuntu.com/ubuntu impish/main amd64 libboost-program-options1.74.0 amd64 1.74.0-8ubuntu6 [310 kB]
    popos-21.10-x86_64: Get:3 http://us.archive.ubuntu.com/ubuntu impish/main amd64 libboost-regex1.74.0 amd64 1.74.0-8ubuntu6 [511 kB]
    popos-21.10-x86_64: Get:4 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libboost-log1.74.0 amd64 1.74.0-8ubuntu6 [591 kB]
    popos-21.10-x86_64: Get:5 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libboost-nowide1.74.0 amd64 1.74.0-8ubuntu6 [222 kB]
    popos-21.10-x86_64: Get:6 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libleatherman1.12.1 amd64 1.12.1+dfsg-1.1 [340 kB]
    popos-21.10-x86_64: Get:7 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libcpp-hocon0.3.0 amd64 0.3.0-1build2 [401 kB]
    popos-21.10-x86_64: Get:8 http://us.archive.ubuntu.com/ubuntu impish/main amd64 libyaml-cpp0.6 amd64 0.6.3-10 [88.1 kB]
    popos-21.10-x86_64: Get:9 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libfacter3.14.12 amd64 3.14.12-1build1 [531 kB]
    popos-21.10-x86_64: Get:10 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 facter amd64 3.14.12-1build1 [70.8 kB]
    popos-21.10-x86_64: Get:11 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 augeas-lenses all 1.12.0-2 [308 kB]
    popos-21.10-x86_64: Get:12 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 libaugeas0 amd64 1.12.0-2 [194 kB]
    popos-21.10-x86_64: Get:13 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 ruby-augeas amd64 1:0.5.0-3build7 [10.4 kB]
    popos-21.10-x86_64: Get:14 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 ruby-deep-merge all 1.1.1-1 [8,598 B]
    popos-21.10-x86_64: Get:15 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 hiera all 3.2.0-2.1 [23.3 kB]
    popos-21.10-x86_64: Get:16 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 ruby-shadow amd64 2.5.0-1build2 [10.0 kB]
    popos-21.10-x86_64: Get:17 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 puppet all 5.5.22-1ubuntu1 [1,231 kB]
    popos-21.10-x86_64: Get:18 http://us.archive.ubuntu.com/ubuntu impish/universe amd64 ruby-selinux amd64 3.1-3build2 [47.8 kB]
    popos-21.10-x86_64: Fetched 4,956 kB in 1s (4,548 kB/s)
    popos-21.10-x86_64: Selecting previously unselected package libboost-program-options1.74.0:amd64.
(Reading database ... 256116 files and directories currently installed.)
    popos-21.10-x86_64: Preparing to unpack .../00-libboost-program-options1.74.0_1.74.0-8ubuntu6_amd64.deb ...
    popos-21.10-x86_64: Unpacking libboost-program-options1.74.0:amd64 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Selecting previously unselected package libboost-regex1.74.0:amd64.
    popos-21.10-x86_64: Preparing to unpack .../01-libboost-regex1.74.0_1.74.0-8ubuntu6_amd64.deb ...
    popos-21.10-x86_64: Unpacking libboost-regex1.74.0:amd64 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Selecting previously unselected package libboost-log1.74.0.
    popos-21.10-x86_64: Preparing to unpack .../02-libboost-log1.74.0_1.74.0-8ubuntu6_amd64.deb ...
    popos-21.10-x86_64: Unpacking libboost-log1.74.0 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Selecting previously unselected package libboost-nowide1.74.0.
    popos-21.10-x86_64: Preparing to unpack .../03-libboost-nowide1.74.0_1.74.0-8ubuntu6_amd64.deb ...
    popos-21.10-x86_64: Unpacking libboost-nowide1.74.0 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Selecting previously unselected package libleatherman1.12.1:amd64.
    popos-21.10-x86_64: Preparing to unpack .../04-libleatherman1.12.1_1.12.1+dfsg-1.1_amd64.deb ...
    popos-21.10-x86_64: Unpacking libleatherman1.12.1:amd64 (1.12.1+dfsg-1.1) ...
    popos-21.10-x86_64: Selecting previously unselected package libcpp-hocon0.3.0:amd64.
    popos-21.10-x86_64: Preparing to unpack .../05-libcpp-hocon0.3.0_0.3.0-1build2_amd64.deb ...
    popos-21.10-x86_64: Unpacking libcpp-hocon0.3.0:amd64 (0.3.0-1build2) ...
    popos-21.10-x86_64: Selecting previously unselected package libyaml-cpp0.6:amd64.
    popos-21.10-x86_64: Preparing to unpack .../06-libyaml-cpp0.6_0.6.3-10_amd64.deb ...
    popos-21.10-x86_64: Unpacking libyaml-cpp0.6:amd64 (0.6.3-10) ...
    popos-21.10-x86_64: Selecting previously unselected package libfacter3.14.12:amd64.
    popos-21.10-x86_64: Preparing to unpack .../07-libfacter3.14.12_3.14.12-1build1_amd64.deb ...
    popos-21.10-x86_64: Unpacking libfacter3.14.12:amd64 (3.14.12-1build1) ...
    popos-21.10-x86_64: Selecting previously unselected package facter.
    popos-21.10-x86_64: Preparing to unpack .../08-facter_3.14.12-1build1_amd64.deb ...
    popos-21.10-x86_64: Unpacking facter (3.14.12-1build1) ...
    popos-21.10-x86_64: Selecting previously unselected package augeas-lenses.
    popos-21.10-x86_64: Preparing to unpack .../09-augeas-lenses_1.12.0-2_all.deb ...
    popos-21.10-x86_64: Unpacking augeas-lenses (1.12.0-2) ...
    popos-21.10-x86_64: Selecting previously unselected package libaugeas0:amd64.
    popos-21.10-x86_64: Preparing to unpack .../10-libaugeas0_1.12.0-2_amd64.deb ...
    popos-21.10-x86_64: Unpacking libaugeas0:amd64 (1.12.0-2) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby-augeas.
    popos-21.10-x86_64: Preparing to unpack .../11-ruby-augeas_1%3a0.5.0-3build7_amd64.deb ...
    popos-21.10-x86_64: Unpacking ruby-augeas (1:0.5.0-3build7) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby-deep-merge.
    popos-21.10-x86_64: Preparing to unpack .../12-ruby-deep-merge_1.1.1-1_all.deb ...
    popos-21.10-x86_64: Unpacking ruby-deep-merge (1.1.1-1) ...
    popos-21.10-x86_64: Selecting previously unselected package hiera.
    popos-21.10-x86_64: Preparing to unpack .../13-hiera_3.2.0-2.1_all.deb ...
    popos-21.10-x86_64: Unpacking hiera (3.2.0-2.1) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby-shadow.
    popos-21.10-x86_64: Preparing to unpack .../14-ruby-shadow_2.5.0-1build2_amd64.deb ...
    popos-21.10-x86_64: Unpacking ruby-shadow (2.5.0-1build2) ...
    popos-21.10-x86_64: Selecting previously unselected package puppet.
    popos-21.10-x86_64: Preparing to unpack .../15-puppet_5.5.22-1ubuntu1_all.deb ...
    popos-21.10-x86_64: Unpacking puppet (5.5.22-1ubuntu1) ...
    popos-21.10-x86_64: Selecting previously unselected package debconf-utils.
    popos-21.10-x86_64: Preparing to unpack .../16-debconf-utils_1.5.77pop0~1631387232~21.10~d742cfc_all.deb ...
    popos-21.10-x86_64: Unpacking debconf-utils (1.5.77pop0~1631387232~21.10~d742cfc) ...
    popos-21.10-x86_64: Selecting previously unselected package ruby-selinux:amd64.
    popos-21.10-x86_64: Preparing to unpack .../17-ruby-selinux_3.1-3build2_amd64.deb ...
    popos-21.10-x86_64: Unpacking ruby-selinux:amd64 (3.1-3build2) ...
    popos-21.10-x86_64: Setting up ruby-selinux:amd64 (3.1-3build2) ...
    popos-21.10-x86_64: Setting up augeas-lenses (1.12.0-2) ...
    popos-21.10-x86_64: Setting up libboost-program-options1.74.0:amd64 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Setting up libboost-nowide1.74.0 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Setting up libaugeas0:amd64 (1.12.0-2) ...
    popos-21.10-x86_64: Setting up libboost-regex1.74.0:amd64 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Setting up debconf-utils (1.5.77pop0~1631387232~21.10~d742cfc) ...
    popos-21.10-x86_64: Setting up libyaml-cpp0.6:amd64 (0.6.3-10) ...
    popos-21.10-x86_64: Setting up ruby-deep-merge (1.1.1-1) ...
    popos-21.10-x86_64: Setting up ruby-shadow (2.5.0-1build2) ...
    popos-21.10-x86_64: Setting up hiera (3.2.0-2.1) ...
    popos-21.10-x86_64: Setting up libboost-log1.74.0 (1.74.0-8ubuntu6) ...
    popos-21.10-x86_64: Setting up libleatherman1.12.1:amd64 (1.12.1+dfsg-1.1) ...
    popos-21.10-x86_64: Setting up ruby-augeas (1:0.5.0-3build7) ...
    popos-21.10-x86_64: Setting up libcpp-hocon0.3.0:amd64 (0.3.0-1build2) ...
    popos-21.10-x86_64: Setting up libfacter3.14.12:amd64 (3.14.12-1build1) ...
    popos-21.10-x86_64: Setting up facter (3.14.12-1build1) ...
    popos-21.10-x86_64: Setting up puppet (5.5.22-1ubuntu1) ...
    popos-21.10-x86_64: puppet.service is a disabled or a static unit, not starting it.
    popos-21.10-x86_64: Processing triggers for man-db (2.9.4-2) ...
    popos-21.10-x86_64: Processing triggers for libc-bin (2.34-0ubuntu3) ...
    popos-21.10-x86_64: W: --force-yes is deprecated, use one of the options starting with --allow instead.
    popos-21.10-x86_64: 2022-02-17 14:18:18.465011 WARN  puppetlabs.facter - skipping external facts for "/var/cache/puppet/facts.d": No such file or directory
    popos-21.10-x86_64: {
    popos-21.10-x86_64:   "architecture": "amd64",
    popos-21.10-x86_64:   "bios_release_date": "12/01/2006",
    popos-21.10-x86_64:   "bios_vendor": "innotek GmbH",
    popos-21.10-x86_64:   "bios_version": "VirtualBox",
    popos-21.10-x86_64:   "blockdevice_sda_model": "VBOX HARDDISK",
    popos-21.10-x86_64:   "blockdevice_sda_size": 68719476736,
    popos-21.10-x86_64:   "blockdevice_sda_vendor": "ATA",
    popos-21.10-x86_64:   "blockdevice_sr0_model": "CD-ROM",
    popos-21.10-x86_64:   "blockdevice_sr0_size": 1073741312,
    popos-21.10-x86_64:   "blockdevice_sr0_vendor": "VBOX",
    popos-21.10-x86_64:   "blockdevices": "sr0,sda",
    popos-21.10-x86_64:   "boardmanufacturer": "Oracle Corporation",
    popos-21.10-x86_64:   "boardproductname": "VirtualBox",
    popos-21.10-x86_64:   "boardserialnumber": "0",
    popos-21.10-x86_64:   "chassistype": "Other",

@logicminds
Copy link
Contributor Author

logicminds commented Feb 17, 2022

After reviewing this and based on prior experience with other Ubuntu derivatives the codename of the OS impish is causing the script to fail because puppet repositories only support the main ubuntu codenames. Since each derivative has their own codename the agent package cannot be found which causes everything else to fail. Additionally, impish is too new for puppet support.

Additionally, it appears the image has some initial apt-get lock problem that needs to be fixed in the upstream image.

When we manually install this we just grab the 21.10 package and install it. I am guessing the puppet install script tries to piece together os information given the lsb data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant