Usage of mcollective::user class in custom class

14 views
Skip to first unread message

Ajay Kumar

unread,
Dec 10, 2014, 4:40:11 PM12/10/14
to puppet...@googlegroups.com
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

Johan De Wit

unread,
Dec 11, 2014, 2:28:51 AM12/11/14
to puppet...@googlegroups.com
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e5899136-6118-4e1c-bf5c-ce08a1d4cb54%40googlegroups.com.
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
_________________________________________________________
 

Upcoming Events:

Zabbix Certified Specialist | http://www.open-future.be/zabbix-certified-professional-training-8th-till-9th-janaury

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


Reply all
Reply to author
Forward
0 new messages