[Puppet Users] puppet-agent version compatibility with puppet-server

2020-07-13 Thread hai wu
I am using puppet-server 6.7.1, and thinking if it would be ok to go ahead and start using latest puppet-agent 6.12.0. Is this latest puppet-agent 6.12.0 compatible with puppet-server 6.7.1? Thanks, Hai -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Where is source rpm for puppet6 open source rpm

2020-04-22 Thread hai wu
ging tools we use. >> >> On Sat, Apr 18, 2020 at 1:28 PM hai wu wrote: >>> >>> Where is source rpm for puppet6 open source rpms? I could not find them .. >>> >>> -- >>> You received this message because you are subscribed to the Google G

[Puppet Users] Where is source rpm for puppet6 open source rpm

2020-04-18 Thread hai wu
Where is source rpm for puppet6 open source rpms? I could not find them .. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.

Re: [Puppet Users] Fedora 20 Packages

2013-12-11 Thread hai wu
Now that rhel7 beta is out, when could we expect to yum repo for rhel7? On Wed, Dec 11, 2013 at 6:00 PM, Melissa Stone wrote: > Hi Brian, > > Just so you know, we have Fedora 20 repo up on yum.puppetlabs.com. > Please, try out the packages, and let us know if you come across any issues! > > Than

Re: [Puppet Users] puppetdb query not working as expected

2013-09-12 Thread hai wu
It's a custom script I wrote quite a while ago and I forgot about it ;) On Thu, Sep 12, 2013 at 3:34 AM, Ken Barber wrote: > > Yes, using postgresql here. It turns out I have another script pushing > facts > > (without custom facts) into puppetdb, which messed up with puppetdb query > > outputs

Re: [Puppet Users] puppetdb query not working as expected

2013-09-11 Thread hai wu
Hi Ken, Yes, using postgresql here. It turns out I have another script pushing facts (without custom facts) into puppetdb, which messed up with puppetdb query outputs. After fixing that script, things are ok now here. Thanks, On Wed, Sep 11, 2013 at 5:29 AM, Ken Barber wrote: > > Running pupp

[Puppet Users] puppetdb query not working as expected

2013-09-10 Thread hai wu
Running puppet only at around 4am once a day here. And I noticed that puppetdb query not working as expected, if using it to query nodes based on some custom fact value. During the days, things are working fine. But if I ran the same query at around say 3am (searching nodes based on some custom fa

[Puppet Users] facter string value comparison to integer

2013-08-05 Thread hai wu
It seems this statement is working for latest puppet+facter: if($::processorcount>25). Before there was concern that puppet would not auto convert string to number, is this still a concern here? I am wondering if I should convert the facter string value to integer first before comparing it .. --

Re: [Puppet Users] Announce: puppetdbquery 1.2.0

2013-06-07 Thread hai wu
Erik, I am wondering when you are going to add some support for current puppetdb report API .. Thanks, Hai On Fri, Jun 7, 2013 at 11:13 AM, Erik Dalén wrote: > I've released version 1.2.0 of puppetdbquery. > > New for this release is auto capitalization of resource type names and > class names.

Re: [Puppet Users] puppetdb v2 node api

2013-04-24 Thread hai wu
ues/new > > ken. > > > On Mon, Apr 22, 2013 at 4:09 AM, hai wu wrote: > > In puppetdb v2 node api, it changes behavior with "GET /v2/nodes", which > > only returns active nodes now. In v1, it would return all nodes. > > > > So in puppet

[Puppet Users] puppetdb v2 node api

2013-04-21 Thread hai wu
In puppetdb v2 node api, it changes behavior with "GET /v2/nodes", which only returns active nodes now. In v1, it would return all nodes. So in puppetdb v2 node api, how is it possible to return all nodes (both active and

[Puppet Users] Does puppet stdlib suppor puppet 3.0.1?

2012-12-04 Thread hai wu
In puppet stdlib doc here at https://github.com/puppetlabs/puppetlabs-stdlib, it only mentions its support for puppet 2.6 and puppet 2.7. Puppet 3.0.1 is not listed there. Why puppet 3.x is not listed in the above doc as supported? -- You received this message because you are subscribed to the G

[Puppet Users] Enterprise puppet and VMware VM deployment

2012-09-04 Thread hai wu
Does Enterprise Puppet use VSphere SDK API to deploy VMware VM? If not, what does it use? On 8/30/12, steeef wrote: > 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 appreci

Re: [Puppet Users] puppet node report

2012-06-30 Thread hai wu
conflict of using both, correct? It seems foreman has a new feature using reporturl, I won't be able to use that as reporturl is currently pointing to puppet dashboard .. On 6/30/12, Ohad Levy wrote: > On Sat, Jun 30, 2012 at 5:35 AM, hai wu wrote: > >> Thanks Tim. >> >&g

Re: [Puppet Users] puppet node report

2012-06-29 Thread hai wu
is already stored in puppet dashboard, the problem is puppet dashboard would purge the file right away after loading it into database, and there's no way to retrieve that via API. On 6/29/12, Tim Mooney wrote: > In regard to: [Puppet Users] puppet node report, hai wu said (at 3:0

[Puppet Users] puppet node report

2012-06-28 Thread hai wu
Is there a way to download latest node report log from puppet dashboard? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-us

Re: [Puppet Users] Announce: Puppet 3.0.0rc1 Available

2012-05-29 Thread hai wu
I see, this is to support puppetmaster-less. Thanks for clarifying this. Thanks, Hai On 5/29/12, Daniel Pittman wrote: > On Tue, May 29, 2012 at 2:11 PM, hai wu wrote: > > G'day. > >> Maybe I am missing something major, but why we would need to install >> both hi

Re: [Puppet Users] Re: Announce: Puppet 3.0.0rc1 Available

2012-05-29 Thread hai wu
; -- > Adrien Thebo | Puppet Labs Operations > Sent with Sparrow (http://www.sparrowmailapp.com/?sig) > > > On Tuesday, May 29, 2012 at 2:11 PM, hai wu wrote: > >> Hello, >> >> Maybe I am missing something major, but why we would need to install >> both hier

Re: [Puppet Users] Re: Announce: Puppet 3.0.0rc1 Available

2012-05-29 Thread hai wu
Hello, Maybe I am missing something major, but why we would need to install both hiera and hiera-puppet packages on every puppet nodes (including client)? My understanding is that hiera is just for backend data, and is only needed on puppetmaster .. I was referring to /usr/sbin/puppetmasterd is m

Re: [Puppet Users] Load-Balancing puppetmaster

2012-03-14 Thread hai wu
? Thanks, Hai On Wed, Mar 14, 2012 at 2:02 PM, Jeff McCune wrote: > > On Tue, Mar 13, 2012 at 10:30 PM, hai wu wrote: > > I am following steps in 'Pro Puppet' book to setup load balancing for > > puppetmaster. I am using passenger 3.0.11.9, ruby 1.8.7, puppet 2.7.12. >

[Puppet Users] Load-Balancing puppetmaster

2012-03-13 Thread hai wu
I am following steps in 'Pro Puppet' book to setup load balancing for puppetmaster. I am using passenger 3.0.11.9, ruby 1.8.7, puppet 2.7.12. While things were fine when it is single node configuration, after following the steps from 'Pro puppet' book, I got the following error when running puppet

Re: [Puppet Users] Announce: Puppet 2.7.11 Available [security/maintenance update]

2012-02-23 Thread hai wu
It says bug 12572 is fixed in 2.7.11, but this is not the case. It seems the released RPM packages for RHEL6 (both binary and source RPM) do not contain the real fix here at https://github.com/puppetlabs/puppet/commit/411828be395a68d70fec634fa8d8ff12572e8501. I still see the old code .. On Wed,

[Puppet Users] Re: strange service behaviour in kickstart chroot

2012-02-14 Thread hai wu
s fine. Also by replacing /var/run/utmp with similar file from another working RHEL6U2 server, runlevel command is happy as well. Sounds like a RedHat bug?? On 2/14/12, hai wu wrote: > Further troubleshooting shows that this is likely caused by 'chkconfig > cups' command does not r

[Puppet Users] Re: strange service behaviour in kickstart chroot

2012-02-14 Thread hai wu
ile a bug report on this. It is not possible to run puppet apply in kickstart chroot enviornment to converge the configuration, no matter how many times you are going to run it. The workaround is to run puppet apply one more time when the server comes up after kickstarting, which is not ideal. On 2/

[Puppet Users] Re: strange service behaviour in kickstart chroot

2012-02-14 Thread hai wu
I tried the following by uninstalling puppet client rpm inside kickstart chroot environment, and reinstalling the following puppet agent rpm, and all of them are failing in the same way: puppet-2.6.9-2.el6.noarch.rpm puppet-2.7.9-1.el6.noarch.rpm puppet-2.7.10-1.el6.noarch.rpm On 2/14/12, hai wu

Re: [Puppet Users] Re: strange service behaviour in kickstart chroot

2012-02-14 Thread hai wu
9. On Tue, Feb 14, 2012 at 8:30 AM, jcbollinger wrote: > > > On Feb 14, 2:59 am, hai wu wrote: > > This is a simple test code, named as 'a.pp': > > > > service { 'cups': > > enable => false, > > > > } > > > > Du

[Puppet Users] strange service behaviour in kickstart chroot

2012-02-14 Thread hai wu
This is a simple test code, named as 'a.pp': service { 'cups': enable => false, } During RHEL kickstart process, I tried to run the above after doing "chroot /mnt/sysimage" If 'chkconfig --list cups' shows cups is on, no mater how many time you ran "puppet apply a.pp", it always seems to see n

Re: [Puppet Users] ldap.conf modification problem

2012-02-02 Thread hai wu
I hit the exact same issue, thanks for confirming this. Basically one run (other than cert request run) in kickstart is not possible for puppet to completely configure a node in LDAP environment. On 3/10/11, Daniel Pittman wrote: > Actually, it is worse than that: it is "libc, as used by Ruby, as

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
Great! Is there any API to use to retrieve these information from dashboard database, so that we could generate a nice report via email, with short and verbose versions for such report? Thanks, Hai On 12/5/11, Nigel Kersten wrote: > On Mon, Dec 5, 2011 at 1:01 PM, hai wu wrote: > >

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
I quote what Nigel mentioned before: "We'll have this ready within the next two Dashboard point releases." What's the state for this one (To report 'noop' mode puppet run)? Is this feature available in some dashboard release as of now? Thanks, Hai On 5/7/11, Nigel Kersten wrote: > On Fri, May

[Puppet Users] passenger 3.0.7 and puppet function

2011-07-10 Thread hai wu
Hi, I am using passenger 3.0.7, Apache from RHEL5U6, and Puppet 2.6.9-1. After change certain puppet function content, I have to restart Apache in order for puppet client to see the change. Is this a known issue? Thanks, Hai -- You received this message because you are subscribed to the Google

[Puppet Users] file backup with augeas

2011-06-26 Thread hai wu
When using augeas to modify a file, would it backup the file first before changing it? I could not find such backup flag in augeas resource type .. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users

Re: [Puppet Users] Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/

2011-05-13 Thread hai wu
Are there some sample codes for ENC for complex environments? You mentioned before to code ENC would need a lot of efforts, it would be nice if there are some sample codes for reference .. On 5/13/11, R.I.Pienaar wrote: > > > - Original Message - > >> >> Let me not be taken as an extlooku

Re: [Puppet Users] augeas, rhel6, setm

2011-04-13 Thread hai wu
Thanks, but this would not work here, where we need 2 console (one for tty0, one for ttyS1). Augeas could handle in this case .. On Wed, Apr 13, 2011 at 6:40 AM, Dominic Cleal wrote: > On 28/03/11 08:54, hai wu wrote: > > It turns out augeas on RHEL6 is 0.7.2, which does not h

[Puppet Users] any better way to manage access control via /etc/passwd

2011-04-11 Thread hai wu
We need to manage /etc/passwd where there would be one line at the very end of the file to restrict access to all users not explictly allowed: +::/sbin/nologin If using delete_lines and append_if_no_such_lines (similar to this one at http://www.debian-administration.org/articles/528) to manag

Re: [Puppet Users] Catalog changes not picked up immediately

2011-04-05 Thread hai wu
We have same problem, using modules for all and using passenger. Have to run puppet agent -tv at least 2 times if need to test a change right away .. On 4/5/11, Felix Frank wrote: > On 04/05/2011 02:10 AM, Giovanni Bordello wrote: >> Hi there, >> >> when I do changes to my Puppet catalog files it

[Puppet Users] augeas, rhel6, setm

2011-03-28 Thread hai wu
It turns out augeas on RHEL6 is 0.7.2, which does not have 'setm' command available. 'setm' is available in augeas release 0.8, which is available in EPEL, but not available for RHEL6 (the reason is the package is already in RHEL6, thus no package would be released in EPEL for this. All I want to

[Puppet Users] augeas match != bug

2011-03-25 Thread hai wu
This bug at http://projects.puppetlabs.com/issues/5211 is showing as 'Closed', but I am still hitting it with Puppet 2.6.7-1 on RHEL6 (ruby 1.8.7). For /etc/security/limits.conf, got some error using almost the same code as here: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?ve

Re: [Puppet Users] Listing puppet modules

2011-03-22 Thread hai wu
Nice, thanks guys .. On Tue, Mar 22, 2011 at 2:05 PM, Cody Robertson wrote: > On 03/22/2011 02:51 PM, hai wu wrote: > >> Is there a commond to list all puppet modules applied for a certain node? >> I tried puppet-concat (motd-register), but it is not working if some >>

[Puppet Users] Listing puppet modules

2011-03-22 Thread hai wu
Is there a commond to list all puppet modules applied for a certain node? I tried puppet-concat (motd-register), but it is not working if some puppet module is in some run stage that is before or after "main" run stage. Is there another way to show all puppet modules to be applied for each puppet

Re: [Puppet Users] Re: parameterized classes and variable inheritance

2011-03-21 Thread hai wu
I am going to use parameterized class together with extlookup, where extlookup is used to provide different parameter value for different node based on extlookup_precedence, the parameterized class needs to be declared once in parent node, any issues you could forsee with this plan? - Hai On Mon,

Re: [Puppet Users] Testing changes before deployment

2011-03-20 Thread hai wu
Nikolay, I am interested in the details using cucumber-puppet to verify catalog compilation. Could you please elaborate on it? Thanks, Hai On Sun, Mar 20, 2011 at 3:59 AM, Nikolay Sturm wrote: > * Giovanni Bordello [2011-03-20]: > > How do you guys test puppet changes before they go live? > > W

Re: [Puppet Users] Package Repositories at http://yum.puppetlabs.com/

2010-12-29 Thread hai wu
Does it mean mod_passenger RPM package for 2.2.11 is not recommended going forward? I had to run the built-in script from rubygem-passenger to build passenger module for apache earlier since no such RPM package was available from both repositories .. Thanks, Hai On Wed, Dec 29, 2010 at 8:20 PM, J

Re: [Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread hai wu
There is no same version of mod_passenger from the same place I got rubygem-passenger: http://yum.puppetlabs.com/base/ Looks like it is known bug: https://projects.puppetlabs.com/issues/5374 On Tue, Dec 28, 2010 at 2:02 PM, Patrick wrote: > > On Dec 28, 2010, at 11:39 AM, hai wu

[Puppet Users] mod_passenger failed installation from puppetlab yum repo

2010-12-28 Thread hai wu
Just tried to install mod_passenger from puppetlabs yum repo, and it is failing with the following error: ---> Package mod_passenger.i686 0:2.2.5-1 set to be updated --> Processing Dependency: rubygem-passenger = 2.2.5-1 for package: mod_passenger ---> Package mod_passenger.x86_64 0:2.2.5-1 set to

Re: [Puppet Users] augeas and /etc/securetty

2010-09-08 Thread hai wu
hanging existing line. Hai On Wed, Sep 8, 2010 at 9:08 AM, Rob McBroom wrote: > On Sep 6, 2010, at 3:41 AM, hai wu wrote: > > > Hi, I need to add one line to /etc/securetty, say it needs to be ttyS1. > Do not add it if ttyS1 already exists in file /etc/securetty. > > > >

[Puppet Users] augeas and /etc/securetty

2010-09-06 Thread hai wu
Hi, I need to add one line to /etc/securetty, say it needs to be ttyS1. Do not add it if ttyS1 already exists in file /etc/securetty. How to achieve this using puppet module in puppet 2.5? This file is different than the other examples using augeas, this one only has value per line, not name-val p

Re: [Puppet Users] puppet dashboard not working for node group

2010-08-11 Thread hai wu
Thanks Igal! This is the exact root cause. It is working for me now, now that I know the workaround. Thanks, Hai On Wed, Aug 11, 2010 at 10:05 AM, Igal Koshevoy wrote: > On 08/11/2010 07:37 AM, hai wu wrote: > > I am using puppet-dashboard 1.0.3 for Ubuntu 10.04. It is not working >

[Puppet Users] puppet dashboard not working for node group

2010-08-11 Thread hai wu
I am using puppet-dashboard 1.0.3 for Ubuntu 10.04. It is not working for node group. I can add a node group via "Add Group". After this, from Edit node page, after trying to add this group to a node, the group field would still be empty, and if looking at the log, it shows for this "update" _metho

Re: [Puppet Users] Re: puppet and ubuntu 9.04

2010-05-08 Thread hai wu
wrote: > > > On Sat, May 8, 2010 at 4:09 PM, hai wu wrote: > >> Dependency would not work, I chose to install another ubuntu 10.04 and >> will try to migrate settings to the new server .. > > > I'm surprised. We run Hardy 8.04 here and use the Debian sid

Re: [Puppet Users] Re: puppet and ubuntu 9.04

2010-05-08 Thread hai wu
onable luck with > it. > > http://packages.ubuntu.com/lucid/puppet > > ken. > > On May 8, 10:26 pm, hai wu wrote: > > I am stuck with ubuntu 9.04 as puppet master server. But puppet version > is > > old on ubuntu 9.04: > > > > puppetmaster,puppet 0.24

[Puppet Users] puppet and ubuntu 9.04

2010-05-08 Thread hai wu
I am stuck with ubuntu 9.04 as puppet master server. But puppet version is old on ubuntu 9.04: puppetmaster,puppet 0.24.5-3 Would it be possible to upgrade it to the latest version, without upgrading the OS? -- You received this message because you are subscribed to the Google Groups "Puppet U

[Puppet Users] Re: puppet client on centos5 / apt-rpm

2009-06-22 Thread hai wu
Thanks! In my case it is: Package { provider => "aptrpm" } $ ls -l /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/*.rb -rw-r--r-- 1 root root 4309 Mar 23 22:48 appdmg.rb -rw-r--r-- 1 root root 1605 Mar 23 22:48 apple.rb -rw-r--r-- 1 root root 881 Mar 23 22:48 aptitude.rb -rw-r--r-- 1 root r