[Puppet Users] Re: Could not render to pson: undefined method 'merge' for []:Array

2012-09-09 Thread Jon McKenzie
I'm having this issue as well, with a nearly identical stack trace (I'm running on RHEL, however). Anyone have any ideas? I stuck some debugs inside my provider methods, but they don't ever seem to get executed. On Wednesday, July 11, 2012 4:08:42 PM UTC-4, Micah Martin wrote: > > This ones go

[Puppet Users] Question: Custom puppet type for semanage, converting inputs to flags?

2012-09-09 Thread Jon McKenzie
"--" when "directory" value = "-d" ... etc.. end end Is this the "correct" way to implement this? Should this even be in the type definition (since these are details of the provider)? Thanks for your help, Jon

[Puppet Users] Re: Manually creating class resource in site.pp works, calling same class from ENC silently fails

2012-08-24 Thread Jon McKenzie
cript will silently skip the YAML config if it isn't readable (will now remedy that..). Thanks for your help -Jon On Friday, August 24, 2012 9:11:57 AM UTC-4, Jon McKenzie wrote: > > I altered my ENC script to get rid of the {} on empty params, and instead > follow what's prescribe

[Puppet Users] Re: Manually creating class resource in site.pp works, calling same class from ENC silently fails

2012-08-24 Thread Jon McKenzie
nt, though, it still is only getting a subset of the defined ENC classes. I've tried stopping and restarting the web server as well, which doesn't appear to have any effect. I'm not sure what's going on On Thursday, August 23, 2012 8:37:24 PM UTC-4, Jon McKenzie wrote: > &

[Puppet Users] Re: Manually creating class resource in site.pp works, calling same class from ENC silently fails

2012-08-23 Thread Jon McKenzie
! > > On Thursday, August 23, 2012 1:12:03 PM UTC-7, Jon McKenzie wrote: >> >> >> Is there a way on the server side to validate the ENC -> class >> transformation for clients? I can see in the logs when the ENC script gets >> run, but there's not m

[Puppet Users] Manually creating class resource in site.pp works, calling same class from ENC silently fails

2012-08-23 Thread Jon McKenzie
e a way on the server side to validate the ENC -> class transformation for clients? I can see in the logs when the ENC script gets run, but there's not much other detail Thanks! Jon -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

Re: [Puppet Users] systemd '.service' name suffix?

2012-08-20 Thread Jon Stanley
perhaps people would want to manage other types of units with puppet - for which a new type could be written, but given that they share so much with "services", it makes sense to just overload that, IMO - so I guess the answer is that there's pros and cons to both approaches :) $0.02

[Puppet Users] Re: nginx-passenger authentication / certificate issue

2012-07-12 Thread Jon Jaroker
$ssl_client_s_dn; # passenger_set_cgi_param HTTP_X_CLIENT_VERIFY $ssl_client_verify; passenger_set_cgi_param SSL_CLIENT_S_DN $ssl_client_s_dn; passenger_set_cgi_param SSL_CLIENT_VERIFY$ssl_client_verify; The puppet client is now able to connect normally. Regards, Jon On Jul 12, 10:44 am

[Puppet Users] nginx-passenger authentication / certificate issue

2012-07-12 Thread Jon Jaroker
ady tried deleting and recreating certificates for the agent and master. Thank you, Jon -- 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, s

Re: [Puppet Users] "Listing" the keys in a hash as an array

2012-06-26 Thread Jon Jackson
I'm going to add to this thread because this function (keys - Returns the keys of a hash as an array ) and other similar utility functions are now just a download away in the puppet stdlib http://forge.puppetlabs.com/puppetlabs/stdlib (this page currently lists a few of the functions) -- Yo

[Puppet Users] custom type definition failing (for me) in puppetlabs-keystone module

2012-06-22 Thread jon
break this? I've tried the module both from the released version in the forge and latest git head both show the same error. Help? -Jon -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread Jon Schewe
On Tue, Jun 19, 2012 at 3:41 PM, Nick Fagerlund < nick.fagerl...@puppetlabs.com> wrote: > > > On Tuesday, June 19, 2012 1:24:42 PM UTC-7, Jon Schewe wrote: >> >> >> So what I'm currently doing is perfectly valid and should continue to >> work with 2

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread Jon Schewe
On Tue, Jun 19, 2012 at 2:43 PM, Nick Fagerlund < nick.fagerl...@puppetlabs.com> wrote: > > > On Tuesday, June 19, 2012 11:02:55 AM UTC-7, Jon Schewe wrote: >> >> >> Am I getting this right that instead of just leaving the functionality in >> puppet I should

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread Jon Schewe
stead of just leaving the functionality in puppet I should now call out to another application to have node-specific variables? This seems like a step in the wrong direction. It's really nice that in puppet 2.6 I've been able to keep all of my configuration in my nodes.pp file. -- Jon Sc

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread Jon Schewe
On Tue, Jun 19, 2012 at 7:20 AM, R.I.Pienaar wrote: > > > - Original Message - > > From: "Jon Schewe" > > To: puppet-users@googlegroups.com > > Sent: Tuesday, June 19, 2012 1:13:09 PM > > Subject: Re: [Puppet Users] Re: Correct way to handle no

Re: [Puppet Users] Re: Correct way to handle node-specific variable values in puppet 2.7

2012-06-19 Thread Jon Schewe
> qualified. Hopefully there will be some clarification on all the variable > and variable interpolation issues that 2.7 has highlighted, before the > release of 2.8/3.0 > > This is just what I have found that works. > > G > > > On Tuesday, June 19, 2012 4:05:26 AM

[Puppet Users] Correct way to handle node-specific variable values in puppet 2.7

2012-06-18 Thread Jon Schewe
ated because of how variables are looked for and this behavior will stop working in 2.8. So what is the correct way to handle this in 2.7? Thank you. -- Jon Schewe | http://mtu.net/~jpschewe -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] using hiera for node classification

2012-06-18 Thread jon
Hi All, I've been trying to use Hiera for node classification, my sit.pp is simple: node default { hiera_include("classes") } which has been working well with simple class definitions like: user@host$ cat testagent.yaml2012-06-18 14:55:48 jon pts/13 --- classes: -

Re: [Puppet Users] future use of fully qualified variable names

2012-06-15 Thread Jon Schewe
On Thursday, January 26, 2012 11:24:19 AM UTC-6, Gary Larizza wrote: > > > > On Thu, Jan 26, 2012 at 7:55 AM, Alexander Swen wrote: > >> hi, >> >> in the logs of our 2.7.10 puppet master we find messages like these: >> Dynamic lookup of $functie at /etc/puppet/manifests/server_classes.pp:52 >> i

[Puppet Users] Re: Problems connecting to puppet master

2012-06-08 Thread Jon Skarpeteig
log/puppet/rails.log; change from root to puppet failed: Failed to set group to '122': Operation not permitted - /var/log/puppet/ rails.log How to fix? On Jun 8, 2:10 pm, Jon Skarpeteig wrote: > As root I executed: puppet agent --test --server myserver.domain > > info: Retrieving

[Puppet Users] Problems connecting to puppet master

