Re: [Puppet Users] catalog-diff and create_resources not correct

2014-12-23 Thread Johan De Wit
On 24/12/14 00:50, Felix Frank wrote: On 12/23/2014 10:36 AM, Johan De Wit wrote: The resource is indeed in both catalogs, only the old one contains 2 automatic attributes (file: and line:). I suspect this is the cause. Hi Johan, good call - I believe those are hints that the compiler adds, s

Re: [Puppet Users] multiple user creation with puppet module .

2014-12-23 Thread Felix Frank
Hi, welcome to the list then. On 12/19/2014 02:20 AM, Krushna Chandra Sahu wrote: > In manifest folder, I have single file called init.pp > > class users ( > > ) > > { > group { "nextadmin": > ensure => present, > } > > define users::add ( $username , $groupname =

Re: [Puppet Users] Issue with Defined Resource on Windows and Powershell

2014-12-23 Thread Felix Frank
On 12/19/2014 06:51 PM, Paul Ponzeka wrote: > > class win_ad_sites::install { > > > > realize (Win_ad_sites::Resource['SanFrancisco']) > > > > > > } > Phew, this was difficult to read, at least in Thunderbird. I believe your class should declare: win_ad_sites::resource { 'SanFrancisc

Re: [Puppet Users] Is it possible to run a custom function on irb (Interactive Ruby console)?

2014-12-23 Thread Felix Frank
On 12/20/2014 04:45 AM, Francois Lafont wrote: > Hi, > > In a personal module of my puppetmaster (in the production environment), > I have a custom function which I would like to run on irb (to make > quick test, it would be so convenient). Is it possible? Hmm, I honestly don't know, but the idea

Re: [Puppet Users] custom facts

2014-12-23 Thread Felix Frank
On 12/22/2014 04:39 PM, kaustubh chaudhari wrote: > I was expecting o/p as. > > Disk_Size C: 30GB So what do you get instead? Have you added debug logging to your script to find out whether Facter invokes it at all? -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] catalog-diff and create_resources not correct

2014-12-23 Thread Felix Frank
On 12/23/2014 10:36 AM, Johan De Wit wrote: > The resource is indeed in both catalogs, only the old one contains 2 > automatic attributes (file: and line:). I suspect this is the cause. Hi Johan, good call - I believe those are hints that the compiler adds, so that the agent can give more helpfu

Re: [Puppet Users] Problem with facter/ipaddress with puppet client 2.7

2014-12-23 Thread Felix Frank
On 12/23/2014 07:21 PM, puppetstan wrote: > > Can you have this problem with this puppet and facter version? No, that's a pretty serious issue. Please note that Facter 1.6.x is obsolete - from my gut feeling, it's even more dusty than Puppet 2.7. Any chance for you to get Facter 1.7? -- You rece

Re: [Puppet Users] Re: install directory for package, and other basic questions

2014-12-23 Thread Felix Frank
Hey, thanks for sharing your experience. On 12/24/2014 12:18 AM, Matyas A. Sustik wrote: > The exec only runs when /usr/local/bin/python2.7 does not exist, but > the installation script gets created on the nodes unconditionally. That's actually well done. Barring that I have been doing things wro

Re: [Puppet Users] Re: install directory for package, and other basic questions

2014-12-23 Thread Matyas A. Sustik
I revisited the issue a few weeks later and worked on it a couple hours. 1. I managed to write the scripts and manifest files that install and upgrade python2.7 into the alternate /usr/local/bin location. So this was a WIN! 2. I am still battling with pip. I tried to install pip2.7 using the sc

[Puppet Users] Problem with facter/ipaddress with puppet client 2.7

2014-12-23 Thread puppetstan
Hi, On my centos6 and redhat6 i have puppet client update with puppet 2.7.25-2 and facter-1.6.18-7 version with epel repo My problem is with ipaddress facter, now i have # facter ipaddress => eth0 Link encap:Ethernet HWaddr 00:50:12:AZ:01:F9inet adr:172.17.03.21 Bcast:172.

[Puppet Users] Re: Nagios user lookup

2014-12-23 Thread jcbollinger
On Monday, December 22, 2014 9:27:47 AM UTC-6, Jonathan Gazeley wrote: > > Hi folks, > > I'm not sure if I'm thinking about the problem the wrong way, but I'm > trying to design a way to have one directory of user information in hiera > which feeds the creation of unix users as well as nagios

[Puppet Users] Re: Unable to collect stored resources(ipaddress) in puppet

2014-12-23 Thread jcbollinger
On Monday, December 22, 2014 8:22:40 AM UTC-6, Manjunatha T N wrote: > > Hi, > > I am using Puppet master and client 3.7 and for store configs MySql DB. > Here I am trying to export IPaddress from one node another. When I ran the > agent in client node it is executing without any error, could s

[Puppet Users] catalog-diff and create_resources not correct

2014-12-23 Thread Johan De Wit
Hi, We wanted to use catalog diff to verify the old and new catalogs during conversionto hiera. They should be both have the saem resources with the same paramters. But every resource that is created in the 'new' version with create_resources(), gives a wrong catalog diff. The resource is i

Re: [Puppet Users] puppetdb org.postgresql.util.PSQLException

2014-12-23 Thread Fabio Sangiovanni
On Monday, December 22, 2014 11:36:13 PM UTC+1, Wyatt Alt wrote: > > Hey Fabio, > hi! > Got a few questions: > > Did you have PuppetDB running properly before you started seeing this > issue or are you still setting it up? > Still setting the whole thing up. > Does it persist after po