feat: disable cobbler cache
- this is required to resolve issues with terraform deploying cobbler settings
This commit is contained in:
parent
2321186ad5
commit
5b98049e5d
@ -11,6 +11,7 @@ class profiles::cobbler::config {
|
|||||||
$service_cname = $profiles::cobbler::params::service_cname
|
$service_cname = $profiles::cobbler::params::service_cname
|
||||||
$next_server = $profiles::cobbler::params::next_server
|
$next_server = $profiles::cobbler::params::next_server
|
||||||
$server = $profiles::cobbler::params::server
|
$server = $profiles::cobbler::params::server
|
||||||
|
$cache_enabled = $profiles::cobbler::params::cache_enabled
|
||||||
|
|
||||||
# manage the cobbler settings file
|
# manage the cobbler settings file
|
||||||
file { '/etc/cobbler/settings.yaml':
|
file { '/etc/cobbler/settings.yaml':
|
||||||
|
|||||||
@ -9,6 +9,7 @@ class profiles::cobbler::params (
|
|||||||
String $next_server = $::facts['networking']['ip'],
|
String $next_server = $::facts['networking']['ip'],
|
||||||
Boolean $pxe_just_once = true,
|
Boolean $pxe_just_once = true,
|
||||||
Boolean $is_cobbler_master = false,
|
Boolean $is_cobbler_master = false,
|
||||||
|
Boolean $cache_enabled = false,
|
||||||
Array $packages = [
|
Array $packages = [
|
||||||
'cobbler',
|
'cobbler',
|
||||||
'cobbler3.2-web',
|
'cobbler3.2-web',
|
||||||
|
|||||||
@ -59,7 +59,7 @@ build_reporting_ignorelist: []
|
|||||||
# use cases like writing out large numbers of records. There is a known issue with cache and remote XMLRPC API calls.
|
# use cases like writing out large numbers of records. There is a known issue with cache and remote XMLRPC API calls.
|
||||||
# If you will use Cobbler with config management or infrastructure-as-code tools such as Terraform, it is recommended
|
# If you will use Cobbler with config management or infrastructure-as-code tools such as Terraform, it is recommended
|
||||||
# to disable by setting to false.
|
# to disable by setting to false.
|
||||||
cache_enabled: true
|
cache_enabled: <%= @cache_enabled %>
|
||||||
|
|
||||||
# Cheetah-language autoinstall templates can import Python modules. While this is a useful feature, it is not safe to
|
# Cheetah-language autoinstall templates can import Python modules. While this is a useful feature, it is not safe to
|
||||||
# allow them to import anything they want. This whitelists which modules can be imported through Cheetah. Users can
|
# allow them to import anything they want. This whitelists which modules can be imported through Cheetah. Users can
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user