Re: [Puppet Users] Re: using puppet augeas to add entry in /etc/syslog.conf

2012-08-30 Thread Fiddyspence
Hey Pete Glad you find it useful! Cheers, Chris (fiddyspence) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/gh8bq9uh3B8J. To post to this group, send em

[Puppet Users] Puppet presentation at the Den Bosch Linux Users Group (The Netherlands)

2012-08-30 Thread Emilien Klein
Hi Puppet community, This Tuesday, September 4th, 2012, there will be a presentation of Puppet at our weekly LUG meeting in Den Bosch, The Netherlands. More details on the event's Meetup page, or on our website

Re: [Puppet Users] thoughts on puppet 2.7 vs 3.0

2012-08-30 Thread Ryan Coleman
On Wed, Aug 29, 2012 at 7:52 AM, Jason Antman wrote: > For anyone in the know, given this situation, would you recommend building > on puppet 2.7.18, or trying to draw things out as much as possible and wait > for a stable 3.x release? I'm clearly biased but data-code separation is _much_ nicer i

Re: [Puppet Users] Re: Help! A simple question but always distrubs me .

2012-08-30 Thread 段彦磊
yep! my server realease is 2.6.17.el6. while the version of puppet client on VMs is different from that, but I' m sure are lower than server realease. 2012/8/31 Justin Stoller > On Thu, Aug 30, 2012 at 7:10 PM, Edward Tuan wrote: > > ps: when I start with : puppet master . then I check with: s

Re: [Puppet Users] Re: Help! A simple question but always distrubs me .

2012-08-30 Thread Justin Stoller
On Thu, Aug 30, 2012 at 7:10 PM, Edward Tuan wrote: > ps: when I start with : puppet master . then I check with: service > puppetmaster status ,show: the puppetmaster is running .orz... the `puppetmasterd` executable was deprecated in favor of using the single executable `puppet`. xmlrpc was depr

[Puppet Users] Re: Help! A simple question but always distrubs me .

2012-08-30 Thread Edward Tuan
ps: when I start with : puppet master . then I check with: service puppetmaster status ,show: *the puppetmaster is running *.orz... 在 2012年8月31日星期五UTC+8上午10时08分05秒,Edward Tuan写道: > > When I start my puppetmaster on my master server with this > :/etc/init.d/puppetmaster start, There are always th

[Puppet Users] Help! A simple question but always distrubs me .

