[Puppet Users] Re: setting file seltype and service refreshes ...

2008-12-31 Thread Andrew Shafer
What version of Puppet do you have? Anyone else seeing this? On Wed, Dec 31, 2008 at 12:53 PM, gary wrote: > > Hello, > > I have various files where i set the SELinux type (seltype). It gets > set everytime puppet runs even if the file doesn't change. Adding a > refresh to a file also causes t

[Puppet Users] Re: custom package provider troubles

2008-12-31 Thread Andrew Shafer
> Turns out there are some differences in implementation between pkgutil > and pkg-get. I'm not good enough at puppet plugin development nor > ruby to fix the plugin, but I'll keep trying. > > Properties, Types and Providers is the part of the system that I personally understand the best. If you

[Puppet Users] Re: solution: excluding packages via yum

2008-12-31 Thread Tim Harper
OK, I misunderstood you, I interpreted you were saying there was a puppet "yum" type (as in an enhanced version of the package type). Still, this is a great approach and solves the issue. Thank you very much. Tim On Wed, Dec 31, 2008 at 12:51 PM, gary wrote: > > Hello Tim, > > You can specify

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
I found the issue: my mass propagation script was blowing away the server cert information when deploying the client certs to the machines. Making me feel really, really silly, and wishing I had the last 2 hours back. Tim On Wed, Dec 31, 2008 at 12:30 PM, Tim Harper wrote: > It also may be not

[Puppet Users] setting file seltype and service refreshes ...

2008-12-31 Thread gary
Hello, I have various files where i set the SELinux type (seltype). It gets set everytime puppet runs even if the file doesn't change. Adding a refresh to a file also causes the service to restart everytime. Anyone else see this? Gary --~--~-~--~~~---~--~~ You rec

[Puppet Users] Re: solution: excluding packages via yum

2008-12-31 Thread gary
Hello Tim, You can specify a repo like this: [mysql-percona] ... enabled=1 priority=20 exclude=mysql-devel,... http://wiki.centos.org/PackageManagement/Yum/ProtectBase http://wiki.centos.org/PackageManagement/Yum/Priorities I have the CentOS repos mostly set at priority 1 and then EPEL at a lo

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
It also may be noteworthy to mention that I'm using the same cert for more than one machine. It looks like this may be what's messing things up. I was hoping to have a way to automatically connect a new machine to puppet with out having to pair a new cert. I guess I'm wrong in my approach. Tim

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
GMAIL is driving me crazy... i have no idea why it started to mess up like this. That's an interesting idea: the client and the server are on the same machine. I wiped out the /var/puppet/ssl directory and /var/puppet, and regenerated the cert from scratch. Still the same error :( On Wed, Dec 3

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
GMAIL is driving me crazy... i have no idea why it started to mess up like this.That's an interesting idea: the client and the server are on the samemachine.I wiped out the /var/puppet/ssl directory and/var/puppet, and regenerated the cert from scratch. Still the sameerror :(On Wed, Dec 31, 2008 a

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
That's an interesting idea: the client and the server are on the same machine.I wiped out the /var/puppet/ssl directory and /var/puppet, and regenerated the cert from scratch. Still the same error :(TimOn Wed, Dec 31, 2008 at 12:05 PM, RijilV wrote:2008/12/31 Tim Harper

[Puppet Users] Re: tlsv1 alert decrypt error

2008-12-31 Thread RijilV
2008/12/31 Tim Harper > I'm using the standard webrick server with puppet, and I just started > getting this today (for no apparent reason). > > info: Loading fact custom_facts > info: Retrieving plugins > err: /File[/var/puppet/lib]: Failed to generate additional resources during > transaction:

[Puppet Users] tlsv1 alert decrypt error

2008-12-31 Thread Tim Harper
I'm using the standard webrick server with puppet, and I just started getting this today (for no apparent reason). info: Loading fact custom_facts info: Retrieving plugins err: /File[/var/puppet/lib]: Failed to generate additional resources during transaction: Certificates were not trusted: tlsv1

[Puppet Users] Re: problem with my filebucket and passenger

2008-12-31 Thread Jeff Frost
On Tue, Dec 30, 2008 at 7:16 AM, Christian Hofstaedtler < hofstaedt...@inqnet.at> wrote: > > I've just checked on my installation, and filebucket seems to work > fine (under passenger). > > For testing, I put these into the manifest: > filebucket { main: server => $servername } > File { backup =

[Puppet Users] Re: custom package provider troubles

2008-12-31 Thread Carl Caum
On Dec 31, 2008, at 11:09 AM, Andrew Shafer wrote: > > Two questions > Can we see the provider code? (specifically the line that starts the > block) Puppet::Type.type(:package).provide :pkgutil, :parent => :sun, :source => :sun do Turns out there are some differences in implementation betw

[Puppet Users] Re: Conflicting gem / rpm names

2008-12-31 Thread Tim Harper
Well, apparently nobody knows an easy solution.I ended up create my own ruby-enterprise-mysql rpm package, and all my troubles went away. (though this is still an issue I'd like to know the answer to).TimOn Tue, Dec 30, 2008 at 8:36 AM, Tim Harper wrote:I'm running in to an

[Puppet Users] Re: solution: excluding packages via yum

2008-12-31 Thread Tim Harper
Hi Gary, That sounds fantastic. I was looking for such a thing - where can I find it? Tim On Tue, Dec 30, 2008 at 8:06 PM, gary wrote: > > Hello Tim, > > Yum also supports specifying priorities and exclusions per repo. :) > The puppet yum repo type also lets you configure these settings. > > G

[Puppet Users] Re: custom package provider troubles

2008-12-31 Thread Andrew Shafer
Two questions Can we see the provider code? (specifically the line that starts the block) Does it work on the next pass? Also, for the plugin the dir structure should end 'package/pkgutil.rb' Andrew On 12/31/08, Carl Caum wrote: > I have written a custom package provider for the pkgutil utili

[Puppet Users] custom package provider troubles

2008-12-31 Thread Carl Caum
I have written a custom package provider for the pkgutil utility on Solaris 10. Pkgutil replaces pkg-get which is not deprecated. All I did was modify the Blastwave provider to use pkgutil instead of pkg- get. I've tried two approaches to get the provider on to the client. First, I creat

[Puppet Users] Offtopic: package inventory tracking

2008-12-31 Thread John Philips
Hey guys, Recently I had to update the nagios-plugins package on our systems to deal with the upcoming leap second. Of course this was a piece of cake with puppet! It led to some ideas popping into my head... It would be cool if I could find out which systems still had the old version install