[Puppet Users] Re: puppet-server and puppet between the ruby environment is not consistent,whether can normal use?

2014-10-23 Thread liu.cy
puppet master and agent can run in different ruby version, it works ok in my environment. and my master run in rhel 6.5 ruby 1.8.7, some agents run in windows 2008 ruby 1.9.3, looks fine. do you have any problem? On Friday, October 24, 2014 1:30:01 PM UTC+8, Jack Chen wrote: > > hello! > > > I w

[Puppet Users] puppet-server and puppet between the ruby environment is not consistent,whether can normal use?

2014-10-23 Thread KissPuppet
hello! I will puppet-server and puppet installed in different ruby environment Node information for puppet-server and puppet: -- puppet-server 3.6.2ruby-1.9.3-p547 puppet 3.6.2ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux] ---

[Puppet Users] Questions about puppet classes and parameters

2014-10-23 Thread Rohit
Hi, I am looking at ways to configure my puppet module (which justs uses another module from puppet forge) to set configuration data. What I want to do is this: I have a puppet module called 'testing' and created class testing::haproxy in it. I basically want to use this class to setup all co

[Puppet Users] Re: pull defined type into puppet template?

2014-10-23 Thread Trey Ormsbee
I think I have determined this just flat out is not possible. I've went thought many modules on puppet forge and can not find one doing anything close to what I am trying to achieve. I will auto generate the rest of the data with top level variables from foreman or similar. -- You received t

[Puppet Users] Re: pull defined type into puppet template?

2014-10-23 Thread Trey Ormsbee
I think I have determined this just flat out is not possible. I've went thought many modules on puppet forge and can not find one doing anything close to what I am trying to achieve. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubsc

Re: [Puppet Users] Re: Passing Parameters to Powershell

2014-10-23 Thread Rob Reynolds
On Wed, Oct 15, 2014 at 10:39 AM, Paul Ponzeka wrote: > Hopefully this is my last question. How do i get the variable that passes > through to powershell to be a proper array? The reason is that i need to > run a foreach loop on it, but it sees the variable as one long item instead > of multipl

[Puppet Users] external facter for datacenter from ipaddress - new to puppet

2014-10-23 Thread Difladermaus
facter --debug returns Fact file /etc/puppetlabs/facter/facts.d/datacenter.rb was parsed but returned an empty data set Any help appreciate # cat /etc/puppetlabs/facter/facts.d/datacenter.rb Facter.add("datacenter") do setcode do datacenter = "unknown" # Get current ip addres

Re: [Puppet Users] Puppet, Git, Jenkins

2014-10-23 Thread Clayton O'Neill
We use Jenkins Job Builder from the OpenStack project for configuring Jenkins jobs. It's generally a lot more readable than the XML and it offers templating features: http://ci.openstack.org/jjb.html On Wednesday, October 22, 2014 10:54:11 AM UTC-4, Atom Powers wrote: > > I would actually rec

[Puppet Users] Puppet agent message: Could not retrieve local facts: Could not find fact 'define_fact'

2014-10-23 Thread Andreas Dvorak
Dear all, since today the puppet agent does not work anymore if it is executed by service. I prints out: Could not retrieve local facts: Could not find fact 'define_fact' If I run puppet agent -t I do not get the message. I have updated facter from 1.7.1 to 2.1 and hiera from 1.2.1 to 1.3.4 I h

[Puppet Users] pull defined type into puppet template?

2014-10-23 Thread Trey Ormsbee
I working with a dynamic config file template, I have a section for global options, then a dynamic section that i want to populate with multiple defined entries. example config file #global options config_option1=setting1 config_option2=setting2 config_option3=setting3 ... #dynamic section en

[Puppet Users] Howto: SELinux, Puppet and Passenger (EPEL) on RHEL6

2014-10-23 Thread Thomas Müller
Hi I've managed to run Puppet 3.7.1 with Passenger from EPEL on RHEL6. It needs a SELinux Module (or extension of the existion modules) and a Wrapper-script for a type transition from Passenger to Puppetmaster. I've documented the 2 files here: https://gist.github.com/vinzent/18ed6d6476273dd4

Re: [Puppet Users] Puppet, Git, Jenkins

2014-10-23 Thread joel.merr...@gmail.com
You could leverage Jenkins' plethora of plugins. Perhaps use the matrix plugin, that way you only need to detail the array of module names under test - not duplicate the jobs On Thu, Oct 23, 2014 at 10:31 AM, Sandro Roth wrote: > Thank you guys for your replies. > > Yes Javier, we are in fact us

Re: [Puppet Users] puppet agent upgrade with puppet module

2014-10-23 Thread Pete Brown
Hi Kai, That is basically how I do it and I haven't see any issues so far. I haven't upgraded quite as far as you intend and I would give it a test in vagrant to see how it goes first. Incidentally I do the same with facter, hiera and the server packages as well and don't see any issues with upgr

[Puppet Users] puppet agent upgrade with puppet module

2014-10-23 Thread Kai Timmer
Hello, I'm running a puppetmaster in version 3.7.1 and most of my puppet agents are kept in the Debian wheezy version (2.7.23-1~deb7u3). This works fine for me, so from my point of view there is no need to immediately upgrade my agents, but when I do I would like a way to do this with puppet. S

Re: [Puppet Users] Puppet, Git, Jenkins

2014-10-23 Thread Sandro Roth
Thank you guys for your replies. Yes Javier, we are in fact using gitlab ;) So let me know if we can help you with the hook scripts in any way, I'd be very interested. In the meantime I'll look into automating the jenkins job creation with the cli and or api. I have read about job builder which

Re: [Puppet Users] Re: PuppetDB 2.2 and pg_trgm extension

2014-10-23 Thread Taylor Leese
That did the trick. Thanks. On Wednesday, October 1, 2014 4:41:44 PM UTC-7, Ellison Marks wrote: > > If you're using ubuntu, It would probably just be > > sudo apt-get install postgresql-contrib > > You might need to restart postgres after that, not sure. > > > On Wednesday, October 1, 2014 2:10: