[Puppet Users] Breaking down variables (and setting new ones) from within a manifest using regular expressions

2010-05-07 Thread Ryan
each of the userid directories. Else, the owner/group would be sys or whatever else. I'm thinking of other stuff too, but my basic question is, does puppet support using regular expressions in if/else statements like this or am I really trying to get too crazy? Thanks in advance for bearin

[Puppet Users] Re: Foreman -- Reporting

2010-06-09 Thread Ryan
main, but I put it in the puppetmasterd stanza. Hope that helps you too! --Ryan On Jun 9, 11:13 am, CraftyTech wrote: > Correction: I copied the foreman.rb to /usr/lib/ruby/site_ruby/1.8/ > puppet/reports/foreman.rb from extras/puppet/foreman/files/foreman- > report.rb.  The instructio

[Puppet Users] Re: Problem with some of my puppet clients running

2009-02-09 Thread Ryan
Hi Steven, I ran into the same problem this morning when rolling some new facter/ puppet packages for RHEL4. Going back to facter 1.5.2 seems to be a usable workaround at the moment. -ryan On Feb 5, 10:48 am, "Steven Nemetz" wrote: > > On Feb 4, 2009, at 6:49 PM, Ste

[Puppet Users] params.pp class with parametrized class support?

2012-01-17 Thread Ryan Bowlby
If I wanted to allow all the variables normally set within params.pp to also be assigned as class parameters or as global variables how would I do this? I still want all the variables to be initially set to defaults within the params.pp class but allow for them to be overridden at the node level.

[Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-17 Thread Ryan Bowlby
to be overridden by global namespace variables (for enc support) 3. further allow parametrized class declarations to take precedence over 1 and 2 Can you point me to a module that does this? Alternatively, can you make a recommendation for module best practices going forward. Thanks, Ryan Bowlby O

[Puppet Users] Re: Using foo::params, inheritance, and parameterized classes simultaneously?

2012-01-17 Thread Ryan Bowlby
pache': ssl_package => true, } } I'm just trying to do things "right" the first time. On Jan 17, 9:59 pm, Nigel Kersten wrote: > On Tue, Jan 17, 2012 at 9:33 PM, Ryan Bowlby wrote: > > Thanks for the great replies Nigel. As a person currently rolling out > &g

[Puppet Users] Re: params.pp class with parametrized class support?

2012-01-18 Thread Ryan Bowlby
Show off! ;) Great example thanks. I noticed you fully qualify variables within the very class they were assigned. Is that best practice now? I've created a simple apache module using your openssh module as inspiration. I still need to modify params.pp to check for globally defined vars. In the c

[Puppet Users] Puppet security issue?

2012-01-26 Thread Ryan Bowlby
t; 200 343 "-" "curl/7.15.5 (x86_64- redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/ 0.6.5" That's a request from another server. Here are the Apache configs: http://pastebin.com/rDKPSjjy Thanks everyone! Ryan Bowlby -- You received this message be

[Puppet Users] Re: passing argument to a class or a module

2012-01-26 Thread Ryan Bowlby
Classes can only be declared once while defines can be declared multiple times. So if you wanted two vhost files a define would be needed. On Jan 26, 3:47 pm, Joehillen wrote: > whoa, my bad. I learned puppet before 2.6 > > Now I don't know why there is a distinction between classes and defines.

[Puppet Users] Re: Issue Installing Puppet on Red Hat6

2012-01-26 Thread Ryan Bowlby
p will allow you access to just about every package you would need without causing crazy dependency issues. -Ryan On Jan 26, 3:33 pm, Gmoney wrote: > I have been trying to follow the bootstrap instructions for installing > puppet-dashboard. I keep getting error about rubyge(rake) an

[Puppet Users] Re: Puppet security issue?

2012-01-27 Thread Ryan Bowlby
a lesser known repo. Thanks again, Ryan Bowlby On Jan 26, 11:37 pm, Brice Figureau wrote: > On 27/01/12 02:14, Ryan Bowlby wrote: > > > Hi All, > > > I have a two puppet servers using Apache with mod_proxy as the > > frontend. Similar to what what's describe

[Puppet Users] Re: Puppet can't start service (dropbox) but init.d command works manually

