[Puppet Users] Upgrading puppet - upgrade O/S of puppet master but leave clients on older version?

2012-03-29 Thread Richard
be able to connect to the master? I will be upgrading them over time, but until they are upgraded, would they work? Grateful for any thoughts. Richard. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on

Re: [Puppet Users] Upgrading puppet - upgrade O/S of puppet master but leave clients on older version?

2012-03-29 Thread Richard
> by upgrading your master to 2.6.x then moving your agents to 2.6.x, then > doing the 2.7.x upgrade is your best bet. > > >> Grateful for any thoughts. >> >> Richard. >> >> >> Thanks Justin! If we go with the stepped approach, would the following w

Re: [Puppet Users] Upgrading puppet - upgrade O/S of puppet master but leave clients on older version?

2012-03-29 Thread Richard
On Friday, 30 March 2012 06:43:17 UTC+1, Brian Gallew wrote: > > > >> Thanks Justin! >> >> If we go with the stepped approach, would the following work? >> >> Puppet Master running 2.6.x on RHEL 6.2, serving 2.5.x clients on RHEL >> 5? Do the different versions of Ruby come into play at all? >>

[Puppet Users] Re: New Puppet Documentation Site

2010-01-15 Thread Richard
I really like this new doc site, it looks like a clone of the Ruby doc site (which I quite like). It's fast and the font looks fine to me. Thanks for all your hard work on this! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gro

[Puppet Users] Re: environments & variables

2008-09-12 Thread Richard
the following file { source => "common/etc/modules. $NODE_TYPE" }. All this juggling is necessary because of the scope of Puppet variables and the fact that it doesn't have global variables. Does this help? Is there a better way to do this? Am I totally off base here? Thanx!

[Puppet Users] Re: environments & variables

2008-09-13 Thread Richard
On Sep 12, 1:14 pm, Mike Renfro <[EMAIL PROTECTED]> wrote: > On 9/12/2008 11:40 AM, Richard wrote: > > > I am probably way off base here but I wanted to do something similar > > (I think) although I'm not using environments, yet.  I have multiple > > types of ha

[Puppet Users] Re: Calling modules from modules

2008-09-18 Thread Richard
not_ > being able to call modules from inside a module. Evan, Modules most certainly can be called from within other modules. Most of the time when I have had problems is has been because the names of the module didn't match the class name in the init.pp. Double check your names a

[Puppet Users] Re: managing war files

2008-09-18 Thread Richard
st not do all the work. Any thoughts? Later... Richard --~--~-~--~~~---~--~~ 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

[Puppet Users] Re: How long for changes to be pushed out?

2008-09-18 Thread Richard
to give it a try. Later... Richard [1] http://www.splunk.com/ --~--~-~--~~~---~--~~ 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

[Puppet Users] Re: Looking for Volunteers to tell Puppet Stories

2008-12-23 Thread Richard
t ever touching the appliance and that is important when it might be across the country or even in another country. Later... Richard On Dec 22, 11:57 am, "Andrew Shafer" wrote: > Deadline: 6:00 PM EASTERN - December 23 > > You can read what the journalist is looking for.  If

[Puppet Users] Re: variable scope is making my head hurt

2009-01-16 Thread Richard
ode" include global include postfix::custom } Now you should be able to reference the $NODE_TYPE variable in any class that is included after the global class. Hey, I said it was ugly... Later... Richard --~--~-~--~~~---~--~~ You received this

[Puppet Users] Allowing external users to deploy code where an existing puppet instance exists.

2013-04-08 Thread Richard
, I don't want them to be able to write something that conflicts with this. Perhaps I should be using environments for this type of setup? Any pointers would be welcome. Many thanks, Richard. -- You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] resource collectors and rollback question

2014-09-29 Thread Richard
I want to remove all influences have been produced by puppet script when the agent failed in executing catalog. so i think if i can use resource collectors to collect all the resource using some tag then change the property ensure. Then delete all resources in order : first i stop

[Puppet Users] how to force tomcat restart using puppet kick and service type ?

2014-10-15 Thread Richard
I'm using the puppetlab-tomcat module.when i want to start tomcat ,i will kick the agent to run this code. tomcat::service{'default': service_ensure => true, catalina_base =>'/opt/apache-tomcat/tomcat', } if i want to stop,i will change the service_ensure to false.

[Puppet Users] Can I close Puppet SSL function?

