[Puppet Users] Problems when puppet runs on freebsd

2010-09-14 Thread daniel
Hey guys! I have hundreds of freebsd servers to manage, so i try to deploy puppet on my servers. The version of puppet client i used is 0.25.4 , while puppetmaster uses the same version , which is a debian system. The problems i encountered are as follows: 1. when i run "puppetd -t -d " on c

[Puppet Users] Something wrong after upgraded to puppet-dashboard 1.04

2010-11-22 Thread daniel
After upgraded to puppet-dashboard 1.04, when I click links to check information of nodes or groups , such as http://localhost:3001/nodes/22, it return a "We're sorry, but something went wrong." to me. Checking the log, i got something as follows: ActionView::TemplateError (undefined method `

[Puppet Users] Supporting IE6 in Dashboard

2011-02-13 Thread daniel
board. It would be a great help if you could tell us your views on this. Regards, Daniel Pittman Would you like IE6 support in the Puppet Dashboard? * Yes, and we have no other choice. Yes, but we can use another browser. I don't care. Other: Would you like IE7 support in the Puppet

Re: [Puppet Users] Key signing only

2010-02-03 Thread Daniel
, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- Cheers, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users&qu

Re: [Puppet Users] Key signing only

2010-02-03 Thread Daniel
You're right. Should have spent some more minutes thinking about it. It's been a long day... On Wed, Feb 3, 2010 at 8:26 PM, Scott Smith wrote: > Daniel wrote: >> >> Why not create a class or define containing your keys and run puppetd >> only with the related ta

Re: [Puppet Users] Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-08 Thread Daniel
gt; and I couldn't find any answers anywhere. > > Thanks, > Eric > > -- > 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 unsub

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-10 Thread Daniel
e > from apps that want to use the API. > > Additional ideas for stuff you would like to see? > > --Michael > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-u

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-10 Thread Daniel
Something like "/etc/init.d/tomcat stop", "deploy", "/etc/init.d/tomcat start". It also would be great to manage services in general. Like stop/start/restart service X. On Wed, Feb 10, 2010 at 8:49 PM, Michael DeHaan wrote: > Daniel wrote: >> >>

Re: [Puppet Users] My first type/provider - does nothing...

2010-02-17 Thread Daniel
e - Extend volume (Extend size is verified) - Delete volume The only missing feature (so far) is to verify that enough space in the VG is left to actually extend the volume. -- Cheers, Daniel On Wed, Feb 17, 2010 at 6:50 PM, Marcin Owsiany wrote: > Hello, > > On Mon, Feb 15, 2010

Re: [Puppet Users] ensuring a file is copied in before evaluating another class.

2010-02-25 Thread Daniel
ot; 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. > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. >

Re: [Puppet Users] ensuring a file is copied in before evaluating another class.

2010-02-26 Thread Daniel
ks! That sounds like the right way to do it! How to I ensure puppet > copies out a new puppet.conf with the changes before evaluating the class > that uses 'case "$customfact"'? > > Cheers, > > -- Greg > > Daniel wrote: >> >> Don't dist

[Puppet Users] How to pass a array to define?

2010-06-20 Thread daniel
Hey, guys! These days I'm keep on setting up my puppet automation environment, but I got a problem that made me confused. I have a define to add users ,which as follows : define usermgr::add_user ($usershell='/bin/bash', $groups) { 4 5 file 6 { "/home/$title": 7 owner

[Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread Daniel
I'm having the same issue. I'm new to puppet and have setup a linux puppet master server. I have successfully signed the cert from the windows computer. In fact, the windows agent was able to perform the actions once but now it can't. I'm running puppet agent interactively from a command prompt

[Puppet Users] Re: Puppet Agent on Windows

2012-02-29 Thread Daniel
not seem to be related to the original error, I'll start a new discussion. Thank you for your help! On Feb 28, 5:57 pm, Josh Cooper wrote: > Hi Daniel, > > > > > > > > > > On Tue, Feb 28, 2012 at 11:58 AM, Daniel wrote: > > I'm having the same

[Puppet Users] Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Daniel
I just installed the latest rc 1.7 to solve another issue I had. It solved the issue, but I'm getting a different issue. I'm running it interactively from an administrator command prompt. It connects to the master puppet server, processes the configuration items then gives an error. The interes

[Puppet Users] Re: Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-02-29 Thread Daniel
;0755' notice: Finished catalog run in 8.24 seconds It just sits at this point w/o a command prompt until I hit control-C On Feb 29, 10:37 am, Josh Cooper wrote: > Hi Daniel, > > On Wed, Feb 29, 2012 at 7:36 AM, Daniel wrote: > > I just installed the latest rc 1.7 to s

[Puppet Users] Re: Windows Puppet 2.7.12rc1-7-g281901e hands at end of run

2012-03-01 Thread Daniel
Thank you. On Feb 29, 6:59 pm, Josh Cooper wrote: > Hi Daniel, > > > > > > > > > > On Wed, Feb 29, 2012 at 2:33 PM, Daniel wrote: > > Those items corrected the issues except that it hangs.  It copies the > > file as specified and sets all the pe

[Puppet Users] Terrible exported resources performance

2013-01-21 Thread Daniel
tdb-1.0.5-1.el5 Passenger config: PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 PassengerMaxRequests 1000 PassengerStatThrottleRate 120 Regards, Daniel -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

[Puppet Users] Re: Terrible exported resources performance

2013-01-22 Thread Daniel
On Monday, January 21, 2013 1:05:26 PM UTC, Daniel wrote: > > In the larger env it takes about 70 minutes, if it manages to finish at >> all. Initially, as a "quick" test, I was running puppetdb without postgres >> and had to give it 5GB to get it to finish at

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-23 Thread Daniel
This is now reported here: http://projects.puppetlabs.com/issues/18804 -- 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/-/ZpyFiFkYjawJ. To post to this group,

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-24 Thread Daniel
Seems that chaining exported resources might not be too efficient and produces lots of data that could be the reason for puppetdb crashing. The culprits being these two lines in two manifest files: ./nsca/server.pp: #File <<| tag == $get_tag |>> -> Nagios_host <<| tag == $get_tag |>> ./nrpe/se

Re: [Puppet Users] Re: Terrible exported resources performance

2013-01-25 Thread Daniel
On Thursday, January 24, 2013 2:41:53 PM UTC, jcbollinger wrote: > > On Thursday, January 24, 2013 5:24:58 AM UTC-6, Daniel wrote: >> >> Seems that chaining exported resources might not be too efficient and >> produces lots of data that could be the reason for pupp

Re: [Puppet Users] Puppet catalog transfer often gets truncated (Could not intern from pson: error)

2014-07-15 Thread Daniel
I am also getting this problem. Did running the puppet master within Apache/Passenger or nginx/Passenger help at all? I was thinking it could be to do with a non ascii character making its way into my code somewhere as that seems to cause dodgy stuff but that's not it. I've seen lots of suggest

[Puppet Users] Re: yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5

2015-05-20 Thread Daniel
Yep, use descr => 'blah' instead of name => 'blah' On Friday, 4 December 2009 18:50:31 UTC, Bryan Schneiders wrote: > > I'm using puppet-0.24.8-4.el5 on CentOS 5.4. > > My problem is yumrepo isn't writing the "name=" field to the > repository files which causes yum to complain with the error:

Re: [Puppet Users] Re: Can puppet client make immediate pull after a file's content change by user?

2011-05-05 Thread Daniel Pittman
the process (eg: they update puppet, rather than hack on the machine), or by locking them out. Regards, Daniel ...and, yes, they /will/ get very upset with the "locking them out" option. :) -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, ema

Re: [Puppet Users] variables inside a template for my hp ilo device

2011-05-05 Thread Daniel Pittman
ou can inspect that to see exactly how this is working. Regards, Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message because you are s

[Puppet Users] Puppet 2.7.0RC2 released

2011-05-06 Thread Daniel Pittman
low a node to query configuration information about itself from the internal or external node classifier. This RC is focused, as all our RC releases are, on getting the committed features to the standard of quality we aspire to. Regards, Daniel, for the engineering team. -- ⎋ Puppet

