Skip to content

Commit c025635

Browse files
committed
Start porting installer to Puppet 7
Puppetfile should be good to go now. Functionality has not been tested. Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
1 parent 1b7c65a commit c025635

File tree

3 files changed

+71
-46
lines changed

3 files changed

+71
-46
lines changed

Puppetfile

Lines changed: 67 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,82 @@
33

44
forge 'https://forgeapi.puppetlabs.com'
55

6-
mod 'puppetlabs-apt', '7.3.0'
7-
mod 'puppetlabs-apache', '5.4.0'
8-
mod 'puppetlabs-augeas_core', '1.0.5'
9-
mod 'puppetlabs-concat', '6.2.0'
10-
mod 'puppetlabs-cron_core', '1.0.3'
11-
mod 'stm-debconf', '3.0.0'
12-
mod 'theforeman/dhcp', '5.1.1'
13-
mod 'theforeman/dns', '7.0.0'
14-
mod 'ghoneycutt-dnsclient', '3.6.0'
15-
mod 'puppet-epel', '3.0.1'
16-
mod 'puppetlabs-firewall', '2.2.0'
17-
mod 'theforeman/foreman', '14.0.0'
18-
mod 'theforeman/foreman_proxy', '13.0.0'
19-
mod 'theforeman/git', '6.0.2'
6+
mod 'puppetlabs-apt', '8.0.1'
7+
mod 'puppetlabs-apache', '6.0.0'
8+
mod 'puppetlabs-augeas_core', '1.1.2'
9+
mod 'puppetlabs-concat', '7.0.0'
10+
mod 'puppetlabs-cron_core',
11+
:git => 'https://github.com/puppetlabs/puppetlabs-cron_core.git',
12+
:ref => 'c63ef326bfd2cdd96bbfc3aa368358e301dd7b66'
13+
mod 'stm-debconf', '3.3.1'
14+
mod 'ghoneycutt-dnsclient',
15+
:git => 'https://github.com/Puppet-Finland/puppet-module-dnsclient.git',
16+
:ref => 'puppet7'
17+
mod 'puppet-epel',
18+
:git => 'https://github.com/Puppet-Finland/puppet-module-epel.git',
19+
:ref => 'puppet7'
20+
mod 'puppetlabs-firewall', '3.0.0'
21+
mod 'theforeman/git',
22+
:git => 'https://github.com/Puppet-Finland/puppet-git.git',
23+
:ref => 'puppet7'
2024
mod 'chrekh-hosts', '2.3.1'
21-
mod 'puppetlabs-inifile', '4.1.0'
25+
mod 'puppetlabs-inifile', '5.0.0'
2226
mod 'saz-locales',
23-
:git => 'https://github.com/saz/puppet-locales.git',
24-
:ref => '2d8c5a9efa6cc9bf80823b7161aec07d31a8c5b0'
25-
mod 'puppet-make', '3.0.0'
26-
mod 'saz-memcached', '3.4.0'
27-
mod 'puppetlabs/mysql', '10.3.0'
28-
mod 'puppetlabs-ntp', '8.2.0'
27+
:git => 'https://github.com/Puppet-Finland/puppet-locales-1.git',
28+
:ref => 'puppet7'
29+
mod 'puppet-make',
30+
:git => 'https://github.com/Puppet-Finland/puppet-make.git',
31+
:ref => 'puppet7'
32+
mod 'puppetlabs/mysql', '11.0.0'
33+
mod 'puppetlabs-ntp', '9.0.0'
2934
mod 'puppetfinland-packetfilter', '2.0.3'
30-
mod 'puppetlabs/postgresql', '6.3.0'
31-
mod 'theforeman/puppet', '14.2.1'
32-
mod 'puppetlabs-puppet_authorization', '0.5.0'
35+
mod 'puppetlabs/postgresql', '7.0.2'
36+
mod 'theforeman/puppet',
37+
:git => 'https://github.com/Puppet-Finland/puppet-puppet.git',
38+
:ref => 'puppet-7'
39+
mod 'puppetlabs-puppet_authorization',
40+
:git => 'https://github.com/Puppet-Finland/puppetlabs-puppet_authorization.git',
41+
:ref => 'puppet7'
3342
mod 'puppet-puppetboard',
3443
:git => 'https://github.com/Puppet-Finland/puppet-module-puppetboard.git',
35-
:ref => 'd716c55022e54046002666f7c63df39a14daffce'
44+
:ref => 'latest_python_module'
3645
mod 'puppetlabs/puppetdb', '7.7.1'
37-
mod 'puppetlabs-puppetserver_gem', '1.1.1'
46+
mod 'puppetlabs-puppetserver_gem',
47+
:git => 'https://github.com/Puppet-Finland/puppetlabs-puppetserver_gem.git',
48+
:ref => 'puppet7'
3849
mod 'puppet-python',
39-
:git => 'https://github.com/voxpupuli/puppet-python.git',
40-
:ref => 'd7be32bcd801feaae2e490972c4c1237119be90a'
41-
mod 'puppet-r10k', '8.0.0'
42-
mod 'puppetlabs-reboot', '2.4.0'
50+
:git => 'https://github.com/Puppet-Finland/puppet-python.git',
51+
:ref => 'puppet7'
52+
mod 'puppet-r10k',
53+
:git => 'https://github.com/voxpupuli/puppet-r10k.git',
54+
:ref => '451326074757cd7adbae82c0b262cfc4b5bc87b9'
55+
mod 'puppetlabs-reboot', '4.0.2'
4356
mod 'puppetlabs-ruby',
4457
:git => 'https://github.com/Puppet-Finland/puppetlabs-ruby.git',
45-
:ref => 'puppet6'
46-
mod 'puppet-selinux', '3.1.0'
47-
mod 'puppetlabs-selinux_core', '1.0.4'
48-
mod 'puppetlabs-stdlib', '6.2.0'
49-
mod 'puppetlabs-sshkeys_core', '1.0.3'
50-
mod 'camptocamp-systemd', '2.12.0'
51-
mod 'theforeman/tftp', '5.0.2'
52-
mod 'saz-timezone', '6.1.0'
53-
mod 'puppetlabs-vcsrepo', '3.1.0'
54-
mod 'puppetlabs-yumrepo_core', '1.0.7'
55-
mod 'puppet-redis', '5.0.0'
56-
mod 'puppet-extlib', '5.0.0'
58+
:ref => 'puppet7'
59+
mod 'puppet-selinux',
60+
:git => 'https://github.com/Puppet-Finland/puppet-selinux.git',
61+
:ref => 'puppet7'
62+
mod 'puppetlabs-selinux_core',
63+
:git => 'https://github.com/puppetlabs/puppetlabs-selinux_core.git',
64+
:ref => '47e11e255a2f7db3589d7bb5265edc92adafb684'
65+
mod 'puppetlabs-stdlib', '7.0.0'
66+
mod 'puppetlabs-sshkeys_core',
67+
:git => 'https://github.com/puppetlabs/puppetlabs-sshkeys_core.git',
68+
:ref => '45850cc69103259925d7f4f829b57b95dd173b89'
69+
mod 'camptocamp-systemd',
70+
:git => 'https://github.com/camptocamp/puppet-systemd.git',
71+
:ref => '319bb69f19b18c40bcc981a493a7b5807ce6ce37'
72+
mod 'saz-timezone',
73+
:git => 'https://github.com/Puppet-Finland/puppet-timezone.git',
74+
:ref => 'puppet7'
75+
mod 'puppetlabs-vcsrepo', '4.0.1'
76+
mod 'puppetlabs-yumrepo_core',
77+
:git => 'https://github.com/puppetlabs/puppetlabs-yumrepo_core.git',
78+
:ref => '53050ed824ac0a7e266bef78d6606a04dad3f070'
79+
mod 'puppet-extlib',
80+
:git => 'https://github.com/Puppet-Finland/puppet-extlib.git',
81+
:ref => 'puppet7'
5782
mod 'richardc-datacat', '0.6.2'
5883

