Hi,
Sorry if this is a basic question, but I can't find the answer in the
docs. I know about fully-qualified variables, but how can I reference a
type that is defined in a different class, so I can require/subscribe it?
In this simple example, what's the right syntax for making goodbye.txt
r
On 08/24/2011 11:54 AM, Jonathan Gazeley wrote:
> Hi,
>
> Sorry if this is a basic question, but I can't find the answer in the
> docs. I know about fully-qualified variables, but how can I reference a
> type that is defined in a different class, so I can require/subscribe it?
>
> In this simple
Does anyone have an idea?
Thanks you
On 16 août, 10:42, "ji...@goffaux.fr" wrote:
> Hello,
>
> I just set up Puppet / Passenger by following the documentation.
> For servers already authenticated key I do not encounter problems, but
> for new I have these errors:
>
> <-->
> root@server2:~# puppe
I'm not going to be of much help but I also get your first error message
from time to time and it goes away without having me do anything.
I'm talking about this one :
err: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certif
On Tue, 2011-08-23 at 11:00 -0700, Digant C Kasundra wrote:
> Is anyone else noticing slowness with 2.7.1? When I run puppet on my
> 2.6.8 box, it takes 11 seconds. On my second box with exactly the
> same catalog, it takes 35 seconds.
Is the problem while compiling catalog (ie the master) or wh
hello, I am using puppet-dashboard 1.1 with puppet 2.7.3
I have followed the instructions in the dashboard manual
http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html
http://docs.puppetlabs.com/guides/inventory_service.html
I can query the inventory service successfully using curl but
I am hoping someone can give me a pointer in the right direction
here. I am a bit stuck with this one.
I have this sort of set up in my Puppet 2.6.4 server.
class foo{
#if defined( Class[“ type-server-b”] ) {
# include tuning-module
#}
include apache
include mysql
#
On 24/08/11 11:13, Martin Alfke wrote:
On 08/24/2011 11:54 AM, Jonathan Gazeley wrote:
Hi,
Sorry if this is a basic question, but I can't find the answer in the
docs. I know about fully-qualified variables, but how can I reference a
type that is defined in a different class, so I can require/su
On Aug 24, 4:54 am, Jonathan Gazeley
wrote:
> Hi,
>
> Sorry if this is a basic question, but I can't find the answer in the
> docs. I know about fully-qualified variables, but how can I reference a
> type that is defined in a different class, so I can require/subscribe it?
>
> In this simple exa
On 24/08/11 14:09, jcbollinger wrote:
On Aug 24, 4:54 am, Jonathan Gazeley
wrote:
Hi,
Sorry if this is a basic question, but I can't find the answer in the
docs. I know about fully-qualified variables, but how can I reference a
type that is defined in a different class, so I can require/subsc
On Aug 23, 12:51 pm, Douglas Garstang wrote:
> Can someone please succinctly explain to me the difference between include
> and require?
The 'require' function (not to be confused with the 'require' resource
metaparameter) does everything that 'include' does, plus adds a class-
level dependenc
On Aug 23, 12:53 pm, David Kavanagh wrote:
> It seems there's a problem including a class multiple times. By
> stating that one class requires another, you formalize the dependency,
> but don't actually have an include. What you do then is to include the
> class in your main implementation which
On Aug 23, 1:00 pm, Digant C Kasundra wrote:
> Out of curiosity, how are people using parameterized classes in a way that is
> distinct from defined-types?
I am _using_ defined types, that's how.
Although I disfavor parameterized classes and do not use them, the
pattern of my usage of defined
Hi,
I just upgrade my puppet server from version 2.6.7 to 2.7.3 and now I
can't connect new clients.
When trying to connect the clients I'm denied with the following error message:
err: Could not request certificate: SSL_connect returned=1 errno=0
state=SSLv3 read server certificate B: certificat
Hello,
We are attempting to set up a completely secure puppet based system.
Puppet's encrypted communications between the master and the client is
ideal, but its client joining and certificate transfer mechanism is
not. The client certificate request and signed certificate response is
vulnerable
Not sure if people are already aware of this, but it might save
someone some time in the future. I've been tracking down the following
error today, it's rather unhelpful in telling you where the problem is
in your manifests:
# puppetd --test
info: Retrieving plugin
err: Could not retrieve catalog
I can't see any difference between your two examples.
Typo?
- henrik
On 8/24/11 5:23 PM, Luke Bigum wrote:
Not sure if people are already aware of this, but it might save
someone some time in the future. I've been tracking down the following
error today, it's rather unhelpful in telling you where
On Tue, Aug 23, 2011 at 4:18 PM, Avi Miller wrote:
> I've added an issue for this on the Puppet Labs site[1] and submitted
> a patch via GitHub to determine OracleLinux properly from 5 Update 6
> and 6. This adds "OracleLinux" as an operatingsystem.
Should we still use OEL? If we change the the v
Cheers, that'll teach me to cut and paste ;)
The second example's resource name should be without quotes, so:
$service_name = "httpd"
service { $servicename: ensure => running }
err: /Stage[main]/Puppet_dashboard::Service/Service[undef]/ensure:
change from stopped to running failed: Could not sta
All,
Can someone give me some ideas as to, or point me to where I can find
documentation on the issues I may have upgrading puppet from 0.25.4 to the
latest?
Also, the server is using passenger, and I know there's a whole lot of magic
voodoo that has to happen to make sure that the version number
On 8/24/11 3:46 PM, jcbollinger wrote:
If you have an OO background then the words "class" and "type" may
have connotations and implied similarity for you that just don't apply
in Puppet. Puppet classes are not "types" in the type theory sense.
Defined types are closer to that, but it may help t
I know this is a crazy request, but I was kind of wondering why it was so
hard for Puppet Labs to maintain the RPM spec file that comes contained in
the release tarball, so that modifications weren't required to actually get
it to build. Crazy huh?
For example, the SPEC file contains this...
Vers
I'd like to set some values in the dashboard that would apply to a
bunch of nodes. I'm thinking the best way is if those things become
facts. Then, I'd just have puppet scripts that look for those things
(update config files and restart services).
Can facts be set in the dashboard? If so, I'm not s
- Original Message -
> On Tue, 2011-08-23 at 11:00 -0700, Digant C Kasundra wrote:
> > Is anyone else noticing slowness with 2.7.1? When I run puppet on my
> > 2.6.8 box, it takes 11 seconds. On my second box with exactly the
> > same catalog, it takes 35 seconds.
>
> Is the problem whil
On Wed, Aug 24, 2011 at 10:16 AM, Douglas Garstang
wrote:
> I know this is a crazy request, but I was kind of wondering why it was so
> hard for Puppet Labs to maintain the RPM spec file that comes contained in
> the release tarball, so that modifications weren't required to actually get
> it to b
- Original Message -
> On Aug 23, 1:00 pm, Digant C Kasundra wrote:
> > Out of curiosity, how are people using parameterized classes in a
> > way that is distinct from defined-types?
>
> I am _using_ defined types, that's how.
>
> Although I disfavor parameterized classes and do not us
On Wed, Aug 24, 2011 at 11:05 AM, David Kavanagh wrote:
> I'd like to set some values in the dashboard that would apply to a
> bunch of nodes. I'm thinking the best way is if those things become
> facts. Then, I'd just have puppet scripts that look for those things
> (update config files and resta
On Wed, Aug 24, 2011 at 7:32 AM, It Dept wrote:
> Hello,
>
> We are attempting to set up a completely secure puppet based system.
> Puppet's encrypted communications between the master and the client is
> ideal, but its client joining and certificate transfer mechanism is
> not. The client certif
2.7.3
The heck? ${path} is expanding to the shell environment PATH when I
reference it as a variable
in my file resource. Isn't this supposed to be the "namevar" for file
resources?
err: /Stage[main]/Ldapclient::Config/File[/etc/ldap.conf]: Could not
evaluate: Could not retrieve information
Hi,
You could try passing a parameter to your foo class from the node def.
class foo (bar) {
if $bar == 'rar' { }
}
node node1 inherits rar {
class {foo: bar => rar }
}
That work for you?
Den
On 24/08/2011, at 21:48, David W Cennting wrote:
> I am hoping someone can give me a pointer in
Hi,
Underscore instead of dash?
Den
On 24/08/2011, at 22:56, Jonathan Gazeley
wrote:
> On 24/08/11 11:13, Martin Alfke wrote:
>> On 08/24/2011 11:54 AM, Jonathan Gazeley wrote:
>>> Hi,
>>>
>>> Sorry if this is a basic question, but I can't find the answer in the
>>> docs. I know about fully-
On Wed, Aug 24, 2011 at 2:23 PM, jblaine wrote:
> 2.7.3
> The heck? ${path} is expanding to the shell environment PATH when I
> reference it as a variable
> in my file resource. Isn't this supposed to be the "namevar" for file
> resources?
No, you don't have access to resource namevar unless it
Douglas Garstang wrote:
> I know this is a crazy request, but I was kind of wondering why it was
> so hard for Puppet Labs to maintain the RPM spec file that comes
> contained in the release tarball, so that modifications weren't required
> to actually get it to build. Crazy huh?
>
> For example,
On Wed, Aug 24, 2011 at 02:23:49PM -0700, jblaine wrote:
> 2.7.3
>
> The heck? ${path} is expanding to the shell environment PATH when I
> reference it as a variable
FWIW: It doesnt reference the environment variable directly. It references the
fact "path" which in turn is the path environment
Hi guys
I have a custom fact envt, it was working fine but now I have to make
some changes in it;
puppet client's hostname is of the type 1234qa-abc-de.local where 1234
can be any thing of any length.My custom fact should contain qa, ie I
want to check in the first part(before the first -) of the h
Hi guys
I have a custom fact envt, it was working fine but now I have to make
some changes in it;
puppet client's hostname is of the type 1234qa-abc-de.local where 1234
can be any thing of any length.My custom fact should contain qa, ie I
want to check in the first part(before the first -) of the h
I've written my first attempt at a custom puppet function, and it
passes all the suggested test's from the Puppet documentation, but
when called from a test module it doesn't seem to be found.
Successful tests...
irb(main):001:0> require 'puppet'
=> true
irb(main):002:0> require '/etc/puppet/modu
Hi,
Have you made any changes to your auth.conf? Are you auto signing your certs?
How have you configured apache and passenger?
Here's what you can do as a test. Remove the apache passenger vhost and run
puppet using webrick (puppetmasterd). If your client cant connect then your
puppet conf ne
Hi,
I use something like this.
...
hostnamevar.scan(/^\d+-qa-/)
...
Here is the best tool on the planet for writing and testing regexes:
http://www.rubular.com
Den
On 25/08/2011, at 11:43, newguy wrote:
> Hi guys
> I have a custom fact envt, it was working fine but now I have to make
> some
Hey thanks for this but where should I include this in envt.rb code.
The following doesnt work, I know that this might be a silly question
but am stuck plz help me
require 'facter'
Facter.add("envt") do
setcode do
{%hostnamevar.scan(/^\d+-qa-/)}.chomp
end
end
On Aug 24, 8:13 pm
Funny thing.. I just set up apache passenger on my desktop (as opposed
to my normal apache/passenger puppetmasters) and have the same issue.
Looking through the apache logs it is showing that it is trying to PUT
to a directory that doesn't exist on the filesystem.
405 Method Not Allowed
Method N
41 matches
Mail list logo