Re: [External] Re: [Puppet Users] legitimate puppet code?

2020-02-11 Thread John Warburton
=> > >> $type, 'roles' => $roles} #This line > >>class {'cis::iptables::service': 'level' => $level, 'type' => > >> $type, 'roles' => $roles} # and this line > >> } > >> > > &g

Re: [Puppet Users] PuppetDB Using Puppetlabs Postgresql Module on Linux

2019-12-17 Thread John Warburton
26bb-b7cf-4d22-ab95-deb8336189b6%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/e01f26bb-b7cf-4d22-ab95-deb8336189b6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You receive

Re: [Puppet Users] Accessing the list of classes assigned to a node from within puppet

2019-08-07 Thread John Warburton
t;Sometimes I think the surest sign that intelligent life exists elsewhere > in the universe is that none of it has tried to contact us." > > Bill Waterson (Calvin & Hobbes) > > On Aug 7, 2019, at 9:48 PM, John Warburton wrote: > > Hi Everyone > > Back in th

[Puppet Users] Accessing the list of classes assigned to a node from within puppet

2019-08-07 Thread John Warburton
Hi Everyone Back in the day of 2.x/3.x, I used to access the "classes" top scope variable and dump into templates - like this . I can't see to find the equivalent in puppet 6.x. Nothing in the built in variables doc

Re: [Puppet Users] Registry module not working

2019-02-26 Thread John Warburton
> You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit &g

Re: [Puppet Users] puppet cert clean cleaning over and over

2018-05-16 Thread John Warburton
email to puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/puppet-users/20180422143251.i5t7v77ed3el5p7e%40torres.zugschlus.de. > For more options, visit https://groups.google.com/d/optout. > -- John Warburto

Re: [Puppet Users] R10K in an existing infrastructure OR How to write yourself into a corner.

2016-09-29 Thread John Warburton
> reference project, but for example DNS updates are pushed out every 15 > minutes from it (agents check in every 30 minutes, though), so it's just a > matter of pushing a change to 'master' in that repo and boom, deployed > within the hour. > > On Thursday, Septemb

Re: [Puppet Users] R10K in an existing infrastructure OR How to write yourself into a corner.

2016-09-28 Thread John Warburton
On Thursday, 29 September 2016, Rob Nelson wrote: > The 'site_configs' module is pretty equivalent to the 'data' module you > propose - odd config files, SSL certs, etc. Rob I can't find site_configs on the forge or google. Any pointers? Thanks John --

Re: [Puppet Users] puppet facter for password hashing algorithm on a per OS basis

2016-02-10 Thread John Warburton
512, AND > Solaris 10u11 8 nodes all hash=bsdbf, but... > Solaris 10u11 3 nodes all hash=sha-512. > > I can see where you might say, then patch and augment all up to Solaris > 10u11 with hash=sha-512; I work in a secured VERY BUSY environment so it's > not quite that simpl

Re: [Puppet Users] puppet facter for password hashing algorithm on a per OS basis

2016-02-10 Thread John Warburton
0e-45b7-9946-e99ec9cd78fe%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/ccd6ba2d-6f0e-45b7-9946-e99ec9cd78fe%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- John Warburton Ph: 0417 299 600 E

[Puppet Users] Re: Augeas editing of fstab

2015-03-23 Thread John Warburton
On Saturday, March 21, 2015 at 1:20:22 AM UTC+11, Anthony Clark wrote: > > Hi there, > > I'm trying to add the nobarrier option to our XFS mount options in > /etc/fstab using Augeas. I've tried this: > > Possibly a bit heretical on this list, but I find Augeas is more trouble than it is worth a

Re: [Puppet Users] Solaris package installation unattended does not work

2015-02-19 Thread John Warburton
.google.com/d/msgid/puppet-users/ff789a40-88b2-419b-9ebd-dcc57c1c8fe3%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- John Warburton Ph: 0417 299 600 Email: jwarbur...@gmail.com -- You received this message becau

Re: [Puppet Users] Re: Fact is incorrect when show all facts, correct when on commandline

2015-02-09 Thread John Warburton
;>> > John >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups >>> > "Puppet Users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >

