Re: [Puppet Users] Re: CPAN package provider?

2011-09-28 Thread Craig White
On Sep 28, 2011, at 7:47 AM, Jeffrey Ollie wrote: On Wed, Sep 28, 2011 at 9:33 AM, jcbollinger john.bollin...@stjude.org wrote: Doing otherwise introduces a significant risk of incompatibilities arising and even your Perl modules being mangled, plus it makes management more than twice as

Re: [Puppet Users] Variable number of variables in external node output...

2011-09-22 Thread Craig White
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, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Craig White

Re: [Puppet Users] Export variables into other classes

2011-09-22 Thread Craig White
On Sep 22, 2011, at 6:05 AM, Chris wrote: Hi all I have been pondering this for a while, but not yet seen a clean way to do it I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc) I would like to generate part of my bacula and nagios configs for each host based on which

Re: [Puppet Users] run puppet as cron job

2011-09-22 Thread Craig White
On Sep 22, 2011, at 11:37 AM, mbargar wrote: I have written the manifest that creates the cron jobs and those actully are created ok, but my issue is that i have the following service { pe-puppet-agent: enable = false, ensure = stopped, } and for some reason it will set the

Re: [Puppet Users] Re: run puppet as cron job

2011-09-22 Thread Craig White
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. -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908

Re: [Puppet Users] Custom the puppet CA settings

2011-09-20 Thread Craig White
On Sep 20, 2011, at 3:32 AM, Yunfeng Xu wrote: Hi, I am trying to use my self-signed CA and certificates instead of the built-in CA.That is what I do: create a self-signed CA by openssll issue a certificate for puppet master by CA above then, add the private key files, ca files and

Re: [Puppet Users] puppet on VPC-Virtual private cloud

2011-09-20 Thread Craig White
%= lsbdistcodename %-security main restricted universe multiverse # deb http://archive.canonical.com/ %= lsbdistcodename % partner deb-src http://archive.canonical.com/ %= lsbdistcodename % partner # cat modules/apt/manifests/apt_updates.pp # apt::updates class # # Last update 07/20/2011 # # Craig

Re: [Puppet Users] testing exec

2011-09-19 Thread Craig White
On Sep 19, 2011, at 8:52 AM, Tim Coote wrote: I've clearly not approaching this correctly, so would appreciate some advice. I have a trivial shell script to execute. I've whittled this down to a one line invocation of true. The file is called test and has mode 755 I'm testing with:

Re: [Puppet Users] define a class on invocation?

2011-09-16 Thread Craig White
On Sep 15, 2011, at 11:31 PM, Jo Rhett wrote: I hope I'm overlooking something obvious here. There's a lot of good stuff in puppet that is missing a clue doc ;-) Appreciate a clue-by-four if I overlooked something. I'd like to be able to apply a puppet policy on demand from a node.

Re: [Puppet Users] How To Expand an .erb Template Without Doing a Full Puppet Run?

2011-09-15 Thread Craig White
On Sep 14, 2011, at 8:24 PM, Jon Forrest wrote: On 9/14/2011 1:58 PM, Dominik Zyla wrote: named-checkzone(8) should be suitable tool for your needs. I already knew that. To repeat, what I'm trying to find out is a way to get an expanded template without doing a full run of puppet. I

Re: [Puppet Users] fail to exec apt-get upgrade (change from notrun to 0 failed...)

2011-09-14 Thread Craig White
On Sep 14, 2011, at 7:37 AM, Stoyan Nikolov wrote: So here is my manifest: class aguu { exec { update: command = apt-get update, path = /usr/bin/ } exec { upgrade: command = apt-get upgrade -y,

Re: [Puppet Users] Re: fail to exec apt-get upgrade (change from notrun to 0 failed...)

2011-09-14 Thread Craig White
On Sep 14, 2011, at 9:54 AM, Stoyan Nikolov wrote: I have to add, if i run apt-get upgrade -y manually on a machine, and then run the manifest again it works fine: (after running apt-get upgrade -y manually) root@agent3:~# puppetd --test info: Caching catalog for agent3.sabrewolf.net

[Puppet Users] Re: use cached catalog

2011-09-14 Thread Craig White
On Sep 8, 2011, at 8:52 AM, Craig White wrote: Silly me disabled caching on catalogs throughout my testing and now that I'm in production mode, I have had some issues with my puppetmaster/foreman ENC server VM sometimes getting into swap and the dreadful performance has caused some

Re: [Puppet Users] Re: Facter variable $puppetversion

2011-09-13 Thread Craig White
On Sep 13, 2011, at 10:48 AM, Douglas Garstang wrote: On Tue, Sep 13, 2011 at 10:46 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm

Re: [Puppet Users] Re: Facter variable $puppetversion

2011-09-13 Thread Craig White
On Sep 13, 2011, at 12:28 PM, Douglas Garstang wrote: On Tue, Sep 13, 2011 at 12:25 PM, Craig White craig.wh...@ttiltd.com wrote: I'm thinking that he has puppet 0.25.5 gem installed and all of the rpm -e / yum remove isn't going to solve that. try 'gem list --local' Craig, I posted

Re: [Puppet Users] Dashboard - Pending Tasks

2011-09-12 Thread Craig White
On Sep 12, 2011, at 9:48 AM, Bernd Adamowicz wrote: Hi all! After installing and configuring puppet-dashboard-1.2.1-0.1rc1.el6.noarch.rpm following the installation instruction given in the Pro Puppet book, everything seems fine. (No errors during installation and configuration.)

Re: [Puppet Users] Dashboard - Pending Tasks

2011-09-12 Thread Craig White
executes the same init but my script makes sure every hour that it is still running and if not, start it. -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908 ~~ www.ttiassessments.com Need help communicating between

Re: [Puppet Users] Destroy nodes in dashboard

2011-09-08 Thread Craig White
version? On Sep 8, 2011, at 8:22 AM, Justin Lambert wrote: Destroying nodes in puppet dashboard seems to kill dashboard after about 5 minutes requiring a restart. I took at look at the DB schema and was just going to remove nodes via SQL directly instead of using the dashboard and wanted

[Puppet Users] use cached catalog

2011-09-08 Thread Craig White
use_cached_catalog = false the puppetmaster doesn't have any specific settings but when I run 'puppet master --genconf', I can see... localconfig = /var/lib/puppet/state/localconfig but there is no cached catalog in any of the clients. What am I missing? -- Craig White

Re: [Puppet Users] Destroy nodes in dashboard

2011-09-08 Thread Craig White
I was able to destroy nodes on 1.2.1 rc4 without having to restart dashboard/passenger - don't know about 1.1.0 though Craig On Sep 8, 2011, at 9:25 AM, Justin Lambert wrote: 1.1.0 On Thu, Sep 8, 2011 at 9:31 AM, Craig White craig.wh...@ttiltd.com wrote: version? On Sep 8, 2011, at 8

Re: [Puppet Users] Re: Using Puppet to reset admin passwords on Windows

2011-09-08 Thread Craig White
On Sep 8, 2011, at 9:55 AM, Nigel Kersten wrote: On Thu, Sep 8, 2011 at 9:51 AM, M. Hand mattxh...@gmail.com wrote: Is there a way to have a Windows hashed password setup from the command line (ie we have a pw hash, how do we, on command line, update a users pw with that hash)? That's

Re: [Puppet Users] Dashboard table resource_statuses growing uncontrollably

2011-09-08 Thread Craig White
, 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. -- Craig White ~ craig.wh

Re: [Puppet Users] Re: The require function

2011-09-06 Thread Craig White
On Sep 6, 2011, at 11:58 AM, Douglas Garstang wrote: On Tue, Sep 6, 2011 at 11:52 AM, Douglas Garstang doug.garst...@gmail.com wrote: The puppet documentation at http://docs.puppetlabs.com/references/stable/function.html says for the require function, that: Evaluate one or more classes,

Re: [Puppet Users] storeconfigs in 2.7.3

2011-09-01 Thread Craig White
On Sep 1, 2011, at 7:27 AM, Moty wrote: I'm trying to build a server with puppet 2.7.3 and storeconfig . I keep getting the following error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not connect to database: Please install the mysql adapter: `gem

Re: [Puppet Users] Re: File resource owner not found, only during automatic puppet runs

2011-09-01 Thread Craig White
On Sep 1, 2011, at 7:30 AM, treydock wrote: My understanding of the internals of how Winbind/Samba store and cache AD account information is a bit lacking, but could this be that it just took time for the groups/users to get cached? Authentication and all other functions relying on these

Re: השב: Re: [Puppet Users] storeconfigs in 2.7.3

2011-09-01 Thread Craig White
On Sep 1, 2011, at 8:19 AM, Moty wrote: Well sorry for not being accurate - I meant gems not libraries - regarding mysql I tries the gem version of it and the apt pkg . both gave samne results sounds like you don't have mysql configured on your puppetmaster Craig -- You

[Puppet Users] Bind9 Ubuntu Lucid

2011-08-31 Thread Craig White
. # ps aux | grep `cat /var/run/named/named.pid`|grep -v grep bind 21856 0.0 0.2 326644 39664 ?Ssl Aug26 0:17 /usr/sbin/named -u bind Extremely simple class... class bind::service { service { bind9: ensure = running, require = Class[bind::install], } } ??? -- Craig

Re: [Puppet Users] Bind9 Ubuntu Lucid

2011-08-31 Thread Craig White
On Aug 31, 2011, at 1:55 PM, Steven VanDevender wrote: Craig White writes: Seems that every cycle, puppet thinks that bind9 service is stopped and wants to restart... info: Applying configuration version '1314822598' notice: /Stage[main]/Bind::Service/Service[bind9]/ensure: ensure

Re: [Puppet Users] Bind9 Ubuntu Lucid

2011-08-31 Thread Craig White
On Aug 31, 2011, at 1:47 PM, David Nalley wrote: On Wed, Aug 31, 2011 at 4:43 PM, Craig White craig.wh...@ttiltd.com wrote: Seems that every cycle, puppet thinks that bind9 service is stopped and wants to restart... info: Applying configuration version '1314822598' notice: /Stage[main

Re: [Puppet Users] Announce: Dashboard 1.2.0 is available now

2011-08-29 Thread Craig White
On Aug 27, 2011, at 4:36 AM, Tim Connors wrote: On Fri, 26 Aug 2011, Michael Stahnke wrote: * Dashboard now requires Ruby 1.8.7 to operate I've always found it odd that sysadmins would opt for such an unstable language. One where minor revisions are often backwards incompatible changes

Re: [Puppet Users] Dashboard rhel5 problems

2011-08-15 Thread Craig White
upgrading Ruby, since I prefer to stay consistent with the versions present due to further patching considerations. On Fri, Aug 12, 2011 at 3:07 PM, Craig White craig.wh...@ttiltd.com wrote: On Aug 12, 2011, at 1:13 PM, Marek Dohojda wrote: Hello I have a running puppet

[Puppet Users] fighting packaging

2011-08-12 Thread Craig White
without an interactive answer to the question - the answer to which is essentially meaningless because I can control the file anyway with puppet. Anyone have an idea how to defeat well intentioned but defective packager logic? -- Craig White ~~ craig.wh...@ttiltd.com

Re: [Puppet Users] could not find file

2011-08-12 Thread Craig White
On Aug 11, 2011, at 5:04 PM, Alan Batie wrote: I'm playing with puppet 2.7.1 on centos 5.6; as I read the docs at http://docs.puppetlabs.com/learning/modules1.html, the command: puppet apply --verbose --noop -e include global::admins should look for a manifest in

[Puppet Users] ENC struggles

2011-08-12 Thread Craig White
if the node doesn't exist rather than have puppetmaster supply the 'default node' classes. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired

Re: [Puppet Users] fighting packaging

2011-08-12 Thread Craig White
session? Not sure if it's supported for the apt provider, but worth looking into if you haven't already. -- Nathan Clemons http://www.livemocha.com The worlds largest online language learning community On Fri, Aug 12, 2011 at 9:53 AM, Craig White craig.wh...@ttiltd.com wrote: Clearly

Re: [Puppet Users] need help with using tamplate function in Ruby DSL

2011-08-12 Thread Craig White
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. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com

Re: [Puppet Users] Re: fighting packaging

2011-08-12 Thread Craig White
On Aug 12, 2011, at 12:14 PM, piavlo wrote: env DEBIAN_FRONTEND=noninteractive aptitude install -o 'APT::Get::force-yes=true'--assume-yes libapache2-mod-mono mono-apache- server libmono-firebirdsql1.7-cil don't even get out of the box... Need to get 0B/55.7MB of archives. After

Re: [Puppet Users] Dashboard rhel5 problems

2011-08-12 Thread Craig White
On Aug 12, 2011, at 1:13 PM, Marek Dohojda wrote: Hello I have a running puppet and passenger (2.6.8) running on RHEL5. I installed dashboard and configured it, and all that is working as well. However I don't want to run webrick I want to put dashboard under passenger with apache.

[Puppet Users] generate function

2011-08-10 Thread Craig White
ubuntu.ttinet documentation on the generate function is sort of sparse and I am not able to deduce the structure of an acceptable command but I gather that spaces are not allowed. How do I structure this? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908

Re: [Puppet Users] generate function

2011-08-10 Thread Craig White
On Aug 10, 2011, at 9:52 AM, Daniel Pittman wrote: On Wed, Aug 10, 2011 at 16:40, Craig White craig.wh...@ttiltd.com wrote: Seems I don't quite understand how it's supposed to work At the moment, I have it inside a 'file' resource content = generate(/etc/puppet/scripts/ldap-add-host.sh

Re: [Puppet Users] generate function

2011-08-10 Thread Craig White
On Aug 10, 2011, at 11:14 AM, Daniel Pittman wrote: On Wed, Aug 10, 2011 at 17:56, Craig White craig.wh...@ttiltd.com wrote: On Aug 10, 2011, at 9:52 AM, Daniel Pittman wrote: On Wed, Aug 10, 2011 at 16:40, Craig White craig.wh...@ttiltd.com wrote: Seems I don't quite understand how it's

Re: [Puppet Users] generate function

2011-08-10 Thread Craig White
On Aug 10, 2011, at 11:50 AM, Daniel Pittman wrote: On Wed, Aug 10, 2011 at 18:31, Craig White craig.wh...@ttiltd.com wrote: what I am trying to do is execute a shell script on the puppetmaster... essentially add 'host' attribute to specific ldap users. That's why the command has

Re: [Puppet Users] Puppet Windows support

2011-08-10 Thread Craig White
-users?hl=en. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- You received this message because you

Re: [Puppet Users] Pluginsync hangs indefinitely

2011-08-09 Thread Craig White
On Aug 8, 2011, at 3:52 PM, Nathaniel Cook wrote: I am having an issue with puppet hanging. My system is pretty simple I have several modules but only one that loads some extra facts. I configure the client to have pluginsync=true in puppet.conf. On the first run it creates and signs the

Re: [Puppet Users] Re: pluginsync before catalogue?

2011-08-04 Thread Craig White
On Aug 4, 2011, at 12:33 PM, jcbollinger wrote: On Aug 3, 5:34 pm, Craig White craig.wh...@ttiltd.com wrote: sure - that's what Ohad suggested and it's somewhat workable. The issue really is that this is a hack workaround. For example, the interface for configuring the environment

[Puppet Users] Run script on puppetmaster

2011-08-04 Thread Craig White
this within puppet ? I'm figuring that the puppet master knows the hostname of the system and need that parameter to pass to my shell script. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help

Re: [Puppet Users] Run script on puppetmaster

2011-08-04 Thread Craig White
, Craig White craig.wh...@ttiltd.com wrote: I can't seem to find this with Google because the search language turns up common usage. What I am trying to accomplish is to add each new host to specific users LDAP attributes on my LDAP server. Thus when I say sign a certificate or assign some

Re: [Puppet Users] Re: pluginsync before catalogue?

2011-08-03 Thread Craig White
On Aug 3, 2011, at 9:33 AM, jcbollinger wrote: On Aug 3, 9:32 am, Matthew J Black mjbl...@gmail.com wrote: The pluginsync config var defaults to false. I believe there's a ticket to default it to true in the future. But until that happens you have a few options: [...] 3. Possibly

Re: [Puppet Users] Is class? [SOLVED]

2011-07-29 Thread Craig White
On Jul 28, 2011, at 10:03 PM, Scott Smith wrote: It looks like you're wanting to do it via erb, but if you can perform whatever logic in the manifest, you can use tagged: (scott@cornstarch:tmp)% cat foo.pp class foo { } class bar { if (tagged(foo)) { notice(You're including

Re: [Puppet Users] Another Custom Fact deployment problem

2011-07-29 Thread Craig White
-users?hl=en. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- You received this message because you

Re: [Puppet Users] Custom fact question

2011-07-29 Thread Craig White
On Jul 29, 2011, at 6:25 AM, Oliver Beattie wrote: I need it to run at a specified point during the manifest though. The value of the fact depends on a package being installed. And my config files depend on the value of the fact. Rather than just conceptualize it - assume it works as

Re: [Puppet Users] Another Custom Fact deployment problem

2011-07-29 Thread Craig White
On Jul 29, 2011, at 8:54 AM, Guy Matz wrote: hmm . . . my custom facts are in /var/opt/lib/pe-puppet/lib/puppet/facter, but if I put them in /var/opt/lib/pe-puppet/lib/facter they *do* show up in facter -p . . . does that mean I am packaging my facts incorrectly on the server? Or is

[Puppet Users] Is class?

2011-07-28 Thread Craig White
: $is_ldap_server = false Is there a way that I can derive whether a class has been assigned to the client or do I have to write a custom fact? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating

Re: [Puppet Users] Is class?

2011-07-28 Thread Craig White
On Jul 28, 2011, at 11:39 AM, Nan Liu wrote: On Thu, Jul 28, 2011 at 1:48 PM, Craig White craig.wh...@ttiltd.com wrote: Trying to ascertain if a particular client has been assigned the class ldap::server_install because I want to have a different configuration value for the ldap::configure

Re: [Puppet Users] service start/stop

2011-07-25 Thread Craig White
On Jul 24, 2011, at 10:50 PM, Alexis Midon wrote: Hi, I'm use the continuous integration server Jenkins. It's deplyed as a debian package on ubuntu. Puppet seems to have some issues restarting the service. Actually when a 'refresh' is needed, the jenkins process is killed but not

Re: [Puppet Users] Re: service start/stop

2011-07-25 Thread Craig White
On Jul 25, 2011, at 10:43 AM, Alexis Midon wrote: Hi Craig, thank you for you answer. I also tried 'has_restart = true,' before posting on this group. It did not fix the behavior I described: jenkins getting killed but not restarted. Regarding 'refresh', you seem to imply that the

[Puppet Users] parameters in a string for ENC

2011-07-20 Thread Craig White
the example above and if I attempt to use 'to_yaml' within a class it's always a syntax error. So if someone actually has a working method that would allow me to do this, would they be willing to share an example? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908

Re: [Puppet Users] Problem to start puppet

2011-07-15 Thread Craig White
try commenting out the line genconfig in puppet.conf Craig On Jul 14, 2011, at 5:05 PM, Anton wrote: Hello Im following this guide http://aaronwalrath.wordpress.com/2010/09/03/installing-and-configuring-puppet-on-centos-linux/ (running centos 5.6). But when i try puppetmasterd --verbose

[Puppet Users] LDAP ENC

2011-07-14 Thread Craig White
is installed -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- You received this message because you

[Puppet Users] Re: puppetrun/puppet kick

2011-07-14 Thread Craig White
Too stupid a question? (puppet kick seems to be identical to puppetrun command as discussed in Pro Puppet book) I spent enough time looking through puppet documentation and googling and couldn't solve it so I asked... On Jul 12, 2011, at 4:21 PM, Craig White wrote: Can't seem to make it work

Re: [Puppet Users] LDAP ENC

2011-07-14 Thread Craig White
On Jul 14, 2011, at 11:16 AM, Rob McBroom wrote: On Jul 14, 2011, at 1:16 PM, Craig White wrote: Seems straight forward enough but I keep getting errors. On a client... err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node ubuntu5.ttinet

[Puppet Users] More ENC / LDAP difficulty

2011-07-14 Thread Craig White
of the web site and Pro Puppet, I should not be having these problems with ENC on LDAP I gave up on trying to 'chain' using parentnode in LDAP because that simply hasn't worked and tried to simplify things but still... -- Craig White ~~ craig.wh...@ttiltd.com

[Puppet Users] puppetrun/puppet kick

2011-07-12 Thread Craig White
:~# cat /etc/puppet/auth.conf path /run method save allow * root@ubuntu4:~# cat /etc/puppet/namespaceauth.conf [puppetrunner] allow * root@ubuntu4:~# grep listen /etc/puppet/* /etc/puppet/puppet.conf: listen = true -- Craig White ~~ craig.wh...@ttiltd.com

Re: [Puppet Users] Dashboard - Could not retrieve facts from inventory service

2011-07-06 Thread Craig White
your issue? If it does, it looks like it is something with the way your reverse DNS is working on the allow line. On Tue, Jul 5, 2011 at 4:24 PM, Craig White craig.wh...@ttiltd.com wrote: puppet 2.6.8 puppet-dashboard v1.1.1 auth.conf has: path /facts auth no method find allow

Re: [Puppet Users] sysv init scripts when using gem to install

2011-07-05 Thread Craig White
On 06/21/2011 12:30 PM, Craig White wrote: I am using ruby-enterprise for ruby packages and gem for puppet/facter installation and I 'borrowed' the ubuntu sysv init scripts and they mostly work but for some reason, it won't stop the service as written but it will start. For example

Re: [Puppet Users] Bug or Feature

2011-07-05 Thread Craig White
On Jul 4, 2011, at 5:45 AM, Felix Frank wrote: On 07/01/2011 08:41 PM, Craig White wrote: Moving it to templates and appending .erb to the names handled things fine I think that's gratuitous. You can use templates without .erb names. Also, the file() function would be more appropriate

Re: [Puppet Users] Apache module for RHEL6

2011-07-05 Thread Craig White
On Jul 5, 2011, at 1:31 AM, Vorik wrote: Hi, I'm a puppet-n00b and am struggling a bit to get Apache-modules working. I've tried several, but most seem to be quite Debian-oriented and lack documentation. What is a good module to manage Apache on RHEL6 that is known to work? I want

[Puppet Users] Dashboard - Could not retrieve facts from inventory service

2011-07-05 Thread Craig White
of these down w/ Google but not getting to the heart of my problem - I'm relatively up to date): Could not retrieve facts from inventory service: 403 Forbidden request: dashboard(10.1.0.253) access to /facts/ubuntu2.ttinet [find] authenticated at line 103 How do I fix this? -- Craig White

Re: [Puppet Users] Puppet client do-overs

2011-07-01 Thread Craig White
On Jun 30, 2011, at 8:21 PM, Nathan Clemons wrote: 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. The other issue I fixed...

[Puppet Users] Bug or Feature

2011-07-01 Thread Craig White
things fine but I thought I should toss this out there because it was unexpected. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired

[Puppet Users] Puppet client do-overs

2011-06-30 Thread Craig White
is supposed to look like). How can I get a fresh start with a client so it operates only on the classes it is configured to use? Craig -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between

[Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Craig White
, user= root, group = root, logoutput = on_failure, require = Class[firebird::install], } } Is there a better way? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help

Re: [Puppet Users] Dashboard LDAP ENC's

2011-06-29 Thread Craig White
On Jun 29, 2011, at 8:23 AM, Rob McBroom wrote: On Jun 22, 2011, at 2:37 PM, Craig White wrote: I've restarted both puppetmaster and apache (Dashboard is running on passenger) and still, I don't see the above system in 'Nodes' though I haven't run or even installed puppet on that system

Re: [Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Craig White
another file as well as part of the initial config (/var/lib/firebird/configured or something), then check for its (non)existence before pushing the file out. On Wed, Jun 29, 2011 at 8:34 AM, Craig White craig.wh...@ttiltd.com wrote: This seems to work but it does seem perilous and ugly. A meta

Re: [Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Craig White
Thanks - answers inline... On Jun 29, 2011, at 8:57 AM, Daniel Piddock wrote: On 29/06/11 16:34, Craig White wrote: This seems to work but it does seem perilous and ugly. A meta description of what I am trying to do is: - install firebird sql server - replace the 'security' file

Re: [Puppet Users] can't deploy custom facts

2011-06-29 Thread Craig White
On Jun 29, 2011, at 1:16 AM, brijesh wrote: Hi I have been having issue with deploying my custom facts. I have gone through wiki on puppet labs and few other blogs but has no luck so far. May be i am not understanding puppet very well. I would really appreciate if someone helps me with

Re: [Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Craig White
On Jun 29, 2011, at 9:14 AM, Brian Gallew wrote: On Jun 29, 2011, at 9:05 AM, Nigel Kersten wrote: I've long wanted the equivalent of a conffile in Puppet. e.g. replace this file if it's still the same as the one Puppet put down, but if it's been modified from the default, don't replace

Re: [Puppet Users] Re: can't deploy custom facts

2011-06-29 Thread Craig White
down the road and actually make it a lot more fun and bring sense to the coding and structure within puppet too. Craig On Jun 29, 2011, at 3:22 PM, brijesh wrote: Thank You Very Much Craig that worked. On Jun 30, 9:12 am, Craig White craig.wh...@ttiltd.com wrote: I don't know about

[Puppet Users] struggling with precedence/declarative language

2011-06-28 Thread Craig White
, user= root, group = root, mode= 755, command = /bin/ln -s /var/lib/firebird/2.1/data /var/fbdata, refresh = false, #unless = /bin/ls -l /var/fbdata, logoutput = on_failure, } } -- Craig White ~~ craig.wh

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

2011-06-28 Thread Craig White
On Jun 28, 2011, at 11:14 AM, Cosimo Streppone wrote: On Tue, 28 Jun 2011 20:01:20 +0200, Craig White craig.wh...@ttiltd.com wrote: The error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter mode at /etc/puppet/modules/firebird/manifests

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

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

[Puppet Users] Newbie observation

2011-06-28 Thread Craig White
::vhost { test2.ttinet: port = 8080, docroot = /var/www/test2.ttinet, ssl = false, priority = 10, serveraliases = ['test4', 'test3'], } (obviously I have templates for apache2.conf, ports.conf, ssl.conf and any amount of vhosts -- Craig White

Re: [Puppet Users] Custom facts - chicken or the egg

2011-06-27 Thread Craig White
On Jun 25, 2011, at 7:51 AM, Nigel Kersten wrote: On Fri, Jun 24, 2011 at 4:28 PM, Craig White craig.wh...@ttiltd.com wrote: 1. I want to require = /etc/puppet/modules/custom/lib/facter/$SOME_CUSTOM_FACT is actually executed and the fact is established before a particular package

Re: [Puppet Users] IP address evenness as an identifier

2011-06-24 Thread Craig White
to create. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- You received this message because you

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-24 Thread Craig White
On Jun 23, 2011, at 6:17 PM, Nigel Kersten wrote: On Thu, Jun 23, 2011 at 4:07 PM, Craig White craig.wh...@ttiltd.com wrote: class nginx::install { $prerequisites = [ build-essential, libcurl4-openssl-dev, libssl-dev, zlib1g-dev ] case $operatingsystem { centos, redhat

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-24 Thread Craig White
Nevermind... under control - thanks for the fish Craig On Jun 24, 2011, at 9:26 AM, Craig White wrote: On Jun 23, 2011, at 6:17 PM, Nigel Kersten wrote: On Thu, Jun 23, 2011 at 4:07 PM, Craig White craig.wh...@ttiltd.com wrote: class nginx::install { $prerequisites = [ build-essential

Re: [Puppet Users] Package pre-requisites prior to file exec

2011-06-24 Thread Craig White
On Jun 24, 2011, at 10:42 AM, Nigel Kersten wrote: On Fri, Jun 24, 2011 at 10:38 AM, Craig White craig.wh...@ttiltd.com wrote: Nevermind... under control - thanks for the fish Heh. Great timing, I was just typing up a reply. Craig, I'd appreciate it if we could try and work out what led

Re: [Puppet Users] Re: New Puppet report processors...

2011-06-24 Thread Craig White
. 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. -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908

[Puppet Users] could not find dependency Class

2011-06-24 Thread Craig White
this to be a class in order to reference another class? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help

Re: [Puppet Users] Enable yum repositories as needed

2011-06-24 Thread Craig White
On Jun 24, 2011, at 11:48 AM, James A. Peltier wrote: Hi All, I'm new to puppet and I'm having some difficulty enabling and disabling yum repositories on an as needed basis and I was wondering if you all might be able to provide me with some assistance. I've been able to get puppet to

[Puppet Users] Custom facts - chicken or the egg

2011-06-24 Thread Craig White
-- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- You received this message because you are subscribed

Re: [Puppet Users] Custom facts - chicken or the egg

2011-06-24 Thread Craig White
On Jun 24, 2011, at 3:40 PM, Denmat wrote: Hi, What I do is a little different for zmanda. I have a fact that looks for a local release file that contains the version number installed. If that file doesn't exist then it returns 0.0.0. The version file is created after the successful

Re: [Puppet Users] apt-key and untrusted packages

2011-06-23 Thread Craig White
On Jun 22, 2011, at 10:32 PM, Martin Alfke wrote: On 06/22/2011 11:29 PM, Craig White wrote: Perhaps this is a Debian/Ubuntu question and not a puppet problem but... Seems as though the key is good but the install failed. # apt-key list /etc/apt/trusted.gpg

[Puppet Users] apache vhosts include files

2011-06-23 Thread Craig White
code fails to build a catalog. What is the best way to 'include' a file in an erb template (I think I am good with the conditionals). Thanks -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help

Re: [Puppet Users] apache vhosts include files

2011-06-23 Thread Craig White
On Jun 23, 2011, at 12:47 PM, Daniel Pittman wrote: On Thu, Jun 23, 2011 at 12:25, Craig White craig.wh...@ttiltd.com wrote: Perhaps I am going at this the wrong way but I am getting far using the vhosts methodology from Pro Puppet and now I want to optionally include a static text file

[Puppet Users] Dashboard LDAP ENC's

2011-06-22 Thread Craig White
? I'm trying to figure out how to get Dashboard to import the ENC 'nodes' from LDAP. Logs don't show any errors and I do have ruby-ldap installed... # ruby -rldap -e puts :installed installed -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908

[Puppet Users] apt-key and untrusted packages

2011-06-22 Thread Craig White
that I am not very keen on automating anything with --force ?? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Craig White
On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d -e 'include ntp' Do? seems so basic - output at bottom I have gone over and over the Pro Puppet book and the

Re: [Puppet Users] confused about file ensure/require

2011-06-21 Thread Craig White
On Jun 21, 2011, at 9:09 AM, Nigel Kersten wrote: On Tue, Jun 21, 2011 at 9:03 AM, Craig White craig.wh...@ttiltd.com wrote: On Jun 20, 2011, at 3:54 PM, Ken Barber wrote: It does seem like its not being included :-) ... What does: echo # foo /etc/ntp.conf puppet apply -d

[Puppet Users] sysv init scripts when using gem to install

2011-06-21 Thread Craig White
familiarity with ubuntu/debian and their sysv implementation. Anyone have a better suggestion than 'killall puppetd|puppetmaster' for the 'stop' process? -- Craig White ~~ craig.wh...@ttiltd.com 1.800.869.6908 ~~~ www.ttiassessments.com Need help

<    1   2   3   >