Re: [Puppet Users] Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
On 2 February 2012 09:25, Nan Liu wrote: > Using the rake task is reasonably straightforward. I'm not finding an > authoritative documentation, but you can use this page as starting > Nan, this has been bugging me for a while - I've raised this as an issue - http://projects.puppetlabs.com/issue

Re: [Puppet Users] Re: Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
On 2 February 2012 11:16, Nick Fagerlund wrote: > Like this? > > http://docs.puppetlabs.com/pe/2.0/console_classes_groups.html#rake-api > > It needs a few more tasks added, and then I'll C&P it to the dashboard > manual too. > > Very nice. Thanks! John -- You received this message because you a

Re: [Puppet Users] Re: Chef knife equivalent in puppet

2012-02-01 Thread John Warburton
On 2 February 2012 12:28, Nick Fagerlund wrote: > This is done: > > http://docs.puppetlabs.com/pe/2.0/console_classes_groups.html#rake-api > http://docs.puppetlabs.com/dashboard/manual/1.2/rake_api.html > > Thanks Nick - that's great John -- You received this message because you are subscribed

[Puppet Users] How do I track updates to forge modules?

2012-02-02 Thread John Warburton
Is there a way to "watch" modules and be notified if they are updated? I can't see anything obvious in the documentation Thanks John -- 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@googlegroup

[Puppet Users] Re: How do I track updates to forge modules?

2012-02-09 Thread John Warburton
On 3 February 2012 09:55, John Warburton wrote: > Is there a way to "watch" modules and be notified if they are updated? > > I can't see anything obvious in the documentation > Anyone? Bueller? -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] Re: How do I track updates to forge modules?

2012-02-12 Thread John Warburton
On 11 February 2012 01:15, Kelsey Hightower wrote: > On Feb 2, 5:55 pm, John Warburton wrote: > > Is there a way to "watch" modules and be notified if they are updated? > > > > I can't see anything obvious in the documentation > > Currently there

[Puppet Users] How do I quote a percent sign in the text of a template?

2012-03-08 Thread John Warburton
Hi I am scratching my head on this not being a ruby person... I am turning my kickstart files into templates, but am having issues with percent signs in free form text. This returns a syntax error: %post OK, fine , let me escape it: %%post No error, but the end result is %%post Not quite what

Re: [Puppet Users] How do I quote a percent sign in the text of a template?

2012-03-08 Thread John Warburton
On 9 March 2012 09:58, Garrett Honeycutt wrote: > On 3/8/12 4:28 PM, John Warburton wrote: > > I am turning my kickstart files into templates, but am having issues > > with percent signs in free form text. This returns a syntax error: > > %post > ERB should not have a

Re: [Puppet Users] puppet eating solaris 10 crontab for lunch

2012-03-13 Thread John Warburton
On 14 March 2012 09:16, Romeo Theriault wrote: > Here are the logs the solaris 10 box returns after it's crontab gets > destroyed: > > ERR Puppet Could not prefetch cron provider 'crontab': Could not read > crontab for root: No child processes > NOTICE /Stage[main]/Puppet/Cron[puppet]/ensur

Re: [Puppet Users] stdlib module not working

