[Puppet Users] Export variables into other classes

2011-09-22 Thread Chris
Hi all I have been pondering this for a while, but not yet seen a clean way to do it I have a few puppet classes (apache/ntp/mysql/bacula/nagios/etc) I would like to generate part of my bacula and nagios configs for each host based on which other classes that host belongs to (or to put it anothe

Re: [Puppet Users] Re: Export variables into other classes

2011-09-23 Thread Chris
;File = /var/named end etc etc This would work, but requires that I add conditionals for all other classes in the bacula class I would like to keep the classes self contained, so that the bacula client template file or class has a generic include mechanism, and the apache class would define all t

Re: [Puppet Users] Re: Export variables into other classes

2011-09-23 Thread Chris
On Thu, 2011-09-22 at 13:26 -0700, jcbollinger wrote: > > > > I would like the backup_include to automatically include /var/www if > > the host is an apache server (for example), and I would like those > > directories to be defined in the apache class (not the bacula class) > > > > Any clever ways

[Puppet Users] Error when setting up stored configurations "unable to open database file"

2011-10-18 Thread Chris
eciated on this - there doesn't seem to be much out there on Google. -Chris -- 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, send e

[Puppet Users] Re: Error when setting up stored configurations "unable to open database file"

2011-10-25 Thread Chris
wrote: > I agree; try as root. > > Also, what does your puppet.conf look like on the puppet master? > > Kevin. > > On Oct 18, 6:07 am, Chris wrote: > > > > > > > > > Hi, > > > I'm getting the following error when I try to set up stored &g

[Puppet Users] Re: Error when setting up stored configurations "unable to open database file"

2011-10-25 Thread Chris
Spot on - chown puppet.puppet /var/lib/puppet/state solved the problem. I assume this is a defect in the packaging - I have just repeated this by installing the same package on an empty VM. Thanks Chris On Oct 25, 2:49 pm, Raymundo Vasquez wrote: > Its actually the owner of /var/lib/pup

[Puppet Users] Struggling with 1 client & 2 puppetmasters

2010-06-25 Thread Chris
7000 server = puppetmaster.company.com Client: [main] ca_server = puppetmaster.company.com ca_port = 7000 [puppetd] pluginsync = true factpath = $vardir/lib/facter masterport = 7000 server = puppetmaster.company.com evaltrace = true We are using puppet 0.25.4 Thank you for helping me. Chris --

[Puppet Users] Re: Struggling with 1 client & 2 puppetmasters

2010-06-26 Thread Chris
ffice on monday. Your blog post will certainly help me in verfiying our setup. Chris On 25 Jun., 17:08, Dan Bode wrote: > Hi Chris, > > Check out: > > http://bodepd.com/wordpress/?p=7 > > this is my preferred way out setting up multiple puppetmasters with a shared >

[Puppet Users] Parsing yaml report locallly

2010-08-22 Thread Chris
far yet. Thanks for any help Chris -- 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 puppet-users+unsubscr...@googlegroups

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
Thanks, I saw that the request was accepted. So there will be solution in the future -- 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

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
;t think there's any security implications in that. You shouldn't have > > any sensitive data in your reports unless you log the output of Execs that > > contain passwords. > > > On Aug 22, 2010, at 8:52 AM, Chris wrote: > > >> Hi > > >> Is th

[Puppet Users] Re: Parsing yaml report locallly

2010-08-24 Thread Chris
lly but you'd need some way of dirtying it > after each puppet run. > I don't think there's any security implications in that. You shouldn't have > any sensitive data in your reports unless you log the output of Execs that > contain passwords. > > On Aug 22,

[Puppet Users] Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Chris
design decision after all: If PSON is to be JSON compatible – no binary data.". How are other people getting around this? Do you just allow all clients to access all keys? Is there a native type, or an auth.conf trick, that I'm missing? Or a more binary-friendly encoding than JSON/ PSON

[Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-10 Thread Chris
Hi Thomas On Nov 10, 12:44 pm, Thomas Bendler wrote: > Hi Chris, > > 2010/11/10 Chris > > > [...] > > file{"/path/to/foo.key": source=>"puppet:///keys/foo.key"} , because > > any valid puppet client could access foo.key. > > [...] >

[Puppet Users] Re: Managing private key files; content=>file vs. binary content.

2010-11-11 Thread Chris
> > In the general case, even completely legitimate (and common) Latin-1 > > text files can cause Puppet problems because some Latin-1 bytes are > > not valid UTF-8.  In my opinion, the content parameter of a file > > resource should be able to handle these cases. > > I think you should file a bug

[Puppet Users] Filebucket log messages include file content

2010-11-15 Thread Chris
en the files contain passwords or other sensitive information - especially if it happens to get emailed out, or pushed onto the network via syslog. Cheers, Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

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

2010-12-14 Thread Chris
Hi I recently upgraded my puppet masters (and clients) from 0.24.8 to 2.6.4 Previously, my most busy puppet master would hover around about 0.9 load average, after the upgrade, its load hovers around 5 I am running passenger and mysql based stored configs. Checking my running processes, ruby (

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

2010-12-14 Thread Chris
> > Some useful info would be: > > OS > OS version > Ruby version > Apache version/worker model > Passenger version > CentOS 5.2 ruby-1.8.5-5.el5_3.7 httpd-2.2.3-31.el5.centos.2 rubygem-passenger-2.2.11-2el5.ecn rubygem-rails-2.1.1-2.el5 rubygem-rack-1.1.0-1el5 -- You received this message becaus

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

2010-12-15 Thread Chris
On Dec 15, 12:42 pm, Brice Figureau wrote: > On Tue, 2010-12-14 at 00:24 -0800, Chris wrote: > > Hi > > > I recently upgraded my puppet masters (and clients) from 0.24.8 to > > 2.6.4 > > > Previously, my most busy puppet master would hover around about 0.9 >

[Puppet Users] Exporting and collecting resources on the multiple hosts problem

2009-06-11 Thread Chris
own server by virtue of being 'real' resources, despite being defined with @@file... I guess this is something to do with the fact that the same node is exporting the resource and collecting it - could this somehow cause puppet to think that, since the resource is being collected locally, it

[Puppet Users] Re: Exporting and collecting resources on the multiple hosts problem

2009-06-11 Thread Chris
in the near future, and if not, I'll see about doing a re-install from source. Thanks! Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send em

[Puppet Users] patching config files

2009-07-21 Thread Chris
rmation on how to apply patches to (in our case) config files. How is that done? Is there a repository of Puppet examples somewhere? Thanks. Chris. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users&quo

[Puppet Users] Re: patching config files

2009-07-21 Thread Chris
On Jul 21, 11:19 am, David Schmitt wrote: > Chris wrote: > > Hi, > > > I'm a newbie here. > > > We are preparing a service that creates virtual servers on demand with > > a concrete installation and configuration. Reading though the FAQ and > > e

[Puppet Users] Re: solaris: 24.8 multiple puppet processes wont die

2009-09-07 Thread Chris
zone in `zoneadm list | grep -v global` do zlogin $zone svcadm disable puppetd done should disable them all except for the global zone, then you can re-enable on a zone-by-zone basis as needed. HTH Chris > We can still launch puppet, and it seems to work file, but we are just not > sure what

[Puppet Users] Puppet / EC2 noob question

2009-09-11 Thread Chris
to the node when it boots? Or enable autosigning? Any ideas gratefully received! Thanks Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppe

[Puppet Users] Re: Puppet / EC2 noob question

2009-09-15 Thread Chris
AMIs running, Dave's puppetmaster-in-the-cloud has some compelling advantages. I look forward to trying a few of these options out in the next few weeks to see what works best for us. Thanks again Chris On Sep 15, 9:35 am, Matt wrote: > 2009/9/14 dmangot : > > > > > > &

[Puppet Users] Is there a way to show the compiled config for a node?

2010-01-20 Thread Chris
Hi all, I'd like to be able to get at the compiled config for an arbitrary node (i.e. the content which is normally found in /var/puppet/state/ localconfig.yaml on the client), from the puppetmaster. Is there a way to do this? I'd find it useful for glueing together fact data (from the node/ *.ya

[Puppet Users] Re: Is there a way to show the compiled config for a node?

2010-01-20 Thread Chris
hich (as I understand it) means that only exported resources will appear in the DB, which would make this approach less useful. Chris On Jan 20, 10:45 am, Ohad Levy wrote: > I'm assuming you are not using external nodes right? > > if you use storeconfigs, you will get all of th

[Puppet Users] Re: Is there a way to show the compiled config for a node?

2010-01-20 Thread Chris
> currently only give you back a list of host based on a puppet class / fact > filtering). > Hmm, that would be quite cool, but it's another service to install and run (obviously, it gives more benefits than just a query interface!) It's quite a bit of effort just to solve my imm

[Puppet Users] debugging puppetrun + HTTP 503 error

2009-04-01 Thread chris
Error host0101.local finished with exit code 2 Failed: host0101.local I'm not even sure where to start looking for what's causing this -- any suggestions on how to get to the bottom of this? Many thanks, Chris --~--~-~--~~~---~--~~ You received thi

[Puppet Users] Re: debugging puppetrun + HTTP 503 error

2009-04-03 Thread chris
n the client. Thanks, Chris On Apr 2, 7:48 am, Rolfs wrote: > chris wrote: > > puppetd -d -v --no-daemonize gives: > > Have you tried to run puppetmaster in front ( -d -v --no-daemonize ) > for debugging? > How does your /etc/puppet/namespaceauth.conf file look on the

[Puppet Users] Re: debugging puppetrun + HTTP 503 error

2009-04-03 Thread chris
Sorry, I was wrong -- namespaceauth.conf on the client only had a [puppetrunner] entry. With the complete list below it works like a charm. Thanks! Chris On Apr 3, 11:15 am, chris wrote: > Jason -- I'm not using passenger, this happens when we run our server > with webbrick or w

[Puppet Users] Creating solaris zones with multiple datasets

2009-05-01 Thread Chris
27;s running if needed, but adding another dataset after creation needs the zone to be rebooted, so it would be much better, if possible, to add it when the zone is created. thanks in advance, Chris --~--~-~--~~~---~--~~ You received this message because you ar

[Puppet Users] How does 'require Class' differ from 'include' ?

2009-05-18 Thread Chris
nsure that some_resource{x:} and some_resource{y:} have been successfully applied before it tries to apply some_resource{z:} ? Or is it equivalent to doing "include a" i.e. all the resources are applied, but in no particular order ?

[Puppet Users] Re: How does 'require Class' differ from 'include' ?

2009-05-20 Thread Chris
ot;] } } node my_pc { include b } On May 20, 5:09 pm, Luke Kanies wrote: > On May 18, 2009, at 10:04 AM, Chris wrote: > > > > > > > Hi all, > > > Prompted by Evan's question about requiring classes between modules; I > > wonder if someon

[Puppet Users] Blastwave packages not detected

2009-05-30 Thread Chris
re- install the package? Thanks! Chris --~--~-~--~~~---~--~~ 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

[Puppet Users] Re: Blastwave packages not detected

2009-05-30 Thread Chris
ve to adapt to fit). I will try and find out a bit more... Chris On May 30, 10:34 pm, Chris wrote: > Hi all, > > One of my solaris systems is exhibiting some slightly odd behaviour > with respect to installing blastwave packages. > > Trying to install packages via puppet succeeds,

[Puppet Users] separate puppetmaster ca server

2014-03-28 Thread Chris
aemon on puppetmaster, nothing complains. If I revoke the certificate on puppetmaster, nothing complains. If I change puppet-client config so: [main] server = puppetmaster.puppet.local Then it does complain. Using puppet 3.4.3 from puppetlabs rpm's. Any help/suggestions etc

[Puppet Users] separate puppetmaster ca server

2014-03-30 Thread Chris
puppet 3.4.3 from puppetlabs rpm's. Any help/suggestions etc would be fantastic. Cheers, Chris. -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from

Re: [Puppet Users] separate puppetmaster ca server

2014-03-30 Thread Chris
- I can't control client access with certificates. I thought it would check the certificate was still valid. Anyway, thanks for the info - much appreciated. Chris. -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subscribed t

