Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Lowe Schmidt
Have a look over here: https://github.com/puppetlabs/r10k -- Lowe Schmidt | +46 723 867 157 On 31 May 2016 at 08:40, Alex Samad wrote: > Hi > > New install, I am doing this on Centos 6.x > I have installed the repo RPM > > I believe this is PC1 repo > > > yum --disablerepo '*' --enablerepo pupp

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Rob Nelson
Which article were you reading? If you're looking at https://rnelson0.com/2014/05/19/puppet-and-git-201-r10k-setup-installation/, be aware that was written 2 years ago, and the location of files have moved since then (I'll add a note shortly). You shouldn't actually need to manage that file directl

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Rob Nelson
Alex, some of the later r10k articles have changed workflows, you may want to read the whole series before implementing anything. I highly recommend you check out Gary's Workflows Evolved article at http://garylarizza.com/blog/2015/11/16/workflows-evolved-even-besterer-practices/. The third link is

[Puppet Users] Re: How to deliberately cause modules to conflict?

2016-05-31 Thread jcbollinger
On Saturday, May 28, 2016 at 6:19:19 PM UTC-5, Dan Mahoney wrote: > > Hey there. > > This is a weird question, but I guess I'll ask it anyway. > > Is there a way to say one of the following two things? > > 1) That you want a manifest to deliberately break when you try to include > two differe

[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] Re: Puppet 4.5 and git & R10K

2016-05-31 Thread Lee DaeHyung
Hi I think you could see this page first: https://forge.puppet.com/zack/r10k and this http://garylarizza.com/blog/2014/08/31/r10k-plus-directory-environments/ These will guide you how to use it. 2016년 5월 31일 화요일 오후 3시 40분 49초 UTC+9, Alex Samad 님의 말: > > Hi > > New install, I am doing this on

[Puppet Users] Trying to debug Facter

2016-05-31 Thread Jonathan Gazeley
Hi folks, I have a Forge module jgazeley/freeradius which is chiefly targeted at CentOS-a-like but also works on Debian/Ubuntu. A user has raised an issue that a custom fact provided with the module does not seem to work properly on Ubuntu 15.10 with Ruby 2.1.9 and Facter 3.2.0. It is known t

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-31 Thread Jim
Hi Matthaus, Assume its a production environment would we have allowed that ? What I'm interested in clean state of process listing when I run ps command. Is that possible? Regards, Jim On Tuesday, 31 May 2016 01:07:39 UTC+10, Matthaus Litteken wrote: > > Jim, > > The 'XX:OnOutOfMemoryError=ki

Re: [Puppet Users] Outofmemory error for puppetserver process

2016-05-31 Thread Matthaus Owens
Jim, What do you consider clean state of process listing? Puppetserver is run with those options in many production environments. It certainly is possible to change how puppetserver starts up, but I wouldn't recommend it. The OnOutOfMemoryError setting is there so that when such an error occurs,

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

2016-05-31 Thread John Ericson
Hi Harish! This fact looks really 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, > > I'm trying to create

Re: [Puppet Users] Reset Admin password

2016-05-31 Thread warron.french
Thank you James, it looks like problem runs very deep. I am seeing a CA certificate issue with this installation for some reason. I ran through the steps provided from that link and they didnt help me at all. Thanks anyway, -- Warron French On Mon, May 30, 2016 at 10:0

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Alex Samad
Thanks. I did get onto the code control section which seems to suggest I should use it instead of git/r10k as it hids this away behind the scene ! On 31 May 2016 at 22:36, Rob Nelson wrote: > Alex, some of the later r10k articles have changed workflows, you may want > to read the whole series

Re: [Puppet Users] Puppet and SVN

2016-05-31 Thread Rob Nelson
It does not hide it, but it does automate some of the installation and setup. You'll still need to live in Git, and should at least be familiar with using r10k even if you set up a webhook and don't run it manually all the time. It's what you use to rescue yourself when you mess up, as I can attest

Re: [Puppet Users] Re: Puppet 4.5 and git & R10K

2016-05-31 Thread Alex Samad
Hi Lowe - okay - so I presume by that it doesn't come as a centos rpm .. Rob - yes Lee So it looks like (more for my documentation ) install the puppet repo into centos install the puppet base components (DB, server, agent) Then I can install r10k via puppet ? i'm looking at this https://docs

Re: [Puppet Users] Re: Puppet 4.5 and git & R10K

2016-05-31 Thread Alex Samad
Answer my own question (and for any one following on) going to use https://docs.puppet.com/pe/2016.1/cmgmt_managing_code.html https://docs.puppet.com/pe/2016.1/cmgmt_control_repo.html for the setup and then back to http://garylarizza.com/blog/2014/08/31/r10k-plus-directory-environments/ https://

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Rob Nelson
Just to be sure, code manager is PE only. It looks like you're using Puppet Opensource instead. On Tuesday, May 31, 2016, Alex Samad wrote: > Answer my own question (and for any one following on) > > going to use > https://docs.puppet.com/pe/2016.1/cmgmt_managing_code.html > https://docs.puppet.

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

2016-05-31 Thread Harish Kothuri
Hello All, Everything works fine after removing 7-Zip software. Looks like highphen (-) is having a problem in the name. You can also use regex to avoid those. Thanks On Wednesday, June 1, 2016 at 1:29:07 AM UTC+5:30, John Ericson wrote: > > Hi Harish! > > This fact looks really interesting. I'

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

2016-05-31 Thread Harish Kothuri
Hi Jim, As what i understand from the command and the registry in windows, Uninstall section list all software's which can be uninstalled - which is nothing but installed software's. -Harish On Tuesday, May 24, 2016 at 7:37:08 AM UTC+5:30, Jim wrote: > > Hi Harish, > > I am new to powershell

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