2012-06-08 Thread Jon Skarpeteig
As root I executed: puppet agent --test --server myserver.domain info: Retrieving plugin err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/plugins with {:checksum_type=>"md5", :ignore

[Puppet Users] Puppet for installation of ofed-infiniband stack

2012-05-19 Thread Jon Tegner
his (could run the install script on all the nodes, but I would prefer to incorporate it in puppet). Hints would be appreciated. Regards, /jon -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppe

[Puppet Users] Question About filebucket vs. clientbucket on Puppet 0.22.1

2012-05-01 Thread Jon Forrest
/docs.puppetlabs.com/references/stable/type.html#file there is a sample resource definition that also contains "backup => main" but it doesn't answer this question. I'm guessing that it just means the puppetmaster server but it would be nice to see the official definition. Cordi

Re: [Puppet Users] Puppet Actions in Parallel?

2012-03-04 Thread Jon Forrest
rallelism in MRI is not so great. JRuby's better, being hosted on the JVM, but, well, MRI's RAM consumption is already bad enough. I'm talking about process-level parallelism so I don't think the virtual machine implementation matters here. Jon -- You received this mess

[Puppet Users] Puppet Actions in Parallel?

2012-03-04 Thread Jon Forrest
this. Am I missing something? Is this a good idea? Cordially, Jon Forrest -- 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

Re: [Puppet Users] Certificate Annoyance: Time Differential

2012-02-27 Thread Jon Davis
amp;& puppet agent --server puppet.company.com` -Jon On Mon, Feb 27, 2012 at 02:58, Derek J. Balling wrote: > We recently had a situation where servers weren't able to use their > auto-sign'ed certificates because their local clock was months off from > real-time. Of course, i

Re: [Puppet Users] Re: "SSLv3 read server certificate B: certificate verify failed." -- Not time related

2012-02-22 Thread Jon Davis
all again. But for now it seems to be working. Freaking massive headache. On Wed, Feb 22, 2012 at 12:11, Gary Larizza wrote: > > > On Wed, Feb 22, 2012 at 11:58 AM, Jon Davis wrote: > >> How can I track down where the issue for this is? I've found some bugs >> a

[Puppet Users] Re: "SSLv3 read server certificate B: certificate verify failed." -- Not time related

2012-02-22 Thread Jon Davis
ppear to be "OK" versions by everyone's posting. I've got as far as doing a `puppet cert clean --all` and `puppet cert clean puppet.company.com` and regenerating. Still doesn't work. I've also followed every step on only Puppet Doc's page that

Re: [Puppet Users] "SSLv3 read server certificate B: certificate verify failed." -- Not time related

2012-02-21 Thread Jon Davis
On Tue, Feb 21, 2012 at 17:05, Russell Van Tassell wrote: > Just a couple of issues... > > On Tue, Feb 21, 2012 at 4:56 PM, Jon Davis wrote: > >> I recently built, added to puppet and then nuked a server. Before I >> re-added the machine (after I rebuilt it, with t

[Puppet Users] "SSLv3 read server certificate B: certificate verify failed." -- Not time related

2012-02-21 Thread Jon Davis
erver puppet.company.com`. The server is named puppet-1.company.com but puppet. is a valid cname. I've tried rebooting the puppet server, I've tried upgrading it, just about anything I can think of. Any help would be greatly appreciated. -Jon PS Both clients and server are running Ubuntu: root@puppe

Re: [Puppet Users] Re: vmware provisioning

2012-02-16 Thread Jon Sabo
I wrote some code to create the virtual hardware on esx/esx(i) hypervisors using jython and the vsphere api.  You can find my poorly written codes here on github. https://github.com/jsabo/vmware_misc/blob/master/vmware_cli.py I was building the esx(i) boxes with Cobbler and then as part of a firs

Re: [Puppet Users] Infiniband and Puppet - Strange Messages

2012-01-02 Thread Jon Stanley
On Mon, Jan 2, 2012 at 5:24 AM, ew wrote: > Any ideas on that ? Looks like puppet is internally using ifconfig, which is deprecated, and some ioctl that it's doing isn't liked by the IB driver. Just a warning and nothing to be particularly concerned about (unless you're using puppet to configure

Re: [Puppet Users] Is puppet right for us?

2011-12-07 Thread Jon Davis
so why? > > I think all 3 options are fairly similar (I just recently went digging for automation tools myself, and settled on Puppet). Each one has their strengths and weaknesses. -- Jon [[User:ShakataGaNai]] / KJ6FNQ http://snowulf.com/ http://www.linkedin.com/in/shakataganai <http:/

[Puppet Users] Multi-Dimensional Arrays and Templates?

2011-11-21 Thread Jon Davis
Can I just do something like: varnish::config { "something" : sites => [ ["one.domain.com", "apache", "false"], ["two.domain.com", "apache", "false"], ["secure.domain.com", "lighttpd", "true"] ] }

Re: [Puppet Users] Multiple variables in a file path?

2011-11-17 Thread Jon Davis
That did it, thanks. I "couldn't find" any examples of variable isolation in puppet, but going back now I realize there were... I just missed em. Much appreciated -Jon On Thu, Nov 17, 2011 at 09:10, Christopher Wood wrote: > On Thu, Nov 17, 2011 at 09:04:09AM -0800, Jon Davis

[Puppet Users] Multiple variables in a file path?

2011-11-17 Thread Jon Davis
the file it creates is /etc/apache2/sites-enabled/500\-domain.name.tld - which is closer. I'm not really sure what to do in this case? -- Jon [[User:ShakataGaNai]] / KJ6FNQ http://snowulf.com/ http://www.linkedin.com/in/shakataganai <http://twitter.com/shakataganai> -- You received this

[Puppet Users] lighttpd / modifying variables in templates?

2011-11-15 Thread Jon Davis
here anyway to modify the variable in the template to add those slashes or am I stuck passing the information in twice? Thanks -- Jon [[User:ShakataGaNai]] / KJ6FNQ http://snowulf.com/ http://www.linkedin.com/in/shakataganai <http://twitter.com/shakataganai> -- You received this message

[Puppet Users] Issue with server certificates

2011-11-08 Thread Jon Davis
and the certificate says that it's the same domain name. I can even pull out the certs from the client machine and they all match the names. I'm totally at a loss and I could really use some help. -- Jon [[User:ShakataGaNai]] / KJ6FNQ http://snowulf.com/ http://www.linkedin.com/in/shaka

Re: [Puppet Users] Publicly accessible server?

2011-10-20 Thread Jon Davis
't be able to find out. Or maybe I dont understand what is publicly accessible on Puppet server. On Thu, Oct 20, 2011 at 16:53, Jan wrote: > Hi John, > > On 10/21/2011 12:13 AM Jon Davis wrote: > > I have a numer of hosts in different locations I want to manage with >

[Puppet Users] Publicly accessible server?

2011-10-20 Thread Jon Davis
I have a numer of hosts in different locations I want to manage with puppet. Can I set up my Puppet server to be publicly accessible, or is this a horribly bad idea likely to end with a destroyed server? -- Jon [[User:ShakataGaNai]] / KJ6FNQ http://snowulf.com/ http://www.linkedin.com/in

Re: [Puppet Users] Email Protection? (NON SUBJECT ORIENTED)

2011-09-15 Thread Jon Forrest
you improve your junk email filter. I believe it's not the job of the list maintainer to "protect" email addresses unless the maintainer claims up from that postings will be anonymous. Cordially, Jon Forrest -- You received this message because you are subscribed to the Google

[Puppet Users] Re: How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-15 Thread Jon Jaroker
Hello Jon, Here is a process that I follow to avoid the type of misconfiguration problem you encountered. This process is used to *avoid* the mis- configured system problem. It is not a direct test that Puppet will generate a valid configuration file from a template. 1) A "local" e

Re: [Puppet Users] How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-14 Thread Jon Forrest
do a regular run. In fact, this is only a special case of the more general problem of getting access to any file generated by a puppet run without actually putting the files in the ultimate destination. In other words, it would be like a --test run except files will be generated and kept. Jon Fo

Re: [Puppet Users] How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-10 Thread Jon Forrest
On 9/10/2011 6:57 PM, Jonathan Stanton wrote: Maybe I'm missing something here, but I think Jon was asking something a bit different -- he doesn't want to check the validity of the erb template (i.e. ruby syntax check) but syntax check the named zone file generated by the template.

[Puppet Users] How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-10 Thread Jon Forrest
making a normal puppet run so that the bad files won't get distributed. Can anybody point me to a technique for doing this? Cordially, Jon Forrest -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email

[Puppet Users] Re: 'requires' dependency in file-fragments pattern was not honored

2011-07-21 Thread Jon Jaroker
hank you for checking the class. I think it is correct and this dependency problem is a bug. Regards, Jon == class s_sudo ( $wheel_req_password = true ) inherits s_sudo::params { ### Assemble the sudo check file from fragments file { "Sudo_Fragment_Directory

[Puppet Users] 'requires' dependency in file-fragments pattern was not honored

2011-07-20 Thread Jon Jaroker
trying to understand the reason. The class and puppet output are below. I am using puppet 2.6.9. Thank you, Jon = class s_sudo ( $wheel_req_password = true ) inherits s_sudo::params { ### Assemble the sudo check file from fragments file { "Sudo_Fragment_

[Puppet Users] Problems In New "Pro Puppet" Book

2011-07-10 Thread Jon Forrest
;ve found so far. Some of these are embarrassingly trivial but some are true mistakes. I expect to find more. Jon Forrest -- Pro Puppet Errata M = mistake U = unclear T = typo E = text edit (E) 1) Page 1, first two sentences. "configuration" -> "configurations" (U)

[Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-29 Thread Jon Jaroker
ecify dependencies also intermittently fails.) Please let me know if you want me to create a bug for this, or whether you have debugging or workaround recommendations. Regards, Jon --- node 'node02' inherits local { S_nfs::Client <| |> -> Class['role_frontend']

[Puppet Users] Re: Setting requirements using collection -vs- before/require meta-parameters

2011-06-27 Thread Jon Jaroker
few days. I believe my syntax is right and that the issue is specific to the dependency. I wonder if a timeout is occurring before the NFS share is mounted, but this timeout failure is not being reported. I am not sure how to isolate the issue further, but the workaround has been OK. Regards, Jon

[Puppet Users] Setting requirements using collection -vs- before/require meta-parameters

2011-06-24 Thread Jon Jaroker
ot mounted. I realize that the top example is applying the relationship to all 'nfs::client' defined types (which is fine). But why should this method work while the explicit 'before' or 'require' approach fail? Jon -- You received this message because you are subscri

[Puppet Users] Re: How to use Puppet to ensure the Sun JDK is installed on CentOS-5.5

2011-04-12 Thread Jon Jaroker
I have the same requirement to install Sun JDK, not openJDK. Below is the module I am using. I would be grateful for suggestions on how this install can be done better. Thank you, Jon class java { package {"java-1.6.0-openjdk": ensure => absent, } exec {

[Puppet Users] Debian 6 puppetmaster package

2011-03-18 Thread Jon
Hi, I'm trying to get puppet and puppetmaster running on a fresh Debian 6 VM. I've installed both using 'apt-get install'. The client seems fine, however when I try to start puppetmaster I get the following error: /usr/lib/ruby/1.8/openssl/x509-internal.rb:22:in `create_ext': subjectAltName = DNS

[Puppet Users] Re: External node script flagging errors.

2011-03-02 Thread Jon
abs.com/guides/external_nodes.html says: "if you want a node to not be recognized, and to be treated as though it was not included in the configuration, your script should exit with a non-zero exit code" cheers Jon -- You received this message because you are subscribed to the Goog

[Puppet Users] Re: Puppet 2.6 on Solaris

2011-02-01 Thread Jon
by/1.8/bin and a config path of /etc/puppet Regards Jon On Jan 31, 8:06 pm, David Schmitt wrote: > Hi all, > > I'm looking for current puppet packages for Solaris and found only > blastwave (0.25.5), opencsw (http://www.opencsw.org/packages/CSWpuppet/, > 0.25.4) and Gary

[Puppet Users] Puppet Dashboard - Blank "Run Time" Chart in Node Details

2011-01-24 Thread Jon
t;Run Time" chart is completely blank and appears to be using the UTC variable. Is it possible to move this configuration to a config file that is persistent through upgrades? I noted that when I upgraded from RC4 -> RC6 the time variable was overwritten. Regards Jon -- You received

[Puppet Users] Re: Thoughts on dropping 0.24.x client support in Puppet 2.7?

2010-11-26 Thread Jon Wilson
On Nov 26, 2:47 am, Nigel Kersten wrote: > So they care about your clients but not your servers? Why are they different? Because the clients are customer facing, and the servers are not. Different outage windows, different change control, different standard operating environments. -- You rece

[Puppet Users] "No source module metadata found"??

2010-10-13 Thread Jon Charette
Trying to debug something simple that I'm sure I'm just missing. I create a module, mysql. Code is at http://www.pastie.org/1218470 I try to apply it and I get the following error: err: No source module metadata provided for mysql Server is 2.6.2, client is 2.6.1. Ideas? -- You received thi

[Puppet Users] Re: generating catalog files

2010-08-03 Thread Jon Wilson
.puppetlabs.com/projects/1/wiki/Puppet_Internals). That will be sufficient for unit tests that catch compile-time manifest errors. I'll have to work a little harder to get more usable output (Yaml?), or to write any tests that use facts (real, cached or faked). On Aug 3, 9:20 pm, Jon Wilson wro

[Puppet Users] Re: generating catalog files

2010-08-03 Thread Jon Wilson
Thanks Patrick, I'll give that a try. I'm not too worried about breaking existing configuration, or cached facts. Everything will be running in a sandbox, which will be clean prior to every test run. On Aug 3, 12:22 pm, Patrick Mohr wrote: > On Aug 2, 2010, at 5:50 PM, Jon

[Puppet Users] generating catalog files

2010-08-02 Thread Jon Wilson
Linux, Puppet 0.25.4, Facter 1.5.7, Ruby 1.8.5. Thanks, Jon -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email t

[Puppet Users] playing nicely with foreman

2010-07-15 Thread Jon Choate
I currently have a define for setting up files in /etc/apt/preferences.d for different packages on different machines: define apt::preferences ( $pattern, $pin, $pin_priority) { $cont = "Package: #{pattern} Pin: #{pin} Pin-Priority: #{pin_priority}" file{"

Re: [Puppet Users] dpkg in puppet returns 2 but at command line returns 0

2010-07-13 Thread Jon Choate
Thanks! adding /usr/sbin and /sbin seems to have fixed it. On Mon, Jul 12, 2010 at 7:17 PM, Rohan McGovern wrote: > ext Jon Choate said: > > I have an exec defined as > > > > exec {"dpkg --configure -a": > >path => "/usr/bin:/bin",

[Puppet Users] dpkg in puppet returns 2 but at command line returns 0

2010-07-12 Thread Jon Choate
I have an exec defined as exec {"dpkg --configure -a": path => "/usr/bin:/bin", user => root } puppet complains: Exec[dpkg --configure -a]/returns: change from notrun to 0 failed: dpkg --configure -a returned 2 instead of one of [0] but when I run dpkg --configure -a outside puppet it ret

Re: [Puppet Users] managing php pecl modules

2010-07-08 Thread Jon Charette
These are ubuntu. I'll check out those package now. Thanks much for the pointers! On Thu, Jul 8, 2010 at 5:55 PM, Marc Fournier wrote: > On Thu, 8 Jul 2010 10:25:52 -0400 > Jon Charette wrote: > > > Does anyone have a module that handles pecl effectively? > > Mo

[Puppet Users] managing php pecl modules

2010-07-08 Thread Jon Charette
Does anyone have a module that handles pecl effectively? Thanks much. -Jon. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, sen

[Puppet Users] node inheritance for external nodes

2010-06-18 Thread Jon Choate
Is it possible to express node inheritance when using external nodes. If it is could someone post what the yaml might look like? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com.

Re: [Puppet Users] Problem with dashboard using live report aggregation

2010-06-16 Thread Jon Choate
I am seeing similar issues. In my puppet.conf I set reports = store, puppet_dashboard and libpath = /var/puppet/lib:$RAILS_ROOT/lib/puppet (RAILS_ROOT being /opt/puppet-dashboard where I installed puppet dashboard) Using a combined path like this does not seem to work for libpath. It views the e

Re: [Puppet Users] Re: wildcard node names

2010-05-20 Thread Jon Charette
t is using classes for your > 'templates': > > http://docs.puppetlabs.com/guides/language_tutorial.html#classes > > ken. > > On May 20, 8:53 pm, Jon Charette wrote: > > I'd like to setup node templates for a variety of developer VMs that we > are &

[Puppet Users] wildcard node names

2010-05-20 Thread Jon Charette
like this: Hostname: JonsWebDev node devnode { import devconfig } node webnode { import webconfig } node "*WebDev" { import devnode import webnode } Thanks in advance. -Jon -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] push file once

2010-03-15 Thread Jon Fautley
the initial puppet run in the kickstart %post, I'll export FACTER_BUILDING=true and then test for that fact in the manifests. If it's present, it'll overwrite the file, otherwise it'll just leave it be. It's not elegant, but it works :) Cheers, Jon -- Jon Fautley R

Re: [Puppet Users] Re: service stop, do something, service start

2010-01-31 Thread Jon Stanley
On Sun, Jan 31, 2010 at 1:19 PM, Dan Bode wrote: > now every refreshed that is triggered (via subscribe/notify) will run this > custom script as the restart script. Right, but the problem that you run into there is that the restart process occurs only AFTER the files have been modified - what I'

Re: [Puppet Users] Module Execution Order

2009-11-26 Thread Jon Stanley
On Thu, Nov 26, 2009 at 7:45 PM, Douglas Garstang wrote: > First post didn't appear on the list (gee, like that doesn't happen > all the time) But it did, this is the second post from you on the topic. -- You received this message because you are subscribed to the Google Groups "Puppet Us

[Puppet Users] Quick question on the exec resource

2009-11-17 Thread Jon Stanley
I haven't tried this yet, but I find puppet's file resource to be *way* too slow for what I need to do, causing runs in excess of 5 minutes. There's a base directory structure (which is very small) which I then put content into (and I think it's the checksumming of this content, which is pointless

[Puppet Users] Re: Like... a root canal

2009-11-08 Thread Jon Stanley
On Sun, Nov 8, 2009 at 1:12 AM, Douglas Garstang wrote: > I need to both make sure that the base directory exists AND the > symlink to it exists. Other than defining a file resource that ensures > the base directory exists and another file resource to create the > symlink, how else could this be

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 9:55 AM, David Schmitt wrote: > will include "something" and "something::foo", but I'd advise against > such hacks except for the most desperate cases. So for the benefit of the list, I figured out that the problem was not *using* the virtual resource multiple times, it

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 9:41 AM, David Schmitt wrote: > My typical pattern in that case looks like this: Right, but what if the "something" in /etc/something is unknown and you need to define multiple things under /etc/something (say /etc/something/1 and /etc/something/2)? In the end, there's

[Puppet Users] Re: Question on proper use of virtual resources

2009-09-15 Thread Jon Stanley
On Tue, Sep 15, 2009 at 8:30 AM, seph wrote: > I'd love to not worry about realizing > the same user twice. I thought that was the whole point of virtual resources, though - you can realize the same resource as many times as you'd like and only end up with one copy of it. I'm thinking the dupl

[Puppet Users] Question on proper use of virtual resources

2009-09-14 Thread Jon Stanley
I'm attempting to use virtual resources to get around multiple definition errors, but it doesn't seem to be working. I need to create a directory structure like "/apps/siteA/instance_1/resin" and "/apps/siteA/instance_2/resin". In reality it's a little more complex, because there are multiple sit

[Puppet Users] Restricted puppet?

2009-06-01 Thread Jon Stanley
I know that this sounds crazy and likely is :), but I was wondering if for application configuration management, there's a way to run puppet as a non-root user. I know that lots of the types won't be available when not running as root, but I think that the main purpose here is deploying applicati

[Puppet Users] Question on backing out a transaction

2009-04-28 Thread Jon Stanley
ased on logs is somewhat out of the question) TIA -Jon --~--~-~--~~~---~--~~ 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 unsubscr

[Puppet Users] Re: Puppet Camp

2009-04-19 Thread Jon Stanley
On Sun, Apr 19, 2009 at 4:34 PM, Paul Nasrat wrote: > It's probably easier for non-us attendees to get direct flight to the > Bay Area (or the east coast - Boston/NY) than to either Portland or > Salt Lake City. A city where driving is non-essential would be a plus > for me. Hmmm, NYC would be p

[Puppet Users] Question on recursively managing permissions

2009-02-16 Thread Jon Stanley
I've got a directory (a webapps directory for a Java app server) that I'd like to ensure all of the contents are world readable. As puppet is not really suitable for application deployment, I'd like to manage the permissions of this directory and all of it's contents. Something like: find . -ty

[Puppet Users] Re: Puppet RPMs found on Red Hat Network Satellite and RH FTP site

2009-02-13 Thread Jon Stanley
On Fri, Feb 13, 2009 at 3:42 PM, David Lutterkort wrote: > I'd recommend sticking with the EPEL packages, simply since there are > more and more varied uses (and therefore more testing) of them than for > the MRG stuff - even if the MRG packages are, for all intents and > purposes, identical to

[Puppet Users] Re: Are version 0.24.1 and 0.24.4 good enough?

2009-02-07 Thread Jon Stanley
On Sat, Feb 7, 2009 at 4:24 PM, Robin Lee Powell wrote: > I'm not sure which version includes Augeas support, but I'm pretty > hooked on that myself. Augeas support was introduced in 0.24.7 - but I'm not quite able to grok what to do with it, but I could imagine myself becoming pretty hooked on

<    1   2