[Puppet Users] RPM is not getting installed for PE3.2

2014-04-29 Thread Deep


I want to install Puppet Enterprise 3.2 with automated answer file and by 
creating a rpm. When I am trying to install this rpm by using yum install 
rpm name= , it gets stuck because this yum command get lock of yum and 
when installer implicitly calls for yum to install another packages, it is 
not able to get hold of yum.

To resolve this, I tried to install this rpm with rpm -ivh rpm name= . 
It got installed successfully once but later on it is giving me following 
warning and gets stuck.

Warning: RPMDB altered outside of yum.

Any help is appreciated.
Thanks,

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/535f743b-b6d7-436d-be19-39cad446f9bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Puppet Users] Mcollective client installation

2014-02-18 Thread Deep
Hi Johan,

Thanks for the suggestion . it is working as peadmin user. But where I can 
get all these information regarding mcollective in one place. Because it 
took lot of time to resolve this issue. I didn't find anywhere that it 
should be running as a pe-admin user. 

Deep

On Tuesday, February 18, 2014 7:06:30 AM UTC, Johan De Wit wrote:

  With PE, mco commands needs to be run as peadmin user, so,  su - peadmin 
 should do the trick.



 On 02/18/2014 12:17 AM, Jeremy T. Bouse wrote:
  
 Last time I installed PE and looked at the Mcollective install it wasn't 
 using SSL but rather PSK only.

 On 02/17/2014 02:48 PM, José Luis Ledesma wrote:
  
 I don't know how puppet enterprise works with mco, but in the open source 
 version you have to create a certificate for the user you are going to call 
 mco and sign in with the middleware certificate.
 El 17/02/2014 18:50, Deep skitd...@gmail.com javascript: escribió:

 Hi Jose, 

  Thanks for your quick response and explaining me in details. I tried 
 mco ping command but getting below error.

  error 2014/02/17 16:23:00: activemq.rb:131:in `on_ssl_connectfail' SSL 
 session creation with stomp+ssl://mcollective@gsldev23:61613 failed: nested 
 asn1 error

  I am using below ssl configuration in client.cfg

  plugin.activemq.pool.1.ssl.ca = 
 /etc/puppetlabs/mcollective/ssl/mcollective-cacert.pem
 plugin.activemq.pool.1.ssl.cert = 
 /etc/puppetlabs/mcollective/ssl/mcollective-private.pem
 plugin.activemq.pool.1.ssl.key = 
 /etc/puppetlabs/mcollective/ssl/mcollective-cert.pem
  
  
  securityprovider = ssl

  # SSL plugin settings:
 plugin.ssl_server_public = 
 /etc/puppetlabs/mcollective/ssl/mcollective-public.pem
 plugin.ssl_client_private = 
 /etc/puppetlabs/mcollective/ssl/mcollective-private.pem
 plugin.ssl_client_public = 
 /etc/puppetlabs/mcollective/ssl/mcollective-public.pem
  
  Can you tell me if this is wrong? 


 On Monday, February 17, 2014 5:30:52 PM UTC, Jose Luis Ledesma wrote: 

 Hi,

 Mcollective has 3 roles:
 - the server installed in every puppet client
 - the middleware installed in puppet master
 - the client installed anywhere, puppet master is a good place

 The client is just the utilities to call commands, it attacks the 
 middleware, authenticate with certificates, and it is the middle ware who 
 spread the command to every mcollective server. It doesnt have an agent 
 running.

 Just try 'mco ping' from the server/user that is the mco client to check 
 if it works.

 Regards,
 El 17/02/2014 18:14 

 Ik heb RFC-140183 aangemaakt in OT, en zal donderdag in ext
 , Deep skitd...@gmail.com escribió:

 Hi All, 

  I have installed puppet enterprise which comes with Mcollective. I 
 have installed Puppet Master on node 1 and puppet agent on node 2 and node 
 3. while installing , it asked me if I want to install Mcollective. I 
 wanted to have Mcollective client on my Puppet Master. and Mcollective 
 servers on node 2 and node 3.

  But when I checked, there was no client.cfg file created at 
 /etc/puppetlabs/mcollective/. And Mcollective was started using server.cfg

  How can I use Mcollective client on puppet Master?

  I have created client.cfg but still Mcollective needs server.cfg to 
 start. Can anybody suggest me on this please? I am new to Mcollective and 
 trying to learn it and implement it.

  Regards,
 Deep
  
 
 -- 
 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 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/53029870.9030503%40UnderGrid.net
 .
 For more options, visit https://groups.google.com/groups/opt_out.



 -- 
 Johan De Wit

 Open Source Consultant

 Red Hat Certified Engineer (805008667232363)
 Puppet Certified Professional 2013 (PCP006)
 _
  
 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 Training | 
 http://www.open-future.be/zabbix-certified-training-10-till-12th-march

 Zabbix for Large Environments Training | 
 http://www.open-future.be/zabbix-large-environments-training-13-till-14th-march

 Puppet Introduction Course | 
 http://www.open-future.be/puppet-introduction-course-14th-april

 Puppet Advanced Training | 
 http://www.open-future.be/puppet-advanced-training-15-till-17th-april

 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 puppet-users

[Puppet Users] Mcollective client installation

2014-02-17 Thread Deep
Hi All,

I have installed puppet enterprise which comes with Mcollective. I have 
installed Puppet Master on node 1 and puppet agent on node 2 and node 3. 
while installing , it asked me if I want to install Mcollective. I wanted 
to have Mcollective client on my Puppet Master. and Mcollective servers on 
node 2 and node 3.

But when I checked, there was no client.cfg file created at 
/etc/puppetlabs/mcollective/. And Mcollective was started using server.cfg

How can I use Mcollective client on puppet Master?

I have created client.cfg but still Mcollective needs server.cfg to start. 
Can anybody suggest me on this please? I am new to Mcollective and trying 
to learn it and implement it.

Regards,
Deep

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/eb01e6ad-ecb1-4dc9-acb5-ca6768af6173%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Re: Using external facts in puppet manifests

2014-02-17 Thread Deep
Hi John,

thanks a lot for your response. I am able to see the external fact value 
now. 

On Monday, February 17, 2014 2:33:40 PM UTC, jcbollinger wrote:



 On Friday, February 14, 2014 10:42:30 AM UTC-6, Deep wrote:

 Hi,

 I have created few external facts by putting an yaml file in 
 /etc/puppetlabs/facter/facts.d folder on agent and they are available in 
 puppetdb and in my erb templates.

 But I am not able to use them in puppet manifests.I am getting undef 
 value.

 Is there anyway to use them?



 If the facts are being interpolated into your templates then they are also 
 available in your manifests.  If you present an example manifest wherein 
 the fact value does not seem to be read correctly, then we may be able to 
 help.  At a first guess, though, I'd rate the chances near unity that 
 either the manifest is reading the fact value correctly, or that its name 
 is misspelled.


 John



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/b10f0b44-5101-4cc6-bb49-571809433840%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Puppet Users] Mcollective client installation

2014-02-17 Thread Deep
Hi Jose,

Thanks for your quick response and explaining me in details. I tried mco 
ping command but getting below error.

error 2014/02/17 16:23:00: activemq.rb:131:in `on_ssl_connectfail' SSL 
session creation with stomp+ssl://mcollective@gsldev23:61613 failed: nested 
asn1 error

