Commit graph

5 commits

Author SHA1 Message Date
varac
5d25ec9d1e fix postfix::satellite class
i got this error using postfix:📡

  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.
2015-03-05 09:23:57 +01:00
Silvio Rhatto
5f55183299 Syntax fix 2013-04-13 13:11:50 -03:00
Silvio Rhatto
8b78b15e57 Switching to parametrized classes 2013-01-25 14:03:24 -02:00
mh
2c86670a92 Use proper variable scope
Facts should be addressed with $::fqdn and so on.
2012-02-16 16:58:09 +01:00
mh
77578b93bd put classes and defines in the proper place
To take advantage of puppet's autoloading feature, which will be
mandatory sooner or later. We move all the files in their appropriate
place.
2012-02-16 16:51:56 +01:00
Renamed from manifests/classes/postfix-satellite.pp (Browse further)