Re: [Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-09 Thread John Warburton
On 10 October 2014 13:34, Chris wrote: > > Any help, suggestions, alternatives would be greatly appreciated. > Stop using Augeas and start using templates Here's an extreme example from the the most popular SSH module

Re: [Puppet Users] Puppet Explorer 1.3.0

2014-09-21 Thread John Warburton
nks John -- 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 unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@google

Re: [Puppet Users] Re: Augeas hates me!!!

2014-08-13 Thread John Warburton
On 14 August 2014 01:22, randal cobb wrote: > ok, that didn't seem to help. I now have this result: > Debug: Augeas[apache2](provider=augeas): Opening augeas with root /, lens > path , flags 64 > You may find templates much easier to manage I gave up on Augeas a long time ago due to this compl

Re: [Puppet Users] jenkins workflow

2014-08-06 Thread John Warburton
On 7 August 2014 02:17, Bernard Clark wrote: > I'm setting up a jenkins server to perform continuous integration on my > puppet codebase, and I'm interested in running at least the following tests: > >- puppet parser validate >- puppet lint > > These are cheap to do. Give yourself immedia

Re: [Puppet Users] Hiera - how to include all files inside a directory

2014-07-24 Thread John Warburton
> https://groups.google.com/d/msgid/puppet-users/e069d96d-7ec4-4bb2-bd68-76143609596b%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/e069d96d-7ec4-4bb2-bd68-76143609596b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visi

Re: [Puppet Users] Re: how to change root password for all nodes

2014-07-09 Thread John Warburton
On 10 July 2014 01:53, mahesh vijapure wrote: > Please tell me any puppet module that can automatically resets the root > password when they are >60 days old, and stores the new password in a > central encrypted location > Thanks in advance for all your valuable inputs. > I want to update root pa

Re: [Puppet Users] Server acceptance unit testing

2014-06-16 Thread John Warburton
On 17 June 2014 16:17, Eric Shamow wrote: > There is Beaker, which is an internal (but open) PL testing framework: > > https://github.com/puppetlabs/beaker/wiki > > Beaker has an rspec variant, but it also has its own DSL which is much, > much simpler. > > Thanks Eric I've looked at it, and the

Re: [Puppet Users] Server acceptance unit testing

2014-06-16 Thread John Warburton
On 17 June 2014 16:13, Nan Liu wrote: If you are looking for something that's low barrier of entry and shell is > your target, have you considered something like bats? > https://github.com/sstephenson/bats > > Thanks Nan - that escaped me. Will take a look. The best I could find was "Sh Unit 2

[Puppet Users] Server acceptance unit testing

2014-06-16 Thread John Warburton
Hi Everyone We want to unit test our servers with something like serverspec, but we do not have the coding skills in the team to write ruby/rspec, and we want a low barrier to entry for writing tests Our site isn't small with 3.5K servers, 200 modules, 400 manifests covering 3K resources. Each

Re: [Puppet Users] puppet-lint questions

2014-04-10 Thread John Warburton
email to > puppet-users+unsubscr...@googlegroups.com > . > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/c459b945-cc6d-46c7-9dff-0ae6eab814e6%40googlegroups.com<https://groups.google.com/d/msgid/puppet-users/c459b945-cc6d-46c7-9dff-0ae6eab8

Re: [Puppet Users] Port for ENC requests?

2014-02-03 Thread John Warburton
On 4 February 2014 09:00, Jon Yeargers wrote: > I'm trying to debug a new ENC setup. I created a short perl script to > output a few lines of YAML. It runs fine on the puppet server but when I > try it on a client I get this error: > > Warning: Error 400 on SERVER: Failed to find client.domain.or

Re: [Puppet Users] yamlyzer

2013-12-12 Thread John Warburton
On 13 December 2013 15:07, Stuart Cracraft wrote: > Our Security Group would like to have complete visibility to logs in > simple formats they can parse > and understand and socialize it to the C-suite with. Also, it can be used > to analyze Puppet's proposed > operations in noop mode prior to a

Re: [Puppet Users] Puppet Labs issue tracker migration 16 Dec 2013

2013-12-10 Thread John Warburton
> > * Everybody needs to create a new account on JIRA, since we can’t migrate > passwords from redmine to jira. > Is the JIRA link available? From the front page, Bug Trackerpoints at RedMine . Or do I need to hold my horses? Thanks John -- You received this mes

Re: [Puppet Users] noop = true and what for test?

2013-12-03 Thread John Warburton
On 4 December 2013 04:54, Stuart Cracraft wrote: > The rationale for the above methodology is: hosting firm doing database > hosting in a (very) > highly secured environment seeking to ensure extreme care of the "crown > jewels." > > We realize it is not an exciting use case. > We run a similarl

Re: [Puppet Users] Re: Puppet Manage Cisco ASA

2013-09-01 Thread John Warburton
On 26 August 2013 15:12, aussielunix wrote: > > On Friday, 1 March 2013 02:13:27 UTC+11, James Turnbull wrote: >> >> >> Cisco is working on integration and we hope to have some news on this >> soon. >> >> > What is the current state of Cisco device management with Puppet ? > > Cisco gave a presen

Re: [Puppet Users] Possible for each user to have their own testing environment?

2013-08-15 Thread John Warburton
On 16 August 2013 00:14, Sandra Schlichting wrote: > Hello all =) > > What I would like is a way so multiple people can make changes to all > files in /etc/puppet/, but only after they have tested their changes then > they "git push" so /etc/puppet is updated. The git repo is in /etc/puppet. > Whe