Re: [Puppet Users] separate puppetmaster ca server

2014-03-30 Thread Chris
On 31/03/14 08:48, Spencer Krum wrote: The puppetmaster doing catalog compilation, puppetmaster-client in your case, does verify that the client cert is not in the CRL. However, you have to help it out a bit. For one, you need the puppetmaster-client to get the most recent CRL from the puppetmast

Re: [Puppet Users] Puppetmaster Logrotate isn't working

2014-05-06 Thread Chris
On 30/04/14 02:13, willi.feh...@home24.de wrote: Hello, we have an issue that the Puppetmaster logrotate isn't working. We are using the following default Logrotate: /var/log/puppet/*log { missingok sharedscripts create 0644 puppet puppet compress rotate 4 postrotate pk

[Puppet Users] multiple puppet masters, multiple puppetdb's

2014-06-12 Thread Chris
and why you'd want to do that. Any help or ideas would be great. Cheers, Chris. -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop r

Re: [Puppet Users] Grant user SELECT on pg_stat_database?

2014-06-16 Thread Chris
On 13/06/14 14:44, Chris Miller wrote: How do I grant a user SELECT privileges on the pg_stat_database catalog? Using the normal postgresql::server::database_grant approach just returns: "'ERROR: database "pg_stat_database" does not exist" pg_stat_database isn't

