HI all,
we've been explicity importing modules since we started working with puppet.
We'd like to start using modules autoloading so I followed:
p://docs.puppetlabs.com/guides/modules.html
which only sys that puppet will load all modules under modulepath. Ok, so I
have this modulepath:
Hi Arnau,
Your module folder name is called 'common_puppet' but you're class is
called 'common_puppet_conf'.
Option 1, rename the common_puppet class to common_puppet_conf, as
according to your grep, the only class inside common_puppet/init.pp is
class common_puppet_conf. The class definition in
On 01/11/2011 10:48 PM, Adam Crews wrote:
$info = [ acrews, Adam, /bin/bash ]
$shell = $info[2] ? {
/bin/ = $info[2],
default = /sbin/nologin,
}
I get: Syntax error at '?'; expected '}
Am I doing something wrong, or is this a bug?
To me, this looks like a bug. You should just
On 01/12/2011 05:08 PM, Robin Lee Powell wrote:
On Tue, Jan 11, 2011 at 12:07:30PM -0800, Robin Lee Powell wrote:
On Tue, Jan 11, 2011 at 05:20:38AM -0800, Al @ Lab42 wrote:
You can build a file based on different fragments at least in
2 ways:
- When you specify an array of templates , when
Patrick,
This is what I have setup in the puppet.conf files on the master and
client. Both servers are running puppet 2.6.4
On the Master in /etc/puppet/puppet.conf
[master]
reports = http, store
reporturl = http://fedorahost.ocfl.net:3000/reports
node_terminus = exec
On Thu, 13 Jan 2011 02:41:31 -0800 (PST)
luke.bigum luke.bigum wrote:
Hi Arnau,
Hi Luke,
Your module folder name is called 'common_puppet' but you're class is
called 'common_puppet_conf'.
O!! did not read about this requisite.
Option 1, rename the common_puppet class to
On Thu, Jan 13, 2011 at 5:04 AM, Felix Frank
felix.fr...@alumni.tu-berlin.de wrote:
On 01/11/2011 10:48 PM, Adam Crews wrote:
$info = [ acrews, Adam, /bin/bash ]
$shell = $info[2] ? {
/bin/ = $info[2],
default = /sbin/nologin,
}
I get: Syntax error at '?'; expected '}
Am I doing
On Jan 13, 2:34 pm, Arnau Bria arnaub...@pic.es wrote:
Option 2, move the class declaration of common_puppet_conf out of
init.pp and into common_puppet_conf.pp in the same directory, then you
should be able to do this (note the use of the namespace
common_puppet, which is your module
good point! :)
On Jan 12, 3:20 pm, Patrick kc7...@gmail.com wrote:
Well, your instructions also can work for upgrading puppet with a few small
changes. Might even work without changes.
On Jan 12, 2011, at 2:54 PM, Luc Suryo wrote:
that would be a catch 22 :)
the instruction was an
Sorry if this is RTFM...
I added code like so to my config:
[master]
templatedir = /etc/puppet/environments/$environment/
modulepath =
/etc/puppet/environments/$environment/modules:/etc/puppet/environments/$environment/modules/per_host
manifest=
This is version of mongrel included with SLES10 SP3
eagnmnmbpe26:~ # rpm -q rubygem-mongrel -i
Name: rubygem-mongrel Relocations: (not
relocatable)
Version : 0.3.13Vendor: SUSE LINUX
Products GmbH, Nuernberg, Germany
Release : 2.4
On Thu, 13 Jan 2011 06:39:28 -0800 (PST)
luke.bigum luke.bigum wrote:
Just to give you some examples of auto loading complex modules with
multiple classes and how that relates to class names:
modules/puppet/init.pp = include puppet
modules/puppet/master.pp = include puppet::master
modules/puppet/master/woof.pp = include puppet::master::woof
Because, you know...some puppet masters should really bark at you on
occasion :-)
[I love it]
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
On Thu, Jan 13, 2011 at 8:33 AM, Arnau Bria arnaub...@pic.es wrote:
On Thu, 13 Jan 2011 06:39:28 -0800 (PST)
luke.bigum luke.bigum wrote:
Just to give you some examples of auto loading complex modules with
multiple classes and how that relates to class names:
modules/puppet/init.pp =
On Jan 13, 2011 8:16 AM, Mohamed Lrhazi lrh...@gmail.com wrote:
Sorry if this is RTFM...
I added code like so to my config:
[…]
include m_$hostname
Now host akubra gets its module fine, but other hosts log an error
about their module not being found.
Is there a way to avoid the errors?
You could do something like following:
$wantedpackages = [ perl-DBI, perl-DBD-MySQL ]
package { $wantedpackages: ensure = installed }
In one call, we install 2 packages.
I hope it helps.
-Stephane
On Jan 11, 3:09 am, Adriana adriana.tele...@gmail.com wrote:
Hello,
does anyone know if
On Wednesday, January 12, 2011 5:08:07 PM UTC+1, Robin Lee Powell wrote:
On Tue, Jan 11, 2011 at 12:07:30PM -0800, Robin Lee Powell wrote:
On Tue, Jan 11, 2011 at 05:20:38AM -0800, Al @ Lab42 wrote:
You can build a file based on different fragments at least in
2 ways:
- When
On Wed, Jan 12, 2011 at 1:45 PM, Stephane sros...@gmail.com wrote:
You could do something like following:
$wantedpackages = [ perl-DBI, perl-DBD-MySQL ]
package { $wantedpackages: ensure = installed }
In one call, we install 2 packages.
That will actually create two resources that are
On Thu, Jan 13, 2011 at 08:54, Nigel Kersten ni...@puppetlabs.com wrote:
On Thu, Jan 13, 2011 at 8:33 AM, Arnau Bria arnaub...@pic.es wrote:
On Thu, 13 Jan 2011 06:39:28 -0800 (PST)
luke.bigum luke.bigum wrote:
Just to give you some examples of auto loading complex modules with
multiple
Thanks Nigel !, This really needs some enhancement ..
On Jan 13, 6:54 pm, Nigel Kersten ni...@puppetlabs.com wrote:
On Thu, Jan 13, 2011 at 8:33 AM, Arnau Bria arnaub...@pic.es wrote:
On Thu, 13 Jan 2011 06:39:28 -0800 (PST)
luke.bigum luke.bigum wrote:
Just to give you some examples of
Thanks Nigel !, This really needs some enhancement ..
On Jan 13, 6:54 pm, Nigel Kersten ni...@puppetlabs.com wrote:
On Thu, Jan 13, 2011 at 8:33 AM, Arnau Bria arnaub...@pic.es wrote:
On Thu, 13 Jan 2011 06:39:28 -0800 (PST)
luke.bigum luke.bigum wrote:
Just to give you some examples of
On Thu, Jan 13, 2011 at 08:20, Jake - USPS jacob.m.mcc...@usps.gov wrote:
This is version of mongrel included with SLES10 SP3
eagnmnmbpe26:~ # rpm -q rubygem-mongrel -i
Version : 0.3.13 Vendor: SUSE LINUX
[..]
I didn't see anywhere a version of mongrel that
Hello,
I'm trying to rebuild my accounts module so that will completely
manage users via puppet. In my env, as much as I would like to, I
cannot use nis or ldap for authentication, so I'm trying to do it the
puppet way, but I seem to be a little stuck.
I would like to maintain a list of users
Just installed Puppet 2.6.4 on Ubuntu 10.10
I was trying to restart the puppet agent but got the following error
and the agent didn't run:
$ sudo puppetd --server server.domain.com --waitforcert 60 --test
err: Could not retrieve catalog from remote server: SSL_connect
returned=1 errno=0
On Jan 12, 1:45 pm, Stephane sros...@gmail.com wrote:
You could do something like following:
$wantedpackages = [ perl-DBI, perl-DBD-MySQL ]
package { $wantedpackages: ensure = installed }
In one call, we install 2 packages.
Stephane, the problem is with requirements inside the rpms. If
On 14/01/11 7:20 AM, Wesley Wu wrote:
Just installed Puppet 2.6.4 on Ubuntu 10.10
I was trying to restart the puppet agent but got the following error
and the agent didn't run:
$ sudo puppetd --server server.domain.com --waitforcert 60 --test
err: Could not retrieve catalog from remote server:
Now, I noticed the yumrepo, but this is of little use today, I need to add
an ubuntu ppa ( a few really ) to my installation. How would this be done?
Is there a provider that can do this?
I searched for one, and saw an answer dating from 09, but surely things have
changed since then?
--
You
Thank you Mike.
Both my Puppet master and the agent are NTP clients. So they are sync'ed.
Is there a way to flush the agent's certificate and retrieve it from the
master again?
Thanks,
Wesley
On Thu, Jan 13, 2011 at 4:46 PM, Michael Knox michael.knox...@gmail.comwrote:
On 14/01/11 7:20 AM,
On 14/01/11 9:49 AM, Wesley Wu wrote:
Thank you Mike.
Both my Puppet master and the agent are NTP clients. So they are sync'ed.
Is there a way to flush the agent's certificate and retrieve it from
the master again?
Thanks,
Wesley
To remove all your certs on the client ... rm -rf
On Thu, Jan 13, 2011 at 2:07 PM, Kevin Beckford lazy...@gmail.com wrote:
Now, I noticed the yumrepo, but this is of little use today, I need to add
an ubuntu ppa ( a few really ) to my installation. How would this be done?
Is there a provider that can do this?
I searched for one, and saw an
On Thu, Jan 13, 2011 at 12:20 PM, Wesley Wu wesley.q...@gmail.com wrote:
Just installed Puppet 2.6.4 on Ubuntu 10.10
I was trying to restart the puppet agent but got the following error
and the agent didn't run:
$ sudo puppetd --server server.domain.com --waitforcert 60 --test
err: Could
Hi,
I am somewhat new to puppet and I wanted to show a demo that automated the
install of oracle to my DBA in hopes to entice him to start automating his
procedures.
I have linked my manifest code below for review. In the code I have attempted
to automate a complete oracle install by
On Jan 13, 2011, at 6:26 PM, Corey Osman wrote:
What happens when it takes a while to transfer 1.8GB file?
Just a quick warning before I leave, don't even think of copying this using
puppet if you have version 0.25.x or below. Those version load the whole file
into RAM before copying.
Look at this example I wrote to install a netbackup client on redhat...
am no expert, but it might help you...: http://pastebin.com/QLk14h6s
Mohamed.
On Thu, Jan 13, 2011 at 9:26 PM, Corey Osman co...@logicminds.biz wrote:
Hi,
I am somewhat new to puppet and I wanted to show a demo that
On Jan 13, 7:19 pm, Patrick kc7...@gmail.com wrote:
On Jan 13, 2011, at 6:26 PM, Corey Osman wrote:
What happens when it takes a while to transfer 1.8GB file?
Just a quick warning before I leave, don't even think of copying this using
puppet if you have version 0.25.x or below. Those
35 matches
Mail list logo