Re: [Puppet Users] Re: Decomission node process (puppet / puppetdb / dashboard)

2013-07-25 Thread John Warburton
On 25 July 2013 22:54, yannig rousseau wrote: > Do you know if it's possible to lauch it from a script (maybe a sql > request ?) rake --silent node:del name=deleteme RAILS_ENV=production I also run a job each day to tidy up the database: # Purged nodes leave behind orphaned records: # http://

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-05-08 Thread John Warburton
On 9 May 2013 10:59, Felipe Salum wrote: > > Easy solution would be something that would be easier to setup, or maybe > it is just me trying to complicate things. :) > > I suppose all HA solutions are difficult - they have to suit your site's definition of HA and meet cost/complexity needs. Somet

Re: [Puppet Users] Re: High Availability of Puppet server for separate geographical location

2013-05-08 Thread John Warburton
On 9 May 2013 05:57, Felipe Salum wrote: > Is Puppetlabs planning some easy solution for this ? > I run 12 puppet servers around the world. They work in a multiple puppet master solution where any client from any location can work with any puppet server in any location with dns_alt_names. We hav

Re: [Puppet Users] Re: Anyone managed to integrate Ambari/Hortonworks with an existing puppet installation?

2013-04-18 Thread John Warburton
On 18 April 2013 14:35, Yusaku Sako wrote: > Hi John, > > You are looking at an old version of HDP (1.1). > > The Puppet library that is used by the Ambari agent is completely > sandboxed - it will not interfere with your existing Puppet installation. > Yusaku > Thanks Yusaku - that will make

[Puppet Users] Anyone managed to integrate Ambari/Hortonworks with an existing puppet installation?

2013-04-10 Thread John Warburton
://issues.apache.org/jira/browse/AMBARI-665), but aren't doing much about it Thanks John -- 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 unsubscribe from this grou

Re: [Puppet Users] replacing mkdir -p

2013-04-08 Thread John Warburton
On 5 April 2013 03:23, Mike Power wrote: > Puppet right now requires every element of a path to have an individual > file definition. This makes it had to take an arbitrary path as a > parameter. You are forced to require your client to make the entire path > structure for you or instead you us

Re: [Puppet Users] PuppetCA and saved certs

2013-03-13 Thread John Warburton
are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscr...@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this g

Re: [Puppet Users] puppetlabs-lvm and --guess-fstype

2013-02-26 Thread John Warburton
On 26 February 2013 03:30, Chuck wrote: > Yep.. Red Hat was nice enough to take "--guest-fstype" out of RHEL 6.4. > > On Friday, February 22, 2013 4:25:04 AM UTC-6, steve foster wrote: >> >> Logged a bug: >> >> http://projects.puppetlabs.**com/issues/19410

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-18 Thread John Warburton
On 18 February 2013 23:19, R.I.Pienaar wrote: > No eta for when the 2.2.x branch will move forward, no eta for when this > adapter > will be removed from production code, no need to panic. But if you're > starting > out now you should look to using one of the new connectors I posted links > to.

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-18 Thread John Warburton
On 18 February 2013 22:47, Drew Blessing wrote: > You are absolutely fine to continue with your roll out. However, you > should work the specific ActiveMQ or RabbitMQ connector into that rollout > if you want to be fully forward-compatible. Ellison posted the link to the > docs previously. > T

Re: [Puppet Users] Stomp connector deprecated ?

2013-02-17 Thread John Warburton
On 17 February 2013 22:45, R.I.Pienaar wrote: > A deprecation is just a warning telling you that it will go away, we do > not > remove features from the middle of a production series > > Is this mcollective version 3.x or 2.3.x? > So you should be good to continue using it for a few months to

Re: [Puppet Users] How do I manage puppet.conf? Let me count the ways.

2013-01-17 Thread John Warburton
On 18 January 2013 09:14, Ashley Gould wrote: > But why so many methods? Why is there not a single recommended best > practice method for managing puppet.conf? > > ANSWER: Because puppet.conf lacks an include statement. So, we generate puppet.conf at jumpstart/kickstart and never ever touch it