[Puppet Users] ssl signing issue

2014-06-29 Thread Chris
Hi, I'm trying to get signing right and have come up with a weird situation. Both master and client are running 3.6.2 (rpms from puppetlabs). client config: [main] vardir = /var/lib/puppet logdir = /var/log/puppet rundir = /var/run/puppet ssldir = /var/lib/puppet/ssl classf

Re: [Puppet Users] ssl signing issue

2014-06-30 Thread Chris
On 30/06/14 16:24, Martin Alfke wrote: Hi Chris, On 30 Jun 2014, at 05:23, Chris wrote: master gets it: # puppet ca list client (SHA256) D4:6D:33:FE:33:98:C1:42:77:ED:D3:33:16:8D:A0:C6:37:1F:90:6B:03:D2:EC:79:52:FF:03:2E:8C:7F:D8:50 and has signed itself: # puppet ca list --all client

[Puppet Users] augeas, sshd and multiple onlyif requirements

2014-10-09 Thread Chris
Hi all, I'm trying to insert a ClientAliveInterval setting into sshd_config with augeas. Some servers have a "Match User" line (so the new setting needs to come before the "Match User" line), and some don't. Some already have a ClientAliveInterval setting, and some don't. My first attempt wa

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

2014-10-12 Thread Chris
On 10/10/14 16:29, John Warburton wrote: On 10 October 2014 13:34, Chris mailto:dmag...@gmail.com>> wrote: Any help, suggestions, alternatives would be greatly appreciated. Stop using Augeas and start using templates <https://docs.puppetlabs.com/guides/templating.html> I di

[Puppet Users] puppet turning a file into a directory

2014-12-02 Thread Chris
Hi, This is a very strange one. On my CA server (which also runs puppet as an agent to control various things), sometimes a file gets turned into a directory. It's only this file and on this server (the other puppet controlled servers don't have this issue). Using puppet 3.7.3 from the puppe

Re: [Puppet Users] Re: puppet turning a file into a directory

2014-12-09 Thread Chris
Just posting a follow up. On 04/12/14 01:31, jcbollinger wrote: Or if you have multiple environments defined, and for some reason the affected server is occasionally assigned to the wrong one, then you might get a different declaration. There are many other possibilities. This was the case. I

