[Puppet Users] Re: Puppet Master as agent to itself continues to generate SSL errors

2021-09-12 Thread Nathan Abbott
anyone can think of? Thanks in advance -Nathan On Saturday, June 20, 2015 at 12:31:37 AM UTC+9:30 jeff...@gmail.com wrote: > I've been battling this issue all week with a new puppet (open source) > build out. I stood up the puppet master and configured it. I have a test > agent t

Re: [Puppet Users] Re: hiera-eyaml - masterless puppet

2016-10-04 Thread Nathan Jones
hiera-eyaml-kms is a good solution that uses AWS KMS to manage encryption keys. EC2 instances can be provisioned with an IAM instance profile that grants access to the required keys. -- You received this message because you are subscribed to the

[Puppet Users] Re: issue creating symlink

2016-05-09 Thread Nathan Crews
Worked Perfectly, Thank you On Monday, May 9, 2016 at 3:03:38 AM UTC-6, Peter Faller wrote: > > Maybe all you need is: > > file { 'docroot': > path => '/var/www/html', > ensure=> link, > force => true, > target=> '/vagrant/public', > } > > -- You received this message

[Puppet Users] issue creating symlink

2016-05-06 Thread Nathan Crews
Currently i'm using Vagrant and bash scripts to provision a local dev environment. I'm working on moving this to Puppet and running into an issue with creating a symlink to my apache document root that I cant seem to sort out. These are the commands in the bash script i'm trying

Re: [Puppet Users] Puppet Enterprise Installation errors

2015-12-22 Thread nathan joiner
to permissive Any other ideas? On Tuesday, December 22, 2015 at 1:22:49 PM UTC-5, Martin Alfke wrote: > > Hi Nathan, > > On 22 Dec 2015, at 18:54, Lindsey Smith <l.s...@puppetlabs.com > > wrote: > > > > > > > On Tue, Dec 22, 2015 at 9:36 AM, nathan joiner

[Puppet Users] Puppet Enterprise Installation errors

2015-12-22 Thread nathan joiner
Good Morning, I'm trying to setup PE puppet master server and a windows agent node but I'm getting "no authorization" when trying to run the puppet-enterprise-installer. Environment: - I'm using a windows 7 machine - Using Cmder to add and ssh into a CentOS server that will be used as the

[Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Hi, I think I'm misunderstanding either Hiera data bindings or the hash merge functions, but I'm not sure which. When I override a Hiera setting in a more specific level of the heriarchy, only that setting gets applied. In fact, settings from more general levels get removed. Example: I'm

Re: [Puppet Users] puppet, hiera, and overrides

2014-12-08 Thread Nathan Earixson
Thank you. I get it now. -n On Monday, December 8, 2014 3:13:26 PM UTC-6, Ramin K wrote: On 12/8/14 12:56 PM, Nathan Earixson wrote: sudo -u puppet hiera --hash ssh::server_options environment=test ::kernel=Linux {PermitRootLogin=no, ClientAliveInterval=540, TCPKeepAlive=yes

Re: [Puppet Users] Cisco: No error, but no Applying

2014-08-25 Thread Nathan Brito
escreveu: On Fri, Aug 22, 2014 at 12:10 PM, Nathan Brito natha...@gmail.com javascript: wrote: I'm trying to apply settings on a Cisco Catalyst 2960S through the puppet, but I can not. When I give the device #puppet verbose command, the puppet does not return me error but does not apply

[Puppet Users] Cisco: No error, but no Applying

2014-08-22 Thread Nathan Brito
I'm trying to apply settings on a Cisco Catalyst 2960S through the puppet, but I can not. When I give the device #puppet verbose command, the puppet does not return me error but does not apply the manifest. *Follows the return of the command:* #puppet device --verbose Info: starting

[Puppet Users] On code organization and the deprecation of include

2014-05-21 Thread Andre Nathan
Hello I have a fairly large repository (~100 modules, ~50 classes, ~200 nodes). It is currently organized like this: modules/ apache2/ manifests/ files/ templates/ iptables/ manifests/ files/ templates/ postfix/ manifests/ files/

Re: [Puppet Users] On code organization and the deprecation of include

2014-05-21 Thread Andre Nathan
On Wednesday, May 21, 2014 1:14:31 PM UTC-3, Garrett Honeycutt wrote: I believe you mean the deprecation of 'import'. Woops, indeed. The easiest way to fix this is to cat all of your files together into one site.pp file. Now that's even worse than having all node files in a single

Re: [Puppet Users] On code organization and the deprecation of include

2014-05-21 Thread Andre Nathan
On Wednesday, May 21, 2014 1:59:09 PM UTC-3, Doug_F wrote: I organize my setup so that hiera looks for my nodes under hieradata/nodes/certname.yaml I see no reason not to allow further nesting if needed. It may be the only solution for me, but I'd rather not use YAML files as the risk of

Re: [Puppet Users] CloudFormation/puppet/hiera integration..

2014-04-01 Thread Nathan Valentine
-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/7d2b3b5a-87b5-4078-bff1-ab3e0ed49388%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- --- Nathan Valentine, Puppet Labs Professional

Re: [Puppet Users] CloudFormation/puppet/hiera integration..

2014-04-01 Thread Nathan Valentine
variables. In the case of AWS/EC2 facts this is done, if memory serves, via a Type and Provider that queries the 169.x node metadata service embedded in AWS/EC2. Sorry, perils of multitasking... s/Type and Provider that/series of custom facts which/g. -- You received this message because you

Re: [Puppet Users] Puppet certification PPT-202

2014-04-01 Thread Nathan Valentine
http://puppetlabs.com/services/certification has a pretty solid list of pre-cert study materials but, yes, the more hands-on experience you have with Puppet/PE the better. Of the self-study resources mentioned there, I highly recommend: 1) The Puppet Certification Practice Test 2) The Puppet

Re: [Puppet Users] Hash iteration order in a template not consistent

2014-02-24 Thread Andre Nathan
On Friday, February 21, 2014 10:15:01 AM UTC-3, Andre Nathan wrote: On Thursday, February 20, 2014 12:06:15 PM UTC-3, jcbollinger wrote: File a ticket if you wish, but personally, I'm inclined to say that *any*reliance on iteration order of a hash is dodgy. If iteration order matters

Re: [Puppet Users] Hash iteration order in a template not consistent

2014-02-21 Thread Andre Nathan
On Thursday, February 20, 2014 12:06:15 PM UTC-3, jcbollinger wrote: File a ticket if you wish, but personally, I'm inclined to say that *any*reliance on iteration order of a hash is dodgy. If iteration order matters then you need to take proactive measures to ensure that you reliably get

Re: [Puppet Users] Hash iteration order in a template not consistent

2014-02-19 Thread Andre Nathan
Hello Sorry to ressurect this old thread, but I've just found this issue upgrading from Puppet 2.7.x to Puppet 3. It's true that ruby 1.8 hash order cannot be relied on, but it should always be the same, right? I mean, one doesn't know which order the hash contents will be iterated on, but

[Puppet Users] Re: Thoughts on roles/profiles class paradigm

2014-01-22 Thread Nathan Nobbe
is a simple guideline - leverage inheritance (or the hiera hierarchy) as much as possible and introduce composition on a need-to basis. Composition is necessary though, unless all your systems are identical. Thanks again Craig for the article. Neat to find you on the google group! -nathan -- You

[Puppet Users] Installed pupet , node_aws not showing up

2014-01-20 Thread Nathan Paul
Hi All, Newbie Starting with Puppet on ubuntu Installed puppet, puppetlabs/cloud_provisioner, gems guid and fog Puppet help not showing node_Aws command. What else i need to install Thanks in advance. NP -- You received this message because you are subscribed to the Google Groups Puppet

[Puppet Users] Puppet open source node_aws

2014-01-20 Thread Nathan Paul
Hi All, I am just starting to setup Puppet on Ubuntu. Puppet node_aws commnad is not seen when I run puppet. Do I need to install any other packages, If I need to run puppet with AWS ec2. Thanks in advance for the help, NP -- You received this message because you are subscribed to the

Re: [Puppet Users] Puppet Fundamentals training - how fundamental is it?

2014-01-17 Thread Nathan Valentine
-4ffc-ae19-a1b3912b695c%40googlegroups.com . For more options, visit https://groups.google.com/groups/opt_out. -- --- Nathan Valentine, Puppet Labs Professional Services Have you seen : http://ask.puppetlabs.com , http://puppetlabs.com/learn ? -- You received this message because you

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Nathan Valentine
, visit https://groups.google.com/groups/opt_out. -- --- Nathan Valentine, Puppet Labs Professional Services Have you seen : http://ask.puppetlabs.com , http://puppetlabs.com/learn ? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe

Re: [Puppet Users] The Future - ENCs vs Hiera?

2014-01-08 Thread Nathan Valentine
one-off tweaks to a node's config like perhaps an override of the default NTP server coming from CouchDB. Much easier for the less Puppet-y people on a team to login and twiddle things via CouchDB web interface. On Wed, Jan 8, 2014 at 3:52 PM, Nathan Valentine nat...@puppetlabs.comwrote: Keep

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
You are making external facts too complicated. More like this: hello.rb --- #!/usr/bin/env ruby puts hello=Hello, World! hello.yaml --- --- hello='Hello, World!' https://docs.puppetlabs.com/guides/custom_facts.html#external-facts -- --- Nathan Valentine, Puppet

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
sorry, s/=/:/g in hello.yaml On Wed, Jan 8, 2014 at 4:40 PM, Nathan Valentine nat...@puppetlabs.com wrote: You are making external facts too complicated. More like this: hello.rb --- #!/usr/bin/env ruby puts hello=Hello, World! hello.yaml --- --- hello='Hello

Re: [Puppet Users] Where do custom facter facts go on the Learning VM ? Is that the cause of these behaviors?

2014-01-08 Thread Nathan Valentine
--debug all of the facts give the same error message I give above that they were parsed but returned an empty dataset. If I run puppet agent --test then it is as if my fact did not exist. Any ideas? On Wednesday, January 8, 2014 4:40:10 PM UTC-8, Nathan Valentine wrote: You are making external

[Puppet Users] Re: very odd Duplicate declaration problem.

2013-12-19 Thread Nathan Earixson
aha. this was it. I had: package { bind: ensure = installed } OUTSIDE of the class site::dns_test { declaration. Thank you very much for the help. -n On Wednesday, December 18, 2013 8:52:57 AM UTC-6, jcbollinger wrote: On Tuesday, December 17, 2013 2:35:58 PM UTC-6, Nathan Earixson

[Puppet Users] very odd Duplicate declaration problem.

2013-12-17 Thread Nathan Earixson
puppet 3.3.2 on RHEL6 If I run puppet on a node: # sudo puppet agent --test --noop I get the following error: *Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Package[bind] is already declared in file

Re: [Puppet Users] Can't find good tutorial/how-to

2013-11-26 Thread Nathan Valentine
Hey, Stephen. I point people here: https://puppetlabs.com/learn/library. Free self-directed videos about core Puppet concepts with similar content to the instructor-led courses. Great resource if a little hard to find on the website. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs

[Puppet Users] Pass aggregate hash to class to declare several defined types

2013-10-30 Thread Nathan Nobbe
have to write a class per each node declaration? thanks, -nathan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com

[Puppet Users] Re: Pass aggregate hash to class to declare several defined types

2013-10-30 Thread Nathan Nobbe
Solved it with create_resources. On Wednesday, October 30, 2013 4:58:44 PM UTC-6, Nathan Nobbe wrote: Hi, A bit of background, I'm trying to move from node inheritance to hiera. With node inheritance I could declare defined types at several levels, for example, say for all

Re: [Puppet Users] Best of Breed Modules?

2013-09-27 Thread Nathan Valentine
. The above determines which ones I'll download for further review. Hope that helps. BTW, there's a lot work going into the Forge to improve the above heuristic. Ryan's your guy. :) -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0

Re: [Puppet Users] augeas question

2013-09-23 Thread Nathan Valentine
-- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet

[Puppet Users] Java module woes

2013-09-11 Thread Nathan Nobbe
good people help a newb glue this one together? thanks, -nathan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Nathan Valentine
Check both of the following: /etc/hosts and /etc/sysconfig/network. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe

Re: [Puppet Users] Where does the puppet master get its hostname

2013-09-10 Thread Nathan Valentine
grover.example.com grover and the cert is now named grover.example.com. :) Thank you!!! Greg On Tuesday, September 10, 2013 12:16:12 PM UTC-7, Nathan Valentine wrote: Check both of the following: /etc/hosts and /etc/sysconfig/network. -- --- Nathan Valentine - nat...@puppetlabs.com

Re: [Puppet Users] freebsd clients failing to connect to new master with ssl errors

2013-05-07 Thread Nathan Valentine
This smells like a problem related to incorrect system clock when the cert was generated for the new master.?. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 Join us at PuppetConf 2013, August 22-23 in San Francisco - http

[Puppet Users] Current status of Puppet and MCollective on Windows

2013-04-25 Thread Nathan Shirlberg
implementations. Thanks, Nathan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet

Re: [Puppet Users] Current status of Puppet and MCollective on Windows

2013-04-25 Thread Nathan Shirlberg
We are running puppet now on about 30 windows boxes (xp to 2008 server and everything in between). If you need any help creating or testing install packages i would be happy to help. When you build a package for windows do you plan to build an MSI that would install everything on the Windows

Re: [Puppet Users] Grouping hosts for stage deployment

2013-04-02 Thread Nathan Valentine
. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 *Join us at PuppetConf 2013, August 22

Re: [Puppet Users] Dependency Cycle Question

2013-04-02 Thread Nathan Valentine
. -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype: nrvale0 *Join us at PuppetConf 2013, August 22-23 in San Francisco - * http://bit.ly/pupconf13 -- You received this message because you are subscribed to the Google Groups Puppet Users group

[Puppet Users] Re: One Dashboard for Multiple Masters

2013-03-19 Thread Nathan Long
, March 14, 2013 4:56:04 PM UTC-5, Nathan Long wrote: I'm trying to connect multiple masters to one dashboard and I'm having trouble with Facter. I started out initially with one master connected to the dashboard and that one works perfectly fine. Then I added a second master by setting

[Puppet Users] One Dashboard for Multiple Masters

2013-03-15 Thread Nathan Long
I'm trying to connect multiple masters to one dashboard and I'm having trouble with Facter. I started out initially with one master connected to the dashboard and that one works perfectly fine. Then I added a second master by setting the reporturl to point to the dashboard. The new nodes

[Puppet Users] Re: Site module with Puppet Enterprise

2013-03-06 Thread Nathan Valentine
Paleoposting FTW! I've been doing enough work with site modules as of late that I decided to make a git repo with a basic site module set up for following Craig Dunn's Roles and Profiles pattern. Or at least something very similar (no inheritance):

[Puppet Users] Using Puppet with Windows MSIs

2013-03-04 Thread Nathan Shirlberg
to ensure that previous versions are uninstalled and adding the new version to the manifest. Thanks, Nathan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet

[Puppet Users] Re: Windows MSIs and detecting version changes.

2013-03-04 Thread Nathan Shirlberg
AM UTC-6, Nathan Shirlberg wrote: Puppet Package for windows MSI correctly detects whether the Package is installed or not, but will not detect that the new MSI file is newer and thus the Package needs to be updated. My seems almost identical to http://projects.puppetlabs.com/issues/13104

Re: [Puppet Users] Checking GIT updates

2013-02-14 Thread Nathan Valentine
Hey, John. llowder's recommendation is solid. There's a write-up on how to accomplish the push/post-commit strategy here: https://puppetlabs.com/blog/git-workflow-and-puppet-environments/ -- --- Nathan Valentine - nat...@puppetlabs.com Puppet Labs Professional Services GV: 415.504.2173 Skype

[Puppet Users] Configuration for modules

2012-12-08 Thread Nathan Ward
I'm writing a module (with new types and new providers) to configure Splunk (either main servers or forwarders) that uses the Splunk REST API. This API needs some authentication information, and I'd like that to be configurable per-host (ie per host that puppet agent runs on). Is there a

[Puppet Users] Re: augeas syntax for adding similar lines to hosts.allow

2012-11-07 Thread Nathan Huff
You are going to probably need something along the lines of context = '/files/etc/hosts.allow' changes = [ 'ins 01 after *[last()]', 'set 01/process[1] ssh', 'set 01/process[2] ssh2', 'set 01/client ipaddr' ] onlyif = 'match *[process[1] == 'ssh' and 'client' == 'ipaddr'] size == 0' you

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

2012-11-05 Thread Nathan Huff
/classes/test__c_spec.rb This doesn't rspec spec/classes/test__c_spec.rb spec/classes/test_spec.rb Running them both separately works too. On Monday, October 29, 2012 2:48:25 PM UTC-5, Nathan Huff wrote: Looks like the subnamespace thing isn't important either. Just having two classes triggers

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

2012-10-29 Thread Nathan Huff
wrote: 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

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

2012-10-29 Thread Nathan Huff
files in place the system complains about anchor not being defined. If you remove the test file for test::c the test for class test will pass. On Monday, October 29, 2012 10:36:50 AM UTC-5, Nathan Huff wrote: A super simple module that just has a file and anchor resources works fine so it isn't

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

2012-10-29 Thread Nathan Huff
Looks like the subnamespace thing isn't important either. Just having two classes triggers this as well. On Monday, October 29, 2012 1:13:05 PM UTC-5, Nathan Huff wrote: OK so I have what I think is a minimal test case here: https://github.com/nhuff/spec-failure The readme has a list

[Puppet Users] Puppet 3.0 + Inventory search

2012-10-04 Thread Nathan Flynn
Hello, I am having problems with Puppet since upgrading to 3.0.0. When I call an inventory search I get a Error 400. I have used dashboard + Perl Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET /production/facts_search/search?facts.lsbdistcodename.eq=lenny Oct 4 08:58:43

[Puppet Users] Re: Puppet 3.0 + Inventory search

2012-10-04 Thread Nathan Flynn
puppet01 puppet-master[1893]: /usr/lib/phusion_passenger/passenger-spawn-server:61 On Thursday, 4 October 2012 10:00:34 UTC+1, Nathan Flynn wrote: Hello, I am having problems with Puppet since upgrading to 3.0.0. When I call an inventory search I get a Error 400. I have used dashboard + Perl

[Puppet Users] Re: Puppet 3.0 + Inventory search

2012-10-04 Thread Nathan Flynn
October 2012 10:00:34 UTC+1, Nathan Flynn wrote: Hello, I am having problems with Puppet since upgrading to 3.0.0. When I call an inventory search I get a Error 400. I have used dashboard + Perl Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET /production/facts_search

[Puppet Users] undefined method `has_fact_with_value' for #Class:0x7eff09faf2f8

2012-05-18 Thread Nathan Flynn
Hello, When I do a facts search I get an error; Example; https://puppet01.admin.X.net.uk:8140/production/facts_search/search?facts.operatingsystem=Debian undefined method `has_fact_with_value' for #Class:0x7eff0a00c930 Any help on tracking this down would be greatly appreciated. The error

Re: [Puppet Users] support on rhel / epel

2012-05-16 Thread Nathan Powell
to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Nathan Powell Linux System Administrator This machine kills fascists ~ Woody Guthrie -- You received this message because you are subscribed to the Google

[Puppet Users] Includes and parametrized class redefinition

2012-04-27 Thread Andre Nathan
Hello I have some code that works like the simplified clase shown below. The idea is to have a define foo that includes a class foo::pre which contains resources that need to be executed before the define is called. The define can be called multiple times but the initialization has to be done

[Puppet Users] Re: Includes and parametrized class redefinition

2012-04-27 Thread Andre Nathan
Hello John On Friday, April 27, 2012 9:58:09 AM UTC-3, jcbollinger wrote: I know it's not what you want to hear, but Hiera is your best bet. I don't think the code base size is relevant, because I don't think the time and effort to implement an Hiera-based class data source is likely to

[Puppet Users] Help with parametrized class include

2012-04-26 Thread Andre Nathan
Hello I have some puppet code that does the equivalent of the following. The idea is to have a define foo with some actions that must be executed before it runs (foo::pre). Since the resources in foo::pre can only be defined once, it's implemented as a class, and included from the define: class

Re: [Puppet Users] 32bit and 64bit version of a package

2012-02-23 Thread Nathan Powell
: package { libstdc++.i386 : ensure = latest } It tells me nothing to do What does it say if you do: sudo yum -q install libstdc++.i386 -- Nathan Powell Linux System Administrator Now I see it clearly. My whole life is pointed in one direction. I see that now. There never has been any choice

Re: [Puppet Users] Sorted hash in template example

2012-02-23 Thread Nathan Powell
On Thu, Feb 23, 2012 at 5:20 PM, Jared Curtis ja...@shift-e.info wrote: Does anyone have a better solution? Better? I dunno. But an array of hashes will do what you want as well. dbs = [{:foo = 'bar'}, {:hai = 'bai'} ] dbs[0] etc. -- Nathan Powell Linux System Administrator Now I see

Re: [Puppet Users] Re: Problem with Custom Facter

2012-02-21 Thread Nathan Powell
) of Ruby are elegant and use them every chance I get. Both are fine and valid though. -- Nathan Powell Linux System Administrator Where else would you rather be than right here, right now? ~ Marv Levy -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Problem with Custom Facter

2012-02-20 Thread Nathan Powell
this code on the same version of EL that you are deploying to? AFACT #lines wasn't added until 1.8.7 and if you are deploying to EL5 you don't have that. -- Nathan Powell Linux System Administrator Where else would you rather be than right here, right now? ~ Marv Levy -- You received this message

Re: [Puppet Users] Problem with Custom Facter

2012-02-20 Thread Nathan Powell
all those gyrations to get this data Tested quickly on RHEL6 and CentOS5: `sudo yum check-update -q`.split(/\n/).reject{|i| i == }.length -- Nathan Powell Linux System Administrator Where else would you rather be than right here, right now? ~ Marv Levy -- You received this message because you

Re: [Puppet Users] Dashboard using extlookup

2012-02-06 Thread Nathan Flynn
Hello, I have been playing around with this today and have managed to get it working. It appears if you are using puppet-dashboard and use external nodes you do not need to call extlookup() to access to variable, it is just globally available. Example: root@puppet01:/etc/puppet#

[Puppet Users] Chaining behavior

2011-10-24 Thread Andre Nathan
Hello I'm experimenting with the new resource chaining syntax. Here's the code: class first { notice(first) } class second { notice(second) } class third { notice(third) } include third include second include first Class[first] - Class[second] - Class[third] Shouldn't the last

Re: [Puppet Users] How-To Question: Installing a service that does not come in an RPM ?

2011-10-18 Thread Nathan Clemons
The one thing that I'll mention is that you want to use hasstatus = true whenever possible, I've found, at least on older versions of Puppet (0.25.x). Sometimes the logic it tries to use otherwise doesn't quite work, but using the /etc/init.d/servicename status check seems to work fine. -- Nathan

Re: [Puppet Users] How-To Question: Installing a service that does not come in an RPM ?

2011-10-18 Thread Nathan Clemons
appropriately. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Oct 18, 2011 at 6:11 PM, Dan White y...@comcast.net wrote: Thanks for the opinion. I understand your concern, but I have a need to do exactly that. Making a long story short

Re: [Puppet Users] file server not right directory?

2011-10-12 Thread Nathan Clemons
/mysql] } -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Oct 12, 2011 at 2:49 PM, olympus stance olympus.sta...@gmail.comwrote: Hi Jacob, My init.pp file is a symbolic link to the mysql-server.pp in the classes directory. It looks

