Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

mcollective::actionpolicy issue (default field) #116

Open
cova-fe opened this issue Jan 21, 2014 · 3 comments
Open

mcollective::actionpolicy issue (default field) #116

cova-fe opened this issue Jan 21, 2014 · 3 comments

Comments

@cova-fe
Copy link

cova-fe commented Jan 21, 2014

Hi all,
just started to use this module so I don't know if this is my issue or what, but I'm trying to use this declaration in a node manifest, after mcollective:

  mcollective::actionpolicy { 'nrpe':
    default => 'deny',
  }

but no matter what I try, I always get this error:
Err: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'default'; expected '}'

I tried to follow exactly the docs, without success, so I'm wondering if this is an issue or not.
puppetversion => 2.7.23

@hunner
Copy link
Member

hunner commented Sep 30, 2015

It appears that default is a reserved word according to https://docs.puppetlabs.com/puppet/latest/reference/lang_reserved.html and thus the mcollective::actionpolicy attribute should be renamed before this will work. My guess is that no one has tried it since default became reserved...

@igalic
Copy link
Contributor

igalic commented Sep 30, 2015

_

so, rename, major bump, ADD TESTS.

any volunteers?

@jyaworski
Copy link
Member

Hello:

Is this still an issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants