Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Jakov Sosic
On 07/26/2012 09:24 PM, Michael Stahnke wrote: I can't reproduce this. I used sudo because it was out-of-date on my system. Try to install php and all the modules pre-upgrade versions on some dev machine and then run yum install php-domxml and observe what happens. I bet it's the php-domxml t

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Jakov Sosic
On 07/26/2012 10:52 PM, jcbollinger wrote: On Thursday, July 26, 2012 9:57:27 AM UTC-5, Michael Stanhke wrote: Did something else pull that package in as a dependency? That is what I'm inclined to think, Matthew's denial notwithstanding. It is at any rate exactly the behavior that would

Re: [Puppet Users] where is live management?

2012-07-26 Thread Walter Heck
That is the difference between the open source dashboard and the PE version: the FOSS version doesnt have it. You'll need to use mcollective from the command line in order to make use of it. cheers, Walter On Fri, Jul 27, 2012 at 12:01 PM, Hai Tao wrote: > why my open source puppet dashboard d

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Jakov Sosic
On 07/26/2012 11:52 PM, Denmat wrote: MCollective server needs to be on all managed hosts including > the puppet master. The client can be installed on any node that > is required to issue the mco commands (usually the puppet master > but can be elsewhere as well). I have the following setup (n

[Puppet Users] where is live management?

2012-07-26 Thread Hai Tao
why my open source puppet dashboard does not have the "live management" tab which shows in the PE dashboard? is there a way that I can set it up? otherwise why do I need to install and configure Mcollective? Thanks. H. T. -- You received this message because you are subscribed to the Google Gr

Re: [Puppet Users] can dashboard and foreman be used at the same time?

2012-07-26 Thread Peter Brown
I have been wondering the same thing but I have started using puppetdb. Has anyone got foreman working with puppetdb? On 25 July 2012 07:44, llow...@oreillyauto.com wrote: > > > On Tuesday, July 24, 2012 4:27:39 PM UTC-5, Hai wrote: >> >> can dashboard and foreman share the same database then? >>

Re: [Puppet Users] how /etc/mcollective/facts.yaml be updated with facter

2012-07-26 Thread R.I.Pienaar
- Original Message - > From: "Hai Tao" > To: puppet-users@googlegroups.com > Sent: Friday, July 27, 2012 1:09:07 AM > Subject: [Puppet Users] how /etc/mcollective/facts.yaml be updated with facter > > HI, > > I installed mcollective server on a node, but I do not know how the > /etc/mc

[Puppet Users] how /etc/mcollective/facts.yaml be updated with facter

2012-07-26 Thread Hai Tao
HI, I installed mcollective server on a node, but I do not know how the /etc/mcollective/facts.yaml can be updated with the facter. It looks to me that I need to manually update the file. Can someone advise how the puppet agent can connect to the mcollective on a node? Thanks. -- You received

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Hai Tao
Thanks, Eric ! On Thu, Jul 26, 2012 at 3:57 PM, Eric Shamow wrote: > On Jul 26, 2012, at 6:50 PM, Hai Tao wrote: > >> OK. >> >> when I issue a "mco ping" command, it will discover its own subnet >> only, or it can across subnets? > > Hai, > > I would recommend reading up on how MCollective/Activ

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Eric Shamow
On Jul 26, 2012, at 6:50 PM, Hai Tao wrote: > OK. > > when I issue a "mco ping" command, it will discover its own subnet > only, or it can across subnets? Hai, I would recommend reading up on how MCollective/ActiveMQ works. There is documentation here: http://docs.puppetlabs.com/mcollective

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Hai Tao
OK. when I issue a "mco ping" command, it will discover its own subnet only, or it can across subnets? Thanks. On Thu, Jul 26, 2012 at 2:52 PM, Denmat wrote: > MCollective server needs to be on all managed hosts including the puppet > master. The client can be installed on any node that is req

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Denmat
MCollective server needs to be on all managed hosts including the puppet master. The client can be installed on any node that is required to issue the mco commands (usually the puppet master but can be elsewhere as well). Den On 27/07/2012, at 7:08, Hai Tao wrote: > Yes, I am installing MColl

Re: [Puppet Users] Intermittent freeze on select when running standalone

2012-07-26 Thread Joe Topjian
> > And why I cannot find anyone else with the same issue. > This sounds very similar, if not the same issue, that I have run into many times before. It happens during a simple "puppet apply". I always run apply with --verbose, and since there is no output at all, I figure the command has just hu

[Puppet Users] Re: librarian-puppet

2012-07-26 Thread Ryan Bowlby
We went with git super projects and submodules instead of librarian-puppet. Might want to look at using git for management of per puppet-module repositories as well. On Wednesday, July 25, 2012 7:37:10 AM UTC-7, llo...@oreillyauto.com wrote: > > I've heard this project mentioned a few times a

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Hai Tao
Yes, I am installing MCollective. So for MCollective, I do need to install MCollective client on the puppet server, while install the MCollective server on the nodes (clients), right? On Thu, Jul 26, 2012 at 12:25 PM, Michael Stahnke wrote: > You only need activeMQ in one spot to do mcollective

Re: [Puppet Users] Re: export a file from a node to another node

2012-07-26 Thread jcbollinger
On Thursday, July 26, 2012 10:41:28 AM UTC-5, Nikolaos Hatzopoulos wrote: > > as far as I understand for files you need a unique title in my case > /etc/mynodes.txt > > how you can export instead of a file a variable and let's say it has a > unique "title" > and it has as content a string can y

[Puppet Users] Re: Please send me your puppet formatting puzzles...

2012-07-26 Thread Henrik Lindberg
I forgot to cross post my reply: On 2012-26-07 18:03, llow...@oreillyauto.com wrote: > Is there a specific issue that should be used, or should one be filed > for these puzzles? Please just file a new issue, it helps if you also label it with the tag "formatter". Meanwhile, the approach on "l

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread jcbollinger
On Thursday, July 26, 2012 9:57:27 AM UTC-5, Michael Stanhke wrote: > > Did something else pull that package in as a dependency? > That is what I'm inclined to think, Matthew's denial notwithstanding. It is at any rate exactly the behavior that would be expected if some other package were in

[Puppet Users] Re: Weird "cannot reassign variable name on node" error when I try to use standalone

2012-07-26 Thread Nick Fagerlund
On Thursday, July 26, 2012 6:23:39 AM UTC-7, jcbollinger wrote: > > Hmm. I just realized that you are using Puppet in "apply" mode rather > than "agent" mode. The problem may simply be that puppet apply doesn't > want to handle node declarations. I don't use Puppet in "apply" mode, so > I'

Re: [Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Michael Stahnke
You only need activeMQ in one spot to do mcollective stuff. So, the Puppet Server is an acceptable place to do that. If you're not yet using mcollective, then you don't need ActiveMQ at all. Mike On Thu, Jul 26, 2012 at 11:41 AM, Hai Tao wrote: > on the puppet server ( i have only one), shou

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Michael Stahnke
I can't reproduce this. I used sudo because it was out-of-date on my system. [0] root@centos6-64 /tmp> rpm -q sudo sudo-1.7.4p5-9.el6_2.x86_64 [0] root@centos6-64 /tmp> yum list available | grep sudo sudo.x86_641.7.4p5-12.el6_3 updates [0] root@cento

Re: [Puppet Users] Puppet Dashboard and Ruby 1.8.7 for EL5 systems HOWTO (draft)

2012-07-26 Thread Ohad Levy
On Thu, Jul 26, 2012 at 9:40 PM, devzero2000 wrote: > Sorry for the top posting. > > If you look carefully you should find that this year red hat extend > the 5 and 6 lifetime to 10 year, without extended maintenance support. > But i agree that rhel 5 is not the best plattform for running foreman

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Bill Fraser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Matthew, According to the source, defaultto is set to 'installed', of which 'present' is an alias. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/type/package.rb Which means no package updates should have occurred. As for why they di

[Puppet Users] activeMQ client on the puppet server?

2012-07-26 Thread Hai Tao
on the puppet server ( i have only one), should I install the activeMQ client or server? If client, does it mean I need to install activeMQ server on all my nodes? Thanks. Hai T. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Puppet Dashboard and Ruby 1.8.7 for EL5 systems HOWTO (draft)

2012-07-26 Thread devzero2000
Sorry for the top posting. If you look carefully you should find that this year red hat extend the 5 and 6 lifetime to 10 year, without extended maintenance support. But i agree that rhel 5 is not the best plattform for running foreman or dashboard. Regards 2012/1/6, Michael Stahnke : > Jo, than

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread llow...@oreillyauto.com
On Thursday, July 26, 2012 1:16:40 PM UTC-5, Matthew Barr wrote: > > No, it updated all the PHP packages that were mentioned in the manifest. > There were about 20 listed, and no actual install happened. > > > I'm betting that it uses a default action of Latest, and just updated them > all beh

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Matthew Barr
No, it updated all the PHP packages that were mentioned in the manifest. There were about 20 listed, and no actual install happened. I'm betting that it uses a default action of Latest, and just updated them all behind the scenes. But I'd expect a logged action on that, as well as a comment

[Puppet Users] Re: can't get custom restart to work on a windows service

2012-07-26 Thread Dan McManus
I modified the windows.rb and it seems to work well now. Many thanks! Dan On Tuesday, July 24, 2012 5:00:09 PM UTC-6, Dan McManus wrote: > > Hi! > > I am encountering something that I am not sure is a bug or not, so I > thought I'd post a question. > > Running Puppet 2.7.18 on Windows 2003. > >

Re: [Puppet Users] why enterprise puppet does not use stored config and puppetdb

2012-07-26 Thread Deepak Giridharagopal
On Wed, Jul 25, 2012 at 4:30 PM, Hai Tao wrote: > I just installed PE, and notice that it does not use either stored > config nor puppetdb. It uses the activerecord to store facts in a > mysql db. > > Why puppetlabs let us to use these but they do not use them in their > enterprise version? The

[Puppet Users] Re: Please send me your puppet formatting puzzles...

2012-07-26 Thread llow...@oreillyauto.com
On Thursday, July 26, 2012 10:11:58 AM UTC-5, Henrik Lindberg wrote: > > Hi, > I have been working on a new puppet code formatter for Geppetto for some > time, and it is now starting to work quite well. The plan is to release > it in Geppetto 3.0. > > Sounds promising. > If you want to, yo

[Puppet Users] Re: Puppet Dashboard and Ruby 1.8.7 for EL5 systems HOWTO (draft)

2012-07-26 Thread Rost
Thanks a lot. All this works fine for me. Le jeudi 5 janvier 2012 02:04:34 UTC+1, Jo a écrit : > > NOTE: this is a draft document, just because there are some things here > that I'd really like to improve. Please let me know if you have a better > way to do these things. There's also a few i

Re: [Puppet Users] Re: export a file from a node to another node

2012-07-26 Thread Nikolaos Hatzopoulos
as far as I understand for files you need a unique title in my case /etc/mynodes.txt how you can export instead of a file a variable and let's say it has a unique "title" and it has as content a string can you do that? The scp won't work because I am trying to setup the ssh keys with taking the k

Re: [Puppet Users] Infrastructure Design help

2012-07-26 Thread Stuart Cracraft
Buy all the books at Amazon on Puppet (there are at least three) and read them all cover-to-cover. Engage the people at puppetlabs. They are friendly. Also read the entire puppetlabs.com site. Install Puppet Enterprise. Get a small test set under control and begin importing recipes from be

Re: [Puppet Users] fedoar 17 and puppet dashboard

2012-07-26 Thread Michael Stahnke
This has to do with Ruby 1.9.3 being the default (and only) ruby in Fedora 17. Puppe 2.7 in Fedora 17 has a couple of outstanding bugs in the 2.7.x series with Ruby 1.9.3. Reporting is one of them. It can't easily be fixed without modifying behavior. When Puppet 3.0 arrives, this is fixed with

[Puppet Users] Please send me your puppet formatting puzzles...

2012-07-26 Thread Henrik Lindberg
Hi, I have been working on a new puppet code formatter for Geppetto for some time, and it is now starting to work quite well. The plan is to release it in Geppetto 3.0. If you want to, you can help by sending "formatting puzzles" - i.e. "given input x, produce formatted result y". I am esp.

Re: [Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Michael Stahnke
Did something else pull that package in as a dependency? On Thu, Jul 26, 2012 at 7:37 AM, Matthew Barr wrote: > We just saw an interesting scenario: > Puppet 2.7.18 updated packages on a RHEL 6.2 box to a newer version without > logging that fact. > > We've already fixed our code so it doesn't

[Puppet Users] Puppet updated yum packages without logging?

2012-07-26 Thread Matthew Barr
We just saw an interesting scenario: Puppet 2.7.18 updated packages on a RHEL 6.2 box to a newer version without logging that fact. We've already fixed our code so it doesn't happen again, but I'm wondering if this is expected behavior or a bug. * I presume the default "ensure" behavior on pac

Re: [Puppet Users] Re: Weird "cannot reassign variable name on node" error when I try to use standalone

2012-07-26 Thread doug livesey
Actually, your first answer was bang on the money -- thankyou ever so much for that! I'm now hacking through all the rest of the errors and typos to get it all running -- it's maybe time I looked into the puppet test module! Thanks again, that's really appreciated, Doug. On 26 July 2012 14:23,

[Puppet Users] Re: Weird "cannot reassign variable name on node" error when I try to use standalone

2012-07-26 Thread jcbollinger
On Thursday, July 26, 2012 8:17:10 AM UTC-5, jcbollinger wrote: Hmm. I just realized that you are using Puppet in "apply" mode rather than "agent" mode. The problem may simply be that puppet apply doesn't want to handle node declarations. I don't use Puppet in "apply" mode, so I'm not sure

[Puppet Users] Re: Infrastructure Design help

2012-07-26 Thread Corey Hammerton
The way we are naming the nodes in our puppet environments are like this: First 2 letters: Property acronym 3rd letter: Environment (Prod = p, UAT = u, DEV = d) Next 2/3 letters: Node purpose (Application = app, Database = db, Membase = mb, etc) 2 Numbers: Unique node ID This will allow you to d

[Puppet Users] Re: Weird "cannot reassign variable name on node" error when I try to use standalone

2012-07-26 Thread jcbollinger
On Thursday, July 26, 2012 3:41:05 AM UTC-5, biot023 wrote: > > Hi -- I'm trying call apply in standalone mode on a configuration I've > written. > The way I call the command is like this: > $ puppet apply manifests/site.pp -v --modulepath modules > > The directory structure is simple: > . >

Re: [Puppet Users] Re: export a file from a node to another node

2012-07-26 Thread jcbollinger
On Wednesday, July 25, 2012 3:39:24 PM UTC-5, Nikolaos Hatzopoulos wrote: > > so we define that file would be exported from node1 like: > > @@file { "etc/mynode.txt:": >content => "${mycontent}" > } > Basically, yes, but 1. You need to specify an absolute path, such as "/etc/mynode.txt"

Re: [Puppet Users] a complete solution for puppet

2012-07-26 Thread Ashley Penney
I have heard from various other puppet users of Open Puppet installations of tens of thousands of nodes (at least last I heard, there's probably people with more) so it definitely scales that high. Generally they've had to restrict themselves on some features or sometimes use Puppet in slightly str

Re: [Puppet Users] Schema of dependency tree?

2012-07-26 Thread Jakov Sosic
On 07/26/2012 02:04 AM, James A. Peltier wrote: > Add graph = true to the agent section on your puppet client. > Then look in /var/lib/puppet/state/graphs. You can then use > dot to generate images of the dependencies. Thank you. FYI, the command is: dot -Tpng resoruces.dot -o resources.png O

[Puppet Users] Infrastructure Design help

2012-07-26 Thread karl
Hi guys, I've been tasked with bringing our unix environment under puppet control so I'm trying to source some Infrastructure design guidelines and recommendations & examples on how to apparoach designing the environment from a top down approach. By that I mean starting perhaps with the site.pp

[Puppet Users] Puppet and Java/OSGi?

2012-07-26 Thread Mikoo
Hi, We are looking for a framework that will facilitate deployment and configuration of our applications. Puppet seems to be one possibility but I have some questions: First of all, our applications are written in Java. Is there an impact concerning the use of Puppet? We also write our applica

[Puppet Users] Intermittent freeze on select when running standalone

2012-07-26 Thread david c
I have a new Ubuntu LTS VM running a simple manifest directly with puppet apply. About one time in 5 strace reports that puppet is sat there waiting on a select operation with low cpu usage. I'm wondering if this implies it's somehow gone into agent/deamon mode. Also just wondering if this is a

[Puppet Users] puppetlabs-release-CODENAME.deb

2012-07-26 Thread TC
Are the puppetlabs-release-CODENAME.deb packages signed? I tried executing the following apt-key adv --recv-key --keyserver pool.sks-keyservers.net 4BD6EC30 downloaded puppetlabs-release-precise.deb wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb then tried debsig-verify puppetl

Re: [Puppet Users] a complete solution for puppet

2012-07-26 Thread Stuart Cracraft
Hey, Chris: so that begs the question, do you think you have some "secret" or are just happier with fewer flashy gui's, more install/deployment scripts, and so forth. In other words, do you think the scaling of Open Puppet is adequate to scale much larger without the flash? Or, is there some

Re: [Puppet Users] cwd dot folders

2012-07-26 Thread Paul Tötterman
> > exec { myexectest: >path=> "/bin:/usr/bin:/usr/sbin", > cwd => "/home/user/.ssh", > creates=> "/home/user/.ssh/test.txt" > command =>"echo test > test.txt", > } > > http://

Re: [Puppet Users] a complete solution for puppet

2012-07-26 Thread James A. Peltier
- Original Message - | Hi, | | I notice that many components of puppet do not scale well and are not | intended for large environment. For example, stored config and | inventory service. In order to scale, we need to use puppetDB, right? | Another example is the webrick, and which should b

[Puppet Users] Weird "cannot reassign variable name on node" error when I try to use standalone

2012-07-26 Thread doug livesey
Hi -- I'm trying call apply in standalone mode on a configuration I've written. The way I call the command is like this: $ puppet apply manifests/site.pp -v --modulepath modules The directory structure is simple: . manifests/site.pp manifests/nodes.pp modules/ ... site.pp just includes

Re: [Puppet Users] How to acgieve Inter-Node Dependencies with Puppet?

2012-07-26 Thread Denmat
Hi, Not out of the box. You'd need a combination of puppet and MCollective to get orchestration. Cheers Den On 25/07/2012, at 16:27, ashrith wrote: > Hey guys, > > I am getting started with puppet and started writing some modules which > include client-server installation model. I was wond

Re: [Puppet Users] a complete solution for puppet

2012-07-26 Thread Ohad Levy
You could try using foreman installer(aka as plain puppet modules)[1], which does take care for the following 1. apache configuration + passenger 2. puppet master (with optional dynamic git branches / environments) 3. foreman stuff if you don't need storeconfigs, then you don't have to use it. i