Found the answer. The import statements in my modules were causing the
install manifest to run when I didn't expect it to.
--
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 un
On Fri, 28 Jan 2011 11:40:38 -0800
Nan Liu wrote:
> You can require disable_upstart class as a conditional by operating
> system and it should be part of your ssh module rather than a separate
> class.
If I understand correctly, you mean I shouldn't use run stages at all.
The problem with this a
On Fri, Jan 28, 2011 at 01:03:24PM -0800, bowlby wrote:
> Sorry for reviving this old post but I'm having trouble with the above
> setup.
>
> Everytime one of my slaves changes it's IP the hostfile on the ssh-
> gateway gets updated. So for, so good. But the update just adds an
> entry to the host
I've been beating my head against the wall with stages. No matter
what I do, it seems to ignore the stages and always runs the classes
in the order of the statements specified, not the order of the
specified stages. In the below example, I've split out the stage
definition into an order class, but
- Original Message -
> Where would your recommend starting on this effort? Evertyhing in
> SimpleRPC is described via Ruby.
There's a few options, you can create a REST bridge of which there's
a simple sample provided[1] or you can go about writing your own client.
We'd like to make wr
If you're managing all of the entries in /etc hosts with puppet, you
can use the resources resource to purge entries that do not have
resources declared in the catalog.
resources { host: purge => true }
WARNING this will delete entries you have not declared in the catalog.
Test things out with -
Sorry for reviving this old post but I'm having trouble with the above
setup.
Everytime one of my slaves changes it's IP the hostfile on the ssh-
gateway gets updated. So for, so good. But the update just adds an
entry to the hosts-file, thereby leaving the old entry intact. So I
end up with:
10.
Hey All, does anyone know how I would go about creating a front-end
apache config for a set of 3 puppetmaster backend servers? Id rather
not run puppetmaster on the apache front-end.
How do I handle the clients?
My though is the following for my setup:
standalone Puppet CA server that will han
On Jan 28, 8:12 am, Patrick Cervicek
wrote:
> Is there a way to create a file only under certain conditions?
What Daniel said.
For the record, though:
> class hibernate {
>
> notice("hibernate")
>
> exec { "echo":
> alias => "echo",
> # on
Folks:
Just getting started with puppet in a large legacy environment that has
never had meaningful systems automation. After a couple of weeks in the lab,
we're extremely happy with the spectacularly quick progress we've been able
to make, and the obvious promise that puppet holds.
However (and
On Fri, Jan 28, 2011 at 11:22 AM, Dan Urist wrote:
> On Fri, 28 Jan 2011 11:13:18 -0800
> Nan Liu wrote:
>
>> This does not appear to be a bug. There's an implicit dependency for
>> the file /etc/init/ssh.conf on file resource /etc/init. File /etc/init
>> is in stage main, and File /etc/init/ssh.
On Fri, 28 Jan 2011 11:13:18 -0800
Nan Liu wrote:
> This does not appear to be a bug. There's an implicit dependency for
> the file /etc/init/ssh.conf on file resource /etc/init. File /etc/init
> is in stage main, and File /etc/init/ssh.conf in in stage pre which
> cause a dependency loop. In thi
On Fri, Jan 28, 2011 at 9:28 AM, Dan Urist wrote:
> A little background: I'm using puppet to manage the configurations of a
> group of linux vservers running Ubuntu Lucid. Ubuntu has switched to
> using upstart for their boot process; unfortunately there are some
> peculiar interactions with vserv
On Fri, Jan 28, 2011 at 06:47, Jed wrote:
> i'm new to puppet, sorry if the question comes off a little green-
> thumb
We all start off that way. :)
> I have a puppet server and a puppet client (both running latest
> versions)
>
> we have wildcard certs for all our internal domains, we use thes
On Fri, Jan 28, 2011 at 09:22, Nick Moffitt wrote:
> Roberto Bouza:
>
>> Inline templates are a little bit dirty to do this, but they will
>> work.
>
> Yeah, it's totally a stopgap.
FWIW, a custom function that took two arguments (ip, cidr) would not
be very hard to write, and would be a nice add
On Fri, Jan 28, 2011 at 10:16, Parker Johnson wrote:
G'day Parker.
> I have been messing around with puppet on AIX a bit recently and have
> all kinds of questions about how puppet integrates with AIX,
> specifically regarding how the "service" and "package" resources work
> with AIX's native co
I've entered a bug for this: http://projects.puppetlabs.com/issues/6064
On Fri, 28 Jan 2011 11:01:53 -0700
Dan Urist wrote:
> On Fri, 28 Jan 2011 09:58:31 -0800
> Patrick wrote:
>
> >
> > On Jan 28, 2011, at 9:28 AM, Dan Urist wrote:
> >
> > > Now, if /etc/init/ssh.conf exists, puppet will c
On Fri, Jan 28, 2011 at 10:23 AM, Douglas Garstang
wrote:
> On Fri, Jan 28, 2011 at 10:11 AM, Douglas Garstang <
> doug.garst...@gmail.com> wrote:
>
>> On Fri, Jan 28, 2011 at 9:59 AM, Jeff McCune wrote:
>>
>>> On Fri, Jan 28, 2011 at 9:44 AM, Douglas Garstang
>>> wrote:
>>> > I'm trying to run
On Fri, Jan 28, 2011 at 10:11 AM, Douglas Garstang
wrote:
> On Fri, Jan 28, 2011 at 9:59 AM, Jeff McCune wrote:
>
>> On Fri, Jan 28, 2011 at 9:44 AM, Douglas Garstang
>> wrote:
>> > I'm trying to run both the puppetmaster and client on the same server.
>> > Starting the puppetmaster for the firs
Hello. First post.
I have been messing around with puppet on AIX a bit recently and have
all kinds of questions about how puppet integrates with AIX,
specifically regarding how the "service" and "package" resources work
with AIX's native commands (installp/lssrc/etc). Some searches of
this grou
On Fri, Jan 28, 2011 at 9:59 AM, Jeff McCune wrote:
> On Fri, Jan 28, 2011 at 9:44 AM, Douglas Garstang
> wrote:
> > I'm trying to run both the puppetmaster and client on the same server.
> > Starting the puppetmaster for the first time is fine, I get this:
> > Jan 28 17:40:58 s_...@prov01.den.x
Where would your recommend starting on this effort? Evertyhing in
SimpleRPC is described via Ruby.
--
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
On Fri, 28 Jan 2011 09:58:31 -0800
Patrick wrote:
>
> On Jan 28, 2011, at 9:28 AM, Dan Urist wrote:
>
> > Now, if /etc/init/ssh.conf exists, puppet will correctly remove it
> > and the run will complete without error, but on the *next* and all
> > subsequent puppet runs I get a long dependency
On Fri, Jan 28, 2011 at 9:44 AM, Douglas Garstang
wrote:
> I'm trying to run both the puppetmaster and client on the same server.
> Starting the puppetmaster for the first time is fine, I get this:
> Jan 28 17:40:58 s_...@prov01.den.xxx.com puppet-master[27424]: Signed
> certificate request for pr
On Jan 28, 2011, at 9:28 AM, Dan Urist wrote:
> Now, if /etc/init/ssh.conf exists, puppet will correctly remove it and
> the run will complete without error, but on the *next* and all
> subsequent puppet runs I get a long dependency cycle error.
>
> If /etc/init/ssh.conf does not exist, I get no
I'm trying to run both the puppetmaster and client on the same server.
Starting the puppetmaster for the first time is fine, I get this:
Jan 28 17:40:58 s_...@prov01.den.xxx.com puppet-master[27424]: Signed
certificate request for prov01.den.xxx.com
Jan 28 17:40:58 s_...@prov01.den.xxx.com puppet
A little background: I'm using puppet to manage the configurations of a
group of linux vservers running Ubuntu Lucid. Ubuntu has switched to
using upstart for their boot process; unfortunately there are some
peculiar interactions with vservers which causes openssh to hang during
upgrade, so I need
Roberto Bouza:
> Inline templates are a little bit dirty to do this, but they will
> work.
Yeah, it's totally a stopgap.
> A ruby file for mapping (all the CIDRs). and then a few libraries to
> use the ipaddr ruby lib and do calculations etc.
Yeah, my problem is that I'm not in a position where
Hanging head in shame...
I've been looking at that line off and on for the last two weeks and didn't
see the one instead of "el"
Gotta change the font in emacs I guess...
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to t
On 28 January 2011 16:52, Peter Berghold wrote:
> This one has me scratching my head. Simply enough I have the following in
> one of my manifests:
>
> package { postgresq1: ensure => latest }
>
> I checked with the Debian site to ensure that I had the correct package
> name, puppetd did its th
On 28/01/11 16:52, Peter Berghold wrote:
> This one has me scratching my head. Simply enough I have the
> following in one of my manifests:
>
> package { postgresq1: ensure => latest }
I'm not sure if this is a special typo for the mailing list but that
looks like a One at the end of postgresql
This one has me scratching my head. Simply enough I have the following in
one of my manifests:
package { postgresq1: ensure => latest }
I checked with the Debian site to ensure that I had the correct package
name, puppetd did its thing and lo and behold I get the following error
message:
err:
On Jan 28, 2011 6:12 AM, "Patrick Cervicek" <
patr...@googlealtert.spamtrap.fht-esslingen.de> wrote:
>
> Is there a way to create a file only under certain conditions?
Totally, and we did it routinely. The process is perhaps not quite as simple
as you might expect though:
You need to write a cust
On Jan 28, 2011 7:56 AM, "Romain Pelisse" wrote:
>
> Ok, I found why : messages are going to /var/log/messages, not the
/var/log/puppet folders...
Oh, good. Y'all found the reason. Pupput pretty uniformly defaults our logs
to the console in interactive runs, and syslog if we daemonize.
You can c
Well...
Inline templates are a little bit dirty to do this, but they will
work.
We are doing something similar so we can set up the interfaces of a
host based on the group it belongs too.
We created a module called custom and there we added in the lib
directory as part of the facts a bunch of ru
Ok, I found why : messages are going to /var/log/messages, not the
/var/log/puppet folders...
On 28 January 2011 14:52, Romain Pelisse wrote:
> No, the clients are supposed to pull.
>
> What client version is this? I've seen 0.24.5 clients crash when the
> master went down, and seen 0.25.5 clien
Martijn Grendelman:
> Would you be so kind to post the solution you cho(o)se in the end? I am
> interested in this too.. Thank you!
At the moment I'm attempting something like a case statement that does
inline_template("<%= require 'ipaddr';
IPAddr.new('$thecidr').include?IPAddr.new('$theip') -%>
Hi All,
i'm new to puppet, sorry if the question comes off a little green-
thumb
I have a puppet server and a puppet client (both running latest
versions)
we have wildcard certs for all our internal domains, we use these
certs for SSL ldap posix auth, apache, jetty..etc.etc.
ie.
*.priv.tech.com
On 27-01-11 22:21, Nick Moffitt wrote:
> Mohamed Lrhazi:
>> I guess my answer was: you can use ruby's library ipaddr inside
>> templates, not sure about manifests.
>
> That is an interesting approach, and suggests possible inline_template()
> hacks. I note that of course Puppet itself can do CIDR
Is there a way to create a file only under certain conditions?
I would like to check if a certain device exists and the config file is
still missing. If the file ist missing, create the file and update the
initramdisk. (This device exists only on our notebooks, otherwise it is a
desktop and no
No, the clients are supposed to pull.
What client version is this? I've seen 0.24.5 clients crash when the
master went down, and seen 0.25.5 clients end up in a (apparent) sort of
deadlock. No further logging in either scenario.
I haven't tried 2.6 yet.
0.25.5, lastest available for Fedora (well
On 01/28/2011 02:36 PM, Romain Pelisse wrote:
> I'm not making myself very clear also :)(as you are also in Berlin,
> you can realize my first question was rather late in the night ;) )
>
> I do apologize. Here is an hopefully enlightening snippet:
>
> $ grep -e 'server' /etc/puppet/puppet.co
I'm not making myself very clear also :)(as you are also in Berlin, you
can realize my first question was rather late in the night ;) )
I do apologize. Here is an hopefully enlightening snippet:
$ grep -e 'server' /etc/puppet/puppet.conf
server = puppetmaster
$ ping puppetmaster
(host down)
#
On 01/28/2011 02:07 PM, Romain Pelisse wrote:
> Oh, sorry, actually there is no error. The puppetmaster is not running
> yet. I just wanted to check out a little bit what the log would like
> like. However, I found that strange that if puppet can't connect to the
> puppetmaster, there is no complai
Oh, sorry, actually there is no error. The puppetmaster is not running yet.
I just wanted to check out a little bit what the log would like like.
However, I found that strange that if puppet can't connect to the
puppetmaster, there is no complaint (in a log) about it...
On 28 January 2011 12:50, F
On 01/28/2011 11:54 AM, Romain Pelisse wrote:
> Well, this was my assumption. I did so, but no messages end up in
> /var/log/puppet/ (as configured in the puppet.conf), which I find weird
> because my puppet is currently unable to connect to the puppetmaster !
> So it should fill the log with a fai
Well, this was my assumption. I did so, but no messages end up in
/var/log/puppet/ (as configured in the puppet.conf), which I find weird
because my puppet is currently unable to connect to the puppetmaster ! So it
should fill the log with a failure every half an hour...
On 28 January 2011 06:18,
When trying to use more than one condition in exported resources doing
something like this:
File <<| tag == $fqdn and title == "/etc/passwd" |>>
I'm getting the following error in puppet:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Puppet does not currently suppor
On Thu, 2011-01-27 at 15:59 -0800, Jason Wright wrote:
> On Thu, Jan 27, 2011 at 1:46 PM, Brice Figureau
> wrote:
>
> > Regarding the first stacktrace you posted in your first e-mail, I'm sure
> > this is the writelock multiprocess issue we fixed in 2.6 and that I
> > referred to in a previous e-
49 matches
Mail list logo