Re: [Puppet Users] Re: Function best approach

2016-08-09 Thread Jeff McCune
erally speaking than a standard class is. Hope this helps, — Jeff McCune Principal Consultant & Founder Open Infrastructure Services <http://www.openinfrastructure.co/> -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To

[Puppet Users] Announce: Puppet Server 2.1.0 and 1.1.0 available!

2015-06-03 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.1.0 and 2.1.0 are both now available! Both of these releases are backwards compatible feature releases in their respective Semantic Versioning major versions. This email is a combined announcement for 2.1 and 1.1. Puppet Server

[Puppet Users] Announce: Puppet Server 1.0.2 available!

2015-01-15 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.0.2 is now available. This release is the first bug fix version of Puppet Server 1.0. In accordance with the [Semantic Versioning](http://semver.org) specification, this release contains fixes for bugs reported against the 1.0 release. Puppet Server

Re: [Puppet Users] Re: Announce: Facter 2.0.1

2014-04-02 Thread Jeff McCune
For those that are getting the undefined method errors, could you please run with --debug and --trace and paste the results so we could see a bit more information about where those methods are called from? Thanks, -Jeff -Jeff On Wed, Apr 2, 2014 at 7:50 AM, Stefan Wiederoder wrote: > we´ve

[Puppet Users] Announcing stdlib 4.0.1

2013-04-11 Thread Jeff McCune
called with a boolean (5d5a4d4) Uwe Stuehler * Fix number of arguments check in flatten() (5a11279) Uwe Stuehler * Fix number of arguments check in flatten() (e80207b) Jeff McCune * Add contributing document (96e19d0) Raphaël Pinson * Add missing documentation for validate_augeas and v

Re: [Puppet Users] Re: [Puppet-dev] Announce: Hiera 1.2.0 Available

2013-04-04 Thread Jeff McCune
On Thu, Apr 4, 2013 at 10:50 AM, Jeff McCune wrote: > On Thu, Apr 4, 2013 at 3:02 AM, Erik Dalén wrote: > >> On Thursday 4 April 2013 at 02:39, Matthaus Owens wrote: >> > >> > ## Hiera 1.2.0 Release Notes ## >> > ===

Re: [Puppet Users] Re: [Puppet-dev] Announce: Hiera 1.2.0 Available

2013-04-04 Thread Jeff McCune
On Thu, Apr 4, 2013 at 3:02 AM, Erik Dalén wrote: > On Thursday 4 April 2013 at 02:39, Matthaus Owens wrote: > > > > ## Hiera 1.2.0 Release Notes ## > > > > # Features > > > > Add deep-merge feature to backend lookups > > > > - Config option :merge

[Puppet Users] Re: Announce: Puppet 3.1.0 Available

2013-02-04 Thread Jeff McCune
On Mon, Feb 4, 2013 at 12:07 PM, Matthaus Owens wrote: > Available in native package format in the pre-release repositories at: > http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet 3.1.0 is in the "main" repository that is enabled by default and not the pre-release repository, right?

[Puppet Users] Help needed testing new cloud metadata facts in OpenStack, Eucalyptus, EC2, and Xen

2013-01-29 Thread Jeff McCune
Hello, Regarding, https://github.com/puppetlabs/facter/pull/387 One of the long standing tickets with a lot of watchers is #7559 [1] where the ec2_* metadata and userdata facts are not populated on Amazon EC2 VPC instances. This bug has been quite problematic to solve once and for all because it

[Puppet Users] Re: [Puppet-dev] New Q&A Site to Ask Puppet Questions

2012-12-17 Thread Jeff McCune
On Mon, Dec 17, 2012 at 2:13 PM, Dawn Foster wrote: > Today, we are launching the beta version of a new question and answer > site where you can ask any Puppet questions or provide answers for > questions from other Puppet users and developers. > I bet nobody has a question that can stump the en

Re: [Puppet Users] Connecting to Puppet's user experience team as a Puppet Test Pilot

2012-12-14 Thread Jeff McCune
On Fri, Dec 14, 2012 at 9:23 AM, Jenny Mahmoudi wrote: > Hi, it's Jenny here from Puppet's user experience team. > > We are looking for people to become Puppet Test Pilots who try our > prototype designs, provide feedback, and more: > + You get gift cards and t-shirts as thanks for helping us out.

Re: [Puppet Users] Use random value from an array in a template

2012-12-04 Thread Jeff McCune
On Tue, Dec 4, 2012 at 8:44 AM, Matthias Kellermann wrote: > Hi there, > > I have a network service with three IP addresses. For my client config file > I want to choose a random IP addresses of the three available addresses > (round robin via DNS won't work..). > > Is there a way to use a random

Re: [Puppet Users] Does puppet stdlib suppor puppet 3.0.1?

2012-12-04 Thread Jeff McCune
On Dec 4, 2012, at 8:10 AM, hai wu wrote: 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? stdlib 3 fully suppo

Re: [Puppet Users] How to share a ruby hash between Puppet and standard ruby script?

2012-11-30 Thread Jeff McCune
On Fri, Nov 30, 2012 at 8:42 AM, Dave Brown wrote: > Sure thing, here you are: This conversation might be better suited to the puppet-dev mailing list. I recommend posting follow up messages there. _common and _artifacts are local variables and won't be accessible outside of the scope they're d

Re: [Puppet Users] How to share a ruby hash between Puppet and standard ruby script?

2012-11-30 Thread Jeff McCune
On Fri, Nov 30, 2012 at 4:30 AM, KomodoDave wrote: > I have a hash defined containing some static information. This exists within > a custom function for Puppet. > > I wish to share this code with a ruby test harness I'm writing; there will > be additional resources that both Puppet and the test h

Re: [Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-29 Thread Jeff McCune
On Thu, Nov 29, 2012 at 8:56 AM, asq wrote: > W dniu czwartek, 29 listopada 2012 17:42:48 UTC+1 użytkownik Jeff McCune > napisał: > >> On Thu, Nov 29, 2012 at 12:24 AM, asq wrote: >> > W dniu środa, 28 listopada 2012 22:57:40 UTC+1 użytkownik Michael >> Stanhke &

Re: [Puppet Users] 1.8.7 => 1.9.3 migration, compilation times raised twice!?

2012-11-29 Thread Jeff McCune
On Thu, Nov 29, 2012 at 12:24 AM, asq wrote: > W dniu środa, 28 listopada 2012 22:57:40 UTC+1 użytkownik Michael Stanhke > napisał: >> >> What version of Puppet are you on? Where did you get your 1.9.3? > > 3.0.1 and 1.9.3p327 from rvm. Ouch, do you happen to have a large number of ruby Gem's in

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-28 Thread Jeff McCune
On Wed, Nov 28, 2012 at 10:55 AM, John Lamb wrote: > I am also seeing this bug on one of my nodes (worryingly, the puppet master > itself!) The relevant output of puppet agent -t --debug --trace --verbose > matches what Fabrice and Lee have also reported: OK, there's definitely a bug somewhere...

[Puppet Users] Announcing stdlib 3.2.0 and 2.6.0

2012-11-28 Thread Jeff McCune
() and max() functions (9954133) Wil Cooley * (#13974) Add predicate functions for interface facts (f819417) Gary Larizza * Add the pick() function (ba6dd13) Joshua Harlan Lifton * Add join_keys_to_values function (ee0f2b3) * Extend delete function for strings and hashes (7322e4d) Cheers, -J

Re: [Puppet Users] Puppet 3.0 Puppet labs repo package problem on rhel5

2012-11-28 Thread Jeff McCune
On Fri, Nov 23, 2012 at 2:46 PM, Alaric wrote: > Hi, > > I'm having a weird issue and was wondering if anyone else had run into it. I > recently upgraded from puppet 2.7 -> 3.0.1 After cleaning up some gems on my > puppet master everything seemed to be working ok. I had originally used the >

Re: [Puppet Users] StackOverflow when running Puppet agent -t

2012-11-28 Thread Jeff McCune
On Wed, Nov 28, 2012 at 5:42 AM, Med75 wrote: > The problem disappeared after a reboot of the client. I saw your answer too > late so I haven't had the chance to run the agent with --debug and > --trace... I'll update this thread once it will be back again. > > meanwhile, and after a couple of age

Re: [Puppet Users] Puppet 3.0 Puppet labs repo package problem on rhel5

2012-11-28 Thread Jeff McCune
Jakov, I'm really sorry to step in on this one but our ruby should fully support gems installed using the gem command. I understand it's not ideal and that RPM's are definitely preferable. I encourage people to use RPMs whenever possible in this situation. However, I'm deeply concerned that we may

Re: [Puppet Users] StackOverflow when running Puppet agent -t

2012-11-27 Thread Jeff McCune
On Tue, Nov 27, 2012 at 8:36 AM, Med75 wrote: > Hi all, > > I'm getting the floowing error when I run Puppet agent -t > > [...] > Finished catalog run in 209.01 seconds > Error: Could not send report: Could not render to yaml: Stack overflow in > regexp matcher: /\A(?: # ?: non-capturing group (gr

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-27 Thread Jeff McCune
On Tue, Nov 27, 2012 at 9:06 AM, Lee Boynton wrote: > Sorry, just looked in the puppet.conf file. It is indeed the storeconfigs > option. I guess I should just go ahead and use PuppetDB. PuppetDB could be a viable work around, but this is the second time I've heard of someone running into this er

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-27 Thread Jeff McCune
On Tue, Nov 27, 2012 at 8:39 AM, Lee Boynton wrote: > delete from hosts where name = 'the.node.name'; OK, so this is the hosts table, but what database? Is this the Puppet dashboard, Stored Configs, or something else? --Jeff -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-11-27 Thread Jeff McCune
uld you you paste the command you're using to work around the problem? > Running CentOS 6.3 and Puppet 3.0.1 on master. Broken nodes are mostly > running 3.0.0 and 3.0.1, but a mixture of CentOS 5.8 and 6.3. All 64 bit. > > On Thursday, 25 October 2012 19:47:02 UTC+1, Jeff McCu

Re: [Puppet Users] Can I create virtual resources with create_resources function

2012-11-26 Thread Jeff McCune
On Wed, Nov 21, 2012 at 5:24 AM, Jakov Sosic wrote: > On 11/15/2012 11:04 PM, Rajul Vora wrote: >> >> I am trying to add ability to add virtual users to >> the git://github.com/erwbgy/puppet-system.git module as I really want > > I've run into same exact problem yesterday, and found patch that Nan

Re: [Puppet Users] Puppet 3.x load balancer

2012-11-26 Thread Jeff McCune
On Thu, Nov 22, 2012 at 1:42 AM, shell heriyanto wrote: > Hi Jeff, thanks for reply, > I also read that book, its work for puppet 2.x, but now i try with puppet 3 > with puppetdb, > Ruby (Rack) application could not be started, > Error message: > undefined method `settings' for Puppet:Module > Exc

Re: [Puppet Users] Puppet firewall module only works on first clean run on a machine

2012-11-20 Thread Jeff McCune
On Tue, Nov 20, 2012 at 4:09 PM, gilbertc777 wrote: > Hi everyone, > > I am working now to introduce the puppet firewall module to our environment. > > On the first run, all our rules are deployed on the server with no errors. > > However, on subsequent runs, even without changing rules, I get err

Re: [Puppet Users] vcsrepo: Could not create repository (non-repository at path)

2012-11-20 Thread Jeff McCune
On Mon, Nov 19, 2012 at 7:01 AM, bowlby wrote: > Hi, > I'm running into a problem using the puppetlabs provided vcsrepo-module. It > keeps giving the same error: > > -- > notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating repository > from latest > err: /Stage[main]//Vcsr

Re: [Puppet Users] Custom providers/types & gem dependencies

2012-11-20 Thread Jeff McCune
On Tue, Nov 20, 2012 at 12:51 PM, Andy Parker wrote: >> This is on 2.7.19. Added ticket >> http://projects.puppetlabs.com/issues/17747. Sweet, thank you for taking the time to do this. > I believe this is related to 2.7 eagerly loading the providers during > pluginsync. In 3.0 the providers are

Re: [Puppet Users] Custom providers/types & gem dependencies

2012-11-20 Thread Jeff McCune
On Tue, Nov 20, 2012 at 10:24 AM, Mohit Chawla wrote: > Hello, > > I am using a custom provider that uses an external gem, for eg., json. > I am seeing this behavior: > > 1) In the first puppet run - errors would be thrown like : > "err: Could not load downloaded file > /var/lib/puppet/lib/puppet/

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-19 Thread Jeff McCune
On Mon, Nov 19, 2012 at 3:38 PM, Oliver Leach wrote: > Great to hear that Jeff. Confirmed, 3.0.1 it is. Is there a bug list I can > track? The best way I've found to track what issues we know about and what version we plan to fix them in is available at: https://projects.puppetlabs.com/projects/p

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-19 Thread Jeff McCune
On Fri, Nov 16, 2012 at 7:13 AM, vioilly wrote: > That's a another reason for me to go toward 3.0.1. I assume it is a stable > release? The long answer... It's an officially supported release, if that's what you mean. I can't say there aren't any bugs though. =) We're actively developing the

Re: [Puppet Users] How do I uninstall Puppet on Mac?

2012-11-19 Thread Jeff McCune
On Sun, Nov 18, 2012 at 9:35 AM, Laurence Cope wrote: > Hi > > I followed the install instructions to install the dmg package on Mac. I got > errors when setting up the group and users, cant find help on that. So I > decided to not to use it on my Mac. I will set puppet up on Linux instead. This

Re: [Puppet Users] Re: puppet failing to run

2012-11-17 Thread Jeff McCune
On Fri, Nov 16, 2012 at 10:55 PM, Asif Iqbal wrote: > On Wed, Nov 14, 2012 at 6:18 PM, Jeff McCune wrote: >> >> On Fri, Nov 9, 2012 at 12:11 AM, Asif Iqbal wrote: >> > >> > Here is another simple one >> > >> > # puppet apply --trace --

Re: [Puppet Users] Puppet run failing

2012-11-16 Thread Jeff McCune
On Fri, Nov 16, 2012 at 9:17 AM, Pradeep Chhetri wrote: > I am using puppet-2.6.6-3.2 version. > > $ rpm -qa | grep puppet > puppet-2.6.6-3.2.amzn1.x86_64 > puppet-server-2.6.6-3.2.amzn1.x86_64 Do you still have the problem with 2.7.20 or 3.0.1 ? Puppet 2.6 is quite old at this point. -Jeff --

Re: [Puppet Users] Puppet run failing

2012-11-15 Thread Jeff McCune
What version of Puppet? The puppetca command is pretty old. -Jeff On Thu, Nov 15, 2012 at 3:17 AM, Pradeep Chhetri wrote: > I removed from client only before. Still getting the same error. > > > On Thu, Nov 15, 2012 at 1:19 PM, Nikola Petrov wrote: >> >> On Wed, Nov 14, 2012 at 11:28:54PM -080

Re: [Puppet Users] file_line stdlib not processing

2012-11-15 Thread Jeff McCune
Hi, There's also the inifile module Chris Price wrote which may be helpful for a broader range of problems than file_line or sysctl are able to address: http://puppetlabs.com/blog/module-of-the-week-cprice404-inifile/ Jerry, This seems like a bug in the stdlib file_line type. Could you please

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-15 Thread Jeff McCune
On Thu, Nov 15, 2012 at 9:45 AM, vioilly wrote: > Hi, > > I am just rolling out a new puppet deployment. Which version should i go > for, 2.7 or 3.1? I am looking to use the open source version. Puppet 3.0 has a lot of performance improvements and some new functionality compared to Puppet 2.7. F

Re: [Puppet Users] Re: puppet failing to run

2012-11-14 Thread Jeff McCune
On Fri, Nov 9, 2012 at 12:11 AM, Asif Iqbal wrote: > > Here is another simple one > > # puppet apply --trace --evaltrace -e 'user {"dummy": ensure => present}' > > http://paste.ubuntu.com/1344435/ These definitely seem like bugs. Could you please file a bug report at http://projects.puppetlabs

Re: [Puppet Users] catalog format

2012-11-14 Thread Jeff McCune
On Wed, Nov 14, 2012 at 5:05 PM, Ignoramus wrote: > Hey, my configuration works and everything but i get my production catalog > in the log files as this > > > GET > /production/catalog/machine.domain.com?facts=eNqdV9 ... If you upgrade to the more recent versions of Puppet, the facts are sent us

Re: [Puppet Users] parse puppet file url in customized functions?

2012-11-14 Thread Jeff McCune
On Tue, Nov 13, 2012 at 10:19 PM, woosley. xu. wrote: > Thanks Jeff, > I copy-pasted the code and it just worked. That's great to hear! > Here is my function: It'd be wonderful if you contributed this function to the stdlib module as a pull request. There are hundreds (maybe thousands?) of

Re: [Puppet Users] Sending output to debug level log from custom parser function

2012-11-14 Thread Jeff McCune
On Wed, Nov 14, 2012 at 4:29 AM, Abhijeet R wrote: > Hi, > > I created a custom function by reading the doc from here > http://docs.puppetlabs.com/guides/custom_functions.html > > It's a function to return proper filepath for a specific node by looking at > various stuff like facter, absolute path

Re: [Puppet Users] parse puppet file url in customized functions?

2012-11-13 Thread Jeff McCune
On Tue, Nov 13, 2012 at 5:25 AM, woosley. xu. wrote: > I am thinking about loading some paramters from a external file for my > souces. Eg, > > class test { > > ## set parameters. > load_from_yaml("puppet:///modules/test/config.yaml") > } Ah, cool idea. I think this would be a r

Re: [Puppet Users] parse puppet file url in customized functions?

2012-11-12 Thread Jeff McCune
On Sat, Nov 10, 2012 at 9:22 AM, woosley. xu. wrote: > Hi all, >I want to parse the puppet url in my customizes functions. Eg, > > > module Puppet::Parser::Functions > newfunction(:load_file, ) do |arg| >path = get_real_path(arg[0]) >load_file_content(path)

Re: [Puppet Users] Instalacion y configuracion de puppet

2012-11-12 Thread Jeff McCune
Hello Yurleidy, Could you please paste the error messages you're receiving, along with the full output when the --trace and --evaltrace options are turned on? This will help us troubleshoot the problem further. In addition, are you able to translate your questions into English so that more commu

Re: [Puppet Users] Puppet 3.x load balancer

2012-11-10 Thread Jeff McCune
The Pro Puppet book has a whole chapter on setting up Puppet with a load balancer. The information pertains to Puppet 2.6, 2.7, and 3.0. The only difference in 3.0 is the requirement to specify --confdir and --vardir in your rack up config file. docs.puppetlabs.com should also have some informatio

Re: [Puppet Users] Re: puppet failing to run

2012-11-08 Thread Jeff McCune
12 at 12:43 PM, Jeff McCune wrote: > >> ruby -r puppet -e 'puts %w{ puppet facter }.collect {|d| >> $LOAD_PATH.collect {|l| { l => Dir["#{l}/#{d}/**/*.rb"] }}}.to_yaml' > > > http://paste.ubuntu.com/1343465/ > > > -- > Asif Iqbal > PGP K

Re: [Puppet Users] Re: puppet failing to run

2012-11-08 Thread Jeff McCune
On Wed, Nov 7, 2012 at 6:55 PM, Asif Iqbal wrote: > > yep, It does look like I have two different ruby > Not necessarily, these are just all of the directories a single ruby executable will look to when trying to load *.rb files using the 'require' statement. /usr/local/lib/site_ruby > Looking

Re: [Puppet Users] Re: puppet failing to run

2012-11-07 Thread Jeff McCune
On Tue, Nov 6, 2012 at 7:08 PM, Asif Iqbal wrote: > I did some clean up. Now I have only one version of puppet and facter. It still seems like you could have stale files. Could you verify there are no stale files by pasting the output of this command? ruby -r puppet -e 'puts %w{ puppet facter

Re: [Puppet Users] Re: puppet failing to run

2012-11-06 Thread Jeff McCune
Did you have a version of Puppet on this system previously? This definitely seems like a bug, but it seems like one that only manifests if there's some other copy of Puppet that is also being loaded along with the version you expect. -Jeff On Tue, Nov 6, 2012 at 9:20 AM, Asif Iqbal wrote: > O

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread Jeff McCune
On Fri, Nov 2, 2012 at 2:24 PM, hasufel wrote: > I've tried clearing out the SSL directory and cleaning the certificates, > but it's still giving me the same errors. How is the master process being started? Could you paste the exact command with the complete argument vector if it's from an ini

Re: [Puppet Users] Can we monitor the bandwidth utilization of a vm (agent) or can i get the last login time of a agent using puppet

2012-11-02 Thread Jeff McCune
On Thursday, November 1, 2012, SRIRAAM DHILIBAN wrote: > Can we monitor the bandwidth utilization of a vm (agent) or can i get the > last login time of a agent using puppet Puppet does not provide this information without being extended. Luckily, there are lots of extension points in Puppet. Co

Re: [Puppet Users] Spec test failure

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, Justin Lambert wrote: > Jeff, > > Thanks for your response. It is possible, but I'm not sure. Would > uploading some sample modules that show the breakage help? > Yes, if you publish modules that trigger the issue I'll definitely make an effort to reproduce the prob

Re: [Puppet Users] multiple puppetmasters, single ca

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, ryan wallner wrote: > Jeff, > > I wound up not having SSLProxyEngine On specified in my vhost. I made the > additional change to http to https in the load balancer and this worked as > well. > > Though, now I am having trouble getting the actual certificate from the >

Re: [Puppet Users] Certificate verify failed when syncing to self

2012-11-02 Thread Jeff McCune
On Friday, November 2, 2012, hasufel wrote: > I'm having this issue, too. What version of Puppet? Is the master using a different confdir than it was in a previous version? The semantics of the default confdir have changed as of 3.0. -Jeff > -- You received this message because you are sub

Re: [Puppet Users] Console color in 3.0.1

2012-10-31 Thread Jeff McCune
On Wed, Oct 31, 2012 at 12:24 PM, thinkwell wrote: > Josh, thanks for that ticket link. I've signed up as a watcher. > > Jeff, I've added the puppet27_console code to a client machine, then added > the lines below to its puppet.conf, but no luck. Coloring remains the 3.0 > version. Is that possibl

Re: [Puppet Users] Spec test failure

2012-10-31 Thread Jeff McCune
I'm not entirely certain, but do you think this could be a variant of this bug: http://projects.puppetlabs.com/issues/show/15529 If so, could you please upvote the bug, watch it, and update it with information about how it's impacting you? Thanks, -Jeff On Wed, Oct 31, 2012 at 9:52 AM, Justin

Re: [Puppet Users] /sbin/runscript

2012-10-31 Thread Jeff McCune
On Wed, Oct 31, 2012 at 11:30 AM, Worker Bee wrote: > Hi Everyone; > > I am getting an error that /sbin/runscript is needed when trying to > install puppet-3.1.0 via an rpm'ed gem... does anyone have any idea why I > need this? > Puppet 3.1.0 hasn't been released yet. It sounds like you may ha

Re: [Puppet Users] Console color in 3.0.1

2012-10-31 Thread Jeff McCune
On Wed, Oct 31, 2012 at 10:37 AM, thinkwell wrote: > A trivial post, perhaps, but I liked the console coloring of 2.7 much > better than 3.0. Is there a way to get the 2.7 coloring back or to > customize the console color scheme? > It's possible, but not exactly easy. For a time, the new format

Re: [Puppet Users] Problem using exported resources with tag => $variable

2012-10-31 Thread Jeff McCune
On Wed, Oct 31, 2012 at 8:14 AM, Cosmin-Viorel Ilie < ilie.cosmin.vio...@gmail.com> wrote: > Does anyone know if using variable as tag values is permitted in puppet > 2.7.19 > Yes, this should definitely work. If it doesn't please consider filing a bug at http://projects.puppetlabs.com/projects/

Re: [Puppet Users] multiple puppetmasters, single ca

2012-10-29 Thread Jeff McCune
On Sun, Oct 28, 2012 at 9:53 PM, ryan wallner wrote: > HI all, > > I am currently setting up a HA devops configuration using puppet. I want > to be able to run a single puppet master as the CA and the rest act as > peering puppet masters. I have each puppet master running on passenger and > I am

Re: [Puppet Users] Puppet 3.0 rspec and custom resources

2012-10-26 Thread Jeff McCune
Hrmmm. Is there a small rspec example you could post that reproduces this issue? I'd love to try and reproduce it since there's definitely a possibility that a change between Puppet 2.7 and 3.0 is responsible for this issue. -Jeff On Fri, Oct 26, 2012 at 8:01 AM, Nathan Huff wrote: > I am tryi

Re: [Puppet Users] reportdir ignored

2012-10-26 Thread Jeff McCune
On Oct 26, 2012, at 7:23 AM, Frank wrote: > Hi, > > I've filled up my hard drive so I want to point /var/lib/puppet/reports to > another volume. > > I've change /etc/puppet/puppet.conf to match my needs: > > #reportdir = /var/lib/puppet/reports > reportdir = /VOL2/puppet/reports > >

Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Jeff McCune
On Thu, Oct 25, 2012 at 4:34 PM, Ben McCann wrote: > Yes, I am realizing it: > Users::Virtual::Localuser <| gid == users |> > > If I go onto the host and delete the user (sudo userdel myuser) then > puppet will create a new user and that user will be a member of all the > groups I desire: >

Re: [Puppet Users] Re: Trouble adding a user to a group

2012-10-25 Thread Jeff McCune
On Thu, Oct 25, 2012 at 4:23 PM, Ben McCann wrote: > If I remove the virtualization aspect then it works. Any idea why that > might stop the groups from being applied? When you mark the resource as virtual, are you also realizing it somewhere else in your manifests? Without realizing a virtual

Re: [Puppet Users] using --tags --noop does not show changes ?

2012-10-25 Thread Jeff McCune
On Wed, Oct 24, 2012 at 5:21 PM, Daniel Aquino wrote: > I'm just learning about the --tags option and wanted to use it with --test > --verbose --noop to confirm that the changes were reduced compared to not > using --tags but as far as I can see when I use --tags I get no notices so > I'm not sure

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-25 Thread Jeff McCune
On Thu, Oct 25, 2012 at 11:26 AM, Fabrice Bacchella wrote: > > Le 25 oct. 2012 à 18:40, Jeff McCune a écrit : > > On Thu, Oct 25, 2012 at 4:42 AM, Fabrice Bacchella > wrote: > >> This patch does something magic. A broken node (with allocator undefined >> for Proc

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-25 Thread Jeff McCune
On Thu, Oct 25, 2012 at 4:42 AM, Fabrice Bacchella wrote: > This patch does something magic. A broken node (with allocator undefined > for Proc) is working when I apply your patch to the puppet master and > restart it. I can then remove it and the node will keep working. > Did you restart the pup

Re: [Puppet Users] Re: Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2012-10-24 Thread Jeff McCune
On Wed, Oct 24, 2012 at 1:35 PM, Nick Fagerlund < nick.fagerl...@puppetlabs.com> wrote: > > > On Wednesday, October 24, 2012 11:39:50 AM UTC-7, Jeff McCune wrote: >> >> >> >> Please note, I think Nick's original suggestion is slightly incorrect

Re: [Puppet Users] Re: Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2012-10-24 Thread Jeff McCune
On Wed, Oct 24, 2012 at 1:28 AM, imd wrote: > Changed the auth.conf and fileserver.conf in a way you suggested above, > now client gives another error: > > err: /Stage[main]/Profiles/File[/etc/profile.d/wrkdir.py]: Could not > evaluate: Error 400 on SERVER: Not authorized to call find on > /file_

Re: [Puppet Users] Re: Puppet 3.0: Not authorized to call find on /file_metadata, more issues?

2012-10-24 Thread Jeff McCune
On Wed, Oct 24, 2012 at 1:28 AM, imd wrote: > Changed the auth.conf and fileserver.conf in a way you suggested above, > now client gives another error: > > err: /Stage[main]/Profiles/File[/etc/profile.d/wrkdir.py]: Could not > evaluate: Error 400 on SERVER: Not authorized to call find on > /file_

Re: [Puppet Users] Too much access rights on /tmp/passenger.{pid}/backends

2012-10-24 Thread Jeff McCune
On Wed, Oct 24, 2012 at 4:30 AM, Romain Chartier wrote: > Hi! > > In a tight security environnement, we have to keep minimum access rights. > We found that /tmp/passenger.{pid}/backends is d-ws-wx-wx on root:root. > This directory is used by mod_passenger to keep execution queues. > > Is it possib

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-24 Thread Jeff McCune
> `run_command' > [2012-10-22 17:18:50] puppet-master[25373]: > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:346:in `run' > [2012-10-22 17:18:50] puppet-master[25373]: > /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:438:in `plugin_hook' > [2012-10-22 17:18:

Re: [Puppet Users] Re: Puppet interacting with CloudStack API (Ruby API client)

2012-10-23 Thread Jeff McCune
Ray, Are you the author of Class[Csapiclient] ? If so, the only suggestion I have is to try and find API calls that return the data you need in a quicker manner. The way the catalog and the resource abstraction layer operate is built on top of an assumption of synchronous and relatively fast sys

Re: [Puppet Users] puppet ca generate --dns-alt-names

2012-10-23 Thread Jeff McCune
On Tue, Oct 23, 2012 at 2:24 AM, Jonathan Gazeley < jonathan.gaze...@bristol.ac.uk> wrote: > I'm trying to generate a CA certificate that will be used on multiple > puppet masters, accessed by round robin DNS. > > The individual nodes have their own hostnames and the round robin name is > puppet.r

Re: [Puppet Users] Puppet interacting with CloudStack API (Ruby API client)

2012-10-23 Thread Jeff McCune
On Tue, Oct 23, 2012 at 7:20 AM, Ray wrote: > Hi, > > I want Puppet to talk to the CloudStack API. CloudStack has many > asynchronous API calls and Puppet's catalog run tends to expire even during > simple tasks such as adding port forwarding rules: > Is it the catalog run, or the catalog retrie

Re: [Puppet Users] How to trace puppet execution to troubleshoot odd problems

2012-10-22 Thread Jeff McCune
On Sat, Oct 20, 2012 at 7:09 PM, Jakov Sosic wrote: > On 10/16/2012 08:49 PM, Jeff McCune wrote: > > With the --debug flag, providers will print out the exact command >> they're executing to modify the system. >> > > What should a custom type/provider author

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-22 Thread Jeff McCune
Thanks, I didn't get a chance to dive into this today, but I'll try my best to investigate the problem soon. If it's Thursday and I haven't replied please ping me again. Am I correct in my understanding that this is only affecting one node? Could you also paste the output of facter --puppet --ya

Re: [Puppet Users] Re: Puppet 3.0 upgrade issue

2012-10-18 Thread Jeff McCune
On Thu, Oct 18, 2012 at 2:37 PM, Forrie wrote: > > Here is my config.ru (hash comments removed for brevity): > > > $0 = "master" > ARGV << "--rack" > ARGV << "--confdir" << "/etc/puppet" > require 'puppet/util/command_line' > run Puppet::Util::CommandLine.new.execute > I overlooked a setting for

Re: [Puppet Users] err: Could not retrieve catalog from remote server: Error 400 on SERVER: allocator undefined for Proc

2012-10-18 Thread Jeff McCune
Could you check the server logs and run the master with --verbose --debug --trace? The information I'm looking for is a backtrace to the file and ljne number that raised that exception. Thanks, -Jeff On Oct 18, 2012, at 5:26 AM, Fabrice Bacchella wrote: > My puppet setup break just a few hours

Re: [Puppet Users] How to trace puppet execution to troubleshoot odd problems

2012-10-16 Thread Jeff McCune
On Tue, Oct 16, 2012 at 10:48 AM, HPUX_PUPPET wrote: > What is the best way to get a full trace of what puppet is doing, with > variable dumps and state, to troubleshoot problems like where a user's > password keeps getting reset every time puppet runs even though the > password hashes match? >

Re: [Puppet Users] yum.puppetlabs.com rsync problem

2012-10-16 Thread Jeff McCune
On Mon, Oct 15, 2012 at 11:45 PM, Andrey Kononov wrote: > rsync to yum.puppetlabs.com didn`t work now =( > > 22/tcp open ssh > 25/tcp closed smtp > 80/tcp open http > 443/tcp open https > 631/tcp closed ipp > /tcp closed unknown > 5666/tcp open nrpe It seems to be working for

Re: [Puppet Users] Client 2.7 & Master 3.0 possible?

2012-10-15 Thread Jeff McCune
On Monday, October 15, 2012, Gregory B. wrote: > Do you know if it possible to use a master running puppet 3.0 with a > client running puppet 2.7? Yes, a master at 3.0 is backwards compatible with a 2.7 agent. -Jeff -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Error while installing puppet

2012-10-12 Thread Jeff McCune
still got error. ruby extconf.rb --with-openssl-include=/usr/local/ssl/include --with-openssl-lib=/usr/local/ssl/ LD_RUN_PATH=/usr/local/ssl/lib && make && make install On Thu, Oct 11, 2012 at 9:58 PM, Jeff McCune wrote: > Did you build your own Ruby and forget to compile the

Re: [Puppet Users] Re: Wrapper classes, ordering & anchors

2012-10-11 Thread Jeff McCune
On Thu, Oct 11, 2012 at 3:26 PM, R.I.Pienaar wrote: > > > - Original Message - > > From: "Mohit Chawla" > > To: puppet-users@googlegroups.com > > Sent: Thursday, October 11, 2012 11:19:48 PM > > Subject: Re: [Puppet Users] Re: Wrapper classes, ordering & anchors > > > > Hi, it works with

Re: [Puppet Users] expiry attribut of users applied every time

2012-10-11 Thread Jeff McCune
On Oct 11, 2012, at 12:13 PM, Stefan Schulte wrote: > On Thu, Oct 11, 2012 at 10:47:41AM -0700, Jeff McCune wrote: >> Nicholas, >> >> [...] >> We can't make this idempotent as a result. This is definitely a bug, >> would you mind filing it? If so, I&#

Re: [Puppet Users] expiry attribut of users applied every time

2012-10-11 Thread Jeff McCune
Nicholas, An easy way to reproduce the problem is to run `puppet resource` a number of consecutive times. We expect subsequent executions of Puppet to be idempotent, but they're clearly not: root@puppetmaster:~# puppet resource user jefftest expiry=2012-01-01 /User[jefftest]/expiry: defined 'exp

Re: [Puppet Users] Error while installing puppet

2012-10-11 Thread Jeff McCune
Did you build your own Ruby and forget to compile the openssl ruby bindings into MRI? I've certainly done this and forgot to compile against OpenSSL which caused this error. If you're building your own ruby, I strongly recommend using a build tool like rbenv [1] and ruby-build [2] to get a consis

Re: [Puppet Users] Re: Wrapper classes, ordering & anchors

2012-10-11 Thread Jeff McCune
On Thu, Oct 11, 2012 at 8:32 AM, Mohit Chawla wrote: > Hello, > > On Thu, Oct 11, 2012 at 8:39 PM, Jeff McCune wrote: > > Yes, this is a perfect example of when to employ the anchor pattern. It's > > also a perfect example of the bug we need to fix in puppet. > >

Re: [Puppet Users] Re: Wrapper classes, ordering & anchors

2012-10-11 Thread Jeff McCune
On Oct 11, 2012, at 7:09 AM, llowder wrote: On Thursday, October 11, 2012 8:37:39 AM UTC-5, alcy wrote: > > Hello, > > I have a class like: > > class wrapper { > include foo > include bar > include baz > } > > And a node like: > > node x { > include someclass > include wrapper > Cla

Re: [Puppet Users] Using collections

2012-10-11 Thread Jeff McCune
On Oct 11, 2012, at 7:48 AM, Maarten Thibaut wrote: Hi, I'm trying to use collections as shown below. The files I wish to collect get populated on the client, so the puppetmaster doesn't know the contents. I.e. I need to push these files to the server, and then distribute them back to the client

Re: [Puppet Users] expiry attribut of users applied every time

2012-10-10 Thread Jeff McCune
On Wed, Oct 10, 2012 at 1:39 AM, digrouz wrote: > Hello, > > I have class users with manage some user accounts. for some of them i have > set the expiry attribut in the past '2012-01-01' to disable the account. > > The problem is that puppet set this expiration date at every run: > ... > /Stage[ma

Re: [Puppet Users] Extra options for the diff program ?

2012-10-10 Thread Jeff McCune
On Wed, Oct 10, 2012 at 9:35 AM, kish wrote: > How do I send in extra options to the diff program that runs when > puppet shows the diff between files. > > I'm looking to get the sdiff kind of output. > > Can't seem to remember the option. I think you're looking for these options, settable in pu

Re: [Puppet Users] Re: Migration from Puppet 2.6.7 to 3.0.0 issues

2012-10-10 Thread Jeff McCune
I haven't seen this specific issue yet. How did you upgrade from 2.6 to 3.0.0? A common problem when upgrading from source or with rubygems is having multiple copies of puppet installed. This can cause issues loading code from both versions of Puppet into the same process. -Jeff On Wed, Oct 10

Re: [Puppet Users] 3.0 and Passenger

2012-10-09 Thread Jeff McCune
On Tue, Oct 9, 2012 at 9:31 AM, Worker Bee wrote: > Can anyone direct me to documentation for configuring 3.0 to use > apache/passenger? I cannot seem to fin this for puppet open source. The documentation is largely the same as previous versions [1], the difference being a new config.ru [2] file

Re: [Puppet Users] Re: Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-09 Thread Jeff McCune
On Mon, Oct 8, 2012 at 12:21 PM, Jeff McCune wrote: > > Finally, we acknowledge that using `ensure => latest` inside of > Puppet, or doing the equivalent of `yum install puppet` in kickstart, > scripts, or cobbler doesn't qualify as knowingly deciding to upgrade > acros

Re: [Puppet Users] Invalid resource type anchor.

2012-10-08 Thread Jeff McCune
That's a strange issue. I wonder if it's caused by the class name containing a hyphen? Does this happen to be the puppetlabs-apt module? -Jeff -- 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@g

Re: [Puppet Users] Re: Puppet 2.7 v 3.0 in the PuppetLabs yum repo

2012-10-08 Thread Jeff McCune
onsibility for resolving it. I hope this helps and thank you again for reporting this issue, -Jeff McCune [1] http://infodesign.com.au/articles/themythofthestupiduser/ [2] http://swizec.com/blog/stupid-users-are-a-myth/swizec/449 [3] http://www.amazon.com/Design-Everyday-Things-Donald-Norman/dp/04650

  1   2   3   4   5   >