Jason Antman
2013-Oct-21 15:08 UTC
[Puppet Users] puppetlabs-mcollective, ENC YAML, "Invalid tag"
I''m trying to use the puppetlabs-mcollective module as described in the
documentation. I use a homegrown ENC, and am having some issues with the
YAML. This is with Puppet 3.3.0 open source master and agent.
1)
ENC YAML includes:
classes:
::mcollective:
client: true
middleware: true
middleware_hosts:
- pupmasdev1
Puppet output:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid tag ":mcollective" on node pupmasdev1
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
2)
YAML:
classes:
mcollective:
client: true
middleware: true
middleware_hosts:
- pupmasdev1
Puppet Output:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find class mcollective for pupmasdev1 on node pupmasdev1
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
3)
YAML:
classes:
''::mcollective'':
client: true
middleware: true
middleware_hosts:
- pupmasdev1
Puppet Output:
Error: Could not retrieve catalog from remote server: Error 400 on
SERVER: Invalid tag "::mcollective" on node pupmasdev1
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
I''m banging my head against the wall with this... and I can''t
seem to
find a syntax for the YAML (certainly nothing that our ENC, using
PyYAML) that puppet will accept. Any ideas? Or do I just need to resort
to a wrapper class?
Thanks,
Jason Antman
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.