Hi
I have created virtual resource in my test module
#-(r...@puppet-master)-(/etc/puppet/modules/staging/test/manifests)-#
> #-(0)> cat /etc/puppet/modules/staging/test/manifests/init.pp
>
> class export_file {
> @@file { "/var/lib/puppet/test_file" :
> content => "$fqdn" ,
>
Attaching mysql output
On Wed, May 20, 2009 at 12:51 PM, saurabh verma wrote:
> Hi
>
> I have created virtual resource in my test module
>
> #-(r...@puppet-master)-(/etc/puppet/modules/staging/test/manifests)-#
>> #-(0)> cat /etc/puppet/modules/staging/test/manifests/init.pp
>>
>> class export_f
On 2009-May-19, at 4:09 PM, David Lutterkort wrote:
> Think of the subtree under /2 etc. as a record - in almost all cases,
> these records have some notion of primary key;
Which is why I wonder why /etc/inittab doesn't just use the 'id' field
instead of assigning a number, or why /etc/hosts d
On Wed, 2009-05-20 at 12:51 +0530, saurabh verma wrote:
> Hi
>
> I have created virtual resource in my test module
[snip]
> I can't understand where I'm wrong here , Please let me know if I'm
> not clear in explaining my problem .
You forgot something important, which version of puppet are y
As my project with puppet grows Id like to some extent manage network
devices as well, starting off with some basic inventory stuff like
pulling facts and pushing a config shouldent be too hard? This has to
be done in a client-less mode, is this something thats encouraged or
is the developing part
I think that the problem is that I have another case $operatingsystem
in the baseapps class that my basenode includes. I don't fully
understand why, but it seems to me that you can only use a variable
once.
Regards,
Joe Kotran
On May 20, 12:03 am, jkotran wrote:
> I am struggling with a mu
On May 19, 2009, at 1:50 PM, Jeff wrote:
>
> Hi,
>
> We're doing a disaster recovery exercise and one server is giving us
> fits. It logs into the puppetmaster and exchanges keys then throws the
> following error:
>
> err: Could not retrieve configuration: Uncaught exception no such file
> to loa
On May 16, 2009, at 4:29 PM, Frank Sweetser wrote:
>
>
> Recently, through no obvious change that I can find, I started
> getting these
> messages on each puppet run on two hosts:
>
> Sat May 16 16:52:17 -0400 2009
> //Node[fedora.wpi.edu]/ntp_client/File[/etc/ntp.conf]/checksum
> (notice):
>
On May 19, 2009, at 3:18 AM, Peter Meier wrote:
>
> Hi
>
>> but attempting to jerry-rig the same behavior by reading in an
>> arbitrary file on the puppetmaster system will not work (without my
>> kluge approach). So, I guess barring a change in puppet to only fetch
>> function results when that
On May 19, 2009, at 9:47 AM, seph wrote:
>
> I'm running into some problems with the iptables module. Or with
> puppet
> itself, I'm not really sure.
>
> I'm running puppet version 0.24.8-1 on ubuntu using the debian
> packages. Both on the master and the clients.
>
> I'm using the iptables mod
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 someone could clarify my understanding of how this works: If
> I have
>
> Class a {
> some_resource{x:}
> some_resource{y:}
> }
>
> Class b {
> some_resour
On May 19, 2009, at 8:07 PM, Drew Morone wrote:
> Having a problem with cert negotiation between client and server.
>
> client:
> CentOS 4.4
> 2.6.9 kernel
> ruby 1.8.1-7
> puppet 0.24.8
>
>
> Server:
> Debian 4
> 2.6.9 kernel
> ruby 1.8.7
> 0.24.8-1
>
> Client:
> Launch puppetd with -w30
>
> Ser
Brilliant, thanks Luke.
Just for the benefit of any future google-searchers, here's a fixed
version of my previous pseudocode that actually works, and
demonstrates this behaviour. A combination include+require function,
as per 0.25, will neaten this up nicely.
class a {
# no guarantee as to whi
On May 13, 2009, at 9:12 AM, Evan Hisey wrote:
>
> Okay, I am sure virtual resources are a good idea. The problem is
> other than may be for users I need to include in multiple places, I
> have not idea of teh right way to use them. I am looking for I guess
> the best practice in using virtual re
I'm trying to fix a bug in facter so that I can submit a patch and
all, but I'm in need of some good documentation of this code
construct. Unfortunately, every search engine I know of strips out
such symbols. I've deduced that it calls an external command and
captures stdout, but need more detai
Luke Kanies writes:
> Run puppetd with --trace --no-daemonize --debug and leave it running
> like that. The stack trace should point you to where the problem is
> in your iptables module.
Ah, this certainly looks like more of a stack trace, though I'm not
really sure how to interpret it.
Hi Rob,
Rob McBroom wrote:
> err: //was/Augeas[shutdown]: Failed to retrieve current state of
> resource: Error sending command 'ins 0 after *[id=' with params ["si",
> "]"]/Command 'ins 0 after *[id=' is not supported
I think you're hitting this bug that I reported:
http://projects.reduc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
jkotran wrote:
> I think that the problem is that I have another case $operatingsystem
> in the baseapps class that my basenode includes. I don't fully
> understand why, but it seems to me that you can only use a variable
> once.
>
That shouldn't b
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
John Florian wrote:
> I'm trying to fix a bug in facter so that I can submit a patch and
> all, but I'm in need of some good documentation of this code
> construct. Unfortunately, every search engine I know of strips out
> such symbols. I've deduced
I get these stack traces after setting up puppetshow and browsing the
gui at http://site:3000/
http://pastebin.com/m459851f6
Any ideas? Im using 0.24.5 with rails 2.0.2 on a debian 5.0.1..
/flash
--~--~-~--~~~---~--~~
You received this message because you are su
On Wed, 2009-05-20 at 09:45 -0400, Rob McBroom wrote:
> On 2009-May-19, at 4:09 PM, David Lutterkort wrote:
>
> > Think of the subtree under /2 etc. as a record - in almost all cases,
> > these records have some notion of primary key;
>
> Which is why I wonder why /etc/inittab doesn't just use t
James Turnbull writes:
> This is the beta1 release of Puppet 0.25.0.
>
> It is available at:
>
> http://reductivelabs.com/downloads/puppet/puppet-0.25.0beta1.tar.gz
>
> This is not production ready code - it is a beta release for testing. The
> beta is largely feature complete and the extent
Hi all,
I'm trying to get a puppet daemon to run on the same host as a
puppetmaster, and I'm seeing an interesting problem on 0.24.8 on
Solaris.
One of the rules is to push out a current puppet.conf - heres the rule
I'm using:
file { puppetconf:
path => $operatingsystem ? {
Hello there
At this stage i have epel deployed to all new hosts, but it's disabled
by default. In short i don't fully trust the repo (and i'll look into
it further and this may render this post irrelevant for now), but:
how can i deploy packages from an optional, and by default disabled
repo? us
Yeah ... that's what i thought. Thanks though :)
--~--~-~--~~~---~--~~
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,
Luke Kanies wrote:
> On May 13, 2009, at 9:12 AM, Evan Hisey wrote:
>
>> Okay, I am sure virtual resources are a good idea. The problem is
>> other than may be for users I need to include in multiple places, I
>> have not idea of teh right way to use them. I am looking for I guess
>> the best pra
which version of ruby? if its 1.87 than add this file in the
config/initializers directory
cat ruby-187.rb
unless '1.9'.respond_to?(:force_encoding)
String.class_eval do
begin
remove_method :chars
rescue NameError
# OK
end
end
end
On Thu, May 21, 2009 at 8:21 AM, flas
Just thinking about it a bit more... You could control that cron job
from puppet,
that would give you the ability to change it as you require..
Something like:
cron { puppetd:
command => "/usr/local/bin/puppetd --onetime",
user => root,
hour => 2,
minute => 0
}
Obviously this sti
Luke Kanies wrote:
> You've almost assuredly come across some kind of internal race
Wh!
> condition, albeit one I've not seen before. We've refactored all of
> this code in 0.25 (thankfully), but the 0.24 code paths for getting
> checksum and content information around was, um, horri
Hey Greg,
What a timely email. Just this afternoon I was working on bringing a new
.24.8 puppetmaster online in effort to test migrating to using
apache/passenger as a frontend.
While troubleshooting, I tried running the tried and true puppetmasterd
in lieu of the apache/passenger frontend in
chakkerz wrote:
> Hello there
>
> At this stage i have epel deployed to all new hosts, but it's disabled
> by default. In short i don't fully trust the repo (and i'll look into
> it further and this may render this post irrelevant for now), but:
>
> how can i deploy packages from an optional, and
you can always use the mini-daemon puppetlisten-
http://github.com/ohadlevy/puppet/tree/266e9108c268daf0b2e319bc202d51101b6f594f/ext/puppetlisten
Cheers,
Ohad
On Thu, May 21, 2009 at 10:39 AM, Greg wrote:
>
> Just thinking about it a bit more... You could control that cron job
> from puppet,
>
comment out the SSLCARevocationFile option in apache.
cheers,
Ohad
On Thu, May 21, 2009 at 11:25 AM, jeff wrote:
>
> Hey Greg,
>
> What a timely email. Just this afternoon I was working on bringing a new
> .24.8 puppetmaster online in effort to test migrating to using
> apache/passenger as a fr
Not running Apache - I'm still using a WEBrick based setup, mostly
because Apache -> Mongrel
isn't playing ball... But that's a different story...
Further analysis has shown me that there is an error message in
WEBrick's masterhttp.log file:
[2009-05-21 13:54:30] ERROR OpenSSL::SSL::SSLError: SS
OK... I have finally cleaned up most of the mess this has created...
One of the issues I guess was that I was also trying to move the
puppetca from one puppetmaster to another...
I now have a situation where I have 2 puppetmasters, one "master"
and one "slave-master"... The master holds the pupp
35 matches
Mail list logo