I am using below ssl configuration in client.cfg

plugin.activemq.pool.1.ssl.ca = 
/etc/puppetlabs/mcollective/ssl/mcollective-cacert.pem
plugin.activemq.pool.1.ssl.cert = 
/etc/puppetlabs/mcollective/ssl/mcollective-private.pem
plugin.activemq.pool.1.ssl.key = 
/etc/puppetlabs/mcollective/ssl/mcollective-cert.pem


securityprovider = ssl

# SSL plugin settings:
plugin.ssl_server_public = 
/etc/puppetlabs/mcollective/ssl/mcollective-public.pem
plugin.ssl_client_private = 
/etc/puppetlabs/mcollective/ssl/mcollective-private.pem
plugin.ssl_client_public = 
/etc/puppetlabs/mcollective/ssl/mcollective-public.pem

Can you tell me if this is wrong? 


On Monday, February 17, 2014 5:30:52 PM UTC, Jose Luis Ledesma wrote:

 Hi,

 Mcollective has 3 roles:
 - the server installed in every puppet client
 - the middleware installed in puppet master
 - the client installed anywhere, puppet master is a good place

 The client is just the utilities to call commands, it attacks the 
 middleware, authenticate with certificates, and it is the middle ware who 
 spread the command to every mcollective server. It doesnt have an agent 
 running.

 Just try 'mco ping' from the server/user that is the mco client to check 
 if it works.

 Regards,
 El 17/02/2014 18:14, Deep skitd...@gmail.com javascript: escribió:

 Hi All,

 I have installed puppet enterprise which comes with Mcollective. I have 
 installed Puppet Master on node 1 and puppet agent on node 2 and node 3. 
 while installing , it asked me if I want to install Mcollective. I wanted 
 to have Mcollective client on my Puppet Master. and Mcollective servers on 
 node 2 and node 3.

 But when I checked, there was no client.cfg file created at 
 /etc/puppetlabs/mcollective/. And Mcollective was started using server.cfg

 How can I use Mcollective client on puppet Master?

 I have created client.cfg but still Mcollective needs server.cfg to 
 start. Can anybody suggest me on this please? I am new to Mcollective and 
 trying to learn it and implement it.

 Regards,
 Deep

 -- 
 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 javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/puppet-users/eb01e6ad-ecb1-4dc9-acb5-ca6768af6173%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d02964e3-b236-489c-9710-f406fea7a114%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Using external facts in puppet manifests

2014-02-14 Thread Deep
Hi,

I have created few external facts by putting an yaml file in 
/etc/puppetlabs/facter/facts.d folder on agent and they are available in 
puppetdb and in my erb templates.

But I am not able to use them in puppet manifests.I am getting undef value.

Is there anyway to use them?

Deep

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/1655571e-9eec-4f8b-9bb6-ed0bfff70588%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Automatic Agent installation from dashboard?

2013-12-06 Thread Deep
Hi,

Is there an option in puppet to automatically install agent in an unmanaged 
node in the network from the dashboard?

eg: I have a network of windows and linux servers which doesn't have the 
puppet agent installed. Is it possible to push the agent from puppet server 
to these unmanaged nodes by specifying hostname/IP address or some other 
parameters?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/68e31847-0cd2-4870-a1f0-53fe9f0d3aee%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[Puppet Users] Automatic installation of puppet agent from puppet master

2013-12-06 Thread Deep
HI,

Is there a way in puppet to automatically install agents in unmanaged node 
from the puppet dashboard or backend?

eg: I have a network with a mixture of linux and windows servers.I can 
include the puppet agent in the OS installation phase or do it manually in 
servers. 
But, is there an option in the puppet to install agents on these nodes by 
mentioning Hostname/IP address or other related parameters?

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/138c974a-eedb-4fbb-a032-1f6141630a66%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.