2014-10-19 Thread Richard
i want to know if Puppet SSL function can be closed and the connnection between master and client through ssl can be changed -- 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

[Puppet Users] Re: Can I close Puppet SSL function?

2014-10-20 Thread Richard
> > > On Monday, October 20, 2014 1:17:51 AM UTC-5, Richard wrote: >> >> i want to know if Puppet SSL function can be closed and the >> connnection between master and client through ssl can be changed >> > > In what context? For what purpose? > >

[Puppet Users] Need Help!! master store report failed

2014-10-20 Thread Richard
I use kick command to start tomcat and stop tomcat. but sometimes i can't get report at /var/lib/puppet/reports. To find out this error cause by master or by agent , i edit the master puppet.conf file, set reports= store, log , tagmail. then i restart puppet master service. i

[Puppet Users] Re: Can I close Puppet SSL function?

2014-10-22 Thread Richard
thanks for your help 在 2014年10月21日星期二UTC+8下午9时12分04秒,jcbollinger写道: > > > > On Monday, October 20, 2014 8:12:30 PM UTC-5, Richard wrote: >> >> thanks, i want to use the ip address as the hostname in kick command,like >> kick -p 10 --host 192.168.1.101, but thi

[Puppet Users] Is this a bug in puppet/lib/puppet/reports/store.rb file ?

2014-10-28 Thread Richard
now = Time.now.gmtimename = %w{year month day hour min}.collect do | method| # Make sure we're at least two digits everywhere "%02d" % now.send(method).to_send.join("") + ".yaml"#when my master run 'puppet kick -- host **' command twice quickly. this statement will get the same

[Puppet Users] is this a bug at puppet/lib/puppet/reports/store.rb file?

2014-10-28 Thread Richard
#this is a snippet of store.rb file, you can get it at https://github.com/puppetlabs/puppet/blob/master/lib/puppet/reports/store.rb now = Time.now.gmtime name = %w{year month day hour min}.collect do |method| # Make sure we're at least two digits everywhere "%02d" % now.send(method

[Puppet Users] Question about yum provider of package resource ?

2014-12-04 Thread Richard
Hi! I intsalled mysql through puppet using 'mysql-server' as package name , but when i want to remove mysql from my centos6.3 system, i get some problems. first i change the package attribute ensure => 'absent', then i run command 'puppet agent -t' on puppet agent, and pup

[Puppet Users] Re: Question about yum provider of package resource ?

2014-12-05 Thread Richard
when i set the ensure to purged not absent, i find that i remove mysql-sever package from my system and puppet agent run command ' yum -y erase mysql-server ' at debug messages 在 2014年12月5日星期五UTC+8下午3时50分10秒,Richard写道: > > Hi! > > I intsalled mysql through pupp

[Puppet Users] Re: Question about yum provider of package resource ?

2014-12-05 Thread Richard
thanks very much. 在 2014年12月5日星期五UTC+8下午3时50分10秒,Richard写道: > > Hi! > > I intsalled mysql through puppet using 'mysql-server' as package > name , but when i want to remove mysql from my centos6.3 system, i get some > problems. > first i chan

[Puppet Users] Re: Question about yum provider of package resource ?

2014-12-07 Thread Richard
HI John, I'm so sorry,I just saw you reply. I just find these problems today, thanks for your prompts. 在 2014年12月5日星期五UTC+8下午10时04分57秒,jcbollinger写道: > > > > On Friday, December 5, 2014 1:50:10 AM UTC-6, Richard wrote: >> >> Hi! >> >> I in

Re: [Puppet Users] Re: Puppet and the security on nodes, configurations, etc.

2012-03-08 Thread Richard Clark
ement tool is used, > there is a strong need on authorization system. > > We thought about subversion, but I guess there are better solutions. > > Could you please tell me if I'm thinking the wrong way, or if our > needs doesn't match the use of a central repository, or

Re: [Puppet Users] keeping local accounts up to date

2012-06-21 Thread Richard Clark
using passwords, it may be better to make use of SSH keys (which puppet can manage) and set local user accounts on servers to random, unknown passwords that are never actually used. See http://docs.puppetlabs.com/references/2.7.0/type.html#user for more infos on the user type. Cheers, -- Richar

[Puppet Users] using defined resource type collections