2012-04-01 Thread John Warburton
On 30 March 2012 20:18, Stefan Wiederoder wrote: > thanks Eric, > > ensure did the trick, now I´m stuck while trying to use a facter variable > within the line statement: > > file_line { "tmpfs entry": > line => "tmpfs /dev/shmtmpfs size=${kis_tmpfs_size} 0 0", > path =

Re: [Puppet Users] configuration version variable?

2012-04-09 Thread John Warburton
On 7 April 2012 03:12, psychobyte wrote: > Thanks for the reply Patrick but, I should have been more specific. > > I wanted the "puppet configuration version" as in > > info: Applying configuration version '1333729957' > > So any file that gets manipulated by puppet has it in a header. > > This i

Re: [Puppet Users] Creating a system module path (starting with Telly)

2012-04-29 Thread John Warburton
age because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > For more options, visit this g

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-08 Thread John Warburton
On 8 May 2012 20:00, Derek J. Balling wrote: > > On May 7, 2012, at 12:47 PM, Christopher Wood wrote: > > Wrapper script (similar concept for anywhere with a yaml reader): > > Still have to *write* the YAML files. > > Oh yeah. This is my big motivator sticking with extlookup and not converting to

Re: [Puppet Users] Puppet 3.0 and Hiera

2012-05-08 Thread John Warburton
Thanks R.I. & Craig Dunn On 8 May 2012 21:43, R.I.Pienaar wrote: > > If you want the same abilities that CSV has then this would be your YAML: > > sysadmin: y...@your.com > nameservers: [1.2.3.4, 2.3.4.5] > > just that simple, I think this is much clearer than CSV. If people really > are That

Re: [Puppet Users] Announce: Facter 2.0.0rc1 Available

2012-05-15 Thread John Warburton
On 16 May 2012 10:15, Matthaus Litteken wrote: > Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release > and has breaking changes from Facter 1.6.x. Facter 2.0 is not > backwards compatible with Puppet 2.6 or 2.7. > Will you be documenting the "breaking changes"? Thanks John --

Re: [Puppet Users] puppet-dashboard delayed workers

2011-07-12 Thread John Warburton
On 13 July 2011 13:49, Nathan wrote: > Hello > > I have just installed puppet dashboard from git. > > everything seems to load ok except it seems as though background tasks > are not being run. > > You have to start them up yourself. An init script is a good idea to ensure they get started at boo

Re: [Puppet Users] Solaris mount provider question

2011-07-13 Thread John Warburton
On 14 July 2011 09:06, Stefan Schulte wrote: > On Wed, Jul 13, 2011 at 02:54:07PM -0700, Aaron Grewell wrote: > > I'm trying to mount multiple swap partitions in Solaris, but I'm not sure > > how to create a working syntax for that. Since the mountpoint for a swap > > partition is '-' adding more

Re: [Puppet Users] Validating a puppet configuration

2011-08-01 Thread John Warburton
On 1 August 2011 15:47, Nikolay Sturm wrote: > * Lars Kellogg-Stedman [2011-07-29]: > > I am trying to place some sanity checks (currently as git pre-commit > > hooks) in our configuration repository to avoid committing invalid > > Puppet configurations. > > This is exactly the use case for cucum

Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4

2011-08-09 Thread John Warburton
On 10 August 2011 08:47, James Turnbull wrote: > We've just released version 0.3.4 of the puppet-module tool used to > create and retrieve modules from the Puppet Labs Forge > (http://forge.puppetlabs.com). > > excellent > Will now be installed into your module path as: > > apache > No, actual

Re: [Puppet Users] ANNOUNCE: Puppet Module Tool version 0.3.4

2011-08-09 Thread John Warburton
On 10 August 2011 11:24, Scott Smith wrote: > How will it know which directory in your modulepath to install it? > That's the point. You need to explicitly cd to the correct modulepath directory first. Per my example at the bottom $ cd /path/to/forge/modules $ puppet-module install puppetlabs-lv

Re: [Puppet Users] Source of external node data?

2011-09-15 Thread John Warburton
On 16 September 2011 07:32, Douglas Garstang wrote: > Where are people more likely to source external node data from? > > a) By using extlookup, hiera etc within each puppet module to load > data specific to that module, OR > b) Having the external node script source everything at once from, say >

Re: [Puppet Users] Re: Hostname fact doesn't handle hostnames with periods

2011-10-09 Thread John Warburton
On 8 October 2011 09:26, Adrien Thebo wrote: > You can effectively override a fact by setting the weight, as follows > > Facter.add(:hostname) do > has_weight 200 > setcode do ># your own hostname implementation > end > end > > Now that is something worth knowing. Can this be added to the

Re: [Puppet Users] URL too long...

2011-10-11 Thread John Warburton
On 12 October 2011 06:52, Matthew Nicholson wrote: > > 414 Request-URI Too Large > > Request-URI Too Large > > Which run just fine. All the clients involved have identical puppet > versions (2.6.7, the master is 2.7.1). I know I can change the URL > > It looks like http://projects.puppetlabs.co

Re: [Puppet Users] Re: Using puppet+augeas to modify multiple files

