[Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
On Tuesday, January 21, 2014 7:18:42 PM UTC+5, jcbollinger wrote: > > > > On Monday, January 20, 2014 8:25:18 AM UTC-6, Muhammad Yousuf Khan wrote: >> >> hello guys, >> >> i am new to puppet and few days back have installed motd module for >> testing this is my first module working great howev

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Felix Frank
Hi, On 01/22/2014 10:04 AM, Muhammad Yousuf Khan wrote: > The free memory is <%= memoryfree %> the $memoryfree fact is bound to have a different value on each puppet run, I think. Try and remove this line from your template. HTH, Felix -- You received this message because you are subscribed t

Re: [Puppet Users] Re: Subquery, regular query difference?

2014-01-22 Thread ak0ska
Just did: https://tickets.puppetlabs.com/browse/PDB-341 On Tuesday, January 21, 2014 6:37:19 PM UTC+1, Ken Barber wrote: > > Yeah, that looks like a bug Akos. Can you file it? > > On Tue, Jan 21, 2014 at 2:49 PM, jcbollinger > > > wrote: > > > > > > On Monday, January 20, 2014 9:17:39 AM UT

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
On Wednesday, January 22, 2014 2:08:16 PM UTC+5, Felix.Frank wrote: > > Hi, > > On 01/22/2014 10:04 AM, Muhammad Yousuf Khan wrote: > > The free memory is <%= memoryfree %> > > the $memoryfree fact is bound to have a different value on each puppet > run, I think. > Try and remove this line f

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Felix Frank
Hi, that's pretty much correct. Only to clarify, this is what happens when the agent contacts the master: 1. the agent requests plugins (if pluginsync is enabled) -> this may introduce new fact code to the agent 2. the agent gathers all facts about its local machine (see facter) 3. the agent sen

[Puppet Users] Re: Spacing in attributes

2014-01-22 Thread zerozerounouno
On Tuesday, January 21, 2014 4:05:48 PM UTC+1, jcbollinger wrote: > Possible alternative explanations: > >- You are quoting the parameter name (which is fine), and at least >some of the added whitespace is going inside the quotes. "ip " => >"192.168.1.1" >- You are inserting a

Re: [Puppet Users] Re: seeing too many change messages.

2014-01-22 Thread Muhammad Yousuf Khan
Thanks Alot :) On Wednesday, January 22, 2014 3:51:10 PM UTC+5, Felix.Frank wrote: > > Hi, > > that's pretty much correct. Only to clarify, this is what happens when > the agent contacts the master: > > 1. the agent requests plugins (if pluginsync is enabled) > -> this may introduce new fact

Re: [Puppet Users] hiera suggestion

2014-01-22 Thread Andrey Kozichev
Yes, I was thinking something like that. Is there a %{module} variable ? On 22 Jan 2014 07:39, "Jose Luis Ledesma" wrote: > Copied from another thread: > > :hierarchy: > ... > - "%{environment}/classes/%{calling_class} > > Perhaps it is easier that way. > > Regards > > -- > You received this m

Re: [Puppet Users] Re: puppetdb: how to install using the system ruby 1.9.3-p484

2014-01-22 Thread machete
Cory thanks for the response. Ruby (1.9.3-484 with rails-express patch) was compiled/installed with bash script ( aka something else). While the most current ruby binary is in /usr/bin, yum/RPM must need additional stuff ( maybe that RPM DB entry you mentioned ). Ultimately, I could see the

[Puppet Users] Re: accessing variable from another manifest