2012-01-31 Thread Ryan Bowlby
I second checking for required environment variables. Attempt to run in a shell that hasn't sourced your .bash_profile and related login- time config files. Also, try it with an exec with "/bin/bash -x /etc/ init.d/dropbox start" to further troubleshoot. On Jan 30, 3:05 pm, "Richard K. Miller" w

[Puppet Users] Re: Conditional copy of file

2012-02-01 Thread Ryan Bowlby
Wrap the file resource in an if that checks if $conf_file is defined. I would also recommend replacing the case statement with a parametrized class with the default for $conf_file being undef. Also, if you were okay with having a default blank file present then you could just replace your current

[Puppet Users] Re: Error 400 on SERVER: Could not autoload active_record: uninitialized constant ActiveRecord

2012-02-08 Thread Ryan Bowlby
Thank you, you just added hours to my life! 3.0.11 works perfect. Perhaps the puppetlabs docs should make note of this? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/pu

[Puppet Users] Display puppet managed resources in motd?

2012-02-18 Thread Ryan Bowlby
created a command line utility that prints a list of resources managed by puppet then that would do as well. Cheers, Ryan -- 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.

[Puppet Users] Testing catalog run on REAL node as git pre-push hook?

2012-03-02 Thread Ryan Bowlby
were encountered. Thanks!!! Ryan Bowlby -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@google

[Puppet Users] puppetlabs-apt module released to the Puppet Forge

2012-03-07 Thread Ryan Coleman
ever since. As both a Puppet user and a Puppet Labs employee, I'm giddy to see content like this and hundreds of other great community-driven modules on the Forge. Keep it up folks, you're fantastic. --Ryan -- You received this message because you are subscribed to the Google

[Puppet Users] Empty node definition mysteriously runs yum class!

2012-03-28 Thread Ryan Bowlby
I'm having an issue where every single puppet node included our yum class as part of the catalog. In all instances the nodes node definition was empty. Has anyone experienced something like this before? Is the yum class colliding with an internal class? We do not define a node default or use any n

[Puppet Users] Re: Empty node definition mysteriously runs yum class!

2012-03-29 Thread Ryan Bowlby
Nailed it. Accidentally had the include outside the class at "top- level". That's a scary uhum feature. Might need to look into integrating some test code that looks for top-level includes within the modules dir and warns. Thanks John! -Ryan On Mar 29, 5:42 am, jcbollinger wrote:

[Puppet Users] Agent thundering herd solutions?

2012-04-27 Thread Ryan Bowlby
o continue running the agent as a daemon. Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr

[Puppet Users] Re: scaling puppet, skipping puppetmaster?

2012-04-27 Thread Ryan Bowlby
d to the use of custom functions that rely on a central server, virtual resources(?), etc. I would try to scale your masters as it's not that hard. -Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gro

[Puppet Users] Check if class has been included?