Re: [Puppet Users]

2011-09-29 Thread Nathan Clemons
in mind. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Sep 29, 2011 at 7:05 AM, Mark Ardiente mark_k...@yahoo.com wrote: http://biggerbras.ca/store/site.php?html50 -- You received this message because you are subscribed to the Google

Re: [Puppet Users] fighting packaging

2011-08-12 Thread Nathan Clemons
Isn't there an adminfile option to the package resource that will let you pass responses as if it were an interactive session? Not sure if it's supported for the apt provider, but worth looking into if you haven't already. -- Nathan Clemons http://www.livemocha.com The worlds largest online

[Puppet Users] Re: puppet dashboard error 500 when trying to view a report detail

2011-08-08 Thread Nathan Yehle
I get this error too using rpms for puppet installed on SL55 x86_64 puppet-2.6.6-1.el5 puppet-dashboard-1.1.1-1 puppet-server-2.6.6-1.el5 Did you ever fix it? -Nate -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion on the

Re: [Puppet Users] Re: Managing sudo via puppet using #includedir

2011-08-01 Thread Nathan Clemons
These are the perms we're using for that functionality: dr-xr-x--- 2 root root 4096 Jul 7 18:09 /etc/sudoers.d -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Mon, Aug 1, 2011 at 2:49 PM, treydock treyd...@gmail.com wrote: From the sudoer

[Puppet Users] puppet-dashboard delayed workers

2011-07-12 Thread Nathan
the worker. however it seems as though it is not running (or if it is how can I check?) and the back ground task section in the web front end is not decreasing. the version is 1.1.9 Thanks Nathan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

[Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nathan Yehle
I'm stuck at this bug too, SL55 x86_64 ruby-1.8.5-5.el5_4.8, puppet- dashboard-1.1.1-1 -N -- 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

[Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nathan Yehle
-18 patchlevel 334) [x86_64-linux] On Jul 1, 10:56 am, Nathan Yehle zimc...@gmail.com wrote: I'm stuck at this bug too, SL55 x86_64 ruby-1.8.5-5.el5_4.8, puppet- dashboard-1.1.1-1 -N -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post

Re: [Puppet Users] require = Class

2011-06-30 Thread Nathan Clemons
Are both of the .pp files being imported in site.pp / init.pp? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 30, 2011 at 5:19 PM, brijesh bridgepa...@gmail.com wrote: Hi I have been trying to use class dependency and had

Re: [Puppet Users] Puppet client do-overs

2011-06-30 Thread Nathan Clemons
What problem do you have with puppetstoreconfigclean.rb? The problem I usually have is that I forget it has to be run as root on the puppetmaster, I keep thinking I need to run it on the client machine. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning

Re: [Puppet Users] struggling with precedence/declarative language

2011-06-28 Thread Nathan Clemons
Did the error change, at least? If so, can you post the new error? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 28, 2011 at 11:23 AM, Craig White craig.wh...@ttiltd.comwrote: On Jun 28, 2011, at 11:14 AM, Cosimo Streppone wrote

Re: [Puppet Users] Re: Different users within same exec

2011-06-26 Thread Nathan Clemons
I agree with Daniel... if USER 1 is creating FOLDER 1 which is owned by root... why is COMMAND 1 not being run by the user root? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Sun, Jun 26, 2011 at 11:01 AM, ssk1287 kulkarni.swar

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
of switching over to using MCollective to trigger Puppet runs. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 1:47 AM, Sergey V. Arlashin sergey...@gmail.comwrote: By default puppet node connects to server periodically

Re: [Puppet Users] ssh_authorized_key and NIS user

2011-06-24 Thread Nathan Clemons
I'm wondering if the User provider has the capability to look up accounts via NIS. It's been a long time since I've used NIS, however, so I don't know if this is the problem for sure. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
Under 0.25, we do puppet --onetime --no-daemonize. I'm not sure if that syntax changed in 2.6.x and above. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 7:14 AM, sergey sergey...@gmail.com wrote: And how

Re: [Puppet Users] Enable yum repositories as needed

2011-06-24 Thread Nathan Clemons
There's an open bug concerning this very issue, in regards to being able to specify which repos to use when installing an rpm using the package resource. http://projects.puppetlabs.com/issues/2247 -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community

Re: [Puppet Users] Different users within same exec

2011-06-24 Thread Nathan Clemons
Use su -c cmd user? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 24, 2011 at 3:06 PM, ssk1287 kulkarni.swar...@gmail.com wrote: I have the following exec in my manifest : exec { some_exec: path = [ /bin,/usr/bin,/usr/local

Re: [Puppet Users] Questions for puppet 2.6.8 client certificate management

2011-06-17 Thread Nathan Clemons
I could be wrong, as I'm still on 0.25 myself, but I think you want the --waitforcert seconds option. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 17, 2011 at 5:49 AM, TJ Yang tjyang2...@gmail.com wrote: How do I initiate

Re: [Puppet Users] Problem in wordpress moodule.

2011-06-17 Thread Nathan Clemons
Simple question, but does wordpress.tar.gz exist in /var/www/ ? I would expect that you would want your tar exec to depend on whatever is deploying the wordpress tar.gz file (another Exec or a File resource), so that you know it's there before you try to use it. -- Nathan Clemons http

Re: [Puppet Users] Re: Puppet recipe to copy and execute a shell file

2011-06-17 Thread Nathan Clemons
You want: file { blah: ... } exec {blah2: ... require = File['blah'] } That way you ensure the file is created before you try to run the exec. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Jun 17, 2011 at 10:43 AM, Annie Rana

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Nathan Clemons
What's the length of time on the CA cert? -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 16, 2011 at 10:40 AM, Jacob Helwig ja...@puppetlabs.com wrote: On Tue, 14 Jun 2011 17:01:20 +0200, j...@squirk.org wrote: hi, my

Re: [Puppet Users] puppet CA expired

2011-06-16 Thread Nathan Clemons
Thanks. I think having to go out across the board once every 5 years is quite acceptable, although advance warning from the master that it's going to happen would definitely be a good thing. Jean: Kudos to running Puppet for 5 years! :) -- Nathan Clemons http://www.livemocha.com The worlds

Re: [Puppet Users] functions and environments

2011-06-16 Thread Nathan Clemons
. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 16, 2011 at 12:42 PM, Aaron Grewell aaron.grew...@gmail.comwrote: If you want your environments to never be able to affect one another then your module paths should not contain any

Re: [Puppet Users] array in template

2011-06-15 Thread Nathan Clemons
Do you have any machines which show the 32-bit machines as i686? I know at least 32-bit Ubuntu will use that: nathan@vervain:~$ arch i686 nathan@vervain:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION=Ubuntu 10.04.2 LTS nathan@vervain

Re: [Puppet Users] puppet clients

2011-06-14 Thread Nathan Clemons
the pieces fit together. http://www.apress.com/catalogsearch/result/?q=puppetsubmit=Go -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 14, 2011 at 10:02 AM, Craig White craig.wh...@ttiltd.comwrote: On Jun 14, 2011, at 9:35 AM

Re: [Puppet Users] Creating Users and Hashing it's password.

2011-06-08 Thread Nathan Clemons
What I do is set the password on one host, and then copy the hash out of /etc/shadow into the Puppet definition to be set on the other hosts. By default the Puppet providers expect that the password field will be hashed as used on the system, not plaintext. -- Nathan Clemons http

Re: [Puppet Users] backup files whith bad arborescence

2011-06-03 Thread Nathan Clemons
I think this is done because file systems can bog down with too many files (or directories) inside one directory. By breaking down the hierarchy like they do, they help keep performance optimal. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community

Re: [Puppet Users] How do I enable repositories and install packages

2011-06-01 Thread Nathan Clemons
. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Wed, Jun 1, 2011 at 9:19 AM, hyzhang hyzh...@jcvi.org wrote: Hi, My shell script is as below. How do I translate them to puppet language? I think I can use exec directly. But is there a better way

  1   2   >