GithubHelp home page GithubHelp logo

Syntax Error about puppet-opendkim HOT 7 CLOSED

bi4o4ek avatar bi4o4ek commented on September 4, 2024
Syntax Error

from puppet-opendkim.

Comments (7)

bi4o4ek avatar bi4o4ek commented on September 4, 2024

Read init.pp please and try to use something like this
{ class 'opendkim':
mode => 's',
}

from puppet-opendkim.

caiohasouza avatar caiohasouza commented on September 4, 2024

Hello,

Right, You did as you passed and follows the error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '{'; expected '}' at /etc/puppet/nodes/server.pp:217 on node server.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Att;

from puppet-opendkim.

bi4o4ek avatar bi4o4ek commented on September 4, 2024

Sorry. Improperly located brace.
Try this
class { 'opendkim':
mode => 's',
}

from puppet-opendkim.

caiohasouza avatar caiohasouza commented on September 4, 2024

Ok,

Let's go:

Case 1:
class { 'opendkim':
mode => 's',
}
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter mode on Class[Opendkim] at /etc/puppet/nodes/server.pp:216 on node server.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

###################################################################

Case 2:
class { 'opendkim':
Mode => 's',
}
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at 'Mode'; expected '}' at /etc/puppet/nodes/server.pp:215 on node server.local
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Att;

from puppet-opendkim.

bi4o4ek avatar bi4o4ek commented on September 4, 2024

Execute 'git pull' at the repo with this module.
What is your puppet version?

from puppet-opendkim.

caiohasouza avatar caiohasouza commented on September 4, 2024

I have instaled from puppet forge (bi4o4ek-opendkim (v0.0.5))

Puppet 3.8.2.

Att;

from puppet-opendkim.

bi4o4ek avatar bi4o4ek commented on September 4, 2024

Try to use latest version from github

from puppet-opendkim.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.