[Puppet Users] PyPI package keeps upgrading/installing

2013-05-29 Thread Justin
I'm having a problem with a pypi package/the pip provider. The package name is riak_pb https://pypi.python.org/pypi/riak_pb/. The problem I'm having is puppet keeps installing/upgrading the package every run. I suspect it has something to do with the hyphen/underscore. I have also tried changin

[Puppet Users] I have some trouble with starting puppet-dashboard service :(

2013-05-29 Thread spencer hong
Hi all: good day! when i want to start puppet-dashboard,i got this message below [root@ers-devesx06-vm235 puppet-dashboard]# /etc/init.d/puppet-dashboard start Starting Puppet Dashboard: config.gem: Unpacked gem rspec-1.3.2 in vendor/gems h

Re: [Puppet Users] Re: PuppetDB database tunning

2013-05-29 Thread shell heriyanto
Already update to 1.3.1, the old database still there. Theres script for remove it via postgres script or puppet stanza to clean this such as after 30days old? On Wed, May 29, 2013 at 12:19 PM, shell heriyanto wrote: > Hi Ken thanks for your reply, > We using Postgresql, we just have about 150

Re: [Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-29 Thread Tim Schaefer
On Tuesday, May 28, 2013 11:03:26 PM UTC-7, Eric Sorenson wrote: > Absolutely true Tim and while I thank the folks on the thread who chimed > in, I totally understand your frustration. > > Sure docs are never perfect but the fact is you were looking for something > specific and couldn't find it

[Puppet Users] Re: How can I use "puppet apply" with hiera?

2013-05-29 Thread Campee
Upgrading my version of puppet fixes the issue, I guess I'll just do that. On Wednesday, May 29, 2013 4:06:34 PM UTC-7, Campee wrote: > > I'm running Puppet v2.7.14. I have a puppet master server with Hiera and > it works great. I also want to be able to apply my manifests locally on a > node.

[Puppet Users] Re: How can I use "puppet apply" with hiera?

2013-05-29 Thread Campee
--hiera_config is an invalid option for the version of puppet that I'm using. I must need a newer version.. On Wednesday, May 29, 2013 4:06:34 PM UTC-7, Campee wrote: > > I'm running Puppet v2.7.14. I have a puppet master server with Hiera and > it works great. I also want to be able to apply m

[Puppet Users] Re: How can I use "puppet apply" with hiera?

2013-05-29 Thread Vlad
I use the following: sudo puppet apply --pluginsync --hiera_config /path/to/hiera.yaml --modulepath=/home/user/puppet/modules/ /home/user/puppet/manifests/site.pp On Wednesday, May 29, 2013 6:06:34 PM UTC-5, Campee wrote: > > I'm running Puppet v2.7.14. I have a puppet master server with Hiera a

[Puppet Users] How can I use "puppet apply" with hiera?

2013-05-29 Thread Campee
I'm running Puppet v2.7.14. I have a puppet master server with Hiera and it works great. I also want to be able to apply my manifests locally on a node. I have installed Hiera on my node and I can verify using the Hiera command line application that values can be looked up: user@tag5-4-qa-sjc:~

Re: [Puppet Users] mcollective setup question

2013-05-29 Thread Brendan O'Bra
Does /etc/mcollective/server.cfg look correct (port, servername, etc.)? Is activemq running (and on correct port)? iptables blocking anything? The MCollective module can make things a little easier, btw: https://forge.puppetlabs.com/puppetlabs/mcollective On Wed, May 29, 2013 at 2:12 PM, Mike Bo

[Puppet Users] mcollective setup question

2013-05-29 Thread Mike Bowden
I am currently trying to get mcollective 2.2.4 up and running on RHEL 6 activeqm appears to be running and bound to the correct port, I see the server and client connections to the activemq box. However when I run mco ping all "seems to go well" except I get "No responses recieved" and above that

Re: [Puppet Users] puppet server passenger configuration

2013-05-29 Thread Dan White
OMG ! I had shot myself in the foot by moving {confdir} from /etc/puppet and then specifying confdir in my config.ru file. Using just "--config" may be the answer I need. Many thanks. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of

[Puppet Users] Vancouver, BC, CA puppet meetup group

2013-05-29 Thread Vincent Janelle
I'm in the process of setting up a puppet meetup group, and am trying to attract members: http://www.meetup.com/Vancouver-Puppet-Automation/ If you're in or near the Vancouver BC, Canada area and are interested in talking about puppet and things, sign up! Thanks. -- You received this messa

[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2013-05-29 Thread Jeff Silverman
I see my mistake. On the client, I should have deleted /var/lib/puppet/ instead of /var/lib/puppet/ssl. Deleting /var/lib/puppet/ cleared the issue. Also, the command puppetca --clean cert CLIENT is outdated. The new command is puppet cert clean CLIENT_FQDN where CLIENT_FQDN is the client'

Re: [Puppet Users] puppet server passenger configuration

2013-05-29 Thread Matt
Thanks, that is exactly what I needed. On Wednesday, May 29, 2013 2:17:06 PM UTC-4, Ramin K wrote: > > On 5/29/2013 10:53 AM, Matt wrote: > > I'm wondering if its possible to create virtual hosted puppet masters > > using passenger for isolation between groups/customers. How would I go > > abou

[Puppet Users] Hiera Environment Wildcard

2013-05-29 Thread phundisk
I am looking to use hiera in my environment but I cannot get past one thing. In our current puppet code we have some case statements based on environments. The case statements are like the following... 'production' { do this } /^aw/ { do this } # this is for all AWS stuff 'aws' { do this } # th

[Puppet Users] optional defined type and dependencies

2013-05-29 Thread Fabio Sangiovanni
Hi everybody, I'm a new puppet user, and I have a question about defined types and relationships. I want a defined type to be part of a module. It manages optional configuration files, so the user can decide to declare it one or more times or not to declare it at all. In the case the defined ty

[Puppet Users] Unable to Connect to Master

2013-05-29 Thread Jordan Edmunds
I had a vagrant environment working perfectly yesterday, then left it alone for about 10 hours, come back, and having the same error message every time I try to run the agent. Destroyed and brought back up both VM's but still having the same results. I really have no idea where to start with thi

[Puppet Users] Re: Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key

2013-05-29 Thread Jeff Silverman
How do you delete the cert on the server? I've tried several approaches, and none of them seem to work. rm /var/lib/puppet/ssl/ca/signed/centos-6-4.commercialventvac.com.pem failed. puppetca –clean centos-6-4.commercialventvac.com.pem Required that I install puppet-common which I did and t

Re: [Puppet Users] puppet server passenger configuration

2013-05-29 Thread Ramin K
On 5/29/2013 10:53 AM, Matt wrote: I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? Assuming a dir structure like this,

[Puppet Users] puppet server passenger configuration

2013-05-29 Thread Matt
I'm wondering if its possible to create virtual hosted puppet masters using passenger for isolation between groups/customers. How would I go about pointing through apache/passenger to point to a different puppet conf file? -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Puppet 3.2.1 default log level change?

2013-05-29 Thread Josh Cooper
On Mon, May 27, 2013 at 10:24 AM, Andreas Ntaflos wrote: > On 27/05/13 11:20, Matthias Saou wrote: > >> Hi, >> >> The replies to the 3.2.1 release announcement seem to indicate I'm not >> the only one to have been bitten by the change. >> > > I've opened an issue for this: http://projects.puppetla

[Puppet Users] Re: mysql create user problem

2013-05-29 Thread Thomas
Never mind! Some how mysql's root user lost privileges and once I fixed that the mysql module worked great! On Wednesday, May 29, 2013 11:05:10 AM UTC-4, Thomas wrote: > > I'm new to using the puppetlabs/mysql forge module and having trouble > creating the user for performing backups. My guess i

[Puppet Users] mysql create user problem

2013-05-29 Thread Thomas
I'm new to using the puppetlabs/mysql forge module and having trouble creating the user for performing backups. My guess is that I'm overlooking something simple... Any advise is appreciated! I'm using puppet 3.1.1 on the master and puppet 2.7.14 on the node both on RHEL 6.0, mysql 5.1.47, mysq

[Puppet Users] augeas for hosts.allow

2013-05-29 Thread mohammad kashif
Hi I am trying to configure hosts.allow using augeas with puppet. I can add a ip range if process exists with this code augeas { "Add ${name} to ${process}": context => "/files/etc/hosts.allow", changes => "set *[process='${process}']/client[last()+1] ${name}", onlyif => "match *[proce

Re: [Puppet Users] Developing custom type/providers for multiple OS

2013-05-29 Thread Trevor Vaughan
David, You'll need to use confine statements to set the suitability of a particular provider to the OS. See: http://projects.puppetlabs.com/projects/1/wiki/Development_Provider_Developmentunder 'Suitability'. The new Types and Providers book covers this reasonably well also. Finally, take a loo

Re: [Puppet Users] Re: Execution order of classes in a node

2013-05-29 Thread jcbollinger
On Tuesday, May 28, 2013 3:02:20 PM UTC-5, Bikram wrote: > > jcbollinger stJude.org> writes: > > > If you apply only the first two classes to a clean system, does the > domain > get created? I bet it does.John > > > > > Yes, if I run the first two classes first and then separately run the

Re: [Puppet Users] module dependancy

2013-05-29 Thread Tom De Vylder
Hi, Class ['pythonpip'] -> Class ['myapp'] … should do the trick for you. Regards, Tom On 14 May 2013, at 20:36, Matt F wrote: > I have two modules, and I'm having some dependacy problems: > > 1 - Install python "pip": > > class pythonpip::install { > file {"/root/.pip": > ens

[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-29 Thread Steve F
My puppet documentation from running # puppet master --genconfig reveals: # How often puppet agent applies the client configuration; in seconds. # Note that a runinterval of 0 means "run continuously" rather than # "never run." If you want puppet agent to never run, you should start

Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server

2013-05-29 Thread Keiran Sweet
Hi There, Puppetlabs also provide some pre-configured virtual machines that can help you rapidly learn the structure of the product. You can check them out here: http://info.puppetlabs.com/download-learning-puppet-VM.html K On Tuesday, May 28, 2013 3:55:07 PM UTC+1, Ripunjay Godhani wrote: > >

[Puppet Users] Developing custom type/providers for multiple OS

2013-05-29 Thread David Campos
Hello all, I am developing a few custom providers for some features that I need into my system (such as dealing with different zipped files or generating some JSON data based on OS files) and I have hit into a question about "how to do this for multiple OS?" Lets focus into the zipped file pro

Re: [Puppet Users] Puppet displays title as 'main'

2013-05-29 Thread Erik Dalén
A resource declaration doesn't create a new variable scope, so the $title variable has the value of the scope containing the resource, in this case stage main. On 29 May 2013 08:28, wrote: > I have a file with this code in it: > > notify {'a': > message => "${title}" > } > > The output after