2012-08-30 Thread Edward Tuan
When I start my puppetmaster on my master server with this :/etc/init.d/puppetmaster start, There are always these messages shown: etc/init.d/puppetmaster start Starting puppetmaster: */usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:101:in `register_xmlrpc': uninitialized constant Pup

[Puppet Users] Announce: Hiera 1.0.0 Available

2012-08-30 Thread Matthaus Owens
We are proud to announce Hiera 1.0.0 is available. Downloads are available: * Source http://puppetlabs.com/downloads/hiera/hiera-1.0.0.tar.gz * Apt and yum repos * Mac packages http://puppetlabs.com/downloads/mac/hiera-1.0.0.dmg * Gem http://rubygems.org/downloads/hiera-1.0.0.gem It includes

[Puppet Users] Announce: Facter 1.6.12-rc1 available

2012-08-30 Thread Moses Mendoza
Facter 1.6.12-rc1 is a maintenance release candidate in the 1.6.x branch with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.12-rc1.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.or

Re: [Puppet Users] Re: puppetlabs-stdlib

2012-08-30 Thread Douglas Garstang
Cool. thanks for fixing. On Thu, Aug 30, 2012 at 3:00 PM, Jeff McCune wrote: > On Wed, Aug 29, 2012 at 12:20 PM, Douglas Garstang > wrote: >> >> Really? From the function reference at: >> http://docs.puppetlabs.com/references/latest/function.html >> >> Common ones seem to be create_resources, cr

Re: [Puppet Users] Re: using puppet augeas to add entry in /etc/syslog.conf

2012-08-30 Thread Peter Brown
I found a nice module on the puppet forge to do sysctl entries on RedHatish systems. https://forge.puppetlabs.com/fiddyspence/sysctl I worked wonderfully for what I needed. It sets the sysctl settings and optionally maked them permanent by adding an entry to /etc/sysctl.conf The best thing is if th

Re: [Puppet Users] Re: Puppet not picking up manifests

2012-08-30 Thread Eric Sorenson
I'll mail John Arundel (don't think he is active on this list) and ask him to fix this -- from the comments on that page there's at least one more problem with the tutorial as written. On Wednesday, August 29, 2012 8:09:13 AM UTC-7, Bai Shen wrote: > > This is the tutorial I was using. > > http:

Re: [Puppet Users] Re: puppetlabs-stdlib

2012-08-30 Thread Jeff McCune
On Wed, Aug 29, 2012 at 12:20 PM, Douglas Garstang wrote: > Really? From the function reference at: > http://docs.puppetlabs.com/references/latest/function.html > > Common ones seem to be create_resources, crit, defined, err, > extlookup, fail, file and so on. I've fixed up the README, the

[Puppet Users] Re: using puppet augeas to add entry in /etc/syslog.conf

2012-08-30 Thread Clay
Hi , Any suggestions ? I may end up using a script to do this. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/jBkVdaTrLmsJ. To post to this

Re: [Puppet Users] Speed up file resource on Windows

2012-08-30 Thread Josh Cooper
Hi Roger, On Tue, Aug 28, 2012 at 2:59 PM, Roger wrote: > Puppet is taking about 5 minutes per run on a Windows 2008 R2 server. > Here's the breakdown: > > config_retrieval 1.638 > exec 1.0764 > file 320.1297 > Total 322.8441 > > There are only 13 file resources: > > 4 are directories > 2 are sma

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Chad Huneycutt
On Thu, Aug 30, 2012 at 11:40 AM, Calvin Walton wrote: > On Thu, 2012-08-30 at 09:42 -0400, Eric Shamow wrote: >> On Thursday, August 30, 2012 at 9:41 AM, Sandra Schlichting wrote: >> >> > Hi, >> > >> > I would like to write a class that can copy /root/.ssh/id_dsa from node A >> > to node B. >> >

Re: [Puppet Users] thoughts on puppet 2.7 vs 3.0

2012-08-30 Thread Eric Sorenson
For what it's worth, we on the puppetlabs open-source team are highly motivated to work with and fix bugs for people who are willing to beta-test the RCs of 3.0 - especially if it's something you're headed to production with. On the flip side, if there's something that doesn't work for you in 2

[Puppet Users] trouble with catalog with Foreman as ENC

2012-08-30 Thread confused
I'm running the following: Puppet Version 2.7.11 Foreman Version 1.0.1 Ruby 1.8.7 activemodel (3.0.11) activerecord (3.0.11) activesupport (3.0.11) arel (2.0.10) builder (2.1.2) i18n (0.5.0) kgio (2.7.4) pg (0.14.0) rack (1.4.1) raindrops (0.10.0) tzinfo (0.3.33) unicorn (4.3.1) I have the puppetm

[Puppet Users] Version control design for puppet and data (hiera) repositories

2012-08-30 Thread steeef
I'm in the process of migrating data out of my standard Puppet repositories for modules and manifests, and I'm having second thoughts about my original design. I'd appreciate any feedback you can give me. We currently have two departments managing Puppet: Operations and Development. To prevent

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Calvin Walton
On Thu, 2012-08-30 at 09:42 -0400, Eric Shamow wrote: > On Thursday, August 30, 2012 at 9:41 AM, Sandra Schlichting wrote: > > > Hi, > > > > I would like to write a class that can copy /root/.ssh/id_dsa from node A > > to node B. > > > > > > The puppet master can login to node B without passph

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Matthew Burgess
On 8/30/12, Sandra Schlichting wrote: > Does there exist a SSH key management module, where the puppet master > generates the private and public keys and pushes them to the nodes? There's an sshauth module at http://projects.reductivelabs.com/projects/puppet/wiki/Module_Ssh_Auth_Patterns that I'v

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Sandra Schlichting
Hi Eric > On the run so no time to write up a quick example - but take a look at > exported resources. There's a design patterns page -- > > http://docs.puppetlabs.com/guides/exported_resources.html > > These are designed to do what you're looking for. > Wow. That looks very complicated. =)

Re: [Puppet Users] Speed up file resource on Windows

2012-08-30 Thread Calvin Walton
On Tue, 2012-08-28 at 14:59 -0700, Roger wrote: > Puppet is taking about 5 minutes per run on a Windows 2008 R2 server. > Here's the breakdown: > > config_retrieval 1.638 > exec 1.0764 > file 320.1297 > Total 322.8441 > > There are only 13 file resources: > > 4 are directories > 2 are small po

[Puppet Users] Re: Puppet java module

2012-08-30 Thread Bai Shen
I ended up not using the puppetlabs-java module and wrote my own. I had to create a local repo containing the oracle jdk rpm, import that into cobbler and then use puppet to install the package. Not sure if that's the best solution or not, but it worked for me. On Wed, Aug 29, 2012 at 1:38 PM, B

Re: [Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Eric Shamow
Sandra, On the run so no time to write up a quick example - but take a look at exported resources. There's a design patterns page -- http://docs.puppetlabs.com/guides/exported_resources.html These are designed to do what you're looking for. -Eric -- Eric Shamow Professional Services http:/

[Puppet Users] Possible to copy ssh key from node A to node B?

2012-08-30 Thread Sandra Schlichting
Hi, I would like to write a class that can copy /root/.ssh/id_dsa from node A to node B. class sshkeycopy { >exec {"ssh-keygen -q -t dsa -f /root/.ssh/id_dsa -P ''": > creates => "/root/.ssh/id_dsa.pub" >} >file {"/root/.ssh/id_dsa": > mode => "644", > owner => r

Re: [Puppet Users] Uber Frustration with Puppet.

2012-08-30 Thread Jason Slagle
Doug, I'm not terribly familiar with gluster, but that thing in your hand certainly looks square and you're trying to fit it in that round hole. It looks to me like you've created an arbitrary service-centric data model, and are then attempting to smash on the tool (puppet) to make it work,

[Puppet Users] Trying to setup puppetdbquery on puppet-3.0.0-rc5

2012-08-30 Thread Chuck
I have puppetdbquery working on my puppet-2.7.16 puppet master but I am getting an error when using it with puppet-3.0.0-rc5 https://github.com/dalen/puppet-puppetdbquery This is the error I am getting: err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method

Re: [Puppet Users] Uber Frustration with Puppet.

2012-08-30 Thread jcbollinger
On Thursday, August 30, 2012 6:40:11 AM UTC-5, Erik Dalén wrote: > > Have you had a look at the functions in puppetlabs-stdlib? > There's a bunch of functions for dealing with hashes and iterating > over them there, keys() for example could be helpful in this case. > Also, when you have the c

Re: [Puppet Users] thoughts on puppet 2.7 vs 3.0

2012-08-30 Thread Jason Antman
I think that's my new theory. For now, I think I'll be building and testing a 2.7.(18|19) master and clients. The master will be bootstrappable though puppet itself (I hope...). Assuming all goes well, when I'm ready to roll out I'll re-assess the situation with 3.0 and consider, if things look

Re: [Puppet Users] Re: thoughts on puppet 2.7 vs 3.0

2012-08-30 Thread Jason Antman
On 08/29/2012 02:09 PM, Jakov Sosic wrote: On 08/29/2012 07:34 PM, Jason Antman wrote: but given the way things work around here, and that puppet is really a lower-level project (i.e. experimentation, failure, and bugs aren't tolerated well because we only have management support for the end res

GlusterFS module (was: Re: [Puppet Users] ... with Puppet.)

2012-08-30 Thread David Schmitt
My limited understanding from what I've read about hiera, is that node-specific data should go to node-specific files, which are to be configured as first priority lookup. That way you can strip away most of the layers of your YAML. I know not enough about glusterfs or your setup to advise

Re: [Puppet Users] Uber Frustration with Puppet.

2012-08-30 Thread Erik Dalén
Have you had a look at the functions in puppetlabs-stdlib? There's a bunch of functions for dealing with hashes and iterating over them there, keys() for example could be helpful in this case. On 30 August 2012 07:50, Douglas Garstang wrote: > Boy, am I frustrated. I'm about ready to throw puppet

[Puppet Users] Re: puppet installation on windows7

2012-08-30 Thread Krzysztof Wilczynski
Hi, I suggest you share the error, so we can actually suggest a suggestion. Good luck with Puppet on Windows 7 :) KW On Thursday, 30 August 2012 11:31:59 UTC+1, valar mathi wrote: > > when puppet installed in windows7 and when the run puppet agent is clicked > im getting certificate retrieval

[Puppet Users] puppet installation on windows7

2012-08-30 Thread valar mathi
when puppet installed in windows7 and when the run puppet agent is clicked im getting certificate retrieval error.plz suggest me a solution.thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https:

[Puppet Users] external facts - debian

2012-08-30 Thread Jones
Hi, 1st the versions I use on Debian wheezy ii facter 1.6.11-1puppetlabs1all Ruby module for collecting simple facts about a host operating system ii puppet 2.7.19-1puppetlabs2all Centralized configurat

[Puppet Users] about AgentPuppetd plugin bug ?

2012-08-30 Thread lyflyd
Hi: I used AgentPuppetd but have some problem。 When the agent node puppetd deamon running ,and I execute : mco puppet runonce In agent node can’t running; because runonce action will create pid file the same as puppetd deamon. And running failed. # /usr/bin/ruby