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
This commit is contained in:
Ian Wienand 2020-06-09 10:15:05 +10:00
parent 33773388a1
commit 4fa8e22ffc
3 changed files with 2 additions and 34 deletions

View File

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

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

View File

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