voxpupuli / puppet-postfix

Puppet postfix module
Apache License 2.0
70 stars 174 forks source link

Unknown resource type: 'mailalias' #258

Closed hoene closed 3 years ago

hoene commented 5 years ago

Using the latest foreman and puppet, I get the error

Info: Retrieving pluginfacts Info: Retrieving plugin Info: Retrieving locales Info: Loading facts Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'mailalias' (file: .../modules/postfix/manifests/mailalias.pp, line: 31, column: 3) (file: ../modules/postfix/manifests/files.pp, line: 106) on node tue Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run

hoene commented 5 years ago

puppet --version 6.7.2

raphink commented 5 years ago

If you're not using the Puppet AIO installer, you need to install the puppetlabs/mailalias_core module when using Puppet 6+.

tuxmea commented 4 years ago

@hoene with Puppet 6 many types/providers have been removed from puppet core and placed into modules. See our Puppefile (https://github.com/example42/psick/blob/updates/Puppetfile#L12)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.