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

2011-10-10 Thread Ken Barber
http://projects.puppetlabs.com/issues/10001 I noticed we are also missing the ':timeout' option. ken. On Sun, Oct 9, 2011 at 11:06 PM, John Warburton wrote: > On 8 October 2011 09:26, Adrien Thebo wrote: >> >> You can effectively override a fact by setting the weight, as follows >> >> Facter.a

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Jonathan Gazeley
On 08/10/11 21:22, Chris Phillips wrote: What better way to monitor the puppet runs than by executing that run as part of the check? I assume your Nagios plugin execution timeout must be insanely long? :) In the past I have considered using Nagios for things other than monitoring, and likewis

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Ohad Levy
On Mon, Oct 10, 2011 at 2:05 PM, Jonathan Gazeley wrote: > On 08/10/11 21:22, Chris Phillips wrote: >> >> What better way to monitor the puppet runs than by executing that run as >> part of the check? > > I assume your Nagios plugin execution timeout must be insanely long? :) > > In the past I hav

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Chris Phillips
On 10 October 2011 13:05, Jonathan Gazeley wrote: > On 08/10/11 21:22, Chris Phillips wrote: > >> What better way to monitor the puppet runs than by executing that run as >> part of the check? >> > > I assume your Nagios plugin execution timeout must be insanely long? :) > > In the past I have con

Re: [Puppet Users] Re: Package cannot be installed error.

2011-10-10 Thread Felix Frank
Hi, in case you're still wondering, you're lacking the public key for the repository that serves the hudson package. Make sure to import the key using apt-key, then run apt-get update. For your security, you should make sure to use verified keys for all the repos you use. HTH, Felix On 09/30/2

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Brian Gallew
Most of my puppet runs take ~15 seconds or so, however my Nagios servers take up to 4 minutes to complete. On Mon, Oct 10, 2011 at 7:00 AM, Chris Phillips wrote: > > > On 10 October 2011 13:05, Jonathan Gazeley > wrote: > >> On 08/10/11 21:22, Chris Phillips wrote: >> >>> What better way to mon

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Craig White
that always seems to redirect me to 'login' (even though I am passing the -u username:password) Craig On Oct 10, 2011, at 6:32 AM, Ohad Levy wrote: > On Mon, Oct 10, 2011 at 2:05 PM, Jonathan Gazeley > wrote: >> On 08/10/11 21:22, Chris Phillips wrote: >>> >>> What better way to monitor the p

[Puppet Users] Can I merge Virtual Resources?

2011-10-10 Thread Guy Matz
Hi! I've got a requirement that a few users need to have the same username, but different passwords on qa & prod server. The users are currently defined as @users which gets realized in an appropriate module, and I've been thinking about splitting out the users I need to have realized in differen

[Puppet Users] Announce: Facter 1.6.2. available

2011-10-10 Thread Michael Stahnke
Facter 1.6.2 is a maintenance release containing fixes, updates and refactoring. Primary new features include updated facts for DragonFly BSD, Amazon Linux and Windows. A few other facts have been added and updated. Full release notes below. This release is available for download at: http://pu

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Ohad Levy
On Mon, Oct 10, 2011 at 5:16 PM, Craig White wrote: > that always seems to redirect me to 'login' (even though I am passing the -u > username:password) > I'm guessing you have ssl redirection turned on and you are using http instead of https? Ohad > Craig > > On Oct 10, 2011, at 6:32 AM, Ohad Le

[Puppet Users] Re: More changes on yum.puppetlabs.com

2011-10-10 Thread Michael Stahnke
On Thu, Oct 6, 2011 at 10:34 AM, Michael Stahnke wrote: > Greetings, > > I'd like to remove the cruft (no longer maintained) areas of > yum.puppetlabs.com.  I fear they only cause confusion and offer > less-than-desirable experience for our users. > > I'd like to remove > > /base > /prosvc > /pors

[Puppet Users] Announce: Puppet Dashboard 1.2.2 Available

