Re: [Puppet Users] Error while installing/configuring foreman-proxy 1.12: Invalid parameter dns_realm on Class[Foreman_proxy]

2016-12-08 Thread Greg Sutcliffe
oxy/blob/master/manifests/init.pp the $dns_realm parameter isn't exposed for configuration - it's only used within params.pp to set $dns_tsig_principal (which *is* available in init.pp). Feel free to submit a bug or even send a patch if you feel that behaviour is wrong :) Cheers Greg -- Greg

Re: [Puppet Users] Re: Deploy bacula with puppet and foreman

2016-02-08 Thread Greg Sutcliffe
on a lot on the Foreman mailing list, so we have a wiki page detailing some examples. See http://projects.theforeman.org/projects/foreman/wiki/Instantiate_Puppet_resources Hope that helps! Greg -- Greg Sutcliffe IRC: gwmngilfen -- You received this message because you are subscribed to the Googl

Re: [Puppet Users] Can I just edit the dashboard widgets?

2015-10-13 Thread Greg Sutcliffe
On 13 October 2015 at 15:54, UK_beginner wrote: > I'm wanting to make some changes to the conditions used in building the > dashboard lists - is it possible to just edit the erb files in > app/views/dashboard? > > I've tried editing one of the conditions in the _status_widget.html.erb but > even a

Re: [Puppet Users] Re: puppetdb, foreman, one particular node has a problem

2013-10-16 Thread Greg Sutcliffe
On 16 October 2013 14:39, Steve Wray wrote: > Your response is encouraging, thanks. > > I wasn't using sqlite, I was using postgresql. I have about 100 nodes (and > growing) sqlite quickly became unusable. > Ah ok. There are changes to the ENC script (which also registers new Hosts in the Forema

Re: [Puppet Users] Re: puppetdb, foreman, one particular node has a problem

2013-10-16 Thread Greg Sutcliffe
On 16 October 2013 11:48, Steve Wray wrote: > Sure, I'm using this repository > > deb http://deb.theforeman.org/ precise stable > > it looks as if the upgrade didn't make the required changes to the > database, or something like that. I dropped the db and recreated it and the > error about the mi

Re: [Puppet Users] Re: Puppet calls the ENC twice for some nodes.

2013-09-20 Thread Greg Sutcliffe
On 20 Sep 2013 18:05, "Greg Sutcliffe" wrote: > the should authoritatively be in. Gah, phone keyboard. "The *client* should authoritatively..." Sorry Greg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T

Re: [Puppet Users] Re: Puppet calls the ENC twice for some nodes.

2013-09-20 Thread Greg Sutcliffe
Is this puppet3? As I recall, in puppet3, the master makes a separate call to the enc to determine the environment the should authoritatively be in. Once that's established, it makes a second call to get the classes and parameters. Hth, Greg On 20 Sep 2013 13:46, "pierra mathieu" wrote: > Thanks

Re: [Puppet Users] apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-24 Thread Greg Sutcliffe
On 24 May 2013 21:55, Eric Sorenson wrote: > Hi Greg, thanks for the info -- I slightly disagree that the docs should > describe manual installation; IMO they should describe supported/official > ways to do things, because anything that's documented gets interpreted as > being supported and offic

Re: [Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-24 Thread Greg Sutcliffe
On 23 May 2013 22:25, Eric Sorenson wrote: > Quick question for those of you affected by this -- what did you to do to > add the puppetlabs apt repo? > > Did you do it through the method described here: > http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu

Re: [Puppet Users] Best practices on puppet installation

2012-11-26 Thread Greg Sutcliffe
On 25 November 2012 21:36, Ugo Bellavance wrote: > Ok, but it looks like foreman is not fully puppet-3 compatible up to now. I > think I'll wait for that. We have all the required changes for puppet-3 compatibility in the develop branches of foreman and foreman-proxy - hoping to get a release ca

Re: [Puppet Users] Re: Can Puppet alert about dead nodes?

2012-11-07 Thread Greg Sutcliffe
This post to the list concerns PuppetLabs ceasing development on Dashboard - https://groups.google.com/forum/#!msg/puppet-users/j44EbTJY7HI/EQSJgh-g1fgJ A few people have expressed interest in taking Dashboard on, but I've seen no announcement that this has officially happened. Perhaps I missed it

Re: [Puppet Users] Re: Can Puppet alert about dead nodes?

2012-11-01 Thread Greg Sutcliffe
On 1 November 2012 17:54, Lucas Vickers wrote: > I am currently using the open source edition so I have no dashboard. > Puppet Dashboard is opensource, so you could use it, but it's being deprecated (last I heard, anyway). You could also checkout The Foreman, which will display nodes out-of-sync

Re: [Puppet Users] Using Exported Resources in nginx loadbalancer conf

2012-09-25 Thread Greg Sutcliffe
On 25 September 2012 12:03, Jon Ward wrote: > Hi all, > > I'm attempting to use exported resources to dynamically generate an nginx > config file. What I'd like to do if have all my web servers export their > hostname inside a file resource, and have these collected by my loadbalancer > and used i

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

2012-04-30 Thread Greg Sutcliffe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 +1 here As a distribution packager, a clear place to put things specific to the distribution is a big win for me. I've struggled in the past decided whether to package the clean upstream sources, or to add my own tweaks as well. To date, I've kept it

Re: [Puppet Users] Templating DHCP3-Server Need To Loop Through Subnets

2012-04-26 Thread Greg Sutcliffe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu 26 Apr 2012 17:24:17 BST, Brian Carpio wrote: > $subnet = [ 192.168.10.0, 192.168.20.0, 192.168.30.0 ] > $range = [ 192.168.10.115 192.168.10.120 ] Sounds like you need a Hash here: $subnets = { '192.168.10.0' => '192.168.10.115 192.168.10.120

Re: [Puppet Users] Re: Does one puppet master support multiply users to manage their resources?

2012-04-13 Thread Greg Sutcliffe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri 13 Apr 2012 12:01:13 BST, Sans wrote: > I'm not entirely sure but I don't think you can do that with single > server - Puppet is actually for that. Someone please correct me if I'm > wrong. But, as Puppet can maintain itself, all your users can

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Greg Sutcliffe
Hi Josh, Thanks for clearing that up - given that it's benign, then I won't worry too much about it :) I'm pretty much stuck with whatever Arch decide to give me for Ruby versions. I guess that makes us Arch users the canary testers for Puppet. So far nothing seems broken - every message I get

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Greg Sutcliffe
Hi Josh, I think I've found it. I fired up a spare (clean) Debian VM for testing - and no errors. So I poked further... A while back, I was plagued by this on my arch clients: Could not load confine test 'operatingsystem': cannot load such file -- puppet/provider/confine/operatingsystem Intri

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Greg Sutcliffe
Hi Josh, I'll give you both in case it matters (since one is ruby 1.8 and one is 1.9) Master - http://pastie.org/2993476 Agent - http://pastie.org/2993486 I'm on IRC in #puppet (gwmngilfen) at the moment if you want to real-time the troubleshooting. Not a problem if you've got other priorities

Re: [Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Greg Sutcliffe
Hi Josh, Of course. I'll pastie so as not to spam the list :) Here's an Arch client - http://pastie.org/2993397 Here's the Debian running "puppet master -- trace --debug" - http://pastie.org/2993401 Cheers, Greg -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Win32API error with 2.7.8

2011-12-09 Thread Greg Sutcliffe
Hi all, I've just started testing 2.7.8 after the release today, and almost immediately hit a problem: err: Could not create resources for managing Puppet's files and directories in sections [:main, :agent, :ssl]: uninitialized constant Module::Win32API This occurs on multiple machines, under

Re: [Puppet Users] Re: SSL issues on ruby1.9

2011-11-25 Thread Greg Sutcliffe
On 25 November 2011 12:18, linuxbsdfreak wrote: > Hi Greg, > > There are some problems with SSL and ruby 1.9.2.  Please visit the > link below for solving the issue. > > http://urgetopunt.com/puppet/2011/09/14/puppet-ruby19.html Hi Kevin, Thanks for the reply. As I stated in my original post, I'

[Puppet Users] SSL issues on ruby1.9

2011-11-24 Thread Greg Sutcliffe
Hi all, I'm having issues with getting a client to request a certificate from my master when using Ruby 1.9. The error message is: "err: Could not request certificate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed" I saw earlier messages on this

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

2011-10-12 Thread Greg Sutcliffe
On Friday, 7 October 2011 15:12:08 UTC+1, Bruno Leon wrote: > > sorry for the delay, I did a few tests and found out that the puppet > master does not even go as far a querying the database. > Starting from a clean query log (mysql), there is no sign of > Concat::Fragment (tried small case as wel

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

2011-10-05 Thread Greg Sutcliffe
Almost a "me-too" post, I should try to avoid that... This sounds like the mail I sent on Monday - I can certainly confirm Bruno's findings for collecting exported custom defines. I get the same error message, and I'm also using a remote MySQL database (no queueing agent, just direct access).

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

2011-10-03 Thread Greg Sutcliffe
Hi all, I use a number of exported resources, some of which are exported custom definitions.Since upgrading to 2.7.5, I've seen an issue which is driving me up the wall trying to debug it. Hopefully someone can help :) Consider the following three snippets of code: *$modulepath/ntp/manifests/n

[Puppet Users] Skipped schedule resources in reports

2011-09-06 Thread Greg Sutcliffe
Hi all, Since upgrading a few test machines from 2.6.7 to 2.7.3, I've noticed something slightly odd. Every single run reports 6 skipped resources, yet the reports are empty - they only state the execution time as per usual). On digging further it seems that the auto-generated Schedule resource

Re: [Puppet Users] Dashboard and remote MySQL BDD

2011-07-22 Thread Greg Sutcliffe
On 21 July 2011 11:19, david ramblewski wrote: > Hi, > > I've installed Dashboard on my server and I aim to remotely request > the MySQL Database. > All documentations read explain the way to roll out using Dashboard > and MySQL Database on the same server. > > I am looking for any information to

Re: [Puppet Users] Concat Module posted to Onyx Point Github.

2011-06-02 Thread Greg Sutcliffe
Hi again, After an hour or three of hacking, I've managed to add the insync? checks to both the build and fragment types. It's the first time I've ever really messed with types and providers, so it's very ugly (and probably has bugs), however I'm happy to share my patches. Would that be best a)

Re: [Puppet Users] Concat Module posted to Onyx Point Github.

2011-06-02 Thread Greg Sutcliffe
Hi Trevor, I'll add my thanks to the pile, this is pretty awesome stuff! I compared the --graph results with the old concat moule, and this one - impressive difference :) As Larry says, the fact that it executes Concat_build on every run is a stopper for us, since the dependant services get re

Re: [Puppet Users] Re: Managing Switches.

2011-05-11 Thread Greg Sutcliffe
I think there's two answers, actually :) The first is that you're not reading it wrong. Since the implementation executes the commands from the puppet client, the standard duplicate resource problem applies. However, as I learned at PuppetCamp, some work has recently been merged in to work arou

[Puppet Users] Re: issue with exported resources and subscribe

2011-05-06 Thread Greg Sutcliffe
Hi, In my exported resource manifests, if using code like: File <<| tag == "nagios::target" |>> { notify => Service["nagios3"] } Does that work for you? Cheers, Greg -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, s

[Puppet Users] Re: How to setup database for Inventory Service

2011-04-12 Thread Greg Sutcliffe
Heya, I've merged both approaches. First, I dropped the db on my development server, and then let puppet recreate it. Since I don;t want to lose my historical data in production, I then dumped and compared the schema's from the dev (2.6.7) and prod (2.6.2) environments. I then upgraded prod to

Re: [Puppet Users] Problem defining exported resources

2011-03-18 Thread Greg Sutcliffe
On Thursday, March 17, 2011 2:41:06 PM UTC, Felix.Frank wrote: > > I call possible bug on this one. I don't see an open issue that sounds > quite like this, so you may want to report this. > > http://projects.puppetlabs.com/projects/puppet/issues/new > > Cheers, > Felix > Thanks Felix - nice to kn

[Puppet Users] Problem defining exported resources

2011-03-16 Thread Greg Sutcliffe
ition so it's easier for me to collect the right resources in the server class. But it doesn't work. The server doesn't create any directories, although I can see entries in the storeconfig db for the rsync::target resource type. What am I missing? Many thanks, Greg Sutcliffe