On Sat, Sep 3, 2011 at 1:00 AM, genkuro wrote:
> I'm guessing the 0.2.5 -> 2.x migration must be common. Can I expect
> this to be a slam dunk?
We recently did a large (100 nodes) migration from 0.25 to 2.6. The
biggest issue was ensuring all our modules worked without any
unexpected changes.
I'm also seeing the same problem I believe.
I'm running on the following
puppet 2.7.3
ruby 1.8.5
centos 5
I have a defined resource in the module called accounts
class accounts::virtual {
define createsysuser ($val) {
...
}
}
In another class in the same module, I have
On Sep 2, 10:46 am, Peter Bukowinski wrote:
> On Friday, September 2, 2011 at 10:46 AM, Mitch Anderson wrote:
> > I'm just starting out with puppet, and I'm trying to get one of the
> > new environments I'm managing using puppet. The site is apache/php,
> > so I've been trying to use one of the pr
On Fri, Sep 2, 2011 at 12:06 PM, Douglas Garstang
wrote:
>
> On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar wrote:
>
>>
>>
>> - Original Message -
>> >
>> > At the end of the day, this all seems to be a limitation with
>> > mcollective. It can only read facts from one source, either facter
So... a general question.
When sourcing node variables, what is the better approach...
a) In each module included by the node, use something like extlookup to get
the variables you need, as you need them, OR
b) Have your external node script gather and dump _all_ the variables the
the node may ne
On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> >
> > At the end of the day, this all seems to be a limitation with
> > mcollective. It can only read facts from one source, either facter
> > or a yaml file. I believe facter is the current source, and peopl
OK so I solved the problem; apparently the config.ru was corrupt/wrong (not
sure exactly). The permissions were fine, but apparently the content was
wrong. I made a copy from a working server and everything started to work
fine.
Thank you Den you pointed me towards the right solution.
On Fri, S
- Original Message -
>
> At the end of the day, this all seems to be a limitation with
> mcollective. It can only read facts from one source, either facter
> or a yaml file. I believe facter is the current source, and people
> have written scripts that rely on that. I can write a custom
Here is a very simple manifest that recreates this error:
class foo {
define bar ( $val ) {
notice("bar($val)")
}
}
$some_hash = { 'name' => "some_name" }
foo::bar { "$some_hash['name']": }
Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid
resource type foo::bar a
On Thu, Sep 1, 2011 at 10:30 PM, Matt Moor wrote:
> On 2/09/11 3:03 PM, Douglas Garstang wrote:
>
>> I really appreciate your reply, but I've inherited a mess that isn't easy
>> to fix, and the most appropriate solution for right now isn't always the
>> "best" solution. When the boss says "GET IT
I have spoken too soon about the nil value causing the problem. When I
set the default value from nil to "something" the error came back. It
seems that just using a hash value in the name to be expanded is what
the real issue is.
--
You received this message because you are subscribed to the Goog
> Then let's take a step back. Your class is rather complicated, and
> all the details may be confusing (or even causing) the issue. For
> example, you may have a nesting problem that is difficult to see in
> all that code. I suggest putting each 'define' in its own file to
> help make things c
In case you decide to go with an ENC, here's the one we use. It takes a
YAML file for each host providing environment, classes, and parameters to be
used. All node-specific data is kept in the same YAML file and either
provided via the ENC or pulled in via Hiera at the class level.
#
On Friday, September 2, 2011 at 10:46 AM, Mitch Anderson wrote:
> I'm just starting out with puppet, and I'm trying to get one of the
> new environments I'm managing using puppet. The site is apache/php,
> so I've been trying to use one of the prewritten apache modules...
> without any luck... so I
On Fri, Sep 2, 2011 at 09:19, Nan Liu wrote:
> On Fri, Sep 2, 2011 at 6:14 AM, Ryohei Suzuki
> wrote:
>> I have one question.
>> I changed the manifest of a Puppet.
>> Then, if you do not restart the Puppetmasterd, manifest did not run.
>> What's the functional movements are correct?
>
> You sho
On Fri, Sep 2, 2011 at 6:14 AM, Ryohei Suzuki wrote:
> I have one question.
> I changed the manifest of a Puppet.
> Then, if you do not restart the Puppetmasterd, manifest did not run.
> What's the functional movements are correct?
You should not have to restart the puppet master. Try running pup
Hi,
thank you verymuch for the explanations.
I will first try with a combination of "replace => false" and custom "Line"
resource to see if I can easily concat and update my configuration file
content.
Matteo
2011/9/1 jcbollinger
>
>
> On Aug 31, 10:52 am, Brian Gallew wrote:
>
> > Call me cr
genkuro wrote:
> Out of curiosity, why the big version numbering jump for Puppet? The
> releases go from 0.x straight to 2.x.
The big jump was because our release numbering was wrong - major
feature-heavy releases occurred within minor release numbering. So when
we had a chance we changed the nu
On Thu, Sep 01, 2011 at 08:31:55PM -0400, Basil Baby wrote:
>Few of my puppet clients (puppet 0.24.8,� ruby 1.8.5, facter 1.5.2) are
>dying with out any error messages on on syslog.� I cannot see much system
>resource usage on these nodes.
>
>What is the best way to troubleshoot th
On Fri, Sep 02, 2011 at 03:14:51AM -0700, Ryohei Suzuki wrote:
> Hi
>
> I have one question.
> I changed the manifest of a Puppet.
> Then, if you do not restart the Puppetmasterd, manifest did not run.
> What's the functional movements are correct?
If I recall correctly, you should touch /etc/pup
I'm just starting out with puppet, and I'm trying to get one of the
new environments I'm managing using puppet. The site is apache/php,
so I've been trying to use one of the prewritten apache modules...
without any luck... so I've ended up taking snippits of a few
different ones... anyway, I'm get
Few of my puppet clients (puppet 0.24.8, ruby 1.8.5, facter 1.5.2) are
dying with out any error messages on on syslog. I cannot see much system
resource usage on these nodes.
What is the best way to troubleshoot the root cause of the problem?
-Basil
--
You received this message because you ar
I inherited a 0.2.5 puppet installation. I'm totally new to puppet.
No clue. I have managed clusters with ROCKS before. The big ideas
translate readily. So maybe just half a clue.
Out of curiosity, why the big version numbering jump for Puppet? The
releases go from 0.x straight to 2.x.
Puppe
On 2/09/11 3:03 PM, Douglas Garstang wrote:
I really appreciate your reply, but I've inherited a mess that isn't
easy to fix, and the most appropriate solution for right now isn't
always the "best" solution. When the boss says "GET IT DONE", you
don't have time to refactor someone elses mess an
On Thu, Sep 01, 2011 at 09:07:37PM +0200, Reinoud van Leeuwen wrote:
> On Thu, Sep 01, 2011 at 11:58:04AM -0700, Russell Van Tassell wrote:
> > I'm currently in the same position, and the solution I've proposed (and am
> > currently working on) involves using a central repository (likely git). The
Hi
I have one question.
I changed the manifest of a Puppet.
Then, if you do not restart the Puppetmasterd, manifest did not run.
What's the functional movements are correct?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group,
Does anyone have any idea how to work around the following error?
yaml.constructor.ConstructorError: expected a mapping node, but found
scalar
in "/etc/puppet/reports/albacore/201108292003.yaml", line 3, column
5
i've created classes to handle all the mapping node data (99% of the
puppet report
>
> All I want to be able to do is set a variable on a per node basis that
> defines a functional grouping, ie a class of server, and query that with
> mcollective. Should not be difficult to do.
>
It isn't and it seems to me that you already know how to do it, just do not
try to assign that
On 21 Jul 2011, at 19:02, John Lyman wrote:
> I would be especially interested if anyone has a good way to manage /
> etc/system. I am currently using the concat module, but it's not the
> best method. I know the "puppet way" would be to use augeas, but I
> haven't had any luck compiling it with
On 2011 9 1 18:44, "Galed Friedmann" wrote:
>
> Hello,
> My organization is currently running a complete production environment on
Amazon EC2, and I'm now trying to implement some automations and scaling
with puppet.
> I have several instances which I want them to be almost automatic, meaning
that
Check the ownership of the config.ru. Can't remember if it has to be puppet or
apache, but the puppet docs should tell you.
Cheers
Den
On 02/09/2011, at 17:04, "Marek Dohojda" wrote:
> Actually I just copied the apache from one to another (they are same version
> anyway); so it has to be iden
Actually I just copied the apache from one to another (they are same version
anyway); so it has to be identical.
From: Scott Smith
Sent: Thursday, September 01, 2011 6:55 PM
To: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Weird passenger problem
md5sum your apache configs and com
32 matches
Mail list logo