2011-10-10 Thread Michael Stahnke
This is a maintenance release of Puppet Dashboard 1.2.2. This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages as well as a tarball. RPMs are also available on yum.puppetlabs.com. See the Verifying Puppet Download sectio

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Craig White
On Oct 10, 2011, at 11:13 AM, Ohad Levy wrote: > On Mon, Oct 10, 2011 at 5:16 PM, Craig White wrote: >> that always seems to redirect me to 'login' (even though I am passing the -u >> username:password) >> > I'm guessing you have ssl redirection turned on and you are using http > instead of ht

[Puppet Users] update vulnerable packages only if installed

2011-10-10 Thread Jo Rhett
Am I overlooking a native way to update vulnerable packages only if they are already installed? There's no option to set a package to 'latest' only if installed. OnlyIf and Unless don't operate on package resources. (Yum/CentOS but I imagine the issue is the same for all platforms) No, running

Re: [Puppet Users] bug: --verbose on v2.6.6 doesn't always report changes. known and fixed in 2.7?

2011-10-10 Thread Jo Rhett
Nigel, just FYI I wanted to report that these issues are not the same. Yes, now that we have shifted to passenger it's clear that you have to run puppet twice to get the changes. But the original problem we saw was different: the changes did happen, but they weren't reported in the verbose out

Re: [Puppet Users] update vulnerable packages only if installed

2011-10-10 Thread Aaron Grewell
AFAIK there's no native way. I would do this with a set of defines wrapped around the yum-security package (which allows you to list and operate on security updates only). On Mon, Oct 10, 2011 at 12:22 PM, Jo Rhett wrote: > Am I overlooking a native way to update vulnerable packages only if the

[Puppet Users] can we move selinux attributes debugging into high level debug?

2011-10-10 Thread Jo Rhett
When I run "puppet agent --debug" I get about 1400 lines of selinux details, and about 120 lines of actual debug. These aren't actually changes to selinux attributes, just noting the selinux attribute of every file opened. I believe that this is unnecessary debug and makes it very difficult to

Re: [Puppet Users] update vulnerable packages only if installed

2011-10-10 Thread Jo Rhett
yum-security doesn't work with CentOS. On Oct 10, 2011, at 1:18 PM, Aaron Grewell wrote: > AFAIK there's no native way. I would do this with a set of defines wrapped > around the yum-security package (which allows you to list and operate on > security updates only). > > On Mon, Oct 10, 2011 at

Re: [Puppet Users] update vulnerable packages only if installed

2011-10-10 Thread Aaron Grewell
How annoying. You could hack it up after installing yum-changelog with 'yum changelog 1 | grep CVE' I guess. Not pretty. On Mon, Oct 10, 2011 at 2:36 PM, Jo Rhett wrote: > yum-security doesn't work with CentOS. > > On Oct 10, 2011, at 1:18 PM, Aaron Grewell wrote: > > AFAIK there's no native

[Puppet Users] /etc/init.d/mysql =fail mysqld=success

2011-10-10 Thread John Bower
Hello. This is my mysql-server.pp file, both master and client are runing ubuntu. class mysql-server { package { "mysql-server": ensure => installed } package { "mysql-client": ensure => installed } service { "mysql": enable => true, ensure => running, re

Re: [Puppet Users] /etc/init.d/mysql =fail mysqld=success

2011-10-10 Thread Scott Smith
1) not a puppet problem 2) run initdb On Oct 10, 2011 7:47 PM, "John Bower" wrote: > Hello. > > This is my mysql-server.pp file, both master and client are runing > ubuntu. > > > > > class mysql-server { > > package { "mysql-server": ensure => installed } > package { "mysql

Re: [Puppet Users] Re: Official puppetlabs position on cron vs puppet as a service?

2011-10-10 Thread Scott Smith
Most things are ok if you only have 10 servers On Oct 8, 2011 1:22 PM, "Chris Phillips" wrote: > My take on it is to run it from our nagios server. What better way to > monitor the puppet runs than by executing that run as part of the check? > retry intervals also help push changes out much quick