[Puppet Users] Can puppet master and agent communicate with certificates

2017-12-15 Thread Harish Kothuri
Hi, Is there a way, we can disable puppet CA completely and have PM and PA communicates seamlessly? 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 pup

[Puppet Users] Re: Controlling Puppet class execution order with parameters.

2017-05-25 Thread Harish Kothuri
ore => [Class["Class3"]] } and class3() { exec{ 'something': cmd => 'some command here', } } On Wednesday, May 24, 2017 at 9:27:40 PM UTC+5:30, Harish Kothuri wrote: > > Hi, > > I have 3 classes and i need to execute class 3 only when c

[Puppet Users] Controlling Puppet class execution order with parameters.

2017-05-24 Thread Harish Kothuri
Hi, I have 3 classes and i need to execute class 3 only when class 1 and class 2 completes. All of these classes must be attached to a host. class1($version='1.1.1'){ . . . } class2($version='2.2.2'){ . . . } and class3(){ import class1 import class2 exec{ 's

Re: [Puppet Users] Puppet server is slow and needs tuning

2017-02-20 Thread Harish Kothuri
Thanks for your reply. I understand that i need to upgrade to puppet 4. I'm just looking for similar options to optimize in 3 open source since i have these in production and not easy to upgrade Thanks & Regards, Harish Kothuri On Monday, February 20, 2017 at 10:51:27 PM UTC+5:30, R

[Puppet Users] Puppet server is slow and needs tuning

2017-02-20 Thread Harish Kothuri
**Not sure where and how to change this.* *5. Orchestration services - **Not sure where and how to change this.* *6. PostgreSQL - **Not sure where and how to change this.* Thanks & Regards, Harish Kothuri -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-13 Thread Harish Kothuri
Thank you all. Will take a look at all the errors and update. On Tuesday, December 13, 2016 at 6:11:41 AM UTC+5:30, Wyatt Alt wrote: > > > > On 12/12/2016 10:09 AM, Harish Kothuri wrote: > > I see that following errors are popping up from puppetdb. There are quite > a few of

Re: [Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-12 Thread Harish Kothuri
n wrote: > > > > On Mon, Dec 12, 2016 at 8:34 AM, Harish Kothuri > wrote: > >> Hi, >> >> I have a puppet master v3.8.7 and having 300+ nodes running fine till >> last week. >> >> All the agents are running very slow since last week and someti

Re: [Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-12 Thread Harish Kothuri
Thanks Kevin, I don't see that even 2 cores are utilized 100%. Not sure increasing CPU will help. (Attached the CPUUsage of the server) On Monday, December 12, 2016 at 11:04:42 PM UTC+5:30, Kevin Corcoran wrote: > > On Mon, Dec 12, 2016 at 9:16 AM, Harish Kothuri > wrote: >

Re: [Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-12 Thread Harish Kothuri
any other pointers. -Harish On Monday, December 12, 2016 at 10:14:10 PM UTC+5:30, Dirk Heinrichs wrote: > > Am 12.12.2016 um 17:34 schrieb Harish Kothuri: > > I have a puppet master v3.8.7 and having 300+ nodes running fine till last > week. > > All the agents are runnin

[Puppet Users] Urgent Help Required | Puppet run is dead slow

2016-12-12 Thread Harish Kothuri
Hi, I have a puppet master v3.8.7 and having 300+ nodes running fine till last week. All the agents are running very slow since last week and sometimes it started complaining that puppet master is running on heavy load. Following is my master configuration details: Puppet : 3.8.7 CentOS: 6.

[Puppet Users] Identifying BSOD (Blue Screen of Death) from Puppet

2016-12-01 Thread Harish Kothuri
Hi, I'm just wondering is there a way to identify BSOD from Puppet. Any ideas here? Thanks, Harish -- 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-use

[Puppet Users] Custom facts with exclusions

2016-06-25 Thread Harish Kothuri
Hi All, I'm generating custom facts and want to exclude few software's in black list. Ex: 7-Zip is a software causing a problem as its name starts with digit and not a letter. The name also has some spaces, hiphens. file { "c:/marionette-collective/etc/facts.yaml": loglevel => debug,

Re: [Puppet Users] Conrol class order of execution

2016-06-10 Thread Harish Kothuri
On Friday, June 10, 2016 at 6:29:27 PM UTC+5:30, Harish Kothuri wrote: > > Hi, > > Thanks for your reply. > > I'm looking how to control the execution classes with different manifest > files. I'm aware and already controlling the order within the manifests. &g

Re: [Puppet Users] Conrol class order of execution

2016-06-10 Thread Harish Kothuri
nships operators described here here > https://docs.puppet.com/puppet/latest/reference/lang_relationships.html > > > -- > Lowe Schmidt | +46 723 867 157 > > On 10 June 2016 at 14:05, Harish Kothuri > wrote: > >> Hi, >> >> I have several classes attache

[Puppet Users] Conrol class order of execution

2016-06-10 Thread Harish Kothuri
Hi, I have several classes attached to a host and i want to control the execution order the classes. Ex: i have a class which collect some custom facts and i want to execute this class after completion of all the other classes. Thanks -- You received this message because you are subscribed

[Puppet Users] Re: Include class with parameters

2016-06-09 Thread Harish Kothuri
Thank you. Will take a look at "Automated data binding". On Thursday, June 9, 2016 at 6:44:56 PM UTC+5:30, jcbollinger wrote: > > > > On Wednesday, June 8, 2016 at 11:49:58 PM UTC-5, Harish Kothuri wrote: >> >> Hi, >> >> I have classA with paramete

[Puppet Users] Include class with parameters

2016-06-08 Thread Harish Kothuri
Hi, I have classA with parameter and i want to include this in another classB . I expected to consider the default value defined in foreman for classA but it's not happening. class classA ($version) { Package { 'Package A' ensure => 'installed', source =

[Puppet Users] Re: Puppet parameterized class not skipping the same version of software

2016-06-01 Thread Harish Kothuri
alled', source => $ctfdest, install_options => [ '/S' ], }}* On Tuesday, May 31, 2016 at 7:31:08 PM UTC+5:30, Harish Kothuri wrote: > > Hi All, > > I have a puppet class which accepts parameter "$version" for a software > package. > > T

Re: [Puppet Users] PuppetDB resources are not available

2016-05-31 Thread Harish Kothuri
Hi Wyatt, I now have a custom fact using powershell commands to get the installed software's for windows machines. *PS Command:-* Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | where{$_.DisplayName -and $_.displayname -notmatch 'Update'} | Select-Object Displa

[Puppet Users] Re: Custom Facts for windows with powershell

2016-05-31 Thread Harish Kothuri
I am new to powershell and would like t help you although I am new to > puppet itself. > > In your powershell command why are you looking for registry key > 'Uninstall' should it be Installed? > > Please advise. > > Thanks > Jim > > > On Tuesday, 24

[Puppet Users] Re: Custom Facts for windows with powershell

2016-05-31 Thread Harish Kothuri
interesting. I'm interested in doing the same thing > in my environment. Did you solve the problem? And if so, do you care to > share your solution? > > Regards, > John > > On Monday, May 23, 2016 at 8:08:29 PM UTC+2, Harish Kothuri wrote: >> >> Hi, >> &g

[Puppet Users] Puppet parameterized class not skipping the same version of software

2016-05-31 Thread Harish Kothuri
Hi All, I have a puppet class which accepts parameter "$version" for a software package. The problem is when i do puppet agent -t , it is installing the software package though the same version is present already. All works fine if i remove the parameter to a class and hard code the version.

[Puppet Users] Custom Facts for windows with powershell

2016-05-23 Thread Harish Kothuri
e: `@7_zip_15_14 . Can someone help me to get this going? Thanks & Regards, Harish Kothuri -- 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

Re: [Puppet Users] PuppetDB resources are not available

2016-05-18 Thread Harish Kothuri
age resources with > /v3/resources/Package, and you can restrict that to a given node with > > curl -X GET http://:8080/v3/resources/Package -d > 'query=["=","certname","example.com"]' > > Wyatt > > > > On 05/18/2016 11:08 AM, Ha

Re: [Puppet Users] PuppetDB resources are not available

2016-05-18 Thread Harish Kothuri
like its a 2.x to me) > > You should also check your puppet master logs to see if there are any > errors while submitting the catalog. > > ken. > > On Wed, May 18, 2016 at 7:21 AM, Harish Kothuri > wrote: > > Hi, > > > > I am trying to access re

[Puppet Users] PuppetDB resources are not available

2016-05-17 Thread Harish Kothuri
Hi, I am trying to access resources from PuppetDB API as follows, API makes a successful call but empty response. *API call:* curl -X GET 'http://sdin-swt-ctf-01:8080/v3/resources/' *Ouput:* [ ] Is there anything that i need to enable to populate the same? Thanks -- You received this messa

[Puppet Users] Re: Puppet Module directory structure

2016-05-16 Thread Harish Kothuri
Thanks for your reply. Will give that a try. On Monday, May 16, 2016 at 7:01:42 PM UTC+5:30, Harish Kothuri wrote: > > Hi, > > Can we customize the puppet module directory structure as i would like to > separate the puppet modules and in-house written modules. > > > *Curr

[Puppet Users] Puppet Module directory structure

2016-05-16 Thread Harish Kothuri
Hi, Can we customize the puppet module directory structure as i would like to separate the puppet modules and in-house written modules. *Current Structure:* /etc/puppet/environment/production/modules/ contains all modules includes puppet forge Ex: ntp , stdlib, chocolatey and mypackg *Exp

Re: [Puppet Users] using variables in puppet exec

2016-05-16 Thread Harish Kothuri
Thanks Craig, It works fine now. The reason am not using "file" is , it is taking more time to copy file from share than executing the simple command. Thanks, Harish On Monday, May 16, 2016 at 4:59:59 PM UTC+5:30, Craig Dunn wrote: > > > > On Mon, May 16, 2016 at 1

[Puppet Users] using variables in puppet exec

2016-05-16 Thread Harish Kothuri
Hi, I'm trying to use puppet variables in exec command as follows $pypredest = 'C:\PuppetSWT\Mysoftware.msi' exec{ 'cmd /c copy /Y "\\shareloc\folder1\folder2\Mysoftware.msi" "${pypredest}"': path => $::path, creates => $pypredest, logoutput => true, } Output from agent: It

[Puppet Users] Puppet | Install windows package with a speific sessionID

2016-05-12 Thread Harish Kothuri
Hi, I have a requirement to install a windows package in session *other than* 0. I am aware that, puppet agent runs as a windows service and they can run only in session 0. Is there any way in puppet and mco to install the packages in specific sessions? Thanks -- You received this messag