2011-11-28 Thread John Warburton
On 29 November 2011 01:17, Graham Leggett wrote: > On 27 Nov 2011, at 20:04, Graham Leggett wrote: > > > I have a task to convince puppet and augeas to modify multiple postfix > > files, most specifically /etc/postfix/main.cf and /etc/postifx/ > > acceptdomains.cf (and other LDAP related files),

Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread John Warburton
n 6 December 2011 11:49, hai wu wrote: > Great! Is there any API to use to retrieve these information from > dashboard database, so that we could generate a nice report via email, > with short and verbose versions for such report? > > API? Unix text tools, perl, ruby, Excel - choose your poison a

Re: [Puppet Users] accessing client certname in manifests?

2010-05-31 Thread John Warburton
On 29 May 2010 09:33, Nigel Kersten wrote: > > On Fri, May 28, 2010 at 4:19 PM, James Turnbull > wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Nigel Kersten wrote: >> > I mentioned we had a custom fact for the client certname in IRC the >> > other day and someone poked fun a

Re: [Puppet Users] accessing client certname in manifests?

2010-05-31 Thread John Warburton
On 1 June 2010 14:17, James Turnbull wrote: > John Warburton wrote: > > > > This is nice. Can we go the whole hog and provide all configuration > > options as facts? Could have a unique name space of something like > > CONF_variable --> CONF_certname > > I t

Re: [Puppet Users] authenticating new nodes that are created by provisioning

2010-06-02 Thread John Warburton
ost 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. > > -- John Warburton Ph:

Re: [Puppet Users] RHEL-3

2010-06-07 Thread John Warburton
ps.com > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to

[Puppet Users] Problem using the logadm pattern

2010-06-30 Thread John Warburton
Hi All I am trying to deploy the Solaris logadm pattern from http://projects.reductivelabs.com/projects/puppet/wiki/Logadm_Patterns. I dropped it in .../lib/puppet/type/logadm.rb However, I am getting an error message: err: Could not run Puppet configuration client: Munging failed for value "pup

Re: [Puppet Users] Parsing key/value pairs in ruby

2010-08-11 Thread John Warburton
; 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. > > -- John War

[Puppet Users] Puppet Scalability - Centralised Puppet SSL Cert Issues

2010-08-31 Thread John Warburton
Hi All I am trying to use the section on Centralised Puppet Infrastructure on the Scaling Puppet page - http://projects.puppetlabs.com/projects/1/wiki/Puppet_Scalability No matter what I do, I always end up with the client contacting a puppet server and rejecting the configuration with a dreaded

Re: [Puppet Users] Puppet Scalability - Centralised Puppet SSL Cert Issues

2010-09-01 Thread John Warburton
, 2010 at 9:14 AM, Patrick wrote: > >> >> On Aug 31, 2010, at 10:47 PM, John Warburton wrote: >> >> Hi All >> >> I am trying to use the section on Centralised Puppet Infrastructure on the >> Scaling Puppet page - >> http://projects.puppetla

Re: [Puppet Users] Re: can checksum be set to none on a file if content is defined?

2010-09-09 Thread John Warburton
u 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+uns

[Puppet Users] Making edits to /etc/system on Solaris

