puppet-puppetserver
puppet-puppetserver copied to clipboard
Failure while initializing puppetserver
Affected Puppet, Ruby, OS and module versions/distributions
- Puppet: 5.5.2
- Ruby:
- Distribution: CentOS Linux release 7.5.1804 (Core)
- Module version: v0.4.0
How to reproduce (e.g Puppet code you use)
pwd
/etc/puppetlabs/code/environments/temp
cat manifests/site.pp
node 'localhost.localdomain' { # include some classes notify { "This is from the temp environment" : } class { 'puppetserver::repository': } -> class { 'puppetserver': } }
puppet module install camptocamp-puppetserver --modulepath=$(pwd)/modules puppet module install puppetlabs-puppetdb --modulepath=$(pwd)/modules puppet agent -t --environment=temp`
What are you seeing
Info: Using configured environment 'temp' 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: Resource type not found: Debian (file: /etc/puppetlabs/code/environments/temp/modules/puppetserver/manifests/repository.pp, line: 3, column: 5) on node localhost.localdomain Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run
What behaviour did you expect instead
Without errors.
Output log
Info: Using configured environment 'temp' 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: Resource type not found: Debian (file: /etc/puppetlabs/code/environments/temp/modules/puppetserver/manifests/repository.pp, line: 3, column: 5) on node localhost.localdomain Warning: Not using cache on failed catalog Error: Could not retrieve catalog; skipping run