Re: [Puppet Users] Re: Puppet LVM create volume maximum size

2013-01-08 Thread John Warburton
On 8 January 2013 22:22, ollies...@googlemail.com wrote: > > Never mind sorted it with the help of > http://projects.puppetlabs.com/issues/14718 > Nice one. I thought it was just my wrapper around it. The doc implies setting size to "undef", which I've

Re: [Puppet Users] Re: Managing core files using coreadm (Solaris + Puppet)

2013-01-08 Thread John Warburton
%p' >> > >> > > } >> > >> > > The problem with option 1 is that Sun don't recommend messing with >> the >> > > config file directly, and that it >> > > relies on a way to force the kernel to re-read the config from the

Re: [Puppet Users] Does facter 2.x need cfengine key support?

2012-12-09 Thread John Warburton
On 8 December 2012 04:34, Peter Meier wrote: > And why shouldn't it? > Nagios is being removed from core . Cfengine isn't core, and falls under the same logic -- You recei

[Puppet Users] Does facter 2.x need cfengine key support?

2012-12-06 Thread John Warburton
We were tripped up (we shot ourselves) on facter 1.6.x looking in a missing NFS mounted /usr/local, which got me thinking - does facter 2.x really need this? https://github.com/puppetlabs/facter/blob/2.x/lib/facter/Cfkey.rb John -- You received this message because you are subscribed to the Goo

Re: [Puppet Users] Puppet report aggregation

2012-12-06 Thread John Warburton
On 6 December 2012 20:29, Luke Bigum wrote: > I haven't looked at The Foreman in a while but in my mind it's more like > Puppet Dashboard - correct me if I'm wrong. What I'm aiming for is a tool > that can aid change / release management where we run Puppet --noop across > the estate, gather all

[Puppet Users] Please document reports:prune Task Leaves Orphaned Data in Dashboard Documentation

2012-11-18 Thread John Warburton
Dear Puppet Labs I recently upgraded dashboard from 1.2.2 to 1.2.14. It was somewhat painful given the number of orphaned records that needed purging during database conversion Some weeks later, my 20 Gb mysql partition fills up with what should be a 1.5 Gb database. I assumed that with the orpha

Re: [Puppet Users] Have Class Only Perform Actions When There Is Work To Do (i.e. Making Them Idempotent)

2012-10-29 Thread John Warburton
On 30 October 2012 01:59, jcbollinger wrote: > On Friday, October 26, 2012 1:50:53 PM UTC-5, Dave Mankoff wrote: >> >> [...] I wanted to avoid package management systems only because they are >> way more complicated than a basic install of python requires: > There is a bit of a learning curve for

Re: [Puppet Users] Re: Variables and autoloading

2012-10-15 Thread John Warburton
On 16 October 2012 01:03, jcbollinger wrote: > In fact, in a reprise of my "voice crying in the wilderness" routine, I > will urge you to avoid writing new parametrized classes for any > I hear you -- You received this message because you are subscribed to the Google Groups "Puppet Users" gro

Re: [Puppet Users] Create a variable variable

2012-10-15 Thread John Warburton
On 15 October 2012 23:12, rvlinden wrote: > Hi all, > > I'm wondering if puppet can create a variable based on another variable ?? > Here is an example > A quick google of "puppet variable variables" found me https://blog.kumina.nl/2010/09/puppet-tipstricks-variable-variables/ I've used the met

Re: [Puppet Users] Autosign frequency

2012-08-29 Thread John Warburton
On 30 August 2012 14:03, Peter Bukowinski wrote: > How many nodes is your puppetmaster currently servicing? I have one > servicing about 700 nodes, splayed over an hour check-in interval, and any > new nodes I add (that fall into my autosign subdomain) get signed > immediately on their first pupp

[Puppet Users] Autosign frequency

2012-08-29 Thread John Warburton
Hi Puppet Gurus I am running puppet 2.6.16, ruby 1.8.7-p249, on puppet server with passenger on Apache. These are my gems: builder (2.1.2) fastthread (1.0.7) mysql (2.8.1) passenger (2.2.14) rack (1.1.0) rake (0.8.7) We manually manage autosign.conf to allow new builds to continue so certificates

Re: [Puppet Users] thoughts on puppet 2.7 vs 3.0

2012-08-29 Thread John Warburton
On 30 August 2012 00:52, Jason Antman wrote: > For anyone in the know, given this situation, would you recommend building > on puppet 2.7.18, or trying to draw things out as much as possible and wait > for a stable 3.x release? Does anyone have any general idea of when one > might be forthcoming