[Puppet Users] Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
iera(): Looking for data source worldDebug: hiera(): Looking for data source default (& lots more of course). Why can't it find the /etc/puppetlabs/code/environments/prod/hieradata/sac.json file which contains the key I'm looking for ? (Puppet server 2.4) Thanks Chris -- You

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
Yes, nt_location is 'sac', so sac.json as mentioned. Not sure how to check the 'value' of that var... %{nt_location}. This is a bit new to me. Should have mentioned its copied from a working(!) 3.2 master; want to 'upgrade' with minimal changes. -- You received this message because you are subs

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-20 Thread chris
Dang; wanted to add to my last.. Anyway, ran 'facter -p' on the node and those values are filled correctly. How can I check what the master sees when the node checks in? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-22 Thread chris
So, here's a bit more of the debug o/op: Debug: Performing a hiera indirector lookup of icinga_servers with options {:variables=>Scope(Class[main]), :merge=>#>, @value_type=#]>>>]>, @options={}>} Debug: hiera(): Looking up icinga_servers in JSON backend Debug: hiera(): Looking for data source p

[Puppet Users] Re: Hiera lookup fail : doesan't find json file

2016-06-22 Thread chris
On Thursday, 23 June 2016 11:06:54 UTC+10, chris wrote: So as you can see from above, it prefixes each keyname with the dir and appends '.json', as it should BUT only if keyname/data src has a numeric digit in it! Is this a bug in puppet?? Or am I missing something? -- You rec

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:20, Josh Cooper wrote: > > The reference File['abc'] does not succeed because 'abc' is an > alias, and not the title - I believe there is a ticket about that > already logged. > > > Filed as https://tickets.puppetlabs.com/browse/PUP-6984 Ah, awesome - thanks! -- Pos

Re: [Puppet Users] Could not find resource, but it's there.

2017-01-11 Thread Chris
On 11/01/17 06:26, Arpin Dominique (Nter) wrote: > Because you don’t use the right name… > I was using the alias name, which should also work. The bug report explains things. Cheers, -- Postgresql & php tutorials http://www.designmagick.com/ -- You received this message because you are subsc

[Puppet Users] /etc/puppetlabs/puppetserver/conf.d/auth.conf : want to use wildcards in certificate_request section

2017-04-17 Thread chris
ersion is 2.7.0 (puppet v4). Can anybody help? Thanks Chris -- 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

Re: [Puppet Users] /etc/puppetlabs/puppetserver/conf.d/auth.conf : want to use wildcards in certificate_request section

2017-04-18 Thread chris
On Tuesday, 18 April 2017 17:31:22 UTC+10, Martin Alfke wrote: > > > > On 18 Apr 2017, at 08:03, chris > > wrote: > > > > Hi guys, > > > > so I'm trying to restrict requests from known domains eg > > > > > > {

[Puppet Users] Re: hiera can't find facts to read hierarchy files?

2018-09-19 Thread chris
Hi Sean, I'm having the same issue, and I see what you said, I'm just too new to puppet. Would it be possible for you (or others) to expand on how you fixed this (with and example)? Chris On Wednesday, November 29, 2017 at 11:15:49 AM UTC-6, Sean wrote: > > Thanks to PuppetLa

[Puppet Users] Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-16 Thread chris
tricky to have multiple CAs talking to it ?? (I know nothing about how the foreman - puppet cxn works). Cheers Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails

[Puppet Users] Re: Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-17 Thread chris
Certs looks a bit fiddly but might be an option. Just to clarify, using these would mean we could also standup new client-servers in the other DCs if the main DC goes down? Cheers Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group.

[Puppet Users] Re: Best practice for Puppet CA servers in multiple Data Centres - upgrading to v6

2019-09-26 Thread chris
my opinion. Cheers Chris > Intermediate Certs looks a bit fiddly but might be an option. >> Just to clarify, using these would mean we could also standup new >> client-servers in the other DCs if the main DC goes down? >> > > No, if you've got one CA / Signing Mast

Re: [Puppet Users] Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

2020-06-22 Thread Chris
ces.list.d/pc_repo.list was being managed by the puppetlabs-puppet_agent module, which is why it wasn't removed when I purged puppet6-release and re-installed it. I'd forgotten to set 'collection', so the repo was getting stomped with the wrong collection. Cheers, -Chris On Tue, Jun 23,

