Oh boy. I'm a bit stuck here. I just moved our puppet config into
environments, and now puppet won't serve up any files.
(/Stage[yum]/Yum::Client/File[/etc/yum.conf]) Could not evaluate: Error 400
on SERVER: Not authorized to call
find on /file_metadata/pax_prod/yum/client/etc/yum.conf Could not
On Fri, Feb 25, 2011 at 5:10 AM, Thomas Bellman wrote:
> On 2011-02-25 13:27, Dave Augustus wrote:
>
> > I have added the following in my puppetmaster.conf file:
> >
> > [production]
> > manifest = $vardir/env/production/manifests/site.pp
> > modulepath =
> $vardir/env/production/modules:
All,
For those that are using external nodes (as local files) and multiple
environments, where do you put the external node files?
Ie, do you put them down in the environment itself
/etc/puppet/env/env1/manifests/extdata/nodes
/etc/puppet/env/env.../manifests/extdata/nodes
/etc/puppet/env/envN/ma
On Mon, Feb 28, 2011 at 12:44 PM, Alan Barrett wrote:
> On Mon, 28 Feb 2011, Douglas Garstang wrote:
>
>> For those that are using external nodes (as local files) and multiple
>> environments, where do you put the external node files?
>>
>
> How is it possible
On Mon, Feb 28, 2011 at 1:17 PM, Alan Barrett wrote:
> On Mon, 28 Feb 2011, Douglas Garstang wrote:
>
>> How is it possible to use external nodes as local files? I was under the
>>> impression that node_terminus=exec or node_terminus=ldap were the only ways
>&g
What is the best way to have an external node script that encounters an
error fail? What should it do? Should it return a non zero exit code to the
OS? (of course, this doesn't seem to be documented anywhere). I just tested
the situation where my exteral node script returned 1 to the OS and printed
On Tue, Mar 1, 2011 at 12:52 AM, luke.bigum wrote:
> On Feb 28, 7:50 pm, Luis Miguel Silva
> wrote:
> > Dear all,
> >
> > I'm a software integrator and i'm currently evaluating Puppet to
> > understand how we can potentially integrate our products with it.
> > I've been reading documentation on i
On Tue, Mar 1, 2011 at 7:22 PM, Patrick wrote:
>
> On Mar 1, 2011, at 4:58 PM, Giovanni Bordello wrote:
>
> Hi folks,
>
> I'm very new to Puppet and perhaps what I'm trying to do is a trivial
> thing. No so much for me though..
>
> I use Puppet 2.6 to manage a bunch of CentOS 5 servers. A handful
I'm sure it must already be a known bug, but I've been getting this message
frequently on the clients:
Could not retrieve catalog from remote server: Could not intern from pson:
source did not contain any PSON!
Happens erratically but it's frequency seems to have increased with my
upgrade from 2.
On Fri, Mar 4, 2011 at 9:31 AM, James Turnbull wrote:
> Bill Proud wrote:
> > Sorry Jed I didn't realise that you didn't know about .puppet
> > directories. A .puppet directory is created in your home directory if
> > you accidentally run puppet as yourself and not as root. The problem
> > that
On Sun, Mar 6, 2011 at 2:48 AM, Bill Proud wrote:
> SSL_write is the function that writes to an SSL connection. Evidently
> in this case there was an error - perhaps the connection was lost.
>
>
This error is occurring on multiple clients at regular intervals in a new
data centre, sometimes on V
that there isn't a lot more information here. Is it always
> the same error?
>
> Actually you might have the same .puppet directory problem that I had
> but it would have to be in the home directory of whoever last started
> puppetmasterd (so not on the client).
>
> On Mar
On Mon, Mar 7, 2011 at 4:06 PM, LarsP wrote:
> Hello Puppet World -
>
> My company is in the early phase of building out a configuration
> automation solution using Puppet. As we hash out the design, one of
> the biggest questions that keeps coming up is how and *where* we
> should be defining no
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@
On Wed, Mar 16, 2011 at 2:13 AM, Nan Liu wrote:
> On Wed, Mar 16, 2011 at 3:48 PM, Victor Mora
> wrote:
> > I've tried with /bin/false with the same result. You can see and error
> > at log file, but it continues with changes:
> >
> > Mar 16 08:44:27 sistemes puppetd[26894]: Failed to prepare ca
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 a
I have ssldir set to $vardir/ssl in /etc/puppet/puppet.conf.
On Thu, Mar 31, 2011 at 2:55 PM, Scott Smith wrote:
> Set ssldir?
> On Mar 31, 2011 1:41 PM, "Douglas Garstang"
> wrote:
> > All,
> >
> > I have --confdir=/etc/puppet/common in my /etc/init.d/pu
On Thu, Mar 31, 2011 at 3:53 PM, Denmat wrote:
> Hi,
>
> I will assume that you're talking about the master only and not about the
> clients that connect to it.
>
It seems to only be a bug with puppetca. Yes, master only. Did you try using
puppetca?
>
> Do you have two puppet.conf files? One i
These PSON messages are driving me crazy. It's not unusual to have to
restart the client 3 times to get past it. Anyone know the cause? This is a
fresh install of the puppetmaster and puppet client on CentOS 5.5 with
puppet 2.6.4.
Apr 1 17:04:14 rcss01 puppet-agent[1058]: Reopening log filesApr
On Fri, Apr 1, 2011 at 4:24 PM, Hugo Cisneiros (Eitch) <
hugo.cisnei...@gmail.com> wrote:
> On Fri, Apr 1, 2011 at 11:07 AM, Douglas Garstang
>> wrote:
>> > These PSON messages are driving me crazy. It's not unusual to have to
>> > restart the client 3 times
All,
I just tried to get Passenger up and running, based on on the docs at:
http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
I am seeing this in my Apache error_log whenever a client tries to connect:
Could not prepare for execution: Got 2 failure(s) while initializing: change
from
Actually... this may be the cause... my puppet.conf is in a non standard
location, and when running puppetmaster, I'm setting
--confdir=/etc/puppet/common in /etc/init.d/puppetserver. How can I set this
for passenger?
Doug.
On Mon, Apr 4, 2011 at 10:00 PM, Douglas Garstang
wrote:
> Al
On Mon, Apr 4, 2011 at 10:25 PM, Martin Alfke wrote:
> On 04/05/2011 07:17 AM, Douglas Garstang wrote:
> > Actually... this may be the cause... my puppet.conf is in a non standard
> > location, and when running puppetmaster, I'm setting
> > --confdir=/etc/pu
On Wed, Apr 6, 2011 at 8:54 AM, joel.merr...@gmail.com <
joel.merr...@gmail.com> wrote:
> On Wed, Apr 6, 2011 at 3:22 PM, Gary Larizza wrote:
> >
> > +1 for the wiki. Jeff McCune actually published the correct version
> > combination, which is usually Rack version 1.0.1 and Passenger 2.2.11. I
I'd like to be able to always include all modules at the top level, but in
certain modules, have some logic that uses extlookup to determine if it
should be enabled. What's the best way to use if; then; else to exit a
module, and stop processing, based on some condition?
Doug.
--
You received th
I don't know what it is with puppet's certificates, but once again, they are
behaving strangely.
Client is reporting:
debug: Using cached certificate for auth01.fre.livegamer.com
/usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:166:in `certificate'
/usr/lib/ruby/site_ruby/1.8/puppet/ssl/host.rb:227:
All,
Just started to use mcollective. I found an example at
http://www.semicomplete.com/blog/geekery/puppet-facts-into-mcollective.html:
file {
"/etc/mcollective/facts.yaml":
ensure => file,
content => inline_template("<%= scope.to_hash.reject { |k,v| !(
k.is_a?(String) && v.is_a?
So... I was looking at the docs for ssh::auth at
http://projects.puppetlabs.com/projects/1/wiki/Module_Ssh_Auth_Patterns.
It seems like auth.pp runs on the puppet master rather than the client. How
does that work exactly?
Doug.
--
You received this message because you are subscribed to the
On Sat, Apr 30, 2011 at 3:36 PM, Steven Acres wrote:
> On Sat, Apr 30, 2011 at 6:21 PM, Douglas Garstang > wrote:
>
>> So... I was looking at the docs for ssh::auth at
>> http://projects.puppetlabs.com/projects/1/wiki/Module_Ssh_Auth_Patterns.
>>
>> It seem
All,
I was looking at the new feature of puppet to manage switches, and it says:
"A current limitation is that it isn’t possible to have 2 switches with the
same interface name"
Does this mean that if one switch has an interface called FastEthernet 0/1,
that puppet can't manage a second switch w
Anyone? Anyone?
On Mon, May 9, 2011 at 2:45 PM, Douglas Garstang wrote:
> All,
>
> I was looking at the new feature of puppet to manage switches, and it says:
>
> "A current limitation is that it isn’t possible to have 2 switches with
> the same interface name"
&g
Where can I find documentation for puppet devices? A search of the
puppetlabs docs yields almost nothing, and google searches keep returning
_MY_ questions about puppet devices. There's something seriously wrong with
that picture.
Doug
--
You received this message because you are subscribed to t
I probably waste quite a bit of time each week restarting the puppet client,
and logging systems, and tailing the messages file, to see if my puppet
changes worked. Is there a better way? How do people normally do this?
Sure, I can use puppetrun or mcollective to cause puppet to do a config run
on
On Wed, May 25, 2011 at 10:16 AM, Brian Cully wrote:
> On May 25, 2011, at 1:12 PM, Douglas Garstang wrote:
>
> > I probably waste quite a bit of time each week restarting the puppet
> client, and logging systems, and tailing the messages file, to see if my
> puppet changes
On Wed, May 25, 2011 at 10:22 AM, Brian Gupta wrote:
> Basically the ways I know of:
>
> 1) Don't run puppet as a daemon, but run it out of cron every X mins.
> 2) Setup a cronjob that checks if puppet is running and restart it if not.
> 3) Setup a nagios job that checks to see if puppet is runnin
On Wed, May 25, 2011 at 10:26 AM, Nathan Clemons wrote:
> Mcollective with mc-puppet should work if you patch it to not daemonize
> (you'll need to adjust the timeouts as well, of course). Errors running will
> bubble up to the list of nodes that failed the run.
>
>
Failed both for syntax erro
On Wed, May 25, 2011 at 10:26 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > Basically the ways I know of:
> >
> > 1) Don't run puppet as a daemon, but run it out of cron every X mins.
> > 2) Setup a cronjob that checks if puppet is running and restart it if
> > not.
> > 3) Setup a
On Wed, May 25, 2011 at 10:35 AM, Nathan Clemons wrote:
> Mcollective hides successes and only shows you failures, keeping the signal
> to noise ratio very high.
>
> If you run puppet without daemonizing, anything that causes the config to
> not be applied successfully is going to show up as an er
On Wed, May 25, 2011 at 10:40 AM, Brian Gupta wrote:
> On Wed, May 25, 2011 at 1:29 PM, Douglas Garstang
> wrote:
> > On Wed, May 25, 2011 at 10:22 AM, Brian Gupta
> > wrote:
> >>
> >> Basically the ways I know of:
> >>
> >> 1) Don't
On Wed, May 25, 2011 at 1:19 PM, Brian Gupta wrote:
> Douglas,
>
> I have to concur with disconnect, now that we are using Foreman, many
> of the things we setup in the past to catch these things are now
> redundant. I don't know why you "don't like" Foreman, but I have to
> say along with our ini
On Thu, May 26, 2011 at 10:19 AM, Jake - USPS wrote:
> Maybe if you edit /foreman-location/config/settings.yaml and
> uncomment :modulepath and set it to your modulepath and then restart
> the webserver? This is just an educated guess as I use a standard
> location, but that seems like a good sta
So... I'm thinking about how to have puppet manage different operating
systems. It's one thing to use a selector to determine the value of specific
resources attribute, but what do you do when a file may not exist on a
specific O/S? You can't use a selector in this case.
I really don't like the ap
On Thu, Jun 2, 2011 at 12:36 PM, Douglas Garstang
wrote:
> So... I'm thinking about how to have puppet manage different operating
> systems. It's one thing to use a selector to determine the value of specific
> resources attribute, but what do you do when a file may not exist
On Fri, Jun 3, 2011 at 12:52 AM, Luke Bigum wrote:
> Douglas,
>
> If you don't use a conditional somewhere, how are you going to decide what
> resources are declared on what clients?
>
I never said I didn't want to use conditionals somewhere.
>
> In that blog example, the classes are loaded b
On Fri, Jun 3, 2011 at 10:01 AM, Russell Howe wrote:
> > -Original Message-
> > From: puppet-users@googlegroups.com
> > [mailto:puppet-users@googlegroups.com] On Behalf Of Douglas Garstang
> > Sent: 03 June 2011 16:21
> > To: puppet-users@googlegroups.com
The style guide says to use single quotes, except when variables are present
in the string, and then double quotes should be used.
That bothers me. It means your using two different types of quotes, when
just one could be used. I mistakingly used single quotes around a string
with a ${variable} in
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegrou
Is there a way I can split a line in a manifest across multiple lines, ala
shell style?
ie:
$include_postfix_module = extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
extlookup("IncludePostfixModule", \
All,
Running this on a bare metal server. Package doesn't get installed,
therefore condition is false. Why?
if ! ($is_virtual) {
package {
'vlock':
ensure => installed;
}
}
[pax] app01 ~:# facter | grep is_virtual
is_virtual => false
Oh... don
7;t puppet automatically create all the subdirectories above usr/
> share/openvpn/easy-rsa/2.0 directory for me? If not, do I need to go
> and create dependancies for every single node in the directory
> hierarchy? That seems a little crazy. Isn't t
e
baseurl=http://192.168.1.21/mrepo/centos4-$basearch/RPMS.base
enabled=1
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-centos4
and, finally:
[r...@voip01 yum.repos.d]# yum repolist | grep base
base base enabled
Wh
Hi Larry.
I don't know why we are using exec to update via yum. This was
implemented by come consultants, and it has to be kept this way. It's
been working in production for quite some time. I am merely trying to
replicate the production setup in a dev environment.
Douglas.
On Thu, Aug 13, 2009
Yumrepo["base"] in your type list.
> maybe it was renamed, or not included.
>
> -L
> --
> Larry Ludwig
> Reductive Labs
>
> >
>
--
Regards,
Douglas Garstang
http://www.linkedin.com/in/garstang
Email: doug.garst...@gmail.com
Cell: +1-805-340-5627
--~--~-
it
down?
Doug.
On Thu, Aug 13, 2009 at 1:12 PM, Larry Ludwig wrote:
>
> On Aug 13, 2009, at 4:06 PM, Douglas Garstang wrote:
>
> Larry,
>
> if you mean that puppet can't find the 'base' repo, it should be there
> and accessible. That's why I posted the cont
Yumrepo["contrib"],
Yumrepo["c4-media"]
],
}
site.pp defines Exec and imports the update module, which calls Exec.
Doug.
On Thu, Aug 13, 2009 at 1:41 PM, Larry Ludwig wrote:
>
> On Aug 13, 2009, at 4:32
Actually, the more I read this, the more it seems to indicate to me
that the problem is with the Yumrepo, NOT the Exec. It does say after
all "Could not find dependency Yumrepo[base]" ---FOR---
"Exec[yum-update]"...
Doug.
On Thu, Aug 13, 2009 at 1:56 PM, Douglas
Garstang w
I can't seem to get puppetrun to work with the --tag parameter.
I've tagged some nodes as staging and production, and when I run the
following on the puppetmaster, nothing happens on the client.
~:# puppetrun -d --tag=staging
Failed to load ruby LDAP library. LDAP functionality will not be avail
So...
I've got a question post puppet camp. I'm not sure I understand the
benefit of external nodes and storeconfigs.
If you put node data or other puppet configuration in external
sources, it would seem to me that:
1. Your complicating your configuration by essentially putting your
puppet conf
I can't seem to get puppetrun to work with the --tag parameter.
I've tagged some nodes as staging and production, and when I run the
following on the puppetmaster, nothing happens on the client.
~:# puppetrun -d --tag=staging
Failed to load ruby LDAP library. LDAP functionality will not be avail
I'm having some trouble serving out files with puppet.
The following is appearing in the log:
Oct 8 15:52:42 app1.fr.xxx.com puppetd[7045]: Connection timeout
calling puppetbucket.addfile: execution expired
My /etc/puppet/fileserver.conf has:
[files]
path /etc/puppet
allow *.fr.xxx.com
al
When I run puppetmasterd with the --genconfig option and use that as
my starting puppet.conf file, puppetmasterd dumps the full config to
the screen and then aborts. This is currently happening with 0.25 and
I was also seeing it with 0.24.
What's up with that? I'm trying to get a baseline good wo
D'oh! Thanks.
On Tue, Oct 13, 2009 at 9:53 AM, Paul Lathrop wrote:
>
> Doug,
>
> Remove genconfig = true from the puppet.conf file
>
> --Paul
>
> On Tue, Oct 13, 2009 at 9:51 AM, Douglas Garstang
> wrote:
>>
>> When I run puppetmasterd with the --gen
ig = true from the puppet.conf file
>
> I've often wondered about the utility of having that in the generated
> config file, and it's bitten me several times.
>
> Is there a reason we don't strip it out?
>
>
>
>>
>> --Paul
>>
>> On T
I've been tearing my hair out since 1am this morning trying to get the
puppet server and client to communicate.
The latest chapter in this epic saga has this coming up on the client
each time I run puppetd:
Could not prepare for execution: Retrieved certificate does not match
private key; please
Agreed.
On Tue, Oct 13, 2009 at 11:08 AM, Paul Lathrop wrote:
>
> On Tue, Oct 13, 2009 at 11:03 AM, Douglas Garstang
> wrote:
>>
>> Please don't strip it out. The documentation is terrible and this at
>> least gives me a known good working config.
>
> Dou
I removed /var/lib/puppet too.
On Tue, Oct 13, 2009 at 11:31 AM, Joe McDonagh
wrote:
>
> Douglas Garstang wrote:
>> I've been tearing my hair out since 1am this morning trying to get the
>> puppet server and client to communicate.
>>
>> The latest chapter in t
n Tue, Oct 13, 2009 at 12:24 PM, Douglas Garstang
wrote:
> I removed /var/lib/puppet too.
>
> On Tue, Oct 13, 2009 at 11:31 AM, Joe McDonagh
> wrote:
>>
>> Douglas Garstang wrote:
>>> I've been tearing my hair out since 1am this morning trying to get
lvuwUWe+s5XI+zczcuDgK
> sEduhdUNYH1bjArNQOOr8htICeBG6htzomsKll72E2sAsKZ4TDrUPg==
> =FkY5
> -END PGP SIGNATURE-
>
> >
>
--
Regards,
Douglas Garstang
http://www.linkedin.com/in/garstang
Email: doug.garst...@gmail.com
Cell: +1-805-340-5627
--~--~-~--~~-
I'm getting really really frustrated with puppet.
Why is it that when I install the puppet-server RPM, my default config
file in /etc/puppet/puppet.conf has a [puppetd] section and not a
[puppetmasterd] section? Isn't that what the puppetmaster looks for?
The output from --genconfig generates a c
Administration (http://tinyurl.com/linuxadmin)
> * Pulling Strings with Puppet (http://tinyurl.com/pupbook)
> * Pro Nagios 2.0 (http://tinyurl.com/pronagios)
> * Hardening Linux (http://tinyurl.com/hardeninglinux)
>
> >
>
--
Regards,
Douglas Garstang
http://www.linkedin.com/in/g
Can anyone in the know please help to clear this up?
Does puppetmaster look for [puppetd] or [puppetmasterd] in
/etc/puppet/puppet.conf ???
Doug.
On Wed, Oct 14, 2009 at 5:37 AM, Nigel Kersten wrote:
>
> On Tue, Oct 13, 2009 at 4:07 PM, Douglas Garstang
> wrote:
>>
>&g
On Wed, Oct 14, 2009 at 9:35 AM, Nigel Kersten wrote:
>
> On Wed, Oct 14, 2009 at 9:31 AM, Douglas Garstang
> wrote:
>>
>> Can anyone in the know please help to clear this up?
>>
>> Does puppetmaster look for [puppetd] or [puppetmasterd] in
>> /etc/puppe
For what it's worth, I've been having a heck of a time getting
puppetmaster and puppet to communicate over the last few days. I just
went back to puppet 0.24.8 and it worked on the _very_ first attempt.
In both instances the config files were generated from genconf.
Methinks 0.25 is broken in some
Can someone tell me what this means? I am getting this in
/var/log/puppet/masterhttp.log on the server.
[2009-10-14 15:07:35] DEBUG accept: 10.10.1.23:33626
[2009-10-14 15:07:35] ERROR `/production/certificate/ca' not found.
[2009-10-14 15:07:35] DEBUG close: 10.10.1.23:33626
This is with puppet
I've got a host here where I am trying to ensure that syslog-ng is
running, and not surprisingly that syslog is NOT running.
My manifest has...
class syslog_ng {
package { "syslog-ng":
name => "syslog-ng",
ensure => installed;
}
service { "syslog":
ensure =>
I have this...
node base_node {
}
node child_node inherits base_node {
Yumrepo {
mirrorlist => absent,
enabled => 0,
gpgcheck => 1
}
yumrepo {
"Core":
enabled => 1,
name => "Core",
descr => "Software",
ba
I have this...
node base_node {
}
node child_node inherits base_node {
Yumrepo {
mirrorlist => absent,
enabled => 0,
gpgcheck => 1
}
yumrepo {
"Core":
enabled => 1,
name => "Core",
descr => "Software",
baseurl => "h
I have this...
node test_node inherits basenode_centos_5 {
include yum
include yum-priority
include mysql_client
include mysql_server
}
Puppet seems to be executing stuff from the mysql_client and
mysql_server modules before the yum module. I had assumed that modules
were execute
I'm sure there's other ways to go about this, so other feel free to
> pitch in :)
>
> On Oct 23, 2009, at 3:12 PM, Douglas Garstang wrote:
>
>>
>> I have this...
>>
>> node test_node inherits basenode_centos_5 {
>> include yum
>> include yu
. and I am DEFINITELY seeing puppet try and install objects from
ldap, mysql and yum-priority BEFORE the yum module is complete.
Douglas.
On Fri, Oct 23, 2009 at 1:22 PM, Douglas Garstang
wrote:
> Awesome info. Thanks Carl!
>
> On Fri, Oct 23, 2009 at 1:18 PM, Carl Caum wrote:
>>
>&
require is broken. It will work in 0.25.1
> though.
>
>
> On Oct 23, 2009, at 4:18 PM, Douglas Garstang wrote:
>
>>
>> Actually, that doesn't seem to be what's happening Carl.
>>
>> I have this...
>>
>> node tst_basenode {
>&g
Including modules in a specific order would be nice too. It's
certainly easier to read and more intuitive. :)
On Fri, Oct 23, 2009 at 2:50 PM, wrote:
>
> hello,
>
> - "Douglas Garstang" wrote:
>
>> Weird. You'd think this would be common problem nu
elease],
File[/etc/yum/pluginconf.d/priorities.conf] => Package[centos-release]
when I put this into my yum module:
Package {
require => [ Class["yum"], Class["yum-priority"] ]
}
G
On Fri, Oct 23, 2009 at 3:03 PM, Douglas Garstang
wrote:
> Inclu
All,
I've been putting a lot of puppet pieces together over the last few
days, and I've realised, I think, that you _REALLY_ need to be
explicit with your object dependancies. It looks like puppet just
drags all modules, all nodes, and everything else into one giant
namespace and executes them in
Oh boy. Puppet is frustrating the heck out of me.
I have this below
node tst_basenode {
include yum
Package {
require => [
Yumrepo["CentOS-Base"],
Yumrepo["EPEL-Core"],
...
]
}
}
node tst_childnode inherits tst_basenode {
inux System Administration (http://tinyurl.com/linuxadmin)
> * Pulling Strings with Puppet (http://tinyurl.com/pupbook)
> * Pro Nagios 2.0 (http://tinyurl.com/pronagios)
> * Hardening Linux (http://tinyurl.com/hardeninglinux)
>
> >
>
--
Regards,
Douglas Garstang
http://www.li
T be installed first, after
yum. If ldap is only partialled installed, everything goes to hell in
a handbasket. Even a groupadd excited by yum will just hang, so ldap
needs to go in right after yum, and before anything else.
Doug
On Sat, Oct 24, 2009 at 5:35 PM, James Turnbull wrote:
>
> 2
Can someone tell me what a require => Class actually does? The
documentation on this really isn't clear.
The language tutorial at
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial says:
"Like resources, you can also create relationships with classes like so:
class apache {
service
Can someone tell me what a require => Class actually does? The
documentation on this really isn't clear.
The language tutorial at
http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial says:
"Like resources, you can also create relationships with classes like so:
class apache {
service {
Is it really this complicated? Follow my logic here...
In my scenario, it's critical that my yum repositories get installed
by puppet to /etc/yum.repos.d first before anything else happens.
After this, the yum-priorities rpm must be installed with yum,
followed by ldap, since the installation of
datory when things grow. See
> http://reductivelabs.com/trac/puppet/wiki/ExternalNodes for more
> informations.
I REALLY disagree with this. How do you version control your nodes if
they are stored externally?
--
Regards,
Douglas Garstang
http://www.link
I've got a mostly working puppet manifest for mysql, except for one problem.
I'm using the RPM from the MySQL web site, and the packagers of this
RPM in their infinite wisdom decided that the mysql service should be
automatically started when the RPM was installed. This confuses
puppet. The RPM i
tupid. I suppose that's why puppet was failing
earlier, since a 'service mysql status' would have been stating mysql
wasn't running. Good grief!
Doug
On Sun, Oct 25, 2009 at 5:56 PM, R P Herrold wrote:
>
> On Sun, 25 Oct 2009, Douglas Garstang wrote:
>
>> I
I don't believe 'pattern' is used to stop/start the service, only to
help recognise if it's running when hasstatus is not used.
On Sun, Oct 25, 2009 at 6:14 PM, R P Herrold wrote:
>
> On Sun, 25 Oct 2009, Douglas Garstang wrote:
>
>> Actually, putting this
I hope I haven't dug myself into a corner here... How can I make sure
that /some/file.xml is created BEFORE the jboss-tfel0 service is
started?
I can't use before => in the file{} in the jboss class because it
doesn't exist there.
define create_jboss_inst($inst, $version, $naming_port) {
I hope I haven't dug myself into a corner here... How can I make sure
that /some/file.xml is created BEFORE the jboss-tfel0 service is
started?
I can't use before => in the file{} in the jboss class because it
doesn't exist there.
define create_jboss_inst($inst, $version, $naming_port) {
Sorry James... by the time I tossed in the towel I was a quivering sweaty blob.
Doug.
On Fri, Nov 6, 2009 at 10:22 PM, James Turnbull wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Douglas Garstang wrote:
>> Seems like there are LOTS and LOTS of problems w
This seems like a bug to me. In the example below, puppet complains:
Nov 7 15:32:28 gumby puppetd[17245]: Configuration could not be
instantiated: Could not find dependency
File[/opt/jboss/jboss-current/conf/tfel-bindings.xml] for
Service[jboss-tfel2] at
/etc/puppet/modules/jboss/manifests/init.
definition. I can't
>> do that. I have to use the $jboss_version variable.
>
>
> use ${jboss_version} instead of $jboss_version.
>
> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#quoting
>
> cheers pete
>
> >
>
--
Regards,
Douglas Garsta
Oh, and I don't want to use $jboss_version. I want to use $version.
That was the whole point.
On Sat, Nov 7, 2009 at 4:07 PM, Douglas Garstang
wrote:
> Peter,
>
> Same error...
>
> Nov 7 16:06:57 gumby puppetd[17245]: Configuration could not be
> instantiated: Could not
401 - 500 of 678 matches
Mail list logo