Re: [Puppet Users] undefined method `[]' for nil:NilClass

2011-05-06 Thread Daniel Pittman
th the '--debug' and '--trace' options that would be swell. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message becaus

Re: [Puppet Users] Generate "Compiled catalog"/yaml for a node?

2011-05-06 Thread Daniel Pittman
tps://github.com/railsmachine/moonshine/wiki/shadow-puppet-overview-and-examples Regards, Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this m

Re: [Puppet Users] Uninstalling the puppet source?

2011-05-16 Thread Daniel Pittman
source into a gem? > > Figured (2) out; still wondering about the other.  I have all the > install output, so I can just rm everything, but I'm assuming > there's something cleaner than that? Not that I am aware of. Good for you, saving the output, too. Daniel -- ⎋ Puppet

Re: [Puppet Users] finding consultants or full time puppet experts?

2011-05-20 Thread Daniel Pittman
meone like that? Here was always good, when I was looking. ;) That said, if you can't find anyone, Puppet Labs does have a professional services arm who do consulting, and we would be happy to talk to you about that. Not really a "full time" solution, obviously. :) Good luck. Dani

Re: [Puppet Users] puppet code to find out which is the first active network interface

2011-05-20 Thread Daniel Pittman
a variable to use? You want to write a custom fact, for Facter. Normally you would distribute that as part of the pluginsync process, so it would be sent to the client by Puppet automatically, and available before your catalog was compiled. Regards, Daniel -- ⎋ Puppet Labs Developer – http://

Re: [Puppet Users] changing the default key length and hash

2011-05-23 Thread Daniel Pittman
telligent decisions about what we ship in terms of checksums, etc, as part of our compatibility story. As long as the master leads the agent in version we should be fine.) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-97

Re: [Puppet Users] changing the default key length and hash

2011-05-24 Thread Daniel Pittman
On Tue, May 24, 2011 at 06:36, Mark Stanislav wrote: > On May 24, 2011, at 1:38 AM, Daniel Pittman wrote: >> On Fri, May 20, 2011 at 08:23, Nigel Kersten wrote: >>> On Fri, May 20, 2011 at 5:39 AM, Mark Stanislav >>> wrote: […] >> Larger keys, better hashing (p

Re: [Puppet Users] changing the default key length and hash

2011-05-24 Thread Daniel Pittman
On Tue, May 24, 2011 at 11:02, Mark Stanislav wrote: > On May 24, 2011, at 1:50 PM, Daniel Pittman wrote: >> On Tue, May 24, 2011 at 06:36, Mark Stanislav >> wrote: >>> On May 24, 2011, at 1:38 AM, Daniel Pittman wrote: >>>> On Fri, May 20, 2011 at 08:23, Nig

Re: [Puppet Users] changing the default key length and hash

2011-05-25 Thread Daniel Pittman
else already done things about this? Not that we are aware of. If you delivered support for configuring that through the product, though, we would almost certainly support it without any other compatibility support. (As in, I think it has value in that form alone, even though we want to su

Re: [Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread Daniel Pittman
n at > http://groups.google.com/group/puppet-users/browse_thread/thread/f278468018b13a32, > especially Daniel Pittman's response at the end.  As Daniel observes, > *Facter* is not very clear about what that fact represents. > >> I've read that it >> returns th

Re: [Puppet Users] uploading files via REST?

2011-05-31 Thread Daniel Pittman
her than when the target checksum already exists, so please try not to lie about it. ;) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this mess

Re: [Puppet Users] High CPU usage puppet 2.6.6

2011-05-31 Thread Daniel Pittman
shouldn't should such a dramatic jump in most cases. Can you quantify the performance differences further? Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -

Re: [Puppet Users] know what the master is currently doing

2011-05-31 Thread Daniel Pittman
s status, so that this can be extracted one way or another. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message because you are su

Re: [Puppet Users] Re: ipaddress returned by facter

2011-05-31 Thread Daniel Pittman
d it, or as a "less wrong" answer for this fact for compatibility. :) > I think that I'm going to ignore this issue for the moment as > something that just doesn't work yet. Yah. Better write your own fact, or resolution, to match local rules. Daniel > > Tim >

Re: [Puppet Users] Exported resources for DNS and DHCP

2011-06-09 Thread Daniel Pittman
e/dns-${fqdn}.data": content => "ip = ${ipaddress}\n", tag => 'data' } Then, on the master import that, and use a little Perl script to read /datastore/dns-*.data, parse out the IP value, and inject that: class dhcp { $dns = generate('/u/l/bin/extract-data', &

Re: [Puppet Users] Re: how to do conditional check?

2011-06-13 Thread Daniel Pittman
; I probably use it too much, in fact, but writing a custom fact for > every file I need to check becomes tedious and hard to maintain (we > do this in quite a few places). It does have the advantage that it would work, though, where this pattern totally *can't*. :) Regards, Da

Re: [Puppet Users] two possibilities for declaring resources with hashes [was: Virtual resources and hashes]

2011-06-13 Thread Daniel Pittman
system. ...and, yes, I *do* think that having the ability to use either a hash, or a resource, to model a resource is creating a second, shadow language for Puppet resource declaration. Daniel On Mon, Jun 13, 2011 at 10:18, Randall Hansen wrote: > I think Aaron lays out the options pretty w

Re: [Puppet Users] Puppet Caching Problem

2011-06-20 Thread Daniel Pittman
ter* for this to be fixed; a 2.6.4 client will work fine.) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this message because you are sub

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

2011-06-21 Thread Daniel Piddock
On 21/06/11 17:03, Craig White 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 -e 'include ntp' >> >> Do? > > seems so basic - output at bottom > > I have gone

Re: [Puppet Users] Re: ANNOUNCE: Puppet 2.7.0 Released

2011-06-22 Thread Daniel Pittman
tters on the Puppet Master, so even if it hadn't, running a 2.7 master with 2.6 clients would have fixed the bug. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer elect

Re: [Puppet Users] apache vhosts include files

2011-06-23 Thread Daniel Pittman
tion. If your file is just static text, this should work: <%= File.open('/path/to/file').read %> If it has actual ERB content, life is more difficult. As an alternative, some folks use one of the various 'concat' file modules, like the one by R.I.Pienaar, or the p

Re: [Puppet Users] Re: Make puppet automatically recognize new files in nodes directory?

2011-06-23 Thread Daniel Pittman
and watch those files for changes. So, I think this is the only present solution for the issue; you might want to find the existing bug (which I bet there is, but file a new one if you can't turn it up) and add your voice to those asking that it get fixed. :) Regards, Daniel On Thu, J

[Puppet Users] implementing a 1-to-many exported resource only once ?

2011-06-24 Thread Daniel Maher
d do it rather simply from class "syslog::server" (for example), but I'd like it to be dynamic - I'd like other modules to be able to trigger the addition of a given configuration snippet in the syslog config of node "infra". Can this be done ? Is this realisti

Re: [Puppet Users] Re: howto trigger action on another client

2011-06-24 Thread Daniel Maher
with puppet I have not stumbled across exported resources. Any pointer where I should start reading? Exported resources are great fun. :) http://docs.puppetlabs.com/guides/exported_resources.html http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration -- Daniel Maher « makin'

Re: [Puppet Users] Turn off client autoupdate

2011-06-24 Thread Daniel Maher
happy with the result. Implementing Puppet Commander[1] in order to manage the trigger events was about as straightforward as it gets ! [1] http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/ToolPuppetcommander -- Daniel Maher « makin' plans now to live on Mars 'cuz

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

2011-06-25 Thread Daniel Pittman
x27;t* be that easy to break. ;) (Facter does run at the outset of any activity, and again after pluginsync, as Nigel notes. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-cons

Re: [Puppet Users] Re: Different users within same exec

2011-06-25 Thread Daniel Pittman
ugh I absolutely believe you when you say that you do. It would be very helpful, so, if you could explain what the root cause of that need is. :) Daniel On Sat, Jun 25, 2011 at 06:54, ssk1287 wrote: > That is exactly what I ended up using. Isn't there a more "puppetty" > way of

Re: [Puppet Users] Re: Different users within same exec

2011-06-26 Thread Daniel Pittman
request would be the next logic step here, so that we capture your needs. Until then, you are kind of stuck with something like using 'su' to change UID in one of the commands. Daniel On Sun, Jun 26, 2011 at 11:01, ssk1287 wrote: > Consider the following scenario. > >

Re: [Puppet Users] Re: gentoo linux and puppet

2011-06-27 Thread Daniel Pittman
> might revert the master and all clients back to an older version for > the time being. YMMV. I trust you filed bugs about those, so we can fix 'em. ;) daniel > > On Jun 22, 11:19 am, Peter Berghold wrote: >> Hi folks, >> >> I am building a server using Gentoo L

Re: [Puppet Users] FIPS 140-2 compliance

2011-06-28 Thread Daniel Pittman
is an absolute requirement for y'all to use Puppet on your systems? Regards, Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You received this

Re: [Puppet Users] Deployed but unmanaged file

2011-06-29 Thread Daniel Piddock
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 with a known file > - restart the firebird service > > I'm not going to include firebird

Re: [Puppet Users] FIPS 140-2 compliance

2011-06-30 Thread Daniel Pittman
hnical reasons. ;) Thank you so much for sending those references. They make it much easier to make my case. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman ✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775 ♲ Made with 100 percent post-consumer electrons -- You

Re: [Puppet Users] puppet master and puppet client running very slow

2011-07-04 Thread Daniel Maher
u may wish to do the same for the master daemon - that will give you a much better idea of where along the process any potential hangs are occurring. Good luck ! -- Daniel Maher « makin' plans now to live on Mars 'cuz I got Earth on lock. » -- You received this message because you ar

Re: [Puppet Users] tolower()??

2011-07-21 Thread Daniel Pittman
but I am still vaguely surprised they have not started to merge in as they get done, and that they are being developed aside from the core. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subs

Re: [Puppet Users] Facter 1.6.0 and CentOS 6.0

2011-08-01 Thread Daniel Piddock
On 30/07/11 05:26, Derek J. Balling wrote: > We just started testing CentOS 6.0 here, and I'm using Facter 1.6.0 > > If I run this command from my CentOS 5.x test machine: > > [root@puppetclient.nj1:~]# facter --version > 1.6.0 > [root@puppetclient.nj1:~]# facter | grep lsb > lsbdistcodename => Fin

Re: [Puppet Users] Temporary requirements

2011-08-01 Thread Daniel Pittman
e apt to install the packages, build, and then uninstall again. Maybe specify 'package { "gcc": ensure => absent }' so that puppet enforces. ...but, um, this really doesn't add that much security to your system. Sending a binary, or a portable language tool, is not that

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

2011-08-02 Thread Daniel Maher
On 08/02/2011 09:52 PM, Jfro wrote: I'm new to Puppet but have searched this group and Puppet docs for how to set up user passwords using puppet. I haven't found a clear answer about setting user passwords. I understand that it is a security risk to send plain text passwords via Puppet. However,

Re: [Puppet Users] Help with retrieving a user's environment variable

2011-08-09 Thread Daniel Pittman
7;/path/to/oracle.sh.erb'), >  } > > And the template contains the following : > > export ORACLE_BASE=/u01/app/oracle > export ORACLE_HOME=/u01/app/oracle/oracle/product/<%= version %>/<%= > title %><%= oracle_home_suffix %> > export ORACLE_SID=<%= ora

Re: [Puppet Users] list of puppet-agents

2011-08-10 Thread Daniel Piddock
On 10/08/11 11:16, Sans wrote: > Dear all, > > Is there any why to get the list of the nodes are currently being > managed by puppet? I know that I can do that looking in the "$vardir/ > ssl/ca/signed" directory but i was wondering if puppet master itself > provides some mechanism. I'm running v2.6

Re: [Puppet Users] generate function

2011-08-10 Thread Daniel Pittman
enerate("/etc/puppet/scripts/ldap-add-hosh.sh", $fqdn, "admins_all") Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] generate function

2011-08-10 Thread Daniel Pittman
On Wed, Aug 10, 2011 at 17:56, Craig White wrote: > On Aug 10, 2011, at 9:52 AM, Daniel Pittman wrote: >> On Wed, Aug 10, 2011 at 16:40, Craig White wrote: >> >>> Seems I don't quite understand how it's supposed to work >>> At the moment, I have

Re: [Puppet Users] generate function

2011-08-10 Thread Daniel Pittman
On Wed, Aug 10, 2011 at 18:31, Craig White wrote: > > On Aug 10, 2011, at 11:14 AM, Daniel Pittman wrote: > >> On Wed, Aug 10, 2011 at 17:56, Craig White wrote: >>> On Aug 10, 2011, at 9:52 AM, Daniel Pittman wrote: >>>> On Wed, Aug 10, 2011 at 16:40, Craig Wh

Re: [Puppet Users] Custom manifest

2011-08-11 Thread Daniel Pittman
checkout from SVN. Use a post-commit hook to update *that*, and Puppet to distribute it. Then you get the benefits of SVN, and of Puppet, and the bonus that you don't need give all your machines access to the VCS repository that contains all your configuration data. Daniel On Thu, Aug 11, 2011 at

Re: [Puppet Users] Creating manifests automatically from an existing configuration?

2011-08-11 Thread Daniel Pittman
hen use to manage this other machine? `puppet resource` can generate the raw material. It doesn't produce dependencies, and you would need to make sensible decisions about structuring file resources, but it can sure be a help. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲

Re: [Puppet Users] Distributing a PHP file as template fails

2011-08-11 Thread Daniel Pittman
udes all the configuration data, so if you have passwords or whatever you might not want to do that. Thanks, daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Service resource throws error for "ups" but service starts

2011-08-12 Thread Daniel Pittman
;echo $?' is? If that isn't 0, your init script isn't returning correctly. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Pu

Re: [Puppet Users] fighting packaging

2011-08-12 Thread Daniel Pittman
prompt go away, please let us know. :) Daniel On Fri, Aug 12, 2011 at 13:38, Craig White wrote: > Appear that 'adminfile' option is a Solaris only thing. > > I found that ubuntu/debian has debconf-get-selections/debconf-set-selections > packages which might actually get me

Re: [Puppet Users] Re: fighting packaging

2011-08-12 Thread Daniel Pittman
Relatively speaking, it is safe. Not perfect, but neither is the other decision. Generally speaking, 'force yes' shows up any time that folks modify a configuration file as a critical option. Without that, replacement wouldn't happen the same way. Daniel On Fri, Aug 12, 2011 a

[Puppet Users] OSX 10.7: 2.7.3 createpackage.sh

2011-08-16 Thread Daniel DeFreez
(LoadError) from -e:1 Unable to retrieve puppet version Any ideas? Thanks, Daniel -- 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, s

Re: [Puppet Users] Allow node to request a class/module?

2011-08-23 Thread Daniel Pittman
ne: report whatever property of the machine that you want to support, and then on the master use that data to make your decision. Facts are the most obvious way, but if you have some external system you can report into and query from that manually. Daniel -- ⎋ Puppet Labs Developer – http://puppetl

Re: [Puppet Users] howto make file resource purge option aware of other puppet resources managed files

2011-08-29 Thread Daniel Pittman
going wrong, but it certainly wasn't the case that the delete/recreate behaviour happened. We have code specifically to find overlapping managed files in scenarios like this, and to apply the more specific rules, such as "files with content should exist". Daniel -- ⎋ Puppet Labs De

Re: [Puppet Users] Some beginner's questions...

2011-08-29 Thread Daniel Pittman
ective, for example, is pretty awesome at doing this, and I used that quite frequently at my previous job.) Why do you want to do this? Perhaps there is a better way to achieve the outcome you are after? Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer

Re: [Puppet Users] Re: howto make file resource purge option aware of other puppet resources managed files

2011-08-30 Thread Daniel Pittman
Oh, dear. Yes, John has it. :/ This is definitely a bug, and something we should fix. Can you file a ticket with the details, so that we don't lose track of this? Daniel On Tue, Aug 30, 2011 at 06:26, jcbollinger wrote: > You put your finger on it when you wrote "It will purge

Re: [Puppet Users] Some beginner's questions...

2011-08-30 Thread Daniel Pittman
On Tue, Aug 30, 2011 at 00:43, Francis GALIEGUE wrote: > On Mon, Aug 29, 2011 at 19:36, Daniel Pittman wrote: >> On Mon, Aug 29, 2011 at 00:51, Martin Alfke wrote: >>> On 08/29/2011 09:10 AM, Francis GALIEGUE wrote: >>>> >>>> First, we want to use push

Re: [Puppet Users] Composing a text file with Puppet

2011-08-30 Thread Daniel Maher
to be executed only if something actually changes. Please help, thanks. Hello, I'm not entirely sure if I understand your use-case properly; however, for all instances of text-file manipulation, I have found the "concat" module to be _extremely_ useful. https://github.com/

Re: [Puppet Users] Organizational best practices / examples

2011-09-01 Thread Daniel Maher
sharing this on Github?" It's a surprisingly good strategy. :) I realise this is only a small element of what you're asking for, but I am also curious to know if anybody else out there has any sort of "simple rules" that can applied in order to preserve sanity. -- Daniel

Re: [Puppet Users] Reboot required?

2011-09-02 Thread Daniel Pittman
sue has been closed for a couple of months; as long as you have one of the release versions of 2.6 or 2.7 mentioned, you shouldn't hit it. I think that is 2.7.1 and 2.6.9, but off hand have not checked. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-co

Re: [Puppet Users] Package provider for gentoo?

2011-09-06 Thread Daniel Pittman
t did not support fcron) Only vixie cron. > - The handling of dependencies and libraries is not clear cut, and one > usually has to create a separate script to run after puppet to ensure > linking is correct and that python/perl/etc modules are happy. You *should* be able to tie that togeth

Re: [Puppet Users] Package provider for gentoo?

2011-09-07 Thread Daniel Pittman
ve the same aims to fix this bug. (...but I am not certain - I don't know gentoo well. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] DNS Zone serial numbers

2011-09-09 Thread Daniel Maher
figure out a "good" way to do this with puppet. Any thoughts? Either a ridiculous erb template or a relatively simple custom function would do the trick, though either way you'll have to write some Ruby. -- Daniel Maher « makin' plans now to live on Mars 'cuz I got

Re: [Puppet Users] mount type is constantly remounting

2011-09-15 Thread Daniel Piddock
On 15/09/11 07:59, slune wrote: > Hi, > > I have defined mount resource like this: > > mount { "/mnt/test/": > device => "//test/test", > fstype => cifs, > ensure => mounted, > options=> "defaults,acl,soft,uid=test,gid=test=x"," > remounts => true, > } > > Fo

Re: [Puppet Users] deliberately causing template failure?

2011-09-21 Thread Daniel Pittman
if that will simply > cause my puppet agent to exit altogether. I believe you should be able to `raise Puppet::Error, "your message here"` and have that fail in the way you desire. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electr

Re: [Puppet Users] Trying to get a basic connection going between master and agent

2011-09-24 Thread Daniel Bahena
Run puppetd with the -v flag for verbose and see any errors printed. On Sep 24, 2011 12:16 PM, "mlove" wrote: > Hi all, > > I am trying to get a simple example going with one master and one > puppet. I am on Debian and used apt-get install puppetmaster for the > master and apt-get install puppet f

Re: [Puppet Users] SU on client servers

2011-09-27 Thread Daniel Pittman
sking about how to get Puppet to connect via ssh and use su? I assume the former, and the answer is distribution specific: you need to tell us what OS you are using for us to be any help. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electron

Re: [Puppet Users] Increment variable each time a definition is called.

2011-09-27 Thread Daniel Pittman
id, you can also use defined types recursively in Puppet: define foo() { if ($name == 0) { notice("done") } else { notice("bar is $name") $bar = $name - 1 foo { $bar: } } } foo { "4": } Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.

Re: [Puppet Users] Sudden failure with storeconfigs in 2.7.4

2011-10-01 Thread Daniel Pittman
ty in comparisons for other DBMS'. The attached patch should fix that, but the 2.7.5 security release should also contain it. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to th

Re: [Puppet Users] RFC: Being able to exclude resources from reporting.

2011-10-04 Thread Daniel Pittman
it easier for people to build that in their tools. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gro

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Daniel Pittman
That looks like a custom type that isn't being loaded on the client, rather than a StoreConfig error to me. The effect of the PostgreSQL bug should only have been to miss resources when collecting, not to generate a catalog that didn't do the right thing. Daniel On Tue, Oct 4, 201

Re: [Puppet Users] Concat::Fragment collection broken in 2.7.5

2011-10-04 Thread Daniel Pittman
oreConfigs? If so, can you turn on query logging (in the database, most easily), and check if we are searching for a resource with type `Concat::fragment`, but storing with type `Concat::Fragment`? Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer elect

Re: [Puppet Users] RFC: Being able to exclude resources from reporting.

2011-10-05 Thread Daniel Pittman
talking about a few bytes of network traffic, total. Would you be equally satisfied if we allowed you to annotate that the resource was expected to change every time, and then alerted you only if it *didn't* change on a given run? (...or just never displayed that change to you?) Daniel On Tue,

Re: [Puppet Users] Re: Problems with exported resources after upgrade to 2.7.5

2011-10-06 Thread Daniel Pittman
, a query that tries to collect something that is being missed would be useful. That should be selecting from resources where "type = 'File'" and a few other criteria. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons --

Re: [Puppet Users] Different paths based on environment

2011-10-12 Thread Daniel Maher
, which isn't very nice. Just out of curiousity, what is it that you don't like about your current solution ? -- Daniel Maher If the master dies and the disciple grieves, the lives of both have been wasted. -- You received this message because you are subscribed to the Google Group

Re: [Puppet Users] Important Security Announcement: AltNames Vulnerability [new version of puppet]

2011-10-25 Thread Daniel Pittman
configuration file there. After the change the names will be added to the CSR. So, you need to check the actual signed certificates to find out if you are vulnerable or not. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received

  1   2   3   4   5   6   7   8   >