Re: [Puppet Users] Is the focal repo borked for Ubuntu 20.04 LTS (Focal Fossa)?

2020-06-22 Thread Chris
PEBKAC - ugh. No more emails before coffee. :) On Tue, Jun 23, 2020 at 9:11 AM Chris wrote: > Greetings Eric, > > tl;dr - PEBKEC > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group

Re: [Puppet Users] Mysqldump using puppet

2020-07-31 Thread Chris
on errors, but you can fork the repo and submit a PR and I'd be happy to merge. -Chris On Sat, Aug 1, 2020 at 5:17 AM Md Juyel Haque wrote: > Please help me.I want to create script database backup. This should be > deployed with the puppet scripts on the Tomcat server. > Errors

Re: [Puppet Users] Mysqldump using puppet

2020-07-31 Thread Chris
: cron { cron_mysqlbackup: command => "/root/backup.sh", user => root, hour => 0, minute => 0, require => File['/opt/bin/MySQLBackup.pl',"/var/local/backups/mysql", "/root/backup.sh"]; } On Sat, Aug 1, 2020

[Puppet Users] is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-15 Thread Chris O'Donnell
With our current iptables rules, we implement the following in a script: iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT Then the script continues on and does the rest of the rules. some custom policies, etc.Now we're moving to Puppet and trying to replace all of our s

[Puppet Users] Re: is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-16 Thread Chris O'Donnell
FYI, I downloaded the following branch this morning: git clone -b ticket/10162-firewallchain_support_for_merge git://github.com/kbarber/puppetlabs-firewall.git and found a bug where the args for iptables were being fed to it in the wrong order. I made the following patch, and emailed it to Ken:

[Puppet Users] Re: How do you modify the default settings for the internal firewall chains using the firewall module?

2012-03-27 Thread Chris O'Donnell
policy=> 'drop', } Note I've not tried formatting my rules as you have, but the above worked for me. Also note that this has only been in the master branch in Github for about a week, so if you find a bug, please submit it. - Chris On Monday, March 26, 2012 3:10:

[Puppet Users] selinux symlink patch

2012-04-06 Thread Chris Price
other. Thanks in advance! Chris -- 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, send email to puppet-users+unsubscr...@googlegroup

[Puppet Users] Re: selinux symlink patch

2012-04-06 Thread Chris Price
Update: a little more digging reveals that the original selinux symlink code came as a result of this ticket: http://projects.puppetlabs.com/issues/2791 Still interested in feedback if anyone has any. On Fri, Apr 6, 2012 at 12:58 PM, Chris Price wrote: > Hey folks, > > I am revi

[Puppet Users] custom functions

2012-04-18 Thread Chris Donovan
and I'm following this guide here: http://docs.puppetlabs.com/guides/custom_functions.html Chris- -- 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-

Re: [Puppet Users] custom functions

2012-04-18 Thread Chris Donovan
Hi, Yes, filename is what is supposed to be there. That's not my issue however though, my issue is that it doesn't load / run properly. If puppet 2.7.6 still does not run functions on the client then that's great, and I'll write a provider, and possibly a type. Chris- On

Re: [Puppet Users] custom functions

2012-04-18 Thread Chris Donovan
the line?? Is there some additional function that the type uses? I'm still reading up on types right now. Chris- On Thu, Apr 19, 2012 at 1:34 PM, Gary Larizza wrote: > > > On Wednesday, April 18, 2012, Chris Donovan wrote: >> >> Hi, >> >> Yes, filename i

[Puppet Users] Uninstalling/downgrading a module?

2012-04-30 Thread Chris Hirsch
Hey all, Are there any patterns or recommendations on uninstalling or downgrading a puppet module (read as software) on a node? An example would be that we're running with =>latest or a specific version of rpms and have decided that there is a bug or problem with the software and that we we

[Puppet Users] Dashboard with RackbaseURI / and RailsAutoDetect off

