[Puppet Users] Re: RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Cody
On Jan 20, 6:39 am, jcbollinger wrote: > On Jan 20, 3:00 am, Dan Bode wrote: > > > * the big reason I keep on leaning on it is for package dependencies. Often > > something needs an additional package installed (and it is possible that > > other modules may have that same package dependency, an

[Puppet Users] Re: PC EU feedback: spaceship operator too magical, hard to read

2011-06-07 Thread Cody
On May 21, 8:52 am, Nan Liu wrote: > On Fri, May 20, 2011 at 8:20 PM, Randall Hansen > wrote: > >http://projects.puppetlabs.com/issues/7606 > > > The spaceship operator: > > >    User <| group == sysadmin or title == luke |> > > > Is relatively easy to type but, if you don’t know it, very hard

[Puppet Users] Issues with conditionals & Hiera

2013-02-28 Thread cody
Hello everyone! I hope your Thursdays are going swimmingly! I'm having an issue with using data looked up via Hiera and using that in a conditional in my manifest. Here is a simple use-case where I simply cannot get it to work: http://pastie.org/private/gtplsiajmmrdhjie49bda# In this example th

Re: [Puppet Users] Chef knife equivalent in puppet

2012-02-01 Thread Cody Herriges
pecific machine, uploading a cookbook, and executing it? Your trying to implement the same workflow using Puppet's stand alone mode? If this assumption is correct than we can point you in a better direction. Nan's response would be relevant if you were using Chef Server vs. Puppet Master. R

Re: [Puppet Users] Extracting Documentation from custom types.

2012-02-01 Thread Cody Herriges
ral months back. RUBYLIB=$HOME/src/modules/cloud_vm/lib puppet describe -s cloud_vm cloud_vm Doing stuff Parameters -- access_key, api_key, ensure, flavor, id, image, name, region, user_data Providers ----- ec2 -- Cody Herriges Professional Service Engineer - Pupp

Re: [Puppet Users] Re: Chef knife equivalent in puppet

2012-02-02 Thread Cody Herriges
On Feb 2, 2012, at 5:18 AM, sateesh wrote: > Hi Cody, > > Probably that may also solve my problem. > > My requirement is I need to run a command line that takes the IP, > user, password and module to be installed on that IP. By giving that > command it should install t

Re: [Puppet Users] MCollective Cost?

2012-02-02 Thread Cody Herriges
We even package and freely distribute rpms for the the stable release. http://yum.puppetlabs.com/el/6/products/i386/ -- Cody Herriges Professional Service Engineer - Puppet Labs pgp key: 0x5DB77142 @ pgp.mit.edu On Feb 1, 2012, at 9:52 AM, R.I.Pienaar wrote: > > > - Origina

Re: [Puppet Users] Chef knife equivalent in puppet

2012-02-06 Thread Cody Herriges
On Feb 2, 2012, at 9:38 PM, sateesh wrote: > Hi Cody, > > Thanks for your response. > > As Specified by you I understood this way. Please correct me if I am > wrong. > > 1) I will be having a ready new VM with Ubuntu installed. So I dont > need to execute the step

[Puppet Users] Re: Can't sign certificate

2012-02-15 Thread Cody Lane
What version of puppet are you running? What OS and what version of ruby? Also, if you are having cert issues you might want to check the time on your puppet master vs the client. The problem occurs because of SSL uses the time to create the certs. If the time is different on both master and cl

[Puppet Users] Issues with environments not being respected

2011-09-08 Thread Cody Robertson
I've ran into a strange issue today while using my development environment I was receiving some errors about modules that shouldn't have been used. After looking it looks like my agent (or master) isn't respecting the environment I specify and is actually using the main (master) environment. Thi

[Puppet Users] Re: Issues with environments not being respected

2011-09-08 Thread Cody Robertson
I've downgraded a few nodes showing these issues to agent 2.6.9 and they're working properly. I suspect it's something introduced in 2.7.x branch. If I have time later I'll see if I can pinpoint where exactly. -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Issues with environments not being respected