2012-05-02 Thread Ryan Bowlby
. if defined(os::motd) { # list this module/class in motd os::motd::register {"pulp": } } } The question is whether this is the right way to go about it? Does the define wait for all class declarations before checking (does order matter)? Thanks, Ryan -- You received this

[Puppet Users] Re: Check if class has been included?

2012-05-03 Thread Ryan Bowlby
x27;t want to include os::motd on each node means all three options don't work. I'm starting to think using the os::motd::register defined type in every module is not the way to go. Perhaps using exported resources is a more flexible method of achieving this? Thanks, Ryan On May 3,

Re: [Puppet Users] Handling Sensitive Data

2012-05-08 Thread Ryan Coleman
On Tuesday, May 8, 2012 6:36:02 AM UTC-7, Erik Dalén wrote: > > > That still holds true (unless you want to micromanage access permissions). > > There is however a way to create a directory per host that is only > accessible by that host: > https://groups.google.com/forum/#!msg/puppet-users/XB

[Puppet Users] Re: Class not found for simple class!

2012-05-11 Thread Ryan Coleman
Unfortunately, you'll need to rename your apacheWS folder to apachews. On Thursday, May 10, 2012 4:09:58 PM UTC-7, Amit Shah wrote: > > puppet 2.6.4 > puppet --configprint modulepath > /home/user/.puppet/modules:/usr/share/puppet/modules > > I have the following file defined: /home/user/.puppe

Re: [Puppet Users] is there a Puppet facter plugin repository please ?

2012-05-11 Thread Ryan Coleman
s.com/issues/14431 If you haven't already discovered this, it's quite easy to create your own custom facts for getting the information you want and we'd love to see you upload those additions to the Forge. http://docs.puppetlabs.com/guides/custom_facts.html Cheers! --Ryan -- You r

Re: [Puppet Users] is there a Puppet facter plugin repository please ?

2012-05-11 Thread Ryan Coleman
On Fri, May 11, 2012 at 12:58 PM, Philip Brown wrote: > Given that the current module definitions require known locations for factor > extensions, I find this a bit odd. > How about making the uploader autotag 'facter' any module that has files > under lib/facter ? That's precisely what I'm askin

Re: [Puppet Users] Question about plans for the forge.

2012-05-17 Thread Ryan Coleman
so, looks like we've got a ticket tracking that feature request. http://projects.puppetlabs.com/issues/13598 --Ryan -- 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

Re: [Puppet Users] Question about plans for the forge.

2012-05-17 Thread Ryan Coleman
On Thu, May 17, 2012 at 9:23 AM, Brian Gupta wrote: > Will general best practice for forge modules to be developed against > current latest puppet version, or maintain backward compatibility > going forward? e.g. - let's say there is a version of a module that > works with 2.7, when Telly ships wi

Re: [Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-21 Thread Ryan Coleman
Hi James, On Mon, May 21, 2012 at 3:02 PM, thedonkdonk wrote: > I have a large puppet master / client setup with lots of files and > templates and modules and so on. Is there a way to make a stand alone > manifest for one server so I can hand it to a third party? If you mean to take the resultan

Re: [Puppet Users] puppet-load forbidden request to /catalog/*

2012-05-22 Thread Ryan Coleman
ference: http://docs.puppetlabs.com/guides/rest_auth_conf.html HTH, --Ryan -- 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 emai

Re: [Puppet Users] Is there a quick way to export a manifest from a master/client to a new standalone?

2012-05-22 Thread Ryan Coleman
lso want to experiment with shipping modules and manifests to your remote machines and using Puppet Apply to locally compile a catalog, move files around and so on. --Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

[Puppet Users] Re: Check if class has been included?

2012-05-24 Thread Ryan Bowlby
On May 4, 6:34 am, jcbollinger wrote: > On May 4, 1:54 am, Dan Carley wrote: > > > > > > > > > > > On 3 May 2012 23:32, jcbollinger wrote: > > > > Hmm.  I guess I misunderstood your objective.  It is still true that > > > 'defined' is not a good approach, however, and also that > > > os::motd:

Re: [Puppet Users] when are facts supposed to be synced?

2012-05-24 Thread Ryan Coleman
On Thu, May 24, 2012 at 8:27 AM, Dick Davies wrote: > They are, but have just realised they only get pushed out in the initial > puppet run...hum, bit of a catch 22 here. New plugins do get transferred to an agent with pluginsync = true before the actual Puppet run. If your plugins change on the

Re: [Puppet Users] puppet-load forbidden request to /catalog/*

2012-05-30 Thread Ryan Coleman
the > code? Could you please post the puppet-load command you're using? I've not encountered any issues increasing the concurrency. Perhaps its a mishandled syntax error. --Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users&

Re: [Puppet Users] resource override

2012-05-30 Thread Ryan Coleman
ifests/nodes.pp:24 > on node jay.foo.com > warning: Not using cache on failed catalog > err: Could not retrieve catalog; skipping run > root@jay:~# > In this case, Puppet is telling you that you can only override resources in a class that inherits another class. You can't do

[Puppet Users] override parameter within base class?

2012-05-30 Thread Ryan Bowlby
e class for "specialhost"? Is this possible and if not what are the common workarounds? Thanks, Ryan -- 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 unsubscri

Re: [Puppet Users] override parameter within base class?

2012-05-30 Thread Ryan Coleman
On Wed, May 30, 2012 at 12:37 PM, Ryan Bowlby wrote: > Hi All, Hi! > > Is there a way to override the value of a parameter to a declared > class within my base class. My nodes use a base class that > occasionally need to be changed. Example: Yes, there are several ways. One c

Re: [Puppet Users] exec command: command works on cli, but not via puppet

2012-05-30 Thread Ryan Coleman
r) is what you'd like to consider success, you can tell Puppet what return code should indicate success with the returns parameter: http://docs.puppetlabs.com/references/stable/type.html#exec HTH! --Ryan -- You received this message because you are subscribed to the Google Groups "Pu

[Puppet Users] Re: override parameter within base class?

2012-06-01 Thread Ryan Bowlby
up just doing a few simple wrapper parameters as advised by Nick. I like the Hiera idea but it will have to wait since we have so much low hanging fruit to pick for the time being. Thanks everyone! -Ryan On May 30, 2:00 pm, jcbollinger wrote: > On May 30, 2:37 pm, Ryan Bowlby wr

Re: [Puppet Users] mysql or postgresql

2012-06-04 Thread Ryan Coleman
On Mon, Jun 4, 2012 at 9:07 PM, Gary Larizza wrote: > Reports, on the other hand, contain information on transactional > events FROM a Puppet run.  Reports are stored in the Puppet Dashboard, > which is a separate database I think it's also important to point out, since you weren't specific in yo

Re: [Puppet Users] Not using expired node for targethost from cache; expired

2012-06-06 Thread Ryan Coleman
ake sure that you have a pe_accounts module in /opt/puppet/share/puppet/modules (that path should be in your modulepath as well). If it had been removed somehow, you can find it in the 'modules' folder in an expanded PE installer tarball. HTH, --Ryan -- You received this messa

[Puppet Users] Duplicate package resource solutions?

2012-06-06 Thread Ryan Bowlby
Package["rsync"]) ... } We obviously would create individual modules for packages that require any advanced logic: apache, tomcat, etc. What would be the downside to doing this? Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "Puppet U

[Puppet Users] file_line type issue, possible bug

2012-06-10 Thread Ryan Bowlby
esource to stop replacing the file on each run. I was hoping the file resource would ignore any lines propagated by the file_line resource. Is this a bug or am I just missing something? -Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

Re: [Puppet Users] file_line type issue, possible bug

2012-06-10 Thread Ryan Bowlby
h can be used on the same file. The current conflict doesn't have to be a conflict, I assumed puppet did this already. -Ryan On Sunday, June 10, 2012 9:58:23 AM UTC-7, Jeff McCune wrote: > > On Sun, Jun 10, 2012 at 3:56 AM, Ryan Bowlby wrote: > > Hi All, > > > >

Re: [Puppet Users] Puppet Forge question

2012-06-15 Thread Ryan Coleman
x27;m looking into this more closely, will attempt to mimic your setup and get back to you when I have more information. --Ryan On Fri, Jun 15, 2012 at 10:47 AM, llow...@oreillyauto.com wrote: > I'm running puppet in a local VM to do some testing, and all of our systems > are behind a pro

Re: [Puppet Users] Puppet Forge question

2012-06-15 Thread Ryan Coleman
ch describes the other module dependancies (if any). puppetlabs-stdlib does not have dependancies on other modules. Thanks for providing your proxy information from puppet.conf. Is your system otherwise configured for using a proxy? --Ryan -- You received this message because you are subscrib

Re: [Puppet Users] How to create local puppet forge repositories

2012-06-18 Thread Ryan Coleman
don't want your modules to be publicly accessible? Any other requirements would be useful to hear about too. Thanks! --Ryan -- 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@googlegrou

Re: [Puppet Users] packaging puppet modules

2012-07-02 Thread Ryan Coleman
e consuming them to manage infrastructure and solve problems. --Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppe

Re: [Puppet Users] Using onlyif

2012-07-02 Thread Ryan Coleman
Binaries like curl and test must be fully qualified (ex. /bin/rm) or you must pass the path attribute to your exec resource with a search path like '/bin:/usr/bin' as the value. HTH, --Ryan On Monday, July 2, 2012, Benjamin Lei wrote: > Here's what I'm using: > ex

Re: [Puppet Users] Using onlyif

2012-07-02 Thread Ryan Coleman
On Monday, July 2, 2012, Benjamin Lei wrote: > So fully qualified means I need to add in a path to the command I'm trying > to execute (i.e. test/grep)? Yep. The command should execute at that point. :-) > > On Monday, July 2, 2012 9:14:25 PM UTC-7, Ryan Coleman wrote: >>

[Puppet Users] Downgrading RubyGems using Package provider => gem

2011-07-08 Thread Ryan Conway
to remove other versions of a gem it is managing, so that only the version you specify remains. Has anyone else experienced this issue, or have any thoughts? Thanks, Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

[Puppet Users] Re: Using with EC2 (and auto-scaling)

2011-07-22 Thread Ryan Conway
The approach I've used is similar - automatically sign new CSRs so that new nodes can be added without human interaction. In order to then apply a configuration to the node, the hostnames for my machines all conform to a pattern, which I then match against a regular expression in the node manifest

[Puppet Users] Re: add ip address of another EC2 instance automatically in the hosts file of existing EC2 instance

2011-08-01 Thread Ryan Conway
You can indeed use Exported resources. See the first example in this documentation: http://docs.puppetlabs.com/guides/exported_resources.html The example shows how to have every host export its SSH public key, and then collect every host’s key and install it in the ssh_known_hosts file (which is

[Puppet Users] Re: Step by step guide to setting user passwords

2011-08-03 Thread Ryan Conway
manage the passwords if you're running in debug mode. Ryan On Aug 3, 1:35 am, Len Rugen wrote: > You aren't sending the password, you are sending the "shadow".  On one > system, set the desired password, get the shadow value, put that in puppet. > > [root@localhost ~]# p

Re: [Puppet Users] Separate CA's

2011-12-15 Thread Ryan Coleman
> > The absolute nicest option is to use a bundled certificate authority > where > > all CAs are signed by some higher level Cert, then most of these > problems go > > away. Last I heard this was broken in Puppet / Ruby. > > That used to work before 0.25, sadly broken since. > Ruby fully suppor

[Puppet Users] certificate sync methods?

2011-12-20 Thread Ryan Bowlby
hot standby, it would still be best to sync bi-directionally. What are others doing? -Ryan -- 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 g

[Puppet Users] Managing sensitive strings with puppet

2011-12-23 Thread Ryan Stewart
I'm new to Puppet, and I'm a software developer, not a sysadmin, so be gentle. I have puppet managing some files via templates, and one of the template variables that needs to be plugged in is a password of sorts that shouldn't be generally available. In particular, it can't be stored in the manife

[Puppet Users] Re: deployment from SVN to production using puppet .. .. tips to start off with puppet

2011-12-23 Thread Ryan Coleman
Welcome! To start off, you may find http://docs.puppetlabs.com/#learning-puppet & http://docs.puppetlabs.com/guides/environment.html useful. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://gro

[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-27 Thread Ryan Stewart
On Dec 23, 11:33 am, Nigel Kersten wrote: > On Thu, Dec 22, 2011 at 12:00 PM, Ryan Stewart wrote: > > I'm new to Puppet, and I'm a software developer, not a sysadmin, so be > > gentle. I have puppet managing some files via templates, and one of > > the template var

[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-27 Thread Ryan Stewart
On Dec 23, 11:33 am, Nigel Kersten wrote: > http://www.craigdunn.org/2011/10/secret-variables-in-puppet-with-hier... > > Does that help? > > I've done this in the past without hiera, where you have a function that > runs on the master to decrypt the content out of version control, but the > above

[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-28 Thread Ryan Stewart
On Dec 27, 5:00 pm, Ryan Stewart wrote: > Before jumping into hiera, I was trying to get a feel for extlookup() > with CSV files because it looked pretty simple, but I can't seem to > make it work. nm. I figured out what I was doing wrong. -- You received this message b

[Puppet Users] Re: Managing sensitive strings with puppet

2011-12-28 Thread Ryan Stewart
On Dec 28, 11:33 am, Nigel Kersten wrote: > On Wed, Dec 28, 2011 at 9:06 AM, Ryan Stewart wrote: > > On Dec 27, 5:00 pm, Ryan Stewart wrote: > > > Before jumping into hiera, I was trying to get a feel for extlookup() > > > with CSV files because it looked pretty

[Puppet Users] Re: New variable scoping question regarding defines calling defines.

2011-12-28 Thread Ryan Coleman
On Monday, December 26, 2011 5:56:26 AM UTC-8, Trevor Vaughan wrote: > > I just ran into an interesting scenario where I didn't know how to > scope my variables and I'd just like to share for the crowd. > > Suppose you have two modules 'foo' and 'bar'. You also have two > defines, 'foo::do_stuff'

[Puppet Users] AWS Elastic Beanstalk & Puppet

2012-01-03 Thread Ryan Chan
Anyone have experience and willing to share for Beanstalk? e.g. How does Puppet fit in when we mainly use AWS Elastic Beanstalk? Seems most features are provided by Beanstalk. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

[Puppet Users] delayed final state??

2012-01-16 Thread Ryan Bowlby
I have a somewhat abstract best practice question. In some instances fully applying a node's puppet catalog results in that node interacting with production infrastructure. Sometimes you want to provision a new host and have it apply it's puppet catalog but not yet integrate into the production env

Re: [Puppet Users] James Turnbull (finally) joins Puppet Labs

2010-04-11 Thread Ryan Dooley
b. > > He'll be starting in early May, and should be joining us here in > Portland, Oregon in June. > > Welcome to the company, James. > No kidding... I half thought James already worked for PuppetLabs :) Congratulations! Cheers, Ryan -- You received this message because you

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Release Candidate 1 available!

2010-07-10 Thread Ryan Dooley
Awesome :) On 7/9/2010 11:58 PM, James Turnbull wrote: > Welcome back again to the Puppet release cycle with the long-awaited > eleventy times better 2.6.0rc1 release! > > The 2.6.0 release is a major feature release and includes a huge variety > of new features, fixes, updates and enhancements.

Re: [Puppet Users] 0.24.8: puppetd --onetime and schedules?

2010-07-21 Thread Ryan Dooley
ts run randomly once an hour for most operations. Disk intensive operations (package installs) are dealt with during the configured schedule. My configuration has something that looks like this: class Foo { package { bar: schedule => daily, ensure => present; } } any

Re: [Puppet Users] 0.24.8: puppetd --onetime and schedules?

2010-07-21 Thread Ryan Dooley
> And are you using --onetime to trigger these random runs, via cron or > something? > -Alan > We run puppet from cron via wrapper. The wrapper looks for a file that signals "not to run" if we are in a maintenance mode. Cheers, Ryan -- You received this message because

Re: [Puppet Users] cucumber-puppet and environments

2010-09-14 Thread Ryan Coleman
Hi Oliver, try: http://projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments On Sep 14, 2010, at 7:09 AM, Oliver wrote: > Now that cucumber-puppet is a Puppet Labs project, I guess it is time > to email questions about it here ;) > > I'm in the process of adding RoR environment

Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?

2010-09-16 Thread Ryan Dooley
I've not actually tried but I would think you should be able to do something like: package { "foo.i386": { ensure => latest ; } } I know yum understands the syntax of: yum install foo.i386 (or foo.x86_64). Cheers, Ryan On 9/16/2010 6:05 AM, Geoff wrote: > How do you do

Re: [Puppet Users] First boot with Puppet

2010-10-14 Thread Ryan Dooley
he hostname and other bits. Upon reboot, puppet was run for the first time out of /etc/rc.local doing the rest. Cheers, Ryan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegrou

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

2010-11-24 Thread Ryan Dooley
I'd be in favor of only maintaining one rev behind for compatibility (2.7.x will support 2.6.x but not earlier). Cheers, Ryan On Nov 24, 2010, at 4:57 PM, Nigel Kersten wrote: > On Wed, Nov 24, 2010 at 4:35 PM, Daniel Pittman wrote: >> Gary Law writes: >>> On 24 Nov

Re: [Puppet Users] Schedules. Who uses them and why?

2011-01-18 Thread Ryan Dooley
This is exactly what we used schedules for. System software.was.only updated at specific times to ensure that we got the maximum io from our disks. On Jan 17, 2011 6:50 PM, "Daniel Pittman" wrote: On Mon, Jan 17, 2011 at 18:38, Nigel Kersten wrote: > I'm trying to get a fee... At my previous j

Re: [Puppet Users] Master-less : What do I lose?

2011-02-09 Thread Ryan Dooley
Okay... that's very cool (and thanks for the github example repo for nodeless puppet!). This plus the 'scaling puppet with git' [0] concepts I'll use here at Lookout, Inc. Cheers, Ryan [0] - http://bitfieldconsulting.com/scaling-puppet-with-distributed-version-control

[Puppet Users] empty files being served from puppet master

2011-03-10 Thread Ryan Dooley
: http://projects.puppetlabs.com/issues/4478 The notice messages have the right MD5 for managed files but only empty files are written to disk. I'm assuming this might be the clients running an older version? Any other thoughts here? Cheers, Ryan -- You received this message because yo

Re: [Puppet Users] empty files being served from puppet master

2011-03-14 Thread Ryan Dooley
Yep. That is exactly what was going on. Once the clients were brought up to the same rev, things went back to normal. Cheers, Ryan On Mar 14, 2011 5:31 PM, "Peter Meier" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I'm assuming this might be the clients runnin

[Puppet Users] spec tests for puppet modules

2011-04-12 Thread Ryan Dooley
Hi, I was curious if anyone out there could point me in the right direction to best practices in writing (spec) tests for modules. My #{search provider}-fu is failing this morning and I'd like to get beyond the basic pre/post commit hooks of basic syntax checking. Cheers, Ryan --

[Puppet Users] Re: Crunchies (non-technical email follows)

2009-11-12 Thread Ryan Dooley
I can get behind that. Nominated :) On Nov 12, 2009, at 12:52 AM, Michael T. Halligan wrote: > > I just nominated Reductive Labs for a Crunchie in the "Best Enterprise > Startup" category, if only because it's the kind of ridiculous SF startup > popularity game that I think would annoy Luke

[Puppet Users] Re: Behavior Driven Infrastructure

2009-11-13 Thread Ryan Dooley
Agreed. Great collection of testing links. Cheers, Ryan On Nov 13, 2009, at 1:15 PM, Christian Kauhaus wrote: > > Patrick Debois schrieb: >> I've put my collection of infrastructure testing links online: >> http://www.jedi.be/blog/2009/11/12/collection-of-test-driv

Re: [Puppet Users] New Puppet Documentation Site

2010-01-26 Thread Ryan Dooley
heh! On Jan 25, 2010, at 5:01 PM, Allan Marcus wrote: > re: font size. > > It looks fine to me on Safari 4 on the Mac. > > Note: for every year after 40 you need to press command-plus once :-) > > --- > Thanks, > > Allan Marcus > 505-667-5666 -- You received this message because you are sub

[Puppet Users] Re: Built in rollback features

2012-07-09 Thread Ryan Bowlby
ry. If the provisioning process is working well you can likely do a rolling reinstall of the infrastructure to ensure against system "state drift". That's often much easier than attempting to write each module to support the arguably antiquated idea of rollbacks. -Ryan Hope T

[Puppet Users] Re: can nodes be grouped with IP address?

2012-07-09 Thread Ryan Bowlby
. -Ryan On Thursday, July 5, 2012 11:34:39 AM UTC-7, Hai wrote: > > instead of using hostname wildcard, is there a way to define nodes by > their IP addresses? for example, I want to put all nodes with 10.0.2.x and > 10.0.3.0 to a nodes group called "testing". how can

Re: [Puppet Users] Is is possible/acceptable to create a private puppet forge?

2012-07-11 Thread Ryan Coleman
Hi John, Unfortunately, we don't yet have that capability but are interested in exploring it. Would you mind elaborating on your needs and what you'd want from a private Forge in addition to what the public Forge offers? --Ryan On Wed, Jul 11, 2012 at 6:45 AM, jtimon wrote: > We

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Ryan Coleman
fact that each machine populates into the Dashboards inventory service. HTH, --Ryan On Thu, Jul 12, 2012 at 8:54 AM, llow...@oreillyauto.com wrote: > Is there a way to get a list of all the classes available from the puppet > master? > > I have 2 goals for this - one is documentation

Re: [Puppet Users] How can I list classes available on the puppet master?

2012-07-12 Thread Ryan Coleman
Crap, I forgot to mention my source: http://docs.puppetlabs.com/guides/templating.html#access-to-defined-tags-and-classes On Thu, Jul 12, 2012 at 1:08 PM, Ryan Coleman wrote: > One way to approach this (for documentation) is to build a file > resource backed by a template. The template

[Puppet Users] Re: How to take away install privilege from users other than puppet?

2012-07-15 Thread Ryan Bowlby
That's not really a puppet question. Typically installation of software in normal (posix compliant) locations requires root privileges. Merely limiting the commands one is capable of executing via sudo would likely be enough. -Ryan On Saturday, July 14, 2012 10:29:33 PM UTC-7, Ganesh G

Re: [Puppet Users] Doubt while using the "--edit" option to start service

2012-07-19 Thread Ryan Coleman
received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options,

Re: [Puppet Users] Re: Can't create pdf from puppet doc

2012-07-20 Thread Ryan Coleman
On Fri, Jul 20, 2012 at 2:25 PM, Nick Fagerlund wrote: > Anyway, back to the point: I recommend that you start a new thread on this > group talking about what you and your people need in terms of module > documentation formats. Ryan Coleman, the product owner for modules and the >

[Puppet Users] librarian-puppet vs git superproject?

2012-07-23 Thread Ryan Bowlby
. What then would be the advantages of librarian-puppet? Thanks, Ryan Bowlby -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4Kf47PY2sIwJ. To po

Re: [Puppet Users] librarian-puppet vs git superproject?

2012-07-24 Thread Ryan Bowlby
ke it you're talking about a future release where pulp has a plugin model and is more of a generalized "manage all the things" tool? Is there going to be a plugin for the forge or something? -Ryan On Tuesday, July 24, 2012 1:00:00 AM UTC-7, ohad wrote: > > > > On Tue, Jul 24

[Puppet Users] Re: librarian-puppet

2012-07-26 Thread Ryan Bowlby
We went with git super projects and submodules instead of librarian-puppet. Might want to look at using git for management of per puppet-module repositories as well. On Wednesday, July 25, 2012 7:37:10 AM UTC-7, llo...@oreillyauto.com wrote: > > I've heard this project mentioned a few times a

Re: [Puppet Users] Issues with installing some modules !!!

2012-08-02 Thread Ryan Coleman
at version of the puppetlabs-mysql module are you using? Did you clone from master on GitHub or are you using the latest released code from the Puppet Forge? -> http://forge.puppetlabs.com/puppetlabs/mysql --Ryan On Tue, Jul 31, 2012 at 11:53 PM, Rakesh K wrote: > Hi, > > I am new to p

Re: [Puppet Users] Issues with installing some modules !!!

2012-08-02 Thread Ryan Coleman
On Tue, Jul 31, 2012 at 11:53 PM, Rakesh K wrote: > For mysql I am using the module > https://github.com/puppetlabs/puppetlabs-mysql > > What I am observing is mysql is gets installed and everything but no db is > added, also intermittently the password is not set, it is neither not blank > nor do

Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-07 Thread Ryan Coleman
On Mon, Aug 6, 2012 at 2:05 AM, Rakesh K wrote: > Any updates ?? Sorry Rakesh, I was waiting for your response to Nan's comments. I've pasted them below for reference. >>> Yeah, per Ryan, most likely you already have an existing password, and you need to set old_root_p

Re: [Puppet Users] Re: Issues with installing some modules !!!

2012-08-08 Thread Ryan Coleman
On Tue, Aug 7, 2012 at 10:44 PM, Rakesh K wrote: > > Actually I have tried fresh install of the module multiple times after > clearing all traces of the mysql package on the client but still getting the > same result. Ok. Have you tried using the released Forge module instead of the GitHub code i

Re: [Puppet Users] Switching agent to another environment does not work

2012-08-08 Thread Ryan Coleman
+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- Ryan Coleman | about.me/ryc Modules & Forge @ Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Using ENC with existing node definitions

2012-08-08 Thread Ryan Coleman
On Wed, Aug 8, 2012 at 6:18 PM, Foster Rilindo wrote: > I currently have puppet configured to use node definitions in > /etc/puppet/manifests/node.pp. At the time, most of the machines are physical > hosts. > > Now I need to start putting puppet on virtual guests. Ideally, I want to use > an EN

Re: [Puppet Users] Puppetlabs lvm module

2012-08-14 Thread Ryan Coleman
Well that's embarrassing. It seems as those the 'cleaned' match of the case statement isn't actually closed. :-/ Would you try adding a closing brace in lvm/manifests/init.pp around like 26, where this code appears? It should close the 'cleaned: {' block. } # # Just clean up the logical volum

  1   2   3   4   >