Commit 102885e3 authored by Cool Fire's avatar Cool Fire

Update puppet and image version

parent 78e4f76b
Pipeline #1966 passed with stages
in 11 minutes and 28 seconds
...@@ -10,8 +10,8 @@ librarian: ...@@ -10,8 +10,8 @@ librarian:
stage: test stage: test
script: script:
- apt-get install -y -q wget ruby git - apt-get install -y -q wget ruby git
- wget https://apt.puppetlabs.com/puppet5-release-xenial.deb - wget https://apt.puppetlabs.com/puppet6-release-bionic.deb
- dpkg -i puppet5-release-xenial.deb - dpkg -i puppet6-release-bionic.deb
- apt-get update -qq && apt-get install -y -qq puppet-agent - apt-get update -qq && apt-get install -y -qq puppet-agent
- gem install --no-ri --no-rdoc librarian-puppet - gem install --no-ri --no-rdoc librarian-puppet
- export PATH=/opt/puppetlabs/bin:$PATH - export PATH=/opt/puppetlabs/bin:$PATH
...@@ -20,7 +20,7 @@ librarian: ...@@ -20,7 +20,7 @@ librarian:
- librarian-puppet version - librarian-puppet version
- librarian-puppet install - librarian-puppet install
- librarian-puppet show - librarian-puppet show
image: ubuntu:16.04 image: ubuntu:18.04
deploy: deploy:
stage: deploy stage: deploy
...@@ -31,6 +31,6 @@ deploy: ...@@ -31,6 +31,6 @@ deploy:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
- bash deploy.sh - bash deploy.sh
image: ubuntu:16.04 image: ubuntu:18.04
only: only:
- master - master
...@@ -94,8 +94,8 @@ Now we need to log out and `vagrant ssh` back in to see if our changes worked. O ...@@ -94,8 +94,8 @@ Now we need to log out and `vagrant ssh` back in to see if our changes worked. O
All that is left to do now is to install puppet inside of the VM so we can provision stuff in there. We'll download and install the latest Puppet 5 repo package and use that to install puppet. All that is left to do now is to install puppet inside of the VM so we can provision stuff in there. We'll download and install the latest Puppet 5 repo package and use that to install puppet.
``` ```
wget https://apt.puppetlabs.com/puppet5-release-stretch.deb wget https://apt.puppetlabs.com/puppet6-release-buster.deb
sudo dpkg -i puppet5-release-stretch.deb sudo dpkg -i puppet6-release-buster.deb
sudo apt update sudo apt update
sudo apt install puppet-agent sudo apt install puppet-agent
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment