Displaying 20 results from an estimated 60000 matches similar to: "Module Execution Order"
2010 Jul 05
1
Autoloading Capitalized Classes
Why doesn''t puppet autoload modules with capitals in the class names?
Jul 5 09:55:54 s_sys@test01.sjc.xxx.com puppetd[6527]: Could not
retrieve catalog from remote server: Error 400 on SERVER: Could not
find class repo::centOSBase in namespaces repo::common at
/etc/puppet/modules/repo/manifests/common.pp:8 on node
test01.sjc.xxx.com
Change ''centOSBase'' to
2010 Nov 11
12
When do modules get auto-imported
My understanding was that at the beginning of each run the
puppetmaster imports all modules so that any includes at the top level
are applied directly. However, I am not so sure anymore.
I''ve been tracing how this works and it seems like modules are
included more lazily. In other words, when able_to_import is called
seems like when the magic happens, rather than up front when the run
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this:
class foo::foobar ($version) {
}
which is called like this:
class facility::sanjose inherits facility::common {
class { foo::foobar: version => "1.3.13" }
}
puppet complains with this on the client:
Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type ''facility::sanjose'' of type
hostclass in
2012 Jul 31
11
$concat_basedir not defined
Hey folks,
I am using puppet for some OpenStack deployments and on a new node things
look pretty good right until after the successful reception of a cert from
the puppet master. I get this error:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
$concat_basedir not defined. Try running again with pluginsync enabled at
2010 Aug 20
6
Debugging errors with external nodes
How do I debug errors with external nodes? When my client connects,
the following appears on the puppetmaster when running in debug mode.
It''s not feasible to always be running the pupeptmaster in debug mode.
debug: importing ''/etc/puppet/modules/yum/manifests/client.pp'' in
environment production
info: Automatically imported yum::client from yum/client into production
2010 Jul 07
7
inventory of managed resources
Hi,
are there any good ways of scripting an inventory of managed resources on
all nodes? I''ve found the inventory script by R.I.Pienaar (
http://www.devco.net/archives/2010/02/26/what_does_puppet_manage_on_a_node-2.php)
which does what I want but only locally on each client. Is there any native
way of syncing the client_yaml data centrally or any other way of doing
this?
I need a
2012 Dec 19
3
Template in site.pp
Can I use a template in site.pp?
I have a templates directory in my /etc/puppet directory which has my
template, but i get this error message:
Wed Dec 19 09:19:23 -0800 2012 Puppet (err): Could not retrieve catalog
from remote server: Error 400 on SERVER: Could not find template
''server.xml.erb'' at /etc/puppet/manifests/tcuser.pp:52 on node
2012 Aug 14
8
Custom Providers and Environmemts.
I''ve installed the puppet labs lvm module. After fixing the missing
"}" at line 20 in init.pp (really?!?!), I''m getting this:''
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type physical_volume at
/truth/sauce/env/prod/modules/role/manifests/common.pp:43
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
Hello !
I''m trying to implement a Nagios solution based on David Schmitt''s
Complete Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
2011 Jun 13
15
puppet clients
I''ve gone over the documentation several times now and I can''t figure out how to ''apply'' a manifest to a client.
The client does have a signed certificate but the only thing in the /etc/puppet folder on the client is an ssl directory.
I have a manifest that works fine on the puppet ''master''
I have added the client into
2010 Nov 08
11
Default ownership for static files
Hi,
I try to serve a file
file { "/root/test3.txt":
ensure => file,
source => "puppet:///yum/test.txt",
}
On the puppetmaster this files look like this
#$ ls -n test.txt
-rw-r--r-- 1 502 301 4 8 Nov 16:25 test.txt
Finally, here is my question: What ownership may I expect on the
resulting file ?
Actually this is the result for me:
#$ ls -l
2010 Jul 30
5
Parameterised Classes in 2.6.0... still no luck
I downloaded the latest version of puppet 2.6.0 today, and still can''t
get parameterised classes to work. At least, I think it''s 2.6.0... the
version number in the RPM spec file says 0.25.5.
This simple example:
/etc/puppet/manifests/nodes/pax/name01.pax.xxx.com.pp:
node ''name01.pax.xxx.com'' {
class { amodule::afunc: version => "1.0" }
}
2010 Jun 01
2
Is sshkey host_aliases new in 0.25?
Is the host_aliases parameter to sshkey new in 0.25?
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Could not
retrieve catalog: Invalid parameter ''host_aliases'' for type ''Sshkey''
at /etc/puppet/manifests/nodes/fr.twofish.com/ext3.pp:19 on node
ext3.fr.xxx.com
Jun 1 15:28:48 s_sys@ext3.fr.xxx.com puppetd[20358]: Not using cache
on failed catalog
The
2009 May 31
9
No more than one "instances" of a type in define()?
Hi folks,
when I try to do something like:
define railsproject($name, $uid, $gid, $userpass, $sqlpass) {
mysql_database { "$name_staging": ensure => present }
mysql_database { "$name_production": ensure => present}
....more stuff...
}
I get:
Puppet::Parser::AST::Resource failed with error ArgumentError:
Duplicate definition: Mysql_database[] is already
2010 Sep 07
5
Module availability, loading order
Hi,
I have create the following module:
modules/foo
`-- manifests
|-- definitions
| `-- line.pp
`-- init.pp
$ cat modules/foo/manifests/init.pp
import "definitions/*.pp"
$ cat modules/foo/manifests/definitions/line.pp
define myline($file, $line, $ensure = ''present'') {
....
}
I try to use the definition in a class:
class testfile {
file {
2011 Feb 27
3
learning, but puppet does not detect change
Hi,
I''ve just installed Puppet on two CentOS 5.5 servers, "S" for "A". "A"
does not have the ntp package installed nor of course ntp running.
The Puppet server is started on "S" with the ntp class from this
tutorial: http://bitfieldconsulting.com/puppet-tutorial (included
below) however when I run the agent on "A" it don''t
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read and find a way (well, there seems to be several equal
implementations) to collect the ssh keys of machines. However they all
give only the choice to choose between the key formats.
But is there a way to collect both keys of a machine, the rsa _and_ the
dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2011 Dec 29
21
Puppetserver error
Hello everyone,
I am new to puppet. I have installed on redhat Enterprise 5and seems
to be working fine. Couple days ago I was testing some permissions on /
etc folder and applied 600 /etc and sub folders. Although I have
reverted the permission but I am having issues on puppetmaster.
Currently I have these permission on etc 755 and puppet folder:
my /etc folder is 755 and puppet folder with tese
2012 May 30
12
resource override
hi All,
I''m a bit new to puppet. Is there a mailing list for puppet beginners?:)
I have a service module called postfix, which defines file in a class:
file {
''/etc/postfix/main.cf'':
owner => "root",
group => "root",
mode => 644,
content =>
2011 Mar 31
5
puppetca and /etc/puppet/ssl
All,
I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and
/etc/init.d/puppet files, vardir set to /var/lib/puppet in
/etc/puppet/common/puppet.conf, and yet, every time I run puppetca it
creates /etc/puppet/ssl. Anyone know why?
Doug.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email