Skip to content

Unknown resource type: 'ini_setting' #347

@jerome2710

Description

@jerome2710

As a Puppet-beginner I am trying to setup a simple code for managing nginx locations with SSL-certificates on a server. My setup consists of a Puppet server, with a remote repository pushing changes with r10k and for now 1 client fetching its configuration.

After adding mod 'puppet-letsencrypt', '11.0.0' to my Puppetfile, setting up letsencrypt::email and one certificate, puppet agent -t --noop fails with the following message:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'ini_setting' (file: /etc/puppetlabs/code/environments/production/modules/letsencrypt/manifests/config.pp, line: 32, column: 3) on node X

I forgot to check the dependencies from the metadata.json and now added mod 'puppetlabs-inifile', '6.1.1' to my Puppetfile as well. However, after pushing and re-running puppet agent -t --noop, I still get the same result.

In the stated directory of die Puppet server, I can actually see both the letsencrypt and inifile modules;

Scherm­afbeelding 2024-05-13 om 15 43 25

I am probably making a rookie mistake, could someone point me in the right direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions