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

2021-09-12 Thread Nathan Abbott
le/quicker solution that 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 i

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 Goo

[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 be

[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 replace/replica

Re: [Puppet Users] Puppet Enterprise Installation errors

2015-12-22 Thread nathan joiner
linux is set 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 > wrote: > > > > > > > On Tue, Dec 22, 2015 at 9:36 AM, nathan joiner > wrote: >

[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 Pupp

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"

[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 using

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

2014-08-25 Thread Nathan Brito
22 de agosto de 2014 17h36min33s UTC-3, Nan Liu escreveu: > > On Fri, Aug 22, 2014 at 12:10 PM, Nathan Brito > wrote: > >> I'm trying to apply settings on a Cisco Catalyst 2960S through the >> puppet, but I can not. >> >> When I give the "device #pup

[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 app

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 ris

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

[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] 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 Lear

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 y

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

2014-04-01 Thread Nathan Valentine
et Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-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%40

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

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

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 wha

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

2014-01-22 Thread Nathan Nobbe
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 received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscrib

[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 Google

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

2014-01-17 Thread Nathan Valentine
bscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/2252a549-b862-4ffc-ae19-a1b3912b695c%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- --- Nathan Valentine, Puppet La

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
gt; > If I run facter --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

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 wrote: > You are making external facts too complicated. More like this: > > > hello.rb > --- > #!/usr/bin/env ruby > puts "hello=Hello, World!" > > > hello.yaml >

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 -- --- Nath

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

2014-01-08 Thread Nathan Valentine
in YAML and specific 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 wrote:

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

2014-01-08 Thread Nathan Valentine
sgid/puppet-users/cbae58f9-3e14-472e-906d-ce7a3be355af%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 re

[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 Tuesda

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

2013-12-19 Thread Nathan Earixson
alog and temporarily resolve the > problem. > > If necessary, are you able to update to the latest 3.4rc (agent might > suffice) for testing? > > Jeff > > On 12/17/2013 03:35 PM, Nathan Earixson wrote: > > puppet 3.3.2 on RHEL6 > > If I run puppet on a node: &g

[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 /etc/puppet/modules/site/manifests/dns_te

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] 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 >

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

2013-10-30 Thread Nathan Nobbe
her parameters to yumrepo type... ) end end Can someone help me get off the ground with this Ruby DSL, or show me a better way in general, one where I don't have to write a class per each node declaration? thanks, -nathan -- You received this message because you are subs

Re: [Puppet Users] Best of Breed Modules?

2013-09-27 Thread Nathan Valentine
nice thing to inspect as well. 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 Prof

Re: [Puppet Users] augeas question

2013-09-23 Thread Nathan Valentine
pace-y Augeas stuff. You can test like so with augtool: $ augtool ls */files*/vsftpd/vsftpd.conf -- --- 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 &quo

[Puppet Users] Java module woes

2013-09-11 Thread Nathan Nobbe
es --set java /usr/java/jre1.6.0_45/bin/java but I already know enough puppet to know that's not the way to do it :) Can you 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" gro

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

2013-09-10 Thread Nathan Valentine
I switched that to: > > ip 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

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"

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

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 cli

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

2013-04-25 Thread Nathan Shirlberg
ut the windows 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

Re: [Puppet Users] Dependency Cycle Question

2013-04-02 Thread Nathan Valentine
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-users@googlegroups.com. > Visit this group at http:/

Re: [Puppet Users] Grouping hosts for stage deployment

2013-04-02 Thread Nathan Valentine
o 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-users@googlegroups.com. > Visit this group at http://grou

[Puppet Users] Re: One Dashboard for Multiple Masters

2013-03-19 Thread Nathan Long
n Thursday, 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 add

[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 appear

[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): https://github.com/nvalentine-puppetlabs/si

Re: [Puppet Users] Using Puppet with Windows MSIs

2013-03-05 Thread Nathan Shirlberg
ifact and then "deployments" would be completed by updating hiera (or something else) to make the version active. Does that sound like a bad idea? Nathan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[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.puppet

[Puppet Users] Using Puppet with Windows MSIs

2013-03-04 Thread Nathan Shirlberg
e build 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, sen

[Puppet Users] Windows MSIs and detecting version changes.

2013-03-04 Thread Nathan Shirlberg
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. Which was closed a year ago... I am

Re: [Puppet Users] Pattern for managing software versions?

2013-03-02 Thread Nathan Valentine
on. I'm certain that effective use of Hiera will be a topic of focus. -- --- 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.

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.

[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 standa

[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' yo

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

2012-11-05 Thread Nathan Huff
spec/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

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 >

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

2012-10-29 Thread Nathan Huff
27;. With both spec 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 res

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

2012-10-29 Thread Nathan Huff
> -Jeff > > On Fri, Oct 26, 2012 at 8:01 AM, Nathan Huff > > > wrote: > > I am trying to figure out if I am missing something simple here. After > > upgrading to puppet 3.0 running puppet-rspec tests that use > > custom resources from modules in the fixtur

[Puppet Users] Puppet 3.0 rspec and custom resources

2012-10-26 Thread Nathan Huff
I am trying to figure out if I am missing something simple here. After upgrading to puppet 3.0 running puppet-rspec tests that use custom resources from modules in the fixtures directory are failing. I have a module that uses the anchor type and with 2.7.19 it works fine. After upgrading to 3.

[Puppet Users] Re: Puppet 3.0 + Inventory search

2012-10-04 Thread Nathan Flynn
hursday, 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 > > Oct 4 08:58:43 puppet01 puppet-master[7008]: Handl

[Puppet Users] Re: Puppet 3.0 + Inventory search

2012-10-04 Thread Nathan Flynn
usion_passenger/abstract_server.rb:196:in `start_synchronously' Oct 4 13:51:42 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

[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 p

[Puppet Users] Defining node types in modules

2012-07-30 Thread Nathan Flynn
Hello, This is the way we currently define nodes using modules/classes. Unsure if this is the best method but as dashboard does not do parameterized class variables seems the right way. We apparent zen_ to everything thats making up our servers. I am having problems with the MySQL module as I

[Puppet Users] undefined method `has_fact_with_value' for #

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 # Any help on tracking this down would be greatly appreciated. The error is also in the log; M

Re: [Puppet Users] support on rhel / epel

2012-05-16 Thread Nathan Powell
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 options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Nathan Powell Linux System Adm

[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

[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 do

[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: c

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 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 Administrat

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

2012-02-23 Thread Nathan Powell
omething like: > > 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

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

2012-02-21 Thread Nathan Powell
e functional aspects (reject) 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

Re: [Puppet Users] Problem with Custom Facter

2012-02-20 Thread Nathan Powell
don't need 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

Re: [Puppet Users] Problem with Custom Facter

2012-02-20 Thread Nathan Powell
ng 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 --

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# /usr/share/pup

[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

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

2011-10-18 Thread Nathan Clemons
class 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 wrote: > Thanks for the opinion. > I understand your concern, but I have a need to do exactly that. > > Making a long story sh

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/ status"

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

2011-10-12 Thread Nathan Clemons
=> "mysql", mode => 644, notify => Service["mysql"], require => File["/etc/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 wrote: >

Re: [Puppet Users]

2011-09-29 Thread Nathan Clemons
you guys have some plans 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 wrote: > http://biggerbras.ca/store/site.php?html50 > > -- > You received this message because yo

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

[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 wrote: > From the sudoer

[Puppet Users] puppet-dashboard delayed workers

2011-07-12 Thread Nathan
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" grou

[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 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" grou

[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 em

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] 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 wrote: > Hi > > I have been trying to use class dependency and had no lu

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 wrote: > > On Jun 28, 2011, at 11:14 AM, Cosimo Streppone wrote: > >

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

2011-06-28 Thread Nathan Clemons
I believe the error is saying that using: mode=> 755, inside the exec doesn't make sense. It's not a file resource, exec doesn't specify a mode. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Tue, Jun 28, 2011

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 wrote: > Consider

Re: [Puppet Users] Different users within same exec

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

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 comm

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 wrote: > And how is it poss

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 comm

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Nathan Clemons
ss 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 wrote: > By default puppet node connects to server periodically and looks if &g

Re: [Puppet Users] Re: facter + ssh = tput errors

2011-06-23 Thread Nathan Clemons
Sounds like a bug with facter handling headless running where a TTY is not allocated (thus the error about $TERM not being set). -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Thu, Jun 23, 2011 at 7:56 PM, josbal wrote: > Hi Den, >

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

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

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 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 wrote: > How do I initiate a certificate request

  1   2   >