Age | Commit message (Collapse) | Author |
|
Conflicts:
manifests/satellite.pp
|
|
i got this error using postfix::satellite:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Cannot reassign variable valid_fqdn at
/etc/puppet/modules/postfix/manifests/satellite.pp:32 …
reassigning a variable within a given scope doesn't work in puppet
see https://docs.puppetlabs.com/puppet/latest/reference/lang_variables.html#no-reassignment
i still think overriding $::fqdn is not a good idea, but for now,
i just want to get this class working again.
|
|
Omitting the parameter "valid_fqdn" for postfix::satellite won't
work, even if the machine has a fqdn:
Cannot reassign variable valid_fqdn at
/srv/leap/puppet/modules/postfix/manifests/satellite.pp:32
this will fix it, it does:
* make the string in /etc/mailname configurable, defaults to $::fqdn
* postfix::satellite's parameter valid_fqdn is passed to class
postfix's parameter "myorigin" and "mailname"
see https://leap.se/code/issues/4125 for more information.
|
|
|
|
|
|
Facts should be addressed with $::fqdn and so on.
|
|
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
|