2010-09-13 Thread John Warburton
Hi All Just wondering what everyone else does when editing /etc/system on Solaris It is on the Augeas To Do list (http://augeas.net/page/Augeas_on_Solaris) - has anyone tried a lens for it? I tried to start but the file format is almost free form and there would always be an exception causing the

Re: [Puppet Users] Making edits to /etc/system on Solaris

2010-09-13 Thread John Warburton
;m > losing some tiny bit of performance and memory, but I really can't work up > enough concern to do anything about it. > > On Mon, Sep 13, 2010 at 5:29 PM, John Warburton wrote: > >> Hi All >> >> Just wondering what everyone else does when editing /

[Puppet Users] Can I access data structure internal to providers

2010-09-17 Thread John Warburton
Hi I would like to be able to access the hash "info2hash" in lib/puppet/provider/package/sun.rb which is a list of all Solaris packages on a Sun server Is it possible to query this so that I don't have to run "pkginfo -l" myself, and probably create a fact for each package with its version number

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-19 Thread John Warburton
Hi Nigel On 18 September 2010 01:41, Nigel Kersten wrote: > On Fri, Sep 17, 2010 at 4:32 AM, John Warburton > wrote: > > Hi > > > > I would like to be able to access the hash "info2hash" in > > lib/puppet/provider/package/sun.rb which is a list of al

Re: [Puppet Users] Can I access data structure internal to providers

2010-09-20 Thread John Warburton
Thanks Nigel I'm slowly digesting this whilst quickly learning my next step of ruby John On 20 September 2010 01:21, Nigel Kersten wrote: > On Sun, Sep 19, 2010 at 5:41 AM, John Warburton > wrote: > > Hi Nigel > > > > On 18 September 2010 01:41, Nigel Kersten &

[Puppet Users] noop "Out of sync" reporting

2010-09-21 Thread John Warburton
Hi All I am looking to report on all servers that are "Out of sync". Currently we run puppet in noop mode hourly, and so we get reports saying there are X resources Out of sync. Unfortunately, because it is a noop, puppet reports those X resources out of date as successfully applied, which makes

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-26 Thread John Warburton
Thanks Dan The subject line to Feature #3535 wasn't obvious that was what I was looking for. I have updated the feature with my reasons we need an out of sync report Regards John On 27 September 2010 07:31, Dan Bode wrote: > Hi John, > > On Tue, Sep 21, 2010 at 10:44 PM,

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-26 Thread John Warburton
On 27 September 2010 13:09, James Turnbull wrote: > > Have you also seen the pseudo-Tripwire audit capability introduced in > 2.6.0? > > http://www.puppetlabs.com/blog/all-about-auditing-with-puppet/ > > That might interest too. > > Thanks James No - I haven't seen the audit capability - but it

[Puppet Users] mount type attempting remount when ensure => present

2010-09-29 Thread John Warburton
Hi All I am not sure if I am doing this right, or just meeting some Solaris specific thing that hasn't been catered for. Solaris 10, with puppet 0.25.5, and trying to manage /tmp. Note that /tmp can't be remounted on a live system ( http://wikis.sun.com/display/BigAdmin/Talking+about+RAM+disks+in

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread John Warburton
t 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 > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-09-30 Thread John Warburton
http://projects.puppetlabs.com/issues/4904 Can Felix & Rob update the ticket with your use cases and requests? Thanks John On 1 October 2010 09:01, John Warburton wrote: > I'll file a bug > > > On 1 October 2010 05:01, Nigel Kersten wrote: > >> On Thu, Sep 30,

Re: [Puppet Users] Checking and setting svc properties in Solaris

2010-10-06 Thread John Warburton
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. > > -- John Warburton Ph:

Re: [Puppet Users] Re: Checking and setting svc properties in Solaris

2010-10-07 Thread John Warburton
e to switch properties on/off at will on the same server, that functionality isn't in the puppet SMF handler (yet). You can "watch" http://projects.puppetlabs.com/issues/4144 to show more people than me are interested... Regards John On 8 October 2010 03:10, Philip Brown wrote:

Re: [Puppet Users] serialized or limited parallelism

2010-10-11 Thread John Warburton
> 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. > > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com

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

2010-10-26 Thread John Warburton
ppet-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. > > -- John Warburton Ph: 0417 299 600 Email: jwarb

Re: [Puppet Users] require service started at another node

2010-11-01 Thread John Warburton
On 29 October 2010 22:56, Leonko wrote: > Hello, > Anybody now how make with puppet dependence on other service on > another node? > > You could try looking at it like an application control problem and use tools that sit on top of puppet - like ControlTier - http://blog.controltier.com/2009/04/n

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

2010-11-01 Thread John Warburton
On 28 October 2010 02:06, James Turnbull wrote: > John Warburton wrote: > >> Hi James >> >> Is there an ETA for the full release of 2.6.3? >> >> For what it is worth, I have been running 2.6.3rc1 for almost 13 days on >> Solaris 10 U8 & U9 as s

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

2010-11-03 Thread John Warburton
On 4 November 2010 08:47, James Turnbull wrote: > There is a trial patch available if you could try that: > > http://projects.puppetlabs.com/issues/4867 > > Thanks James - tried and still failing. Ticket updated John -- You received this message because you are subscribed to the Google Groups

[Puppet Users] certdnsnames question

2010-11-03 Thread John Warburton
Hi All Apologies if this is obvious, but I'm a bit flaky around SSL certificates. NB puppet version 0.25.5 We use the brilliant feature of certificates where you can have Alternate DNS names for a certificate which is manifested in the puppet master config file as certdnsnames. All our clients co

[Puppet Users] Re: Problem using the logadm pattern

2010-11-09 Thread John Warburton
I got a reply from Adam (windowsref...@gmail.com) that is a good enough workaround until I can sit down and understand the type From: windows refund > To: John Warburton > > Hello John, > > I just worked around it by commenting out the problematic line in the > logadm.rb file

Re: [Puppet Users] Multiple CA / Puppet master environment

2010-11-17 Thread John Warburton
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 > . > For more options, visit this group at > http://gr

[Puppet Users] Can't get plugins in modules with environments to work in 2.6

2010-11-17 Thread John Warburton
Hi All I'm quite prepared to acknowledge I've missed the bleeding obvious here, but I just can't see. Hence the post I am getting the exact same errors as issue 4409 ( http://projects.puppetlabs.com/issues/4409) when trying to use a type in a module in an environment When the type is in /modules

Re: [Puppet Users] config settings for environments

2010-11-28 Thread John Warburton
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. > > -- John Warburton Ph: 0417 299 600 Email: jwarbur

Re: [Puppet Users] Re: Multiple CA / Puppet master environment

2010-11-29 Thread John Warburton
o 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+unsubs

Re: [Puppet Users] config settings for environments

2010-11-29 Thread John Warburton
One important thing I missed out is that I get my server name passed as an environment variable ($SSL_CLIENT_S_DN_CN no less) because I run puppetmaster from passenger. John On 29 November 2010 17:34, John Warburton wrote: > I am guessing this feature request didn't get submitted (wel

[Puppet Users] puppetlabs.com down?

2010-12-12 Thread John Warburton
It seems it isn't me - http://downforeveryoneorjustme.com/www.puppetlabs.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-us...@googlegroups.com. To unsubscribe from this group, send email to puppe

[Puppet Users] Best passenger stack for 2.6

2010-12-12 Thread John Warburton
Hi All I saw quite a bit of discussion a few months ago about getting passenger to run on 2.6. I was wondering if there was a consensus, as it isn't reflected in http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger. I am having a caching issue with config_version and I want to eliminate

[Puppet Users] extlookup debugging

2011-01-04 Thread John Warburton
Hi All We are going through a tedious debug looking for a nit with our extlookup data. I wondered if there was any way to get progress/status from extlookup to help us find our problem It seems R.I.Pienaar has some debug code for extlookup ( http://groups.google.com/group/puppet-dev/msg/5c7062183

Re: [Puppet Users] Re: Cron provider deleting all entries from crontab?

2011-01-04 Thread John Warburton
s.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. > > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You recei

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

2011-01-05 Thread John Warburton
On 6 January 2011 12:52, Nigel Kersten wrote: > > > On Wed, Jan 5, 2011 at 2:52 PM, Michael Knox wrote: > >> 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 >> >> M

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

2011-01-05 Thread John Warburton
On 6 January 2011 16:18, Nigel Kersten wrote: > On Wed, Jan 5, 2011 at 6:39 PM, John Warburton wrote: > >> Our own situation is that we have developers who build their own >> applications, and if we packaged them with RPM or pkg, then they would have >> to be installed

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

2011-01-06 Thread John Warburton
On 7 January 2011 01:33, jcbollinger wrote: > > On Jan 5, 8:39 pm, John Warburton wrote: > [...] > > Our own situation is that we have developers who build their own > > applications, and if we packaged them with RPM or pkg, then they would > have > > to be ins

[Puppet Users] config_version - runs once at daemon startup, not every compile time

2011-01-10 Thread John Warburton
Hi All For those that use, or want to use config_version, you might want to watch http://projects.puppetlabs.com/issues/3692 My debugging (with webrick) shows that the puppet server only executes the script defined in config_version at daemon startup, no matter how many clients connect. John --

Re: [Puppet Users] Re: Set client environment on master

2011-01-18 Thread John Warburton
On 19 January 2011 14:40, Patrick wrote: > On Jan 18, 2011, at 7:38 PM, Dan Bode wrote: > > On Tue, Jan 18, 2011 at 7:16 PM, Bostjan Skufca < > bostjan.skufca.w...@gmail.com> wrote: > >> > I work around this by setting a variable in the node definition if I >> > want the client to use an environm

Re: [Puppet Users] Re: Set client environment on master

2011-01-19 Thread John Warburton
On 19 January 2011 17:41, Bruce Richardson wrote: > On Wed, Jan 19, 2011 at 05:10:56PM +1100, John Warburton wrote: > > wishes - https://projects.puppetlabs.com/issues/3910 > > *Looks at discussion* Ouch. If the client were still allowed to > override the environment, even w

Re: [Puppet Users] Re: Set client environment on master

2011-01-19 Thread John Warburton
On 20 January 2011 13:18, Bostjan Skufca wrote: > The way John sums it up really makes sense. Feature request? > Alan Barrett did this in note 17 - https://projects.puppetlabs.com/issues/3910#note-17 John -- You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] pre-compiling gems

2011-01-19 Thread John Warburton
Hi I have a small number of gems I install on my puppet server, and manage to get them compiled and they pick up my non standard environment and install OK However, I need to send some options to the mysql gem to get it to compile. Hence I do it by hand, which is now biting, as well as not the ri

Re: [Puppet Users] pre-compiling gems

2011-01-19 Thread John Warburton
On 20 January 2011 15:08, Daniel Pittman wrote: > On Wed, Jan 19, 2011 at 20:02, John Warburton > wrote: > > 2) Trying to pre-compile the gem and install it. Since I have no idea what > I > > This. Always do this. It gives you predictable, uniform behaviour, a > unif

Re: [Puppet Users] puppetmasterd verbose log

2011-01-27 Thread John Warburton
On 28 January 2011 11:17, Sergey V. Arlashin wrote: > Hi! > When I issue > $ puppetmasterd --no-daemonize --verbose > > I get very neat and clear log to STDIN. But I can't figure out how to get > this log when I start puppetmasterd without --no-daemonize option. Is it > possible? > You can log to

Re: [Puppet Users] Application / database deployment coordination

2011-01-30 Thread John Warburton
On 29 January 2011 07:27, Pete Ehlke wrote: > Question: is the sort of orchestration that I seem to need something that > can be approached in puppet, or would I be better off slicing this > application out to a different automation platform? > > Orchestration outside of the client isn't puppet's

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-31 Thread John Warburton
On 1 February 2011 08:43, Brice Figureau wrote: > On 31/01/11 19:11, Udo Waechter wrote: > > Do you use storeconfigs? > Speaking of resource hogs, do you run the puppet labs dashboard on the same host? I had a similar setup (on crusty old Sun kit mind), and found a big performance hit in writin

Re: [Puppet Users] version number for modules

2011-01-31 Thread John Warburton
On 1 February 2011 08:05, Nan Liu wrote: > On Mon, Jan 31, 2011 at 11:45 AM, Christopher Lee > wrote: > > If you manage the entire puppet modules in a repository, you might > also be interested in the config_version option to log version info. > config_version has issues - especially with env

Re: [Puppet Users] Puppet delegation / teams

2011-01-31 Thread John Warburton
On 1 February 2011 04:29, Nigel Kersten wrote: In any case it sounds like you want some pre-commit hooks to run > --parseonly on the manifests to check they parse, and you're going to > want to split up the modulepaths such that different groups have > different permissions. > parseonly hasn't b

[Puppet Users] Anyone using config_version successfully?

2011-01-31 Thread John Warburton
I have tried to use config_version and failed due to limitations in the way I would like to use it: - http://projects.puppetlabs.com/issues/3692 - http://projects.puppetlabs.com/issues/4845 - http://projects.puppetlabs.com/issues/5404 As part of http://projects.puppetlabs.com/issues/3692, we'd lik

Re: [Puppet Users] How to include the Scope(...) in a generated string?

2011-02-02 Thread John Warburton
On 3 February 2011 05:04, Dan Bode wrote: > > Here is some code to print all of the current variable names in the scopes > symbol table: > > class fooperi { > $foo = inline_template("<% scope.to_hash.keys.each do |k| %> > <%= k %><% end %>") > notice($foo) > } > For those of us with next to n

[Puppet Users] puppet 2.6.5-rc1 Parameter type failed: type is read-only

2011-02-07 Thread John Warburton
Hello All Well, I quickly packaged up puppet-2.6.5-rc1 and dropped it on my test VM (Solaris 10 U9) against my 2.6.4 server, and immediately started getting the same error message, but on different manifests, or the same manifests but different line numbers. These manifests were written in 0.25.5

[Puppet Users] Re: puppet 2.6.5-rc1 Parameter type failed: type is read-only

2011-02-07 Thread John Warburton
Let me get back to you on this. The server is still 2.6.4! On 7 February 2011 20:19, John Warburton wrote: > Hello All > > Well, I quickly packaged up puppet-2.6.5-rc1 and dropped it on my test VM > (Solaris 10 U9) against my 2.6.4 server, and immediately started getting the

[Puppet Users] Re: puppet 2.6.5-rc1 Parameter type failed: type is read-only

2011-02-09 Thread John Warburton
;/var/empty": ensure => 'directory', *type => 'directory',* mode => 755, Seems 2.6.5 is being a bit tighter Anyway - all is well after deleting these types. John On 8 February 2011 09:46, John Warburton wrote: > Let me get back to you o

Re: [Puppet Users] How to include the Scope(...) in a generated string?

2011-02-09 Thread John Warburton
On 3 February 2011 05:04, Dan Bode wrote: > class fooperi { > $foo = inline_template("<% scope.to_hash.keys.each do |k| %> > <%= k %><% end %>") > notice($foo) > } > so I have this running nicely in a file - but I'd love to have the results sorted. Putting ".sort" at random places on the ha

Re: [Puppet Users] How to include the Scope(...) in a generated string?

2011-02-09 Thread John Warburton
On 10 February 2011 16:04, Nan Liu wrote: > > Not sure if there's a better way. Convert all Hash key to string, so > it doesn't choke on the array sort: > > $foo = inline_template("<% scope.to_hash.keys.collect{|x| > x.to_s}.sort.each do |k| %><%= k %><% end %>") > notice($foo) > > Thanks Nan - i

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-02-10 Thread John Warburton
On 8 February 2011 06:15, Ashley Penney wrote: > I just upgraded the master, I was too lazy to do the nodes yet. > > > On Mon, Feb 7, 2011 at 1:56 PM, Brice Figureau < > brice-pup...@daysofwonder.com> wrote: > >> On 07/02/11 17:23, Ashley Penney wrote: >> > Because I like to live dangerously I up

[Puppet Users] Puppet in the DMZ

2011-02-10 Thread John Warburton
Curse GW Bush and his 'Axis of Evil' - my google searches are contaminated with hits to Korea, and other such fun... Does anyone have any experiences with puppet in the DMZ they can share? At my puppet master training (Hi Hunter), it was mentioned some people compile their catalogs inside, then s

[Puppet Users] Re: puppet 2.6.5-rc1 Parameter type failed: type is read-only

2011-02-14 Thread John Warburton
On 9 February 2011 21:57, John Warburton wrote: > OK - I found the issue. Because 2.6.x gives us nice human readable(ish) > catalogs, I compiled mine and the 'random' hits were all for directories. > Re-reading the manifest, I see those directories in the error messa

Re: [Puppet Users] Namespace tools?

2011-02-18 Thread John Warburton
On 18 February 2011 08:45, Master Cho wrote: > Are there any tools/techniques for dumping/browsing all of the > namespaces? > I have found the template examples at the bottom of http://docs.puppetlabs.com/guides/templating.html useful John -- You received this message because you are subscrib

Re: [Puppet Users] Trying to write a visudo checker

2011-03-06 Thread John Warburton
On 4 March 2011 13:21, Rich Rauenzahn wrote: > This visudo checker I've written (based on some examples from the web > and puppet training materials) causes a dependency loop -- but only > I've approached the problem from another direction and we have a subversion pre-commit hook for the sudoers

Re: [Puppet Users] Role-based access in Dashboard

2011-03-07 Thread John Warburton
On 3 March 2011 06:02, Randall Hansen wrote: > Role-based access will be one of the next big features in Dashboard. If > this is something that would help you, will you tell me the minimum features > that you would consider useful? That is, the features without which RBAC > would be useless to

Re: [Puppet Users] finished, yet execution expired

2011-03-08 Thread John Warburton
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. > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] Proposal: "strict" mode for manifests

2011-03-08 Thread John Warburton
On 9 March 2011 09:37, Robin Bowes wrote: > I'd really like puppet to blow-up at this stage and tell me that I've > used an variable without defining it first. Those familiar with perl > will recognise this as "use strict;". > Yes please! There are lots of places where puppet continues where IM

Re: [Puppet Users] Passenger Install Success / Question about logs

2011-03-09 Thread John Warburton
On 10 March 2011 07:44, Christopher Lee wrote: > Hello, > > Well I spent the morning getting passenger installed on my RHEL 5 server > and finally got it working and was able to run an agent update. But now I > have a questions about logs, before when we were working we would tail -f > puppetmas

[Puppet Users] symlink noop error

2011-03-10 Thread John Warburton
Hi All I have a bit of a strange one, and am not sure I'm doing this right. This is with 2.6.4 on Solaris 10 We want to create a sym link from a source file that is created by a package. If the package isn't installed, puppet in noop is registering an error (big red in the dashboard) because it c

Re: [Puppet Users] symlink noop error

2011-03-13 Thread John Warburton
On 11 March 2011 20:57, Stefan Schulte wrote: > On Fri, Mar 11, 2011 at 03:20:20PM +1100, John Warburton wrote: > > file {"/path/created/by/some/package/link": > > source => "/path/created/by/some/package/source", > > require => Package

Re: [Puppet Users] Re: puppet-dashboard Explorer 8

2011-03-22 Thread John Warburton
On 13 August 2010 18:59, ScubaDude wrote: > Ticket filed (bug, refactor) > > On Aug 13, 7:56 am, Matt Robinson wrote: > > We weren't aware as none of us are using Internet Explorer. We'll > > have to have someone get a copy to test with at some point. > > > > Can you file a ticket? > > > > http

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.7 final!

2011-03-24 Thread John Warburton
On 25 March 2011 11:42, Nigel Kersten wrote: > On Thu, Mar 24, 2011 at 5:10 PM, Thomas S Hatch wrote: > >> These accelerated releases are going to keep us on our toes! >> > This is the downside of monthly releases, particularly when we have an > extra, out of cycle release like we did for 2.6.6.

[Puppet Users] mount tmpfs on Solaris fail with 2.6.7

2011-03-24 Thread John Warburton
Apologies - I haven't had time to test the release candidates. This is a kicker for us, as I want to start using the new features from the dashboard & inventory in 2.6.7 https://projects.puppetlabs.com/issues/6845 John -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-04 Thread John Warburton
On 4 April 2011 23:20, stefanero wrote: > Okey, > > thank you for this information, so augeas cannot handle this type of > requests. > I noted this a few years ago, and so did a simple line append. ( http://projects.puppetlabs.com/projects/1/wiki/Simple_Text_Patterns) You may want to file a fea

Re: [Puppet Users] SSL issues: Separate CA, multiple load balanced masters

2011-04-06 Thread John Warburton
On 7 April 2011 04:02, Andrei Serdeliuc wrote: > Hi, > > I've been at it for about 4 days now and I just can't figure it out. > I'm getting the following error when running puppet agent on my > masters: SSL_connect returned=1 errno=0 state=SSLv3 read server > certificate B: certificate verify fai

  1   2   >