Re: [Puppet Users] newish puppet on RHEL4 and/or SLES9?

2012-08-15 Thread John Warburton
On 16 August 2012 00:41, Jason Antman wrote: > by the same system. That list is about 95% RHEL/Cent 5 or 6, but there's a > few RHEL4 and SLES9 machines on the "must have" list. As upgrades are very > unlikely, I'd like to be on the newest version possible - ideally, 2.7.12+ > on the master so I

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 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] 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] 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] 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] 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] 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] 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

[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] 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] 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

[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

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

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] 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] 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] 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] 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: 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] 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] 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] 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] 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] 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] 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] Has anyone noticed this - mount resource type and Solaris

2011-06-15 Thread John Warburton
Helwig > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.10 (GNU/Linux) > > iQGcBAEBAgAGBQJN+URwAAoJEHJabXWGiqEBdYUMAKbCu1X2NjiaiwQ8ZKNc+LSw > g0ok9teq/h+mT//HXITjCxTjbLfHM1HK1U3Lt0zobNygl1OY3bAOT9MrvttADCAC > ywnCni0/WhbembZhg3XLbtD95RNC8kQTbIauAtlw/JHvnoW4IyluBlPSkcIrdpdv > GL/yTmvZdBKs+kxa9AEHmslQpM+qRVin

Re: [Puppet Users] Dealing with samhain

2011-06-07 Thread John Warburton
d 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 t

Re: [Puppet Users] installing puppet client

2011-05-24 Thread John Warburton
On 24 May 2011 23:55, CHEBRIAN wrote: > how to install puppet client thru puppet master . > > My requirement is to install puppet client nearly 400 client servers. > > its difficult to install puppet client in all the servers by apt- > get . > > As others have said, a for loop ssh if you have roo

Re: [Puppet Users] The quantum effect when loading classes

2011-05-22 Thread John Warburton
On 21 May 2011 01:22, Nigel Kersten wrote: > On Thu, May 19, 2011 at 8:45 PM, John Warburton wrote: > >> Can anyone comment / expand upon >> http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/ >> >> % cat modules/dns_server/manifests/init.

[Puppet Users] The quantum effect when loading classes

2011-05-19 Thread John Warburton
Can anyone comment / expand upon http://www.nico.schottelius.org/blog/puppet-sometimes-loads-a-class/ I am experiencing a case which may be related. We have an ENC, and recently on our twice daily noop runs from cron, puppet has reported some servers aren't in sync because they do not have a certa

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.8rc1 available!

2011-04-27 Thread John Warburton
On 15 April 2011 11:47, Nigel Kersten wrote: > On Thu, Apr 14, 2011 at 4:41 PM, James Turnbull > wrote: > > Stefan Schulte wrote: > >> Any chance to address #6845 in this release (patch already sent to > >> puppet-dev)? The mountprovider is currently not working at all on > >> Solaris (the title

Re: [Puppet Users] Puppetmaster best practice for multiple zones

2011-04-19 Thread John Warburton
On 20 April 2011 01:49, James Bailey wrote: > Hello, > > sorry if this is a stupid question but I currently have inherited > three "security zones" LAN, DMZ and PROD. I currently have Puppet and > Foreman running in the LAN zone on a host called puppet-lan and I am > starting to manage the LAN ba

Re: [Puppet Users] RFC: Refactoring the mount provider.

2011-04-19 Thread John Warburton
On 23 March 2011 10:21, Nigel Kersten wrote: > On Tue, Mar 22, 2011 at 4:05 PM, Stefan Schulte > wrote: > > > So splitting the mounttype can lead to better reports when puppet sync > > mountpoint and entry in fstab seperatly. Because I'm lazy I'll propably > > write a define (maybe I will call i

[Puppet Users] extlookup == bad?

2011-04-11 Thread John Warburton
OK, I'll bite In the newly published Style Guide ( http://docs.puppetlabs.com/guides/style_guide.html), right at the end it says Modules should avoid the use of extlookup() in favor of ENCs or other alternatives But there is no reason as to why. We have a rule of thumb where we use the ENC

Re: [Puppet Users] Re: Node classifier not loading any defined classes

2011-04-10 Thread John Warburton
On 8 April 2011 19:09, Felix Frank wrote: > > *Parts* of your modules. You can't have custom resource types or custom > > functions per environment. And that sucks. > > You can't? Is there a bug for this that I can vote on? > > http://projects.puppetlabs.com/issues/4409 -- You received this m

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

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

[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: [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.

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] 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

[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] 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

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] 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] 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

  1   2   >