Hello,
I'm attempting to use the camptocamp / puppet-apache module on one of
my CentOS 6 hosts. I defined include apache on my node, imported the
modules, and then executed puppetd to run. This is what I see when I
run it:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: N
Hi Will,
I don't use the module but every time I see the word 'undef' in an error
I think "a variable is used before being defined".
Line 80:
file { "${apache::params::conf}/mods-available":
ensure => directory,
source => $lsbmajdistrelease ? {
5 => "puppet:///modules/apache/e
> IIRC you only get LSB Facts if you have the necessary LSB package,
> which is redhat-lsb on RHEL I think.
That was it; redhat-lsb package was missing, which begs the question,
why not require it in the module?
There is another error (Puppet::Parser::AST::Resource failed with
error ArgumentError
Hi Brice,
Thanks for the reply. I've been looking at what you sent me and now I
think I meet all these requirements.
Currently, each node accesses the settings every hour, which means
that from 1927 to 1960 = 32 nodes checking every minute.
I use Passenger with apache, maybe it's the best solution
I figured it out, I needed the puppet-common modules installed and
included.
Thank you for your help this morning.
On Dec 20, 1:30 am, "Will S. G." wrote:
> > IIRC you only get LSB Facts if you have the necessary LSB package,
> > which is redhat-lsb on RHEL I think.
>
> That was it; redhat-lsb p
"Invalid resource type" is exactly what it sounds. Consider the following:
file { "/etc/passwd: }
woofwoof { "/tmp": }
service { "httpd": }
If you don't have any extra Custom Types or Defined Types on your
Master, then the "woofwoof" resource type would give you the same error.
What you'll wa
One other thing to look at is how many nodes are hitting your server at once.
If you're not using the ip_to_cron function from the Cron Patterns
page, you might want to take a look at it.
http://projects.puppetlabs.com/projects/1/wiki/Cron_Patterns
Some people are also using MCollective to to a
Hi all,
Every time I run puppet manually I see the message:
# puppetd --test --server $SERVER
info: Retrieving plugin
info: Loading facts in hwtype
info: Loading facts in odd_ip
info: Loading facts in default_gateway
info: Loading facts in hwtype
info: Loading facts in odd_ip
info: Loading facts
Is there a minimum version of ruby or puppet for it to work? I am open to
running this on my entire puppet tree (close to 53 modules and growing).
puppet-lint /etc/puppet/manifests
/usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint/plugin.rb:43:
warning: parenthesize argument(s)
Thanks.
I assume that the section in this:-
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Scalability
Stating that is doesn't work for 0.25 & 2.6 also applies to the 2.7.9
release that is the latest ?
Sharing an area via NFS/iSCSI/rsync'ing or whatever is potentially
viable does an
>
> Basically, yes. It's all to do with how unqualified variables are resolved.
>
> Try "class { '::passenger': }" instead to qualify the class as being in
> the root scope.
>
> HTH
>
> Dan
>
Thanks Dan that solved it.
--
You received this message because you are subscribed to the Google Groups
On Tue, 2011-12-20 at 07:14 -0800, ollies...@googlemail.com wrote:
> Thanks.
>
> I assume that the section in this:-
> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Scalability
>
> Stating that is doesn't work for 0.25 & 2.6 also applies to the 2.7.9
> release that is the latest ?
it'd be very great if the various best-practice definitions in the puppet
universe would match ;-)
Have fun, David
On Mon, 19 Dec 2011 22:11:53 +0100, Henrik Lindberg
wrote:
> I am also very interested in this to enable Geppetto to also provide the
> same feedback. One difficulty I have faced i
> That's easy: dedicate two host to be CAs only. One is the hot standby of
> the first one. You can either manually bring it up when the first one
> fails, or use something like drbd+pacemaker to do it automatically.
> Then have all your other masters run in "no ca" mode. Each can have a
> differe
On Tue, 2011-12-20 at 08:02 -0800, ollies...@googlemail.com wrote:
> > That's easy: dedicate two host to be CAs only. One is the hot standby of
> > the first one. You can either manually bring it up when the first one
> > fails, or use something like drbd+pacemaker to do it automatically.
> > Then
On Dec 20, 4:16 pm, Brice Figureau
wrote:
> On Tue, 2011-12-20 at 08:02 -0800, ollies...@googlemail.com wrote:
> > > That's easy: dedicate two host to be CAs only. One is the hot standby of
> > > the first one. You can either manually bring it up when the first one
> > > fails, or use something
On Tue, 2011-12-20 at 08:25 -0800, ollies...@googlemail.com wrote:
>
> On Dec 20, 4:16 pm, Brice Figureau
> wrote:
> > On Tue, 2011-12-20 at 08:02 -0800, ollies...@googlemail.com wrote:
> > > > That's easy: dedicate two host to be CAs only. One is the hot standby of
> > > > the first one. You can
Hi,
can somebody who understands the puppet codebase take a look at bug #9388?
I isolated the problem and it seems that the yaml cache files are not
properly updated when mongrel is used.
Cody Robertson added the the switch from GET to POST/PUT between 2.6.x and
2.7.x might be the problem and tha
On Tue, 2011-12-20 at 08:32 -0800, Dennis Jacobfeuerborn wrote:
> Hi,
> can somebody who understands the puppet codebase take a look at bug
> #9388?
> I isolated the problem and it seems that the yaml cache files are not
> properly updated when mongrel is used.
> Cody Robertson added the the switch
On Tue, Dec 20, 2011 at 6:32 AM, Arnau Bria wrote:
> Hi all,
>
> Every time I run puppet manually I see the message:
>
> # puppetd --test --server $SERVER
> info: Retrieving plugin
> info: Loading facts in hwtype
> info: Loading facts in odd_ip
> info: Loading facts in default_gateway
> info: Load
Confirming that was fixed and is available in 2.7.8+
On Tue, Dec 20, 2011 at 8:59 AM, Brice Figureau
wrote:
> On Tue, 2011-12-20 at 08:32 -0800, Dennis Jacobfeuerborn wrote:
>> Hi,
>> can somebody who understands the puppet codebase take a look at bug
>> #9388?
>> I isolated the problem and it s
We are developing in-house RHEL VM provisioning (similar to Satellite/
Spacewalk) along with a customized kickstart template, but also
including Puppet to handle the actual configuration of the
environment. One thing we need to see is does Puppet have a variable
that will deploy one module only onc
That should be fine as long as you're only running on Ruby 1.9. A fix for
this issue went into our 2.7.x branch yesterday [
https://github.com/puppetlabs/puppet/commit/933844567fbe4078cb76f2c089ced1cb6c4170b7].
I'd love to hear if that solves your problems, although I think on 1.9.2
it's functional
Hi:
I have a pretty general high-level question regarding application deployment
using puppet infrastructure.
Being new with puppet here we have a pretty simple module setup where we are
utilizing a basic package-file-service combo for an tomcat application server,
and with some additional war
Hi,
Windows - Puppet - Documentation seems to be lacking. I may not be
looking in the right place. Help?
I'm starting a second effort [1] with Puppet at work. Got the master
running, an agent (look we can change the login banner!). A fellow
from the Windows server team wandered over.
They l
Hi All,
We are going to setup two puppet masters, each will include the full
stack of services. Apache as the frontend on both load balancing to
the backend services on both. We will be using keepalived and VIP
whose A record is puppet.domain.
We would like to have the CA in active/active on the
I'm seeing this too, Debian 5.0.9 / puppet 2.7.9.
On Tue, Dec 20, 2011 at 16:32, Arnau Bria wrote:
> Hi all,
>
> Every time I run puppet manually I see the message:
>
> # puppetd --test --server $SERVER
> info: Retrieving plugin
> info: Loading facts in hwtype
> info: Loading facts in odd_ip
> i
On 2011-19-12 21:00, James Turnbull wrote:
>>
>>> So what can you do to help? Well firstly help us identify any syntax,
>>> language constructions, structures etc that have caused issues for you
>>> or that when used result in errors or issues. You can let us know about
>>> these in three ways
>>>
Hello all,
I was wondering if anyone happens to sit on a nice template library for
geppetto they would be willing to share?
kind regards,
--
Walter Heck
--
Co-founder @ Tribily (http://tribily.com)
In-depth Server Monitoring as a Service
--
Follow @tribily on Twitter and/or 'Like' our Facebook
hi all:
if we need to ensure a file exist in a folder that not yet been created.
puppet will simplely report error.
for example:
file { "/aaa/bbb/ccc/aaa"
ensure => 'present';
}
if directory ccc not yet been created, puppet client excute will get an
error message.
Does puppet have any fu
Walter Heck wrote:
>
>
> On 2011-19-12 21:00, James Turnbull wrote:
>
> So what can you do to help? Well firstly help us identify
> any syntax,
> language constructions, structures etc that have caused
> issues for you
> or tha
Christopher Johnston wrote:
> Is there a minimum version of ruby or puppet for it to work? I am open
> to running this on my entire puppet tree (close to 53 modules and
> growing).
>
> puppet-lint /etc/puppet/manifests
> /usr/lib/ruby/gems/1.8/gems/puppet-lint-0.1.7/bin/../lib/puppet-lint/plugi
Hi Brian,
Puppet support on Windows has evolved considerably since you last tried. I
recommend looking at this wiki page describing how to get started, what
types are supported, and other Windows considerations:
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
Josh
On Thu, Dec 15,
Here's how I do it, which IMHO works really well in most situations and is
much simpler. No external scripts, no custom functions. We take the IP
address of the system, strip out the periods, and modulo 30 it:
$cron_time1= generate('/usr/bin/env', 'sh', '-c', "printf $(($(echo
$::ipaddress | a
In our case the ssldir is on a shared filesystem.
On Mon, Dec 19, 2011 at 5:15 PM, Ryan Bowlby wrote:
> Hi All,
>
> We are going to setup two puppet masters, each will include the full
> stack of services. Apache as the frontend on both load balancing to
> the backend services on both. We will be
Any reason you can't do the following?
file { "/aaa/bbb/ccc"
ensure => 'directory',
}
Jeffrey.
On Thu, Dec 15, 2011 at 9:43 PM, chateau Xiao wrote:
> hi all:
> if we need to ensure a file exist in a folder that not yet been created.
> puppet will simplely report error.
> for example:
>
>
On Dec 20, 2011, at 9:49 AM, Swampcritter wrote:
> We are developing in-house RHEL VM provisioning (similar to Satellite/
> Spacewalk) along with a customized kickstart template, but also
> including Puppet to handle the actual configuration of the
> environment. One thing we need to see is does
If you really don't want ongoing configuration management then Puppet
may not be your tool of choice. Cobbler perhaps?
On Tue, Dec 20, 2011 at 10:41 AM, Craig White wrote:
>
> On Dec 20, 2011, at 9:49 AM, Swampcritter wrote:
>
>> We are developing in-house RHEL VM provisioning (similar to Satell
On Tue, Dec 20, 2011 at 08:49, Swampcritter wrote:
> We are developing in-house RHEL VM provisioning (similar to Satellite/
> Spacewalk) along with a customized kickstart template, but also
> including Puppet to handle the actual configuration of the
> environment. One thing we need to see is doe
On Tue, Dec 20, 2011 at 11:49 AM, Swampcritter wrote:
> We are developing in-house RHEL VM provisioning (similar to Satellite/
> Spacewalk) along with a customized kickstart template, but also
> including Puppet to handle the actual configuration of the
> environment. One thing we need to see is d
On Tue, Dec 20, 2011 at 8:49 AM, Swampcritter wrote:
> We are developing in-house RHEL VM provisioning (similar to Satellite/
> Spacewalk) along with a customized kickstart template, but also
> including Puppet to handle the actual configuration of the
> environment. One thing we need to see is do
An easy way to avoid messing up a development box as you describe is to not run
the puppet client on it.
Contrarywise, how about using tags ?
http://projects.puppetlabs.com/projects/1/wiki/Using_Tags
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is th
I am working on an idea for using my Cobbler-Server/PuppetMaster as a CA for
TLS/SSL (R)syslogging where the CA generates all the certs. That way,
bi-directional cert sync in unnecessary. The PuppetMaster becomes the
CertMaster.
“Sometimes I think the surest sign that intelligent life exists
- Nan Liu wrote:
> You can use a completely separate bootstrap environment if it's
> significantly different.
> # onetime
> puppet agent --environment bootstrap
> # later on
> puppet agent --environment production
>
> Or you can use a custom fact. Easiest way is either environment
> variable
Hello,
I created a module for modifying the base network settings on a
machine. However no matter what changes I make it keeps giving me the
error "has different MAC address than expected, ignoring" when the
network tries to startup.
I am testing this out on the puppet learning VM.
Does anyone s
Hello,
What are the VM's definitions of its network interfaces?
Also, if you are trying Linux, what are the contents of
/etc/udev/rules.d/70-persistent-net.rules ?
Charles Buckley
On Tue, Dec 20, 2011 at 1:41 PM, Luke wrote:
> Hello,
>
> I created a module for modifying the base network
On 2011-20-12 16:21, Walter Heck wrote:
looks nice so far, wish we could have this in geppetto soon :)
cheers,
--
Walter Heck
Just a quick note regarding Geppetto in this respect, and to let you
know what the plans are (I am not trying to hijack this thread :)...
I follow the lint project
On Tue, Dec 20, 2011 at 6:49 PM, Swampcritter wrote:
> We are developing in-house RHEL VM provisioning (similar to Satellite/
> Spacewalk) along with a customized kickstart template, but also
> including Puppet to handle the actual configuration of the
>
While being biased, I would recommend you
Hi,
Just curious if anybody had written a script to find systems that don't have
puppet installed by doing a port scan or something else.
I would like to have my puppetmaster send an email when it finds a system that
doesn't have puppet installed and possibly take action by installing it.
Does
49 matches
Mail list logo