2014-01-22 Thread jcbollinger
On Tuesday, January 21, 2014 11:49:15 PM UTC-6, bluethundr wrote: > > Hey all, > > Sorry but I forgot to include a key piece of information in that last > email. > > In the ssh class I have defined in the modules init.pp I had this > definition: > > class ssh { > include ssh::install,

Re: [Puppet Users] How to manage SugarCRM config.php with Puppet?

2014-01-22 Thread jcbollinger
On Tuesday, January 21, 2014 4:58:55 PM UTC-6, Pete wrote: > > > This is a perfect use case for hiera. > If you aren't using it I would suggest setting it up. > It will allow you to setup variables exactly how you describe above. > > This will get you started. > http://docs.puppetlabs.com/hie

[Puppet Users] roll back update

2014-01-22 Thread Muhammad Yousuf Khan
Hello All, i have seen so many apt modules on puppet forge website. they are more like changing source list path defining. HTTP proxy blah blah but what i want is a bit more. is there any apt module which can help me to update only selective updates (like in Microsoft Wsus does, it list down a

Re: [Puppet Users] Report processor failed: uninitialized constant Puppet::FileSystem::File

2014-01-22 Thread Felix Frank
Hi, apparently puppet cannot load the Puppet::FileSystem::File class from $RUBYLIB/puppet/file_system/file.rb Have you installed puppet via rpm package? Can you verify the consistency of your installation? Failing that, locate the above mentioned file in your file system and find out why it's no

[Puppet Users] Get data from password protected file SSL

2014-01-22 Thread Gautam Chand Nutalapati
I have a key and file A. usually to retrieve data from file, I guess we do something like $var = File("path/A") How do we retrieve the data from same file if file "A" is protected by a key? (I have the Key) (Related to SSL) I have a private key file that i want to password protect and use pup

RE: [Puppet Users] roll back update

2014-01-22 Thread SHARNINDER_KHERA
Mohammad, As far as I know, there is nothing in the puppet world that does what you want. On the other hand, puppet does give you the flexibility to manage packages to be installed (or uninstalled) on the managed nodes. Whether you can use it for installing/removing patches, depends on how the

[Puppet Users] Re: Report processor failed: uninitialized constant Puppet::FileSystem::File

2014-01-22 Thread Mike Skint
yes I've seen it on ubuntu 12.04 and Debian 6 nodes installed from puppetlabs repo, had to roll back to 3.4.0 On Tuesday, January 21, 2014 6:53:38 AM UTC-8, ro001 wrote: > > > Hi, > > I am the deploying the puppet master rpm 3.4.2 onto a centos 6.3 VM using > the following script files but ou

[Puppet Users] AWS cloud provisioning on Puppet VM, Error: RequestExpired => Request has expired. Timestamp date is 2014-01-22T08:45:57Z

2014-01-22 Thread Venkata Ramana
I am configuring AWS cloud provisioning on Puppet VM, getting the below error. I configured ~/.fog with AWS access keys. I would like to know if anyone faced the same issue? If so, can you share your inputs? [root@puppet ~]# vim .fog [root@puppet ~]# puppet node_aws list Error: RequestExpired =

Re: [Puppet Users] Re: "You need rubygems to use Hiera"

2014-01-22 Thread Moses Mendoza
Hi Jonathan, It appears that dhoppe/puppet actually ships an entire copy of hiera 1.0.0 and hiera-puppet inside its lib directory, which is unfortunate since hiera is now at 1.3.1 and hiera-puppet is part of puppet proper. I filed an an issue against the github repo, since this isn't an ideal app

[Puppet Users] Monitor configfiles of a package

2014-01-22 Thread Marco Schröder
Hi all, I would like to monitor a configuration directory (a bunch of apache vhost config files) with puppet. For several reasons it would be neccessary to deploy the configs with a RPM package which is built by a Jenkins CI server. Using a package ressource and just ensure => latest would be e

[Puppet Users] Monitor configfiles of a package

2014-01-22 Thread Jose Luis Ledesma
You can exec a rpm verify against the package, it should display which files has changed and then reinstall it to if needed but i think this is not a "puppet solution" Another option would be install the rpm in the puppet master, and create a module that deploy the files of the rpm( so no rpm i

[Puppet Users] PuppetDB 1.6.0-rc3 Now available

2014-01-22 Thread Ken Barber
** Release Candidate ** PuppetDB 1.6.0-rc3 Prerelease: PuppetDB 1.6.0 is not yet released * RC1: January 7th, 2014. * RC2: January 14th, 2014. * RC3: January 22nd, 2014. PuppetDB 1.6.0-rc3 Downloads Available in native package format in the pre-release repositories

Re: [Puppet Users] roll back update

2014-01-22 Thread Jason Antman
There's nothing existing that I know of that works in the GUI-based way you seem to be talking about. Because, well, we *nix people usually don't do that. I've really only worked on RPM-based systems, so I'm not sure if this is still applicable in the debian world... There are 2 types of updates

Re: [Puppet Users] roll back update

2014-01-22 Thread Steven VanDevender
Jason Antman writes: > There's nothing existing that I know of that works in the GUI-based way > you seem to be talking about. Because, well, we *nix people usually > don't do that. > I've really only worked on RPM-based systems, so I'm not sure if this is > still applicable in the debian wor

[Puppet Users] puppet & augeas - where to put augeas definition?

2014-01-22 Thread Mike Reed
Hello all, I'm looking to use a simple augeas definition per the below info: augeas { "sources_config": context => "/files/etc/apt/sources.list" , changes => [ "set deb http://repo/ client main" , ], } Per the snipp

[Puppet Users] Re: Using Virtual Resources and create_resource combination

2014-01-22 Thread CD
Hi John, Thanks a lot for the information. I checked the variables and could not find anything defined twice. In my workaround I updated the module code slightly and managed to fix the issue I face. This is the original code https://github.com/razorsedge/puppet-network/blob/master/manifests/if

Re: [Puppet Users] Using hiera to separate code and data

2014-01-22 Thread CD
Hi Felix, Thanks for the information. I used the create_resources and fixed the issue. Further I started using the individual host files as you suggested to make it more manageable. Thanks again for the tips. This is what I finally implemented. (Note: I came across another issue with this imp

[Puppet Users] Re: Thoughts on roles/profiles class paradigm

2014-01-22 Thread Nathan Nobbe
On Wednesday, January 9, 2013 2:34:30 PM UTC-7, Wolf Noble wrote: > > Hi Gang, > > My colleagues and I are contemplating refactoring our modules to take > advantage of the "roles/profiles" paradigm suggested by Craig Dunn in his > blog post found here: > http://www.craigdunn.org/2012/05/239/ >

[Puppet Users] Exporting a resource only once....

2014-01-22 Thread Krist van Besien
Hello, I have a need for an exported resource that only gets exported once. So a class that exports this resource should test first if it hasn't already been exported, and only then export it. In pseudo code: if !exists X then @@X The problem is that I can't seem to find out how to tes