On 10/12/14 22:40, Ajay Kumar wrote:
Hi Team,

I am new to puppet and I am upgrading to recent release ver 2.0.0 puppet mcollective module from 1.2 ver mcollective module In one of my puppet class using mcollective::user class please find the following code snippet.


mcollective::user { "${mcollective::client_user};":

        certificate => "${mcollective::ssl_server_public}",

        private_key => "${mcollective::ssl_server_private}",

    };

while running puppet agent I am getting the following error like to mcollective::user[] is not found. Later I have changed the mcollective::user to mcollective::user[].

This time I am getting  Syntax error  '{'; expected '}'

Please help me out of this problem

--
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 [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e5899136-6118-4e1c-bf5c-ce08a1d4cb54%40googlegroups.com <https://groups.google.com/d/msgid/puppet-users/e5899136-6118-4e1c-bf5c-ce08a1d4cb54%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
remove the demi-colons (;) at the end of the first and last line

Hth

--
Johan De Wit

Open Source Consultant

Red Hat Certified Engineer              (805008667232363)
Puppet Certified Professional 2013/2014 (PCP0000006)
_________________________________________________________
Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72              Fax       +32 (0)2/255 70 71
3071 KORTENBERG             Mobile    +32 (0)474/42 40 73
BELGIUM                     http://www.open-future.be
_________________________________________________________

Next Events:
Zabbix Certified Training | 
http://www.open-future.be/zabbix-certified-specialist-training-5th-till-7th-january
Zabbix Certified Professional | 
http://www.open-future.be/zabbix-certified-professional-training-8th-till-9th-janaury
Bacula Administrator 1 | 
http://www.open-future.be/bacula-administrator-i-training-13th-till-15th-january
Puppet Fundamentals | 
http://www.open-future.be/puppet-fundamentals-training-26th-till-28th-january
Puppet Architect | 
http://www.open-future.be/puppet-architect-training-29th-till-30th-january
Subscribe to our newsletter | http://eepurl.com/BUG8H

--
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/54894796.4080503%40open-future.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to