5984

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"requirements": [
137137
{
138138
"name": "puppet",
139-
"version_requirement": ">= 5.0.0 < 7.0.0"
139+
"version_requirement": ">= 5.0.0 < 8.0.0"
140140
}
141141
],
142142
"pdk-version": "1.18.1",

vagrant/prepare.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ setup_puppet() {
7777
true
7878
else
7979
if [ $RHEL_VERSION ]; then
80-
RELEASE_URL="https://yum.puppet.com/puppet6-release-el-${RHEL_VERSION}.noarch.rpm"
80+
RELEASE_URL="https://yum.puppet.com/puppet7-release-el-${RHEL_VERSION}.noarch.rpm"
8181
rpm -hiv "${RELEASE_URL}" || (c=$?; echo "Failed to install ${RELEASE_URL}"; (exit $c))
8282
yum -y install puppet-agent || (c=$?; echo "Failed to install puppet agent"; (exit $c))
8383
if systemctl list-unit-files --type=service | grep firewalld; then
@@ -87,10 +87,10 @@ setup_puppet() {
8787
fi
8888
else
8989
if [ $UBUNTU_VERSION ]; then
90-
APT_URL="https://apt.puppet.com/puppet6-release-${UBUNTU_VERSION}.deb"
90+
APT_URL="https://apt.puppet.com/puppet7-release-${UBUNTU_VERSION}.deb"
9191
fi
9292
if [ $DEBIAN_VERSION ]; then
93-
APT_URL="https://apt.puppet.com/puppet6-release-${DEBIAN_VERSION}.deb"
93+
APT_URL="https://apt.puppet.com/puppet7-release-${DEBIAN_VERSION}.deb"
9494
fi
9595
# https://serverfault.com/questions/500764/dpkg-reconfigure-unable-to-re-open-stdin-no-file-or-directory
9696
export DEBIAN_FRONTEND=noninteractive

0 commit comments

Comments
 (0)