2012-06-12 Thread Chris Lee
Hi all I am testing an installation on SLC 6.2 I am trying to configure my Vhost so that RailsAutoDetect is set to off, and RackBaseURI / However I keep in getting an error as follows: *Error message:* No such file or directory - config.ru *Exception class:* Errno::ENOENT *Application r

[Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-13 Thread Chris Price
hensive, robust support for handling string encoding.) We are definitely interested in hearing more details about your setup if this does cause you any problems. Thanks for the feedback! Chris On Wednesday, June 13, 2012 6:06:38 AM UTC-7, jcbollinger wrote: > > > > On Wednesday, Jun

Re: [Puppet Users] Re: HTTP 400 errors when using storeconfigs

2012-06-14 Thread Chris Price
way to get the file from you. Thanks! Chris On Thursday, June 14, 2012 4:29:17 AM UTC-7, Matthew Burgess wrote: > > So, continuing this saga, I decided yesterday to try and make use of > puppetdb as it's supposed to have performance improvements over and > above storeconfigs.

Re: [Puppet Users] Re: puppetdb: UTF-8 byte sequence

2012-06-14 Thread Chris Price
again for the feedback! On Thursday, June 14, 2012 3:20:07 AM UTC-7, A_SAAS wrote: > > Hi, > > I have no idea how I can help, tell me what to do and I would be glad to > help. > > > Regards, > Jeremy MAURO > > > On Thu, Jun 14, 2012 at 12:11 AM, Chris Price w

[Puppet Users] Re: Dashboard with RackbaseURI / and RailsAutoDetect off

2012-06-18 Thread Chris Lee
Has anyone ever got this right before? -- 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/-/DiGW9XkhIF4J. To post to this group, send email to puppet-users@googl

[Puppet Users] Fwd: possible changes to puppet config file

2012-06-25 Thread Chris Price
ll specify environments in there as well, though we probably should move those to a separate config file in the future.) This is filed as a ticket here: http://projects.puppetlabs.com/issues/15212 Would love to hear any feedback that anyone has on this topic! Thanks Chris -- You re

Re: [Puppet Users] Fwd: possible changes to puppet config file

2012-06-28 Thread Chris Price
On Thursday, June 28, 2012 1:40:39 AM UTC-7, David Schmitt wrote: > > If you're at it: It is ugly that an environment "master" will > automatically pull in the puppetmaster settings too. Especially if the > manifests are in git and every branch is an environment. David, Thanks for the feedbac

Re: [Puppet Users] How to manage many nodes easily?

2011-06-21 Thread Chris Phillips
I would see a principle whereby nodes should not ever be defined within the manifest code at all. To me the manifests should be written to be very generic, and then use ENC's to modify their behaviour at a "user" level. There is still a lot of inconsistency within Puppet as to how device specific d

[Puppet Users] Extlookup and stages

2011-06-22 Thread Chris Phillips
the right time?? Currently i've just left the declarations in templates.pp however the docs explicitly state putting them in site.pp so something is awry... Any info appreciated. Thanks Chris -- You received this message because you are subscribed to the Google Groups "Puppet User

Re: [Puppet Users] using memorysize fact in manifests

2011-06-30 Thread Chris Phillips
rsion of the function when it's already there. Is it not possible to copy the code directly from utils/memory.rb in facter? Chris On 30 June 2011 13:00, Martijn Grendelman wrote: > On 30-06-11 11:20, Matthias Saou wrote: > > Andreas Kuntzagk wrote: > > > >&g

Re: [Puppet Users] using memorysize fact in manifests

2011-06-30 Thread Chris Phillips
l =~ /^(?:Buffers|Cached):\s+(\d+)\s+\S+/ memsize_raw += $1.to_i end end end memsize_raw end end end Thanks Chris On 30 June 2011 13:29, Chris Phillips wrote: > > Well that's odd, I was looking at the

[Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-05 Thread Chris Phillips
ing is returning the right exit codes and such, so why after being very clearly told that puppet is NOT running does it stop it anyway, and terminate? 2.6.7 btw, eagerly awaiting 2.6.9 rpms in the yum repo. Thanks Chris -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] proposed syntax: order { }

