Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e5c674325 |
@@ -2,8 +2,6 @@
|
|||||||
hiera_include:
|
hiera_include:
|
||||||
- glauth
|
- glauth
|
||||||
|
|
||||||
profiles::puppet::migrate::enabled: true
|
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- ldap.main.unkin.net
|
- ldap.main.unkin.net
|
||||||
|
|||||||
@@ -3,8 +3,6 @@ hiera_include:
|
|||||||
- profiles::ceph::rgw
|
- profiles::ceph::rgw
|
||||||
- profiles::nginx::simpleproxy
|
- profiles::nginx::simpleproxy
|
||||||
|
|
||||||
profiles::puppet::migrate::enabled: true
|
|
||||||
|
|
||||||
profiles::ceph::rgw::enable: true
|
profiles::ceph::rgw::enable: true
|
||||||
|
|
||||||
# FIXME: puppet-python wants to try manage python-dev, which is required by the ceph package
|
# FIXME: puppet-python wants to try manage python-dev, which is required by the ceph package
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ hiera_include:
|
|||||||
- frrouting
|
- frrouting
|
||||||
- exporters::frr_exporter
|
- exporters::frr_exporter
|
||||||
|
|
||||||
profiles::puppet::migrate::enabled: true
|
|
||||||
|
|
||||||
profiles::packages::include:
|
profiles::packages::include:
|
||||||
cobbler: {}
|
cobbler: {}
|
||||||
cobbler3.2-web: {}
|
cobbler3.2-web: {}
|
||||||
|
|||||||
@@ -4,8 +4,6 @@ hiera_include:
|
|||||||
- profiles::dhcp::server
|
- profiles::dhcp::server
|
||||||
- exporters::frr_exporter
|
- exporters::frr_exporter
|
||||||
|
|
||||||
profiles::puppet::migrate::enabled: true
|
|
||||||
|
|
||||||
# networking
|
# networking
|
||||||
anycast_ip: 198.18.19.18
|
anycast_ip: 198.18.19.18
|
||||||
systemd::manage_networkd: true
|
systemd::manage_networkd: true
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ hiera_include:
|
|||||||
- profiles::gitea::haproxy
|
- profiles::gitea::haproxy
|
||||||
- gitea
|
- gitea
|
||||||
|
|
||||||
|
profiles::puppet::migrate::enabled: true
|
||||||
|
|
||||||
# additional altnames
|
# additional altnames
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- git.unkin.net
|
- git.unkin.net
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
profiles::puppet::migrate::enabled: true
|
|
||||||
|
|
||||||
profiles::pki::vault::alt_names:
|
profiles::pki::vault::alt_names:
|
||||||
- jumphost.service.consul
|
- jumphost.service.consul
|
||||||
- jumphost.query.consul
|
- jumphost.query.consul
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ profiles::puppet::enc::repo: https://git.service.au-syd1.consul/unkinben/puppet-
|
|||||||
# Deep-merged with the entries in roles/infra/puppet.yaml.
|
# Deep-merged with the entries in roles/infra/puppet.yaml.
|
||||||
profiles::packages::include:
|
profiles::packages::include:
|
||||||
encapic:
|
encapic:
|
||||||
ensure: '0.5.0'
|
ensure: '0.2.0'
|
||||||
certmanager:
|
certmanager:
|
||||||
ensure: '0.2.0'
|
ensure: '0.2.0'
|
||||||
sshsignhost:
|
sshsignhost:
|
||||||
|
|||||||
@@ -5,13 +5,14 @@
|
|||||||
# config so the encapi endpoint can change without repackaging.
|
# config so the encapi endpoint can change without repackaging.
|
||||||
class profiles::puppet::encapic (
|
class profiles::puppet::encapic (
|
||||||
Stdlib::HTTPUrl $encapi_url,
|
Stdlib::HTTPUrl $encapi_url,
|
||||||
Stdlib::AbsolutePath $config_dir = '/etc/encapi',
|
Stdlib::AbsolutePath $config_dir = '/etc/encapic',
|
||||||
String $config_name = 'encapic.conf',
|
String $config_name = 'encapic.conf',
|
||||||
String $owner = 'root',
|
String $owner = 'root',
|
||||||
String $group = 'root',
|
String $group = 'root',
|
||||||
) {
|
) {
|
||||||
|
|
||||||
# order after the package so the shim exists before the config does.
|
# The RPM ships this file as %config(noreplace), so puppet must write it only
|
||||||
|
# once the package is present or the install overwrites it.
|
||||||
file { $config_dir:
|
file { $config_dir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
@@ -28,11 +29,4 @@ class profiles::puppet::encapic (
|
|||||||
content => "ENCAPI_URL=${encapi_url}\n",
|
content => "ENCAPI_URL=${encapi_url}\n",
|
||||||
require => File[$config_dir],
|
require => File[$config_dir],
|
||||||
}
|
}
|
||||||
|
|
||||||
# legacy pre-0.5.0 config dir; also clears any rpm .rpmsave left behind
|
|
||||||
file { '/etc/encapic':
|
|
||||||
ensure => absent,
|
|
||||||
force => true,
|
|
||||||
require => Package['encapic'],
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user