2011-09-08 Thread Richard Jacobsen
7;/raid4': tag="usergroup1" } include user::usergroup1 } That way whenever I add a new storage resource or new user resource to a host, a directory, if appropriate, gets created. Can anyone give me some pointers? Thanks! Richard -- You received this message because you are su

Re: [Puppet Users] SU on client servers

2011-09-27 Thread Richard Clark
gt; this? Totally dependent on the client distro/OS. This is default behaviour on most linux distro's that don't disable root login (RHEL/SLES etc) is it not? -- Richard Clark rich...@fohnet.co.uk -- You received this message because you are subscribed to the Google Groups "Puppet Us

Re: [Puppet Users] unable to create user on client

2011-10-03 Thread Richard Clark
x27; > ... snip Clue is in the last line above - you're missing the libshadow-ruby library which is needed for user management. -- Richard Clark rich...@fohnet.co.uk signature.asc Description: Digital signature

Re: [Puppet Users] Host home directory from Puppetmaster if users exists

2011-11-25 Thread Richard Clark
ind of thing working? > > > Best regards, > Kenneth Holter If it's just generic files and not user-specific: Have puppet manage those files in /etc/skel, the contents of which is used to populate new home directories created my pam_mkhomedir. -- Richard Clark rich...@fohnet.co.uk signature.asc Description: Digital signature

Re: [Puppet Users] User management

2011-12-14 Thread Richard Clark
rtual_resources.html Cheers, -- Richard Clark rich...@fohnet.co.uk -- 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

[Puppet Users] Ruby error when running puppet agent on host

2011-12-14 Thread Richard Olofsson
asterd --version* 2.6.4 Any clues what might be the problem? Regards Richard. -- 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 t

Re: [Puppet Users] Re: External Nodes

2010-05-13 Thread Richard Crowley
the documentation for custom types. This got me over the limitations in external nodes, particularly that it's difficult/impossible to specify and manipulate hashes and such. Richard -- You received this message because you are subscribed to the Google Groups "Puppet Users" grou

Re: [Puppet Users] Nagios checks

2010-05-27 Thread Richard Crowley
On Thu, May 27, 2010 at 12:19 PM, Michael DeHaan wrote: > On Thu, May 27, 2010 at 2:37 PM, Peter Berghold > wrote: >> Has anybody out there written a custom check for Nagios to determine if >> puppetd and/or puppetmasterd is running? I am considering writing one if >> not. I did a minimal check

Re: [Puppet Users] Separate install for just client code?

2010-06-15 Thread Richard Crowley
On Tue, Jun 15, 2010 at 2:27 PM, Forrie wrote: > Is there a way to just install the client component of the Puppet gem, > install of both on systems that don't need the server/master > component. There's only the monolithic gem as far as I've ever been able to find, which is what I use because th

Re: [Puppet Users] manage desktops

2010-06-15 Thread Richard Crowley
On Tue, Jun 15, 2010 at 12:12 PM, Daniel De Marco wrote: > I'm starting to look into puppet to manage a bunch of linux desktops. > They all use dhcp and their IP addresses are not fixed. > > I'm thinking of fixing the hostnames of the machines to some non-existent > domain and then using puppet no

Re: [Puppet Users] Design, syntax question for passing values from node.pp

2010-07-23 Thread Richard Crowley
On Fri, Jul 23, 2010 at 1:10 PM, Peter Berghold wrote: > First question that comes to mind: is there a fact for a given node that > determines what file name to use? This sounds like a job for an external node classifier that picks a set of classes to apply to the node. http://docs.reductivelabs

Re: [Puppet Users] exec not finding shell builtins/functions?

2010-07-29 Thread Richard Crowley
On Thu, Jul 29, 2010 at 3:23 PM, Greg Graf wrote: > Hello, > > We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified > test): > > class cdtest { >  exec {'cdtest': command => 'cd' } > } > > # puppet agent --test > info: Caching catalog for servername > info: Applying configurat

Re: [Puppet Users] Re: generating catalog files

2010-08-03 Thread Richard Crowley
>> > Is there a way I can easily generate the catalog for a particular >> > puppet client, without actually running Puppet on that client? `puppet agent --noop` might be just the ticket. You'll run that command on the client, so this may be non-starter, but it won't actually do anything. -- You

Re: [Puppet Users] Re: getting empty files from fileserver

2010-08-03 Thread Richard Crowley
> Passenger is still the preferred way to scale a puppetmaster (until I > progress on the JRuby front). I've had great success running Puppet 0.25.4, 0.25.5, and 2.6.0 under Nginx and Unicorn. Alas, http://projects.puppetlabs.com/issues/4319 is still in play. I use the highly suspect "give up an

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Richard Crowley
I use Puppet's certs to setup stunnels and do all other private communication through those. I also reference them directly rather than copying them around. I haven't gone through the whole firedrill yet but this at least seems like it won't make moving services between hosts more painful. Rich (

[Puppet Users] Using stages in puppet

2010-09-02 Thread Richard Knight
has anybody else noticed issues with nesting stage classes in 2.6.0? Using Jeffs eariler post I easily make a stage script do what I need, the problem is if you import it in site.pp it runs for every node in the environment, it would seem becuase it is outside any class other than it's special sta

[Puppet Users] Filebucket NameError

2010-09-03 Thread Richard Knight
I have a backup policy set up on my puppetmaster to back up all files to a /backup directory on each local machine, which it does flawlessly, and have verified even backups run locally work correctly, however when I try to restore I get an uninitialized constant error, to whit: [r...@iron ~]# file

Re: [Puppet Users] A question about synchronization

2010-09-21 Thread Richard Crowley
> Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I'm wondering if puppet supports this scenario. Thanks. In other words, you want to guarant

Re: [Puppet Users] Re: nginx + passenger + puppetmaster

2010-09-23 Thread Richard Crowley
On Thu, Sep 23, 2010 at 7:52 AM, Dan Urist wrote: > I've switched to using nginx+unicorn, and haven't had any issues. The > only hassle for me is that I'm running it under Ubuntu, and unicorn > isn't (yet) packaged by Debian/Ubuntu, so I had to install it via gems > and don't have the advantage of

Re: [Puppet Users] chroot'ed daemon restart error

2010-09-23 Thread Richard Crowley
On Wed, Sep 22, 2010 at 11:38 AM, Jewels wrote: > Hi all.. > > Having a strange problem and searhed through the groups, can't find > anything. Have a couple of chrooted daemons that are giving an error > with "ensure => running", even with a "hasrestart = true" > > Simply put it errors with a retu

Re: [Puppet Users] why does puppet shuffle its ‘ph ases’ and how can I stop this?

2010-09-27 Thread Richard Crowley
> With very few exceptions (that are all made for time savings so you > can ignore them safely) all resources (what you were calling phases) > must explicitly declare their dependencies on other resources using > before and require [1] [2]. s/before and require/before or require/ -- You received

Re: [Puppet Users] why does puppet shuffle its ‘ph ases’ and how can I stop this?

2010-09-27 Thread Richard Crowley
> The code above works (still learning the syntax though!), but what's > bothering me is that parts of this code (let me call them 'phases') > keep on running in different order: With very few exceptions (that are all made for time savings so you can ignore them safely) all resources (what you wer

Re: [Puppet Users] Can a hacker take over by impersonating puppetmaster?

2010-10-04 Thread Richard Crowley
>> I was wondering how easy/hard is it for a hacker to control my hosts >> by impersonating puppetmaster, say by poisoning DNS to point >> puppet.dom.ain to their own server? >> Are there reasosns why that would not work? > > The SSL layer and its key exchange mechanism should handle that. New age

Re: [Puppet Users] Pulling in a Hash from an external data source?

2010-10-21 Thread Richard Crowley
On Thu, Oct 21, 2010 at 5:17 PM, Matt Wise wrote: > I have a scenario where I'd like to pull in a hash table from an external > file (really, a generate() function.. but for testing purposes, a file will > do)... is there any way to do that? You probably want the extlookup function: http://doc

Re: [Puppet Users] Accessing Facter in other languages than Ruby?

2010-10-22 Thread Richard Crowley
> We're writing a few scripts at the moment that could really make use of > Facter, however the vast majority of them team (including my self!) are not > proficient in Ruby, however they are highly proficient in other languages such > as (dare I say it!) Python. Many of the facts already fork so w

Re: [Puppet Users] RFC: Make file content specification methods consistent.

2010-11-01 Thread Richard Crowley
(This is probably too radical but bear with me.) The proposals floating around involving some functions, some + operators, and some parameters that accept strings or arrays seem to create lots of leaky abstractions. For example, if the + operator does anything but concatenate strings or add numbe

Re: [Puppet Users] command line switches for a provider?

2010-11-04 Thread Richard Crowley
On Thu, Nov 4, 2010 at 4:55 PM, bobics wrote: > I'd like to pass command line options for a package installed via a > gem provider.  In particular, I'm updating puppet, the equivalent > command would be: > >    /usr/bin/gem1.8 install puppet -v=2.6.1 --no-rdoc --no-ri > > (The extra docs that gets

Re: [Puppet Users] Lenny and lenny-backports

2010-11-05 Thread Richard Crowley
date` but you can do that from an exec resource in an earlier run stage. stage { pre: before => Stage["main"] } exec { "apt-get update": stage => "pre" } You'll probably want to do your backports setup before the `apt-get update` in your early run stage, too.

Re: [Puppet Users] Restarting services

2010-11-05 Thread Richard Crowley
but I do not want puppet to restart them if a sysadmin > shuts the down for some reason. Instead of manually stopping a service, the resource should specify enable => false and ensure => stopped. To my knowledge there isn't a no-op value for these parameters. Richard -- You receive

Re: [Puppet Users] EC2 with puppet bootstrap notes and scripts

2010-11-08 Thread Richard Crowley
>  When a generic EC2 instance is started it has a hostname of > localhost.localdomain (or something like ip-10-111-222-33), a > searchdomain of ec2.internal, and only the loopback address > in /etc/hosts.  To get a puppet client to bootstrap correctly all three > of these things need to be changed

Re: [Puppet Users] EC2 with puppet bootstrap notes and scripts

2010-11-08 Thread Richard Crowley
>> 3) One last chance just in case something didn't work, timed out, or I >> forgot a require.  (Finishes in seconds for me) > > Honestly, you should be discovering such missing requires in your testing > process. It's not good practice to simply run another one "just in case" in > my opinion. +1.

Re: [Puppet Users] EC2 with puppet bootstrap notes and scripts

2010-11-08 Thread Richard Crowley
>> +1.  Catalogs that need to "converge" or are anything but a no-op on >> their second run should be considered broken. > > *) My philosophy is this puppet.conf should be managed by puppet. > *) Sometimes a run won't be completed correctly unless puppet.conf is up to > date at the start of a run.

Re: [Puppet Users] How can I reload environment variable file using puppet?

2010-11-08 Thread Richard Crowley
ct fqdn notice: /Stage[main]//Exec[sh -c 'echo $HOOAH >/tmp/foo']/returns: executed successfully rcrow...@wd-40:~$ cat /tmp/foo hooah rcrow...@wd-40:~$ Setting values in /etc/environment will probably work provided you restart the Puppet process in question after the contents of that f

Re: [Puppet Users] EC2 with puppet bootstrap notes and scripts

2010-11-08 Thread Richard Crowley
> Why would you use Capistrano to manage puppet.conf on your masters?  Does it > give you some advantage over just using puppet to manage itself? We have about half a dozen different web applications that we deploy, all via git-archive(1) and Capistrano. The Puppet master is one of those and is

Re: [Puppet Users] Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Richard Crowley
> All good, except that in 0.25 and up (which we're slowly migrating > to), this often doesn't work. The rest APIs require UTF-8 content, and > keys are binary, so catalog requests fail if the key happens to > contain bytes which aren't valid UTF-8. (http:// > projects.puppetlabs.com/issues/4832 ta

Re: [Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Richard Crowley
> got the point, thought that you need one specific key on each server. So > that should be even simpler, use file with content and put the key in the > content field: > > $myKey = "-BEGIN RSA PRIVATE > KEY-\nMIICXgIBAAKBgQDTqkVS4/iwKx8LngXQrEShlfSRtcSyOB1IjC5AIGUAJvapq9lz\n..." > > file {

Re: [Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Richard Crowley
On Wed, Nov 10, 2010 at 10:39 AM, Thomas Bendler wrote: > 2010/11/10 Richard Crowley >> >> [...] >> This works perfectly for PEM-formatted keys because they're ASCII, >> which is a subset of UTF-8.  Binary keys are not (usually) valid UTF-8 >> and thus c

Re: [Puppet Users] Same Service in Different Classes

2010-11-15 Thread Richard Crowley
include that third class in each of the first two. class a { include c } class b { include c } class c { service { "foobar": } } Classes can be included multiple times without trying to create duplicates of the resources they contain. Richard -- You received this messag

[Puppet Users] Python pip package provider

2010-12-08 Thread Richard Crowley
(Patrick's Homebrew provider lit a fire under me to finish this.) I've written a provider for Python's pip package management frontend. It's (theoretically) the standard for the future, being more capable and less shit than easy_install. https://github.com/rcrowley/puppet-pip As noted in the REA

Re: [Puppet Users] Re: Python pip package provider

2010-12-09 Thread Richard Crowley
On Thu, Dec 9, 2010 at 12:12 PM, Kevin Beckford wrote: > distribute2 is the way forward, not pip, I believe. Distribute is taking over for setuptools for building packages. Pip is taking over for easy_install for installing packages from the central PyPI repository. -- You received this messag

Re: [Puppet Users] design advice on coding my first type / provider

2010-12-12 Thread Richard Crowley
> 2. is going to do unnecessary work (and I'll have to create the user > if they don't exist anyway) I've written types that do this with great success. Be careful that performing that repetitive action isn't expensive or otherwise degrading to normal operation. If it creates any kind of race co

Re: [Puppet Users] source /etc/profile

2010-12-15 Thread Richard Crowley
On Tue, Dec 14, 2010 at 9:42 AM, Adrian wrote: > Hello , > > There is a way to source /etc/profile inside puppet on demand? > > My problem is that I install Java, afterwards I set JAVA_HOME variable > in /etc/profile. > > After Java is installed, a gem which depends on Java starts to > install ...

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-16 Thread Richard Crowley
> Is it possible to have the fileserving subset of puppetmasters running > without any SSL support? That's throwing security out of the windows of > course, so the proxy should be able to determine (say, by IP rule?) what > clients are allowed and which aren't. This seems like a job for a new file

[Puppet Users] Re: race conditions in using "svn update" in puppetmaster's /etc/puppet directory?

2011-01-03 Thread Richard Crowley
> So, here's my question: if you are currently using the "svn update" > approach to manage /etc/puppet on the puppetmaster, have you taken > conscious steps to help avoid a race condition? If so, what are they? > And if not, why not? > I do something like this to deploy all web apps, the Puppet m

[Puppet Users] Re: Supporting tar.gz as file source

2011-01-05 Thread Richard Crowley
> It would be neat if puppet could use tar.gz's as a source, instead of > just bare directory trees. So I've lodged a feature request: > https://projects.puppetlabs.com/issues/5786 > > Many of my manifests for applications need to cover the following > process: 1. Download .tar.gz to host > 2.

[Puppet Users] Exported resources and the tag function

2011-02-03 Thread Richard Crowley
to believe by http://projects.puppetlabs.com/issues/5239 that using a tag is the accepted workaround to not being able to collect by environment directly. Thanks, Richard -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] Re: Ordering

2011-02-03 Thread Richard Crowley
On Thursday, February 3, 2011 at 9:53 AM, Adam Gibbins wrote: Hi All, > I'm trying to implement a template (for my collectd config) that gives > different results depending on the other modules included on that machine. > I tried to do this by checking for the class tags but it turns out that due

[Puppet Users] Re: Exported resources and the tag function

2011-02-03 Thread Richard Crowley
The other alternative is to call the tag function in a node but it seems the tag is not inherited so rather than defining the tag in the default node, I'd have to do so in every node. The lack of inheritance seems to be by design so I'm fine using a define if I can get it to work. > > I am led

[Puppet Users] Re: Stored configs in MySQL

2011-02-10 Thread Richard Crowley
Trouble is, each time a node checks into puppet, a new db handle is > opened without the old one being closed. With a few nodes, it doesn't > take long before there are tens or hundreds of handles, and the db > server won't accept any more. I've just run into this issue as well with the followin

[Puppet Users] Re: Stored configs in MySQL

2011-02-10 Thread Richard Crowley
On Thursday, February 10, 2011 at 11:20 AM, Joe McDonagh wrote: Sounds like you're running the wrong version of the mysql rubygem. If > memory serves, this was a known issue. > We're on 2.7.3 packaged by CentOS. http://projects.puppetlabs.com/issues/3238 seems to indicate the problem exists even

[Puppet Users] Agent certificate name in a manifest on the master

2011-03-01 Thread Richard Crowley
{ "$settings::certname": } } Unsurprisingly, $settings::certname is the master's certname. $certname is empty. Is there a way to access the agent's certname as a variable? Thanks, Richard -- You received this message because you are subscribed to the Google Groups "Puppet

[Puppet Users] Re: Agent certificate name in a manifest on the master

2011-03-01 Thread Richard Crowley
> Is there a way to access the agent's certname as a variable? > Volcane suggested on IRC: FACTER_certname=$(cat /etc/puppet/certname) puppet agent ... --certname=$(cat /etc/puppet/certname) which works fine. I turned it into a Ruby fact: require 'facter' require 'puppet' Facter.add :certna

Re: [Puppet Users] Puppet without FQDN (could not retrieve fact fqdn)

2011-03-02 Thread Richard Crowley
On Wednesday, March 2, 2011 at 4:43 PM, msacks wrote: Hello, > I am testing Puppet and I would like to use it without having to add a > DNS entry. Is there a way around this, or am I required to rely on > DNS? You can run Puppet like this: puppet master --certname=$(cat/etc/puppet/certname) puppe

Re: [Puppet Users] Re: Propagating local config changes from a client to the puppetmaster

2011-03-02 Thread Richard Crowley
On Wednesday, March 2, 2011 at 5:52 PM, Patrick Connolly wrote: Still trying to sort out whether this use-case even makes sense, but what if I were to use Puppet to standardize development environments? > > It may be the case that someone makes a change or sets themselves up with a > tool/config

Re: [Puppet Users] Pycon 2011

2011-03-11 Thread Richard Crowley
I'm the one giving the talk. Airlines have forced it to be rescheduled for today at 4:55 in Centenial 2. On Friday, March 11, 2011, Corey Osman wrote: > Hi,  someone is giving a talk about puppet at pycon.  Are there any other > puppet users at pycon? > > Sent from my iPhone > > -- > You receive

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread Richard Crowley
On Friday, March 11, 2011 at 1:02 PM, Richard Crowley wrote: I'm the one giving the talk. Airlines have forced it to be rescheduled > for today at 4:55 in Centenial 2. > > On Friday, March 11, 2011, Corey Osman wrote: > > Hi, someone is giving a talk about puppet at pycon.

Re: [Puppet Users] Pycon 2011

2011-03-12 Thread Richard Crowley
>>> Here are the slides from this unfortunately short and speedy intro: >>>  http://rcrowley.org/talks/pycon-2011/ >>> >> >> How can  I see the short slides ? I can't get beyond 1st slide using >> IE,FF or Chrome. >> > > Never mind. for http://rcrowley.org/talks/pycon-2011/#1, > Just keep increase

Re: [Puppet Users] wordpress.com and puppet, would they use it to update mysql db schema's also?

2011-03-29 Thread Richard Clark
On 29 March 2011 15:36, S Ahmed wrote: > Say for example wordpress.com uses puppet to rollout the wordpress > software for its customers. > > During updates to the software, say there are mysql schema updates. > > i.e. say they have 100K mysql databases, 1 for each blog. > And the database for ea

Re: [Puppet Users] wordpress.com and puppet, would they use it to update mysql db schema's also?

2011-04-01 Thread Richard Clark
On 1 Apr 2011, at 13:01, S Ahmed wrote: > What's the hint hint for, sorry I don't get it :) mCollective was acquired by puppet labs recently. haven't used it yet myself but it does look promising. -- Richard Clark rich...@fohnet.co.uk -- You received this message because

Re: [Puppet Users] adding dns entries to windows(2k3/2k8) dns server

2011-04-03 Thread Richard Clark
he two root folders that you need to look at for this are: DC=DomainDnsZones or Dc=ForestDnsZones. Entries have objectClasses like 'dnsZone' or 'dnsNode'. Cheers, -- Richard Clark rich...@fohnet.co.uk -- You received this message because you are subscribed to the Googl

[Puppet Users] Could not evaluate: Cannot write SSH authorized keys without user

2011-05-03 Thread richard jacobsen
quot;ssh-rsa" } This same bit works fine on ubuntu lucid, and debian squeeze. Any ideas what could be wrong? I checked and the root user is indeed in both /etc/passwd and /etc/shadow. Thanks, Richard -- You received this message because you are subscribed to the Google Groups &

[Puppet Users] is there a conary package provider in the works?

2009-09-14 Thread Richard Wurman
I have some rpath/foresight machines I'd like to puppet'ize but AFAIK no one's made a conary package provider ... I suppose what I most care about are config files for now -- because we are using the "conary way" of keeping our packages updated. That said, it would be nice to know that there's s

[Puppet Users] commonly used, defacto standard web frontend to facter ... that everyone loves?

2009-09-14 Thread Richard Wurman
I'm new to puppet in general - I just have a minimal node.pp defined for 2 clients so far. Before I reinvent the wheel ... is there a good web UI to facter that everyone uses? I've looked over foreman and I figure since it's new, it's probably not in widespread use currently. Any suggestions? --~

Re: [Puppet Users] Re: puppet freezes on FUTEX_WAKE_PRIVATE

2012-10-17 Thread Richard Leitner
BLOCK, NULL, [], 8) = 0 > 26265 16:50:22.899495 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 Have anybody any idea? One thing: It's definitely not the leap-second bug, the machine was born afterwards ;-) best regards, Richard On Monday, July 16, 2012 10:00:54 AM UTC+2, Ernest Beinrohr w

Re: [Puppet Users] Re: puppet freezes on FUTEX_WAKE_PRIVATE

2012-10-23 Thread Richard Leitner
instead of nearly 3 minutes) *hooray!* regards, Richard On Wednesday, October 17, 2012 5:23:07 PM UTC+2, Richard Leitner wrote: > > Hi, > I don't know if this issue is still actual... but I'm suffering the same > thing. > > My puppet agent hangs for ~1 Minute with

[Puppet Users] how to update solaris packages without keeping local copies

2008-10-15 Thread Richard Doty
n the fileserver, but it seems that I have to keep a local copy of the file as well. When I rev the package on the file server, the client should download the package file, install package from the package file, then delete the package file. How have you solved this? Thanks, Ri

[Puppet Users] Using resource collectors with variables from the collected resource?

2013-01-15 Thread Richard Jacobsen
s works as expected, as it doesn't rely on the '$title' of the collected virtual resource. I'd rather just use the virtual resource's $title. Is this possible, or am I asking too much from the resource collector? Thanks! Richard -- You received this message because

[Puppet Users] Re: Using resource collectors with variables from the collected resource?

2013-01-15 Thread Richard Jacobsen
No, I tried that as well. Still reports the class of the collector and not the $name of the virtual resource. On Tuesday, January 15, 2013 10:12:18 AM UTC-8, Richard Jacobsen wrote: > > Hi everyone. An example is worth 1000 words, so here's one: > > In this example I wo

Re: [Puppet Users] Boolean in hiera... problems again

2013-03-06 Thread Richard Clark
gt; Would this > http://projects.puppetlabs.com/issues/16178 be the report? If so, I'm really hoping that it's solved in 3.0.2 as running into the same issue myself :( -- Richard Clark rich...@fohnet.co.uk signature.asc Description: Digital signature

Re: [Puppet Users] Re: Boolean in hiera... problems again

2013-03-08 Thread Richard Clark
a string containing the word true, which evaluates to true, as does the string 'false'. Classy workaround sir, I will apply liberally. -- Richard Clark rich...@fohnet.co.uk signature.asc Description: Digital signature

[Puppet Users] Re: Problem on live-management - Node list missing - User ->Find Resources not working

2013-04-01 Thread Richard Nadeau
On Saturday, March 30, 2013 5:13:00 PM UTC-6, Juan Pablo Baudoin wrote: > > Hello > I'm testing Puppet Enterprise 2.7 and I'm having the following problem. > > When I go to live-management, the node list sometimes is missing. > > This behavior is random, but when It happend I find the followin

[Puppet Users] Re: mcollective setup question

2013-06-02 Thread Richard Knight
I've been having the same issue with my new MCollective setup and a quick look in the client.rb file reveals this function on the line 99 area: raise(MsgDoesNotMatchRequestID, "Message reqid #{requestid} does not match our reqid #{reply.requestid}") unless reply.requestid == requestid rescue S

[Puppet Users] Re: mcollective setup question

2013-06-07 Thread Richard Knight
Anybody else had any luck solving this? I've tried on 3 separate boxes now all seem to suffer the same problem, and the logs are somewhat unhelpful is tracking down why this is occurring. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsu

Re: [Puppet Users] Hiera and hiera-gpg

2013-08-30 Thread Richard Clark
way from hiera-gpg due to performance overhead on large catalogs and moved to a git post-commit hook that decrypts any .gpg files to .yaml within a dedicated hierarchy for decrypted files, using that same insecure private subkey. Cheers, -- Richard Clark rich...@fohnet.co.uk signature.asc Description: Digital signature

  1   2   >