2011-07-05 Thread Chris Phillips
adjustment to stages. Maybe more dynamic substages... main.a, main.b or something as actually different stages would cause all sorts of mess if treated this glibly. If it were possible to run multiple stages within a single class (you can't, right?) then that'd nearly be the solution alre

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-05 Thread Chris Phillips
is absolutely fine, it's just getting implemented wrong sometimes. Thanks Chris On 5 July 2011 10:42, Ken Barber wrote: > What does your service {} block look like? Are you using hasstatus => > true? For example: > > service { "puppet": > ensure => running, >

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-05 Thread Chris Phillips
e as described, and I wouldn't expect that what I did (commenting out the ensure / enable) would actually do anything like clearing any old pid files or anything... And it's by no means prevalent on any of the rhel5 systems we have. Thanks Chris -- You received this message because you

[Puppet Users] Dashboard resurrecting deleted nodes

2011-07-06 Thread Chris Phillips
ported". I just deleted one, did the search again and POW! it's back again. Does this sound familiar or should I go open a bug (against 1.1.0) Thanks Chris -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-11 Thread Chris Phillips
On 5 July 2011 16:26, Chris Phillips wrote: > > > On 5 July 2011 14:24, Martin Alfke wrote: > >> On 07/05/2011 03:19 PM, Brian Gallew wrote: >> > I was seeing the behavior on my Solaris boxes when running Puppet under >> > SMF. The issue, in my case, was tha

Re: [Puppet Users] puppet terminating - continually forcing itself to stop

2011-07-11 Thread Chris Phillips
On 11 July 2011 14:54, Dominic Cleal wrote: > On 11/07/11 09:18, Chris Phillips wrote: > > Coming into work this morning I've seen a bunch of func processes have > > stopped and puppet is doing nothing at all about it, despite a manifest > > advising something e

Re: [Puppet Users] Puppet 2.7.x and Facter 1.6 packages for Redhat/CentOS 5

2011-07-14 Thread Chris Phillips
sh 2.7.x into the > fedorapeople.org repos. I haven't had enough time the past few weeks > to make that happen, so I'm a little behind. How does this relate to yum.puppetlabs.com? That's where I installed 2.6.7 from. Thanks Chris -- You received this message because you a

Re: buglet (with rpms from tmz) Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.9rc1 is available

2011-07-15 Thread Chris May
Did anyone ever post a bug, or find a solution for this? I've just upgraded some of our Solaris boxes (using OpenCSW) to 2.6.9 and I'm seeing the same behaviour. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the w

Re: [Puppet Users] yum.puppetlabs.com re-do

2011-07-26 Thread Chris Phillips
This doesn't seem to have been done yet any progress? I'd like to look at a 2.7.2 upgrade fairly soon and there seems no properly consistent way to get the RPM's for this. Thanks Chris On 15 July 2011 21:35, Michael Stahnke wrote: > I'd like to reorganize yum.puppe

[Puppet Users] Question on accessing a variable from another class

2011-08-09 Thread Chris Hirsch
s the ldap::variables_common which should then define $ldap_cname and the file /etc/rep.xml requires ldap::variables_common before the template. Can anybody kindly show me the error of my ways? Thanks! Chris -- Examples Modules Below -- modules/ldap/manifests/init.pp: class ldap { variables_commo

[Puppet Users] Starting httpd with Passenger on CentOS6 throws SSLCertificateFile does not exist or is empty error

2011-09-03 Thread Chris Doherty
Hi, all. I'm having a problem that I'm virtually certain is a perms issue, but I can't figure out where it's going wrong. The puppetmaster server is a CentOS6 x64 minimal install. Puppet was installed from the epel-testing repository (2.6.6-1) and an updated SELinux policy loaded to allow it to

Re: AW: [Puppet Users] Export variables into other classes

2011-09-22 Thread Chris Picton
agios issue. Cheers Bernd -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet- us...@googlegroups.com] Im Auftrag von Chris Gesendet: Donnerstag, 22. September 2011 15:06 An: Puppet Users Betreff: [Puppet Users] Export variables into other classes Hi all I have

  1   2   3   4   >