Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Failure while initializing puppetserver #64

Description

@vertrost

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

Any additional information you'd like to impart

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions