Browse Source

Remove Puppet 5 testing

We have pivoted to Ansible and We don't use puppet5 anywhere.  Stop
testing on Bionic as we're not really interested in maintaing it, and
remove the puppet-install installation path there so we don't have
code that isn't being tested.

Change-Id: Ia2d05f7c75e46bc01717d11457b832e42522fa95
changes/98/734398/1
Ian Wienand 1 month ago
parent
commit
4fa8e22ffc
3 changed files with 2 additions and 34 deletions
  1. +2
    -5
      roles-test/puppet-install.yaml
  2. +0
    -26
      roles/puppet-install/tasks/puppet-install/bionic.yaml
  3. +0
    -3
      zuul.d/system-config-roles.yaml

+ 2
- 5
roles-test/puppet-install.yaml View File

@@ -10,8 +10,5 @@
- role: puppet-install
puppet_install_version: 4

- name: Install puppet5
hosts: puppet5
roles:
- role: puppet-install
puppet_install_version: 5
# NOTE(ianw) 2020-06 : we have moved away from puppet which is why we
# don't test anything later.

+ 0
- 26
roles/puppet-install/tasks/puppet-install/bionic.yaml View File

@@ -1,26 +0,0 @@
# Prior versions not supported on Bionic
- fail:
msg: "Unsupported puppet version '{{ puppet_install_version }}' on this platform"
when: puppet_install_version not in [5,]

- name: Install puppet 5 packages
when: puppet_install_version == 5
become: true
block:
- name: Install puppetlabs repo
apt:
deb: https://apt.puppetlabs.com/puppet5-release-bionic.deb

- name: Install puppet packages
apt:
name:
- puppet-agent
- ruby
update_cache: yes

- name: Stop and disable puppet service
service:
name: puppet
state: stopped
enabled: no
become: yes

+ 0
- 3
zuul.d/system-config-roles.yaml View File

@@ -38,9 +38,6 @@
- name: base
label: ubuntu-bionic
groups:
- name: puppet5
nodes:
- base
- name: openafs
nodes:
- base


Loading…
Cancel
Save