2011-09-08 Thread Cody Robertson
Sorry for the spam. I've opened an issue for this http://projects.puppetlabs.com/issues/9388 -- 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/-/3AL0gLCrEMYJ.

Re: [Puppet Users] Variable interpolation in class parameters

2011-09-29 Thread Cody Herriges
Carlos, This seems to be a bug as things be weirder the more I test. class test1( $servicex = 'servicex', $servicey = 'servicey', $service1 = "/bar/${servicex}", $service2 = "/bar/${servicey}", $homex= 'homex', $home1= "/bar/${homex}" ) { notice($service1) notice(

[Puppet Users] Puppet users meet-up, Apr 5th 7PM, Portland, OR

2010-04-05 Thread Cody Herriges
w and tell of one of Portland State University's puppet implementation. I will make it a priority to keep the user community updated next time around. You can find the event at http://calagator.org in the future as well or follow @odyrf or @puppetlabs on Twitter. --Cody -- You received th

[Puppet Users] Portland Puppet Users Group

2010-05-21 Thread Cody Herriges
Next meeting of the Portland Puppet Users Group will be held on June 8th at 7PM in Portland, Oregon, Downtown. We are going to kick back talk Puppet and explore the Puppet Dashboard. Further details can be found at http://calagator.org/events/1250458707. --Cody -- You received this

Re: [Puppet Users] Re: Client no longer reads catalog

2011-03-21 Thread Cody Robertson
s blocking the port (both TCP and UDP). Doesn't puppetd listen on 8139? -Cody Robertson -- 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

[Puppet Users] Re: Client no longer reads catalog

2011-03-21 Thread Cody Robertson
On Mar 16, 11:27 am, Dennis Jacobfeuerborn wrote: > Wow, apparently running a "tcpdump -nn port 8140" un-wedges puppet and > brings things back to normal. Problem is that I have no clue how or why > running a tcpdump could possibly matter here even though it apparently does. > Does anyone have an

Re: [Puppet Users] Listing puppet modules

2011-03-22 Thread Cody Robertson
uppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. You could perhaps check out the classes.txt file in your $vardir (usually /var/lib/puppet). -Cody Robertson -- You received this message because you are subscribed to the G

Re: [Puppet Users] Trying to set up per-environment manifest file

2011-03-22 Thread Cody Robertson
On 03/22/2011 03:41 PM, elliott wrote: Hi guys, I've had separate development/testing environments partially working for a while, in that modules get pulled from the correct per- environment path. However, something that has never seemed to work was a per-environment manifest. I have more need

Re: [Puppet Users] Foreman 0.2 Release Candidate

2011-03-22 Thread Cody Robertson
client in EPEL is 1.3.1 however the the new version requires 1.4.0. Maybe update the spec file / RPM to reflect this? -- Cody Robertson 1-800-859-8803 ext. 5 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

Re: [Puppet Users] Foreman 0.2 Release Candidate

2011-03-22 Thread Cody Robertson
On 03/22/2011 04:32 PM, Ohad Levy wrote: On Tue, Mar 22, 2011 at 10:28 PM, Cody Robertson <mailto:c...@hawkhost.com>> wrote: On 03/22/2011 04:23 PM, Ohad Levy wrote: On Tue, Mar 22, 2011 at 10:04 PM, Eduardo S. Scarpellini mailto:scarpell...@gmail.com>> wrote:

Re: [Puppet Users] WEBrick, Passenger or Mongrel

2011-03-23 Thread Cody Robertson
proxy like Nginx. -- Cody Robertson 1-800-859-8803 ext. 5 -- 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-user

Re: [Puppet Users] Re: WEBrick, Passenger or Mongrel

2011-03-23 Thread Cody Robertson
.com/group/puppet-users?hl=en. Check http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel however I'm not sure how dated. There are passenger instructions near the bottom (or use Mongrel). -- Cody Robertson 1-800-859-8803 ext. 5 -- You received this message because you are su

Re: [Puppet Users] pupet dashboard taking more than 10 minutes to destroy a node

2011-03-24 Thread Cody Robertson
ich table is the culprit. From there you should be able to figure out a way to have the files re-created once you've pruned them (albeit no "good" way that I know of). http://dev.mysql.com/doc/refman/5.0/en/innodb-multiple-tablespaces.html -- Cody Robertson 1-800-859-8803 ext. 5

Re: [Puppet Users] pupet dashboard taking more than 10 minutes to destroy a node

2011-03-24 Thread Cody Robertson
On 03/24/2011 06:49 PM, Cody Robertson wrote: On 03/24/2011 06:32 PM, Arnau Bria wrote: Hi again, I'm cleaning my DB (which was 15GB) following: https://github.com/puppetlabs/puppet-dashboard I did: rake RAILS_ENV=production reports:prune upto=1 unit=wk rake RAILS_ENV=develo

[Puppet Users] Re: ssh_authorized_keys - not adding keys ... (??)

2011-04-02 Thread Cody Robertson
It looks like the `user` portion is overriding the original resource? I haven't checked if this would work but maybe you can do something along these lines: Ssh_authorized_key <| title == "test.user.key" |>{ user => ["test.user","studio_app"], } -- You receive

[Puppet Users] Re: puppet client could not request certificate: Error 500 on SERVER

2011-04-02 Thread Cody Robertson
No that's not normal - you shouldn't have to manually start the start the master like that.. it sounds like your setup is goofy - can you provide logs from the actual server? The portion you provided us is simple the result of the web server saying there is no backend / the backend crashed / the

[Puppet Users] Re: puppet fails to retrieve catalog

2011-04-05 Thread Cody Robertson
Try running the client with --trace and running the master in the foreground / see if any traffic is reaching the master. Also are you behind a firewall / iptables? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em

[Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
Can you invoke any custom facts at all? I suspect it facter might not be looking in the right directory for your puppet facts and thus it's not finding them when run it locally. I've confirmed no issue with defining multiple facts in a single file / calling them with facter locally: root@falco

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
Strange - in the example I used the file is named lvemanager_versions.rb while the facts are lvemanager_version and lvecpanel_version. Although it's highly unlikely this is the problem I'm running facter 1.5.8 which is one version you're not running.. -- You received this message because you

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
It looks like it's a bug in 1.5.9. I upgraded this particular node to the latest (rc4) and now the multiple facts don't work as you initially described. I'd recommend opening a bug report as something changed across versions to cause this. -- You received this message because you are subscribe

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
Er, I upgraded to Facter rc5* -- 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-users+unsubscr...@googlegroups.com. For more

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
I've only tested this on 1.5.8 where it worked. Upgraded to 1.5.9rc5 and it appears broken. -- 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, sen

[Puppet Users] Re: Deploying puppet with puppet, best practices

2011-04-10 Thread Cody Robertson
The spec file specifies two packages - a client & server. I'm not sure how PE updates work however. -- 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 gro

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-10 Thread Cody Robertson
I'll test it on more versions tomorrow to see if I can pinpoint exactly where the change happened: http://projects.puppetlabs.com/issues/7039 -- 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@goog

Re: [Puppet Users] Re: Mutliple custom facts not showing in facter

2011-04-11 Thread Cody Robertson
On 04/11/2011 05:03 AM, Ohad Levy wrote: git bisect is a great way to figure out which commit broke it. Ohad On Mon, Apr 11, 2011 at 9:45 AM, Cody Robertson <mailto:c...@hawkhost.com>> wrote: I'll test it on more versions tomorrow to see if I can pinpoint exactly wh

[Puppet Users] Re: ActiveRecord/Puppet error? Missing mysql2 gem.

2011-04-11 Thread Cody Robertson
Did you manually install the gem? I believe Todd's RPMS are built to work with EPEL so you might want to look for the mysql-ruby RPM and see if that works. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

[Puppet Users] Re: Error sending reports to dashboard

2011-04-14 Thread Cody Robertson
Although I don't know the answer I'm curious as to why you're worried about using HTTPS when you're sending the reports locally? There is no need to encrypt the ports if you're just sending them to the same machine / localhost. -- You received this message because you are subscribed to the Goo

[Puppet Users] Re: how to catch errors

2011-04-22 Thread Cody Robertson
You might want to look into tagmail which can mail all errors to you (amongst other things). Alternatively there are dashboards you can use which prettify things quite a bit (puppet-dashboard, Foreman). It might be worth noting that at least Foreman supports tagmail type functionality - I'm not

[Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-08 Thread Cody Robertson
Hello! How is everyone this splendid evening? I've recently migrated to the latest Puppet and PuppetDB (using the build in database) however I'm noticing PuppetDB keeps crashing without any errors that I can find in the logs. I've ran it in the foreground using the puppetdb-foreground command h

Re: [Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-09 Thread Cody Robertson
18:00:15.815) 2013-01-09 18:00:16,186 INFO [command-proc-89] [puppetdb.command] [7779017b-5be2-415d-afd6-264d6d4d789e] [replace catalog] typhoon.xxx.com sh-4.1# -- I'll attempt to attach a strace to it however it's so remarkably verbose it's always a treat to sift through it. Is th

Re: [Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-09 Thread Cody Robertson
arber wrote: > > Do you get a core dump? Does it seriously just silently 'stop' with no > SEGV or anything - even in the forground? > > On Wed, Jan 9, 2013 at 11:07 PM, Cody Robertson > > > wrote: > > There is nothing in the logs as previously noted. It

Re: [Puppet Users] Difficulty debugging crashing PuppetDB

2013-01-16 Thread Cody Robertson
r the "-XX:OnOutOfMemoryError=kill" switch. Sorry for the confusion / time wasting. -Cody On Thursday, January 10, 2013 12:15:16 PM UTC-5, Chris Price wrote: > > Cody, > > Can you provide some details on your OS and JVM flavors / versions? Also, > you mentioned there was "noth

[Puppet Users] Issue with exported resources and "ensure"

2013-01-16 Thread Cody Robertson
Hello folks! I hope everyone is having a great Wednesday! I think I may have come across a bug / a use case which isn't working properly however I wanted to run it by some eyes on the mailing list before I filed a bug report. I'm attempting to use Hiera with Puppet exported resources (a Nagios

Re: [Puppet Users] Issues with conditionals & Hiera

2013-02-28 Thread Cody Robertson
Clearly I have a firm grasp on YAML. That'd be the issue - thanks! For the record I tried all of the possible values (True, "true", 1) - obviously it was failing as it was an array as previously mentioned. On Thu, Feb 28, 2013 at 5:11 PM, Dan White wrote: > Other folks have pointed out the fact

Re: [Puppet Users] Issues with conditionals & Hiera

2013-02-28 Thread Cody Robertson
n this via Google. On Thu, Feb 28, 2013 at 5:13 PM, Cody Robertson wrote: > Clearly I have a firm grasp on YAML. That'd be the issue - thanks! > > For the record I tried all of the possible values (True, "true", 1) - > obviously it was failing as it was an array as previ

Re: [Puppet Users] Re: Puppetdbquery 1.1.0, now featuring hiera backendception

2013-05-30 Thread Cody Herriges
Really awesome. On Tue, May 28, 2013 at 12:53 AM, Martijn wrote: > That is very cool, Erik, and looks very useful. > > Thanks, > Martijn > > Op maandag 27 mei 2013 20:44:19 UTC+2 schreef Erik Dalén het volgende: > >> I just released dalen-puppetdbquery 1.1.0, one cool new feature in this >> rel