Re: [Puppet Users] Re: Freebsd + Puppet 3.2.2 pkg_add -f ?

2013-08-24 Thread joel johnston
stead of what I've set. Any ideas where I can set the packagesite var so that puppet can pick it up? On Wed, Aug 21, 2013 at 7:35 AM, Eugene Vilensky wrote: > On Tue, Aug 20, 2013 at 2:15 PM, joel johnston > wrote: >> The url is bad/wrong. For some reason it is injecting this

Re: [Puppet Users] Re: Freebsd + Puppet 3.2.2 pkg_add -f ?

2013-08-20 Thread joel johnston
ics, 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://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > -- _

[Puppet Users] Freebsd + Puppet 3.2.2 pkg_add -f ?

2013-08-07 Thread joel johnston
Shouldn't pkg_add be using the -r option for package management? I worked around by forcing the client to use ports instead, but it stinks. Any thoughts? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and sto

[Puppet Users]

2012-12-27 Thread Joel Krauska
http://mordagan.com/wp-content/plugins/cat-description-editor/gmm.html -- 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-us

[Puppet Users] Changing Agent Environment Via Custom Fact

2012-12-19 Thread joel johnston
tly with another custom module: require 'facter' if Facter.value('environment') envstring = Facter.value('environment') $environment = envstring else envstring = '' end Please let me know if this is just way off base including any way this might be possible.

[Puppet Users] Using Puppet to launch services on OSX

2012-12-07 Thread Joel Westberg
ctl load -w /Library/LaunchDaemons/homebrew.mxcl.rabbitmq.plist *works correctly. Running *puppet apply --debug *shows that puppet is scanning all plists and *seems* to locate homebrew.mxcl.rabbitmq.plist, but then nothing happens. Debug output can be found on pastebin <http://pastebin.com/M2129N3

Re: [Puppet Users] Emulating Debians tasksel

2010-11-11 Thread Joel Merrick
On Thu, Nov 11, 2010 at 9:28 AM, tecneeq wrote: > > However, what if the selection of packages changes? Is there a more > clever way to install tasks with tasksel, without listing each and > every package the tasksel task is made of? > Have you tried the meta-package gnome-desktop-environment?

Re: [Puppet Users] Re: Patch Management

2010-11-02 Thread Joel Merrick
CentOS and so I'd look into the free version of > Red Hat's Satellite, Spacewalk for fine tuned software update control > and deployment if I wanted to achieve the same thing. Debian shop (un)fortunately :) Thanks for the mail though, gives food for thought Joel -- $ echo "

[Puppet Users] Patch Management

2010-11-02 Thread Joel Merrick
collective to slowly, but safely upgrade the package. Has this been thought of as an approach at all, or do people here use their own repo's and just finely control what goes into it and use some other mechanism to push the updates? Any thoughts on this matter greatly apprec

Re: [Puppet Users] Questions regarding workflow

2010-10-26 Thread Joel Merrick
ay of managing service. I'll go off an do some reading regarding it. Many thanks for the heads up, you were spot on with the git question too. Joel -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge' -- You received this message because you are s

[Puppet Users] Questions regarding workflow

2010-10-26 Thread Joel Merrick
nd::cache::siteA etc..? Is there any kind of splay mechanism? 2) When working with a number of git branches (for test, dev, prod) how do you manage the merges between them? Any links to this would be appreciated. I'm a git/puppet newb (as you can probably tell!) Cheers Joel -- $ echo "

Re: [Puppet Users] UK Meet-up?

2010-09-14 Thread Joel Merrick
On Tue, Sep 14, 2010 at 3:49 PM, Daniel Maher wrote: > On 09/14/2010 03:25 PM, R.I.Pienaar wrote: > >> Doubt there's enough traction here for too focused events :( > > A Europe-based Puppet Camp would probably go over well ; i mean, us > Europeans use Puppet, too. :) > > +1 ! As much as I'd love

[Puppet Users] UK Meet-up?

2010-09-14 Thread Joel Merrick
Hi all, I've been to a few conferences where puppet has been presented, but would love to know if there's a more puppet specific meet-up planned in the UK any time soon? t.i.a. Joel -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge' -- You

[Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-12 Thread Joel Ebel
Kai, and anyone else experiencing this problem, please go vote, and optionally chime in with any details you can provide on: https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/520715 Thanks, Joel On Feb 11, 3:06 pm, Joel Ebel wrote: > I've reported this bug to Ubuntu.  The soluti

[Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-11 Thread Joel Ebel
I've reported this bug to Ubuntu. The solution is to rebuild ruby1.8 without pthreads, unless ruby fixes the bug upstream which causes the hang. https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/520715 Joel On Feb 10, 2:42 pm, Nigel Kersten wrote: > On Wed, Feb 10, 2010 at

[Puppet Users] LDAP users/groups are being mis-interpretted by RAL

2010-01-27 Thread Joel Heenan
actly the same. Thanks Joel -- 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...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. F

[Puppet Users] Re: Virtual Resources: Nagios_host - only getting one entry each run

2009-10-22 Thread Joel Heenan
I think I solved this. I had the nagios_host definition within a class and the class only got compiled once. Joel On Thu, Oct 22, 2009 at 11:03 AM, Joel Heenan wrote: > OK So I'm doing something silly here, but this is the behaviour I'm seeing. > I am instatiating a large n

[Puppet Users] Virtual Resources: Nagios_host - only getting one entry each run

2009-10-22 Thread Joel Heenan
et there is only two. Using puppet 0.24.5 on Centos 5.3 Thanks for your help Joel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-user

[Puppet Users] Re: Storing puppet info in a database

2009-09-01 Thread Joel Krauska
9-smp 37 2.6.16.53-0.16-smp 92.6.16.53-0.8-smp 12 2.6.16.54-0.2.5-smp 32.6.20-17-server 82.6.24-16-server 12 2.6.24-19-server etc... You can create custom facts to grab the type of information you want and puppet will store that in YAML too. Happy pu

[Puppet Users] Re: Help! Templates, definitions, and arrays, oh my!

2009-07-09 Thread Joel Heenan
ip = ipv.split("/")[0] -%> <% vlan = ipv.split("/")[1] -%> <% end -%> Yes - it is horrible. Hopefully someone has something better :-) Joel On Fri, Jul 10, 2009 at 2:08 AM, Gajillion wrote: > > I fixed the first issue of the DEVICE name by modifying my

[Puppet Users] Are tags inherited through nodes or what is a good way to tag lots of nodes at once?

2009-07-09 Thread Joel Heenan
or am I going about this the wrong way? I don't want to have two separate branches for test,qa,dev,prod because this will be a lot of work merging. I would prefer to have all the rules then use tags to differentiate. At the moment I'm using variabl

[Puppet Users] Re: How do I access a nodes variables from outside the scope

2009-05-28 Thread Joel Heenan
I think I'm going to try and do this with external types. Joel On Fri, May 29, 2009 at 4:19 PM, Joel Heenan wrote: > I thought the following would work and allow me to access a nodes variables > from within a definition. It seems that classes and nodes, while similar, > are diff

[Puppet Users] Re: variable scope with define and friends...

2009-05-28 Thread Joel Heenan
function being run. You could write a custom function for this but I think the easiest is if you simply do $dirs =["/tmp","/tmp/a","/tmp/b"] dir { $dirs: } then it will be available to your template. I haven't tried this though it may not work. Joel On Fri,

[Puppet Users] How do I access a nodes variables from outside the scope

2009-05-28 Thread Joel Heenan
class and include it but when the variables are node specific that seems a bit lame. define xen_guest($dom0) { $guest_ip = $name::$ip } node "a" { $ip = 10.10.10.1 } node "b" { xen_guest{ "a":

[Puppet Users] Re: Build an XML file using exported resources

2009-05-26 Thread Joel Heenan
he "puppet way". Cheers Joel On Wed, May 27, 2009 at 10:41 AM, Ohad Levy wrote: > You could simply dump xml output inside your template. > > e.g. if you have a simple ruby hash a[:b]="c" > in your template do: > <%=a.to_xml%> and you will get the followi

[Puppet Users] Re: Build an XML file using exported resources

2009-05-26 Thread Joel Heenan
. And this works, but its ugly as all hell and is very inflexible. Can you take exported resources, put them into an array, then feed them into a template and access them as fully blown objects? That would solve my problem I think. Joel On Wed, May 27, 2009 at 10:07 AM, Greg wrote: > > Joe

[Puppet Users] Build an XML file using exported resources

2009-05-26 Thread Joel Heenan
about this but I'm not sure how to proceed from there: Do I need to code up my own Puppet Type, I guess something like the sshkey type, and have it output the XML file? Or can I concatenate files similar to David Schmitt's technique in his modules-com

[Puppet Users] Creating configurations that require information from multiple hosts

2009-05-10 Thread Joel Heenan
Sorry to answer my own question. The answer appears to be that exported resources provide this functionality, http://reductivelabs.com/trac/puppet/wiki/ExportedResources Here is an example module using them http://github.com/duritong/puppet-nagios/tree/master Joel On Mon, May 11, 2009 at 1

[Puppet Users] Creating configurations that require information from multiple hosts

2009-05-10 Thread Joel
tively and automatically so that I do not repeat myself? Cheers Joel --~--~-~--~~~---~--~~ 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 unsubsc

[Puppet Users] Useful Puppet/Facter CDP/cdpr hack

2009-04-22 Thread Joel Krauska
mple: # grep cdp /var/lib/puppet/yaml/node/* /var/lib/puppet/yaml/node/widgetXX.foo.com.yaml: cdp_port: GigabitEthernet0/9 /var/lib/puppet/yaml/node/widgetXX.foo.com.yaml: cdp_device: switch25-1.foo.com /var/lib/puppet/yaml/node/widgetYY.foo.com.yaml: cdp_port: Giga

[Puppet Users] Frequent stating of template files

2009-04-22 Thread Joel Krauska
lates/resolv.conf.erb", {st_mode=S_IFREG|0644, st_size=397, ...}) = 0 stat("/etc/puppet/files/templates/ntp.conf.erb", {st_mode=S_IFREG|0644, st_size=535, ...}) = 0 stat("/etc/puppet/files/templates/resolv.conf.erb", {st_mode=S_IFREG|0644, st_size=397, ...}) = 0 Cheer

[Puppet Users] Re: Should we really expect puppetd to die randomly? (Was: Puppet watching puppet)

2009-04-22 Thread Joel Krauska
? Is there a ruby debugger? Unfortunately I'll probably not want to upgrade to the newest puppet for this test harness, but I'd be happy to put 0.24.4 up for some crash and burns. --joel On Tue, Apr 21, 2009 at 12:04 PM, Luke Kanies wrote: > > On Apr 21, 2009, at 2:19 A

[Puppet Users] Re: high cpu usage and slow puppet performance..

2009-03-12 Thread Joel Krauska
I avoid all the puppet serdes by just calling rsync. --~--~-~--~~~---~--~~ 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] Re: UK Meetups / Training

2009-02-17 Thread Joel Merrick
Haha, I'm from Manchester unfortunately. Anyone going to UKUUG? I'll be down there, can't wait.. On Tue, Feb 17, 2009 at 9:03 PM, Gary Law wrote: > 2009/2/17 Joel Merrick > >> Hi all! >> >> Are there any Puppet UK meetups or training etc. ? >> >

[Puppet Users] UK Meetups / Training

2009-02-17 Thread Joel Merrick
Hi all! Are there any Puppet UK meetups or training etc. ? Thanks, Joel -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe 's/(.)/chr(ord($1)-1)/ge' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[Puppet Users] Puppet Questions

2009-02-10 Thread Joel Merrick
implications of using puppet on legacy systems? How do you generally manage updates? Is there any web interface in addition to the CLI? How do you stage the updates (testing)? Any input is greatly appreciated. Joel -- $ echo "kpfmAdpoofdufevq/dp/vl" | perl -pe

[Puppet Users] Re: Thanks for coming out last night, and sorry for the venue confusion. Planning future meetings.

2009-02-04 Thread Joel Merrick
On Wed, Feb 4, 2009 at 6:53 PM, Brian Gupta wrote: > > > It would be good to hear people's thoughts on what kind of meetings we > should be having. (I'm thinking maybe alternating technical/social, > with the occasional outreach meeting with another user group - e.g. - > We haven't presented with

[Puppet Users] Re: Testing puppet manifests

2009-01-09 Thread Joel Merrick
If it's not been already mentioned.. http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments may help On Fri, Jan 9, 2009 at 5:01 AM, Ohad Levy wrote: > Ok - I'll try to make it as simple as I can... > > ***Modules*** > > We define 3 types of modules (its just our internal definiti

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Joel Nimety
Luke Kanies wrote: > On Oct 13, 2008, at 10:24 AM, Joel Nimety wrote: > > > That would be a completely new subsystem to transactions -- instant > action. The 'notify' and 'subscribe' mechanisms all just involve > queues. > > I'm not entirel

[Puppet Users] Re: Force backup of files modified outside of puppet's File Type

2008-10-13 Thread Joel Nimety
Luke Kanies wrote: > On Oct 11, 2008, at 11:46 AM, Joel Nimety wrote: > > > > The problem with this is that by the time the 'file' resource has > gotten the 'notify' message, the file's already been changed so it's > too late to back it up

[Puppet Users] Force backup of files modified outside of puppet's File Type

2008-10-11 Thread Joel Nimety
t;sshd_config"]] } augeas { "sshd_config_port" : notify => [ Service["sshd"], File["sshd_config"] ] context => "/files/etc/ssh/sshd_config", changes => "set Port 22", onlyif => "get Port != 22

[Puppet Users] Re: Puppet Augeas Plugin

2008-10-09 Thread Joel Nimety
Bryan Kearney wrote: > Joel Nimety wrote: > > > Thank you. I have applied this patch. Please let me know if it works for > you. > > http://git.et.redhat.com/?p=ace.git;a=commit;h=8c4420ba7c732d039ce6a37fd347437b0a0492a0 > > -- bk hmmm. looks like a patch fro

[Puppet Users] Puppet Augeas Plugin

2008-10-09 Thread Joel Nimety
;, changes => "set $name $ensure", onlyif => "get $name != $ensure" } } poking around in augeas.rb I noticed that "onlyif" is only processed if the result is not nil. Is this intended behavior? I propose that if th

[Puppet Users] Puppet Augeas Plugin

2008-10-09 Thread Joel Nimety
onlyif => "get $name != $ensure" } } poking around in augeas.rb I noticed that "onlyif" is only processed if the result is not nil. Is this intended behavior? I propose that if the return value is nil it should be treated as an empty string