I'm trying to write a script that runs command based on version of
Redhat OS. For example, if the RHEL version is 6.0, it will run
command. I was able to write file read script in ruby that would read
file and execute but it didn't seem to work in puppet script. Has
anyone done something like this?
That's good to know that there is '$operatingsystemrelease' built-in
variable. But I have other applications with version files and I need
to run specific class/command based on versions. Any suggestions how I
should go around it?
On Aug 8, 2:52 pm, "Kinzel, David" wrote:
> >I'm trying to write a
I've tried to sync custom facts to puppet client 2.6.7 with no luck.
Could you please give me advise?
placed custom facts in /etc/puppet/modules/cutom/lib/facter directory
(empty init.pp file created as well)
edited puppet.conf to add following
pluginsync = true
modulepath = /etc/puppet/modules
running the 'puppet agent -t --pluginsync' command on client synced
the custom facts and now it is working. Is this something that I need
to run on every puppet agent in order to sync custom facts?
Thank you
On Aug 10, 12:25 pm, Ken Barber wrote:
> Hi Steve,
>
> Did you add p
On Tue, Jul 13, 2010 at 6:19 PM, Patrick Mohr wrote:
> You might want to take a look at
> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows
>
> It looks like some people have gotten farther than you.
Thanks for the link! Again in the hopes of sharing my "user
experience" with t
If you grab the Augeas module from the same source, that should
satisfy the dependency...
On Wed, Jul 14, 2010 at 7:11 AM, bowlby wrote:
> Hi,
> I tried the mysq-module (from http://github.com/camptocamp/puppet-mysql)
> and it will install mysql but it won't create db's or users.
> I had to creat
It seems like it would be a big headache to do this via dhclient for
new Puppet hosts, unless you want to set up a means of distributing a
default dhclient.conf to all new hosts...
I've centralized all DDNS updates on the "provisioning server," which
runs Puppet and the Cobbler services (DHCP, TFT
uot;/files//etc/mysql/my.cnf/mysqld/old_passwords", "0"]
> debug: Augeas[my.cnf/mysqld](provider=augeas): sending command 'set'
> with params ["/files//etc/mysql/my.cnf/mysqld/character-set-server",
> "utf8"]
> debug: Augeas[my.cnf/mysqld](pr
Or:
[...]
subscribe => File["larry", "moe", "curly" ],
[...]
Seems to work as well for me in 0.25.5 ...
On Fri, Jul 16, 2010 at 2:49 PM, Rob McBroom wrote:
> On Jul 16, 2010, at 12:48 PM, phrawzty wrote:
>
>> Thus the question : is it possible / advisable to subscribe a service
>> to multiple
Sounds like a scope issue to me. You need to make sure the class is
included before you start referencing objects from it. Otherwise,
Puppet doesn't know they exist...
i.e.:
class mirror {
include users::tomcat
[... a bunch more stuff. ]
}
Disclaimer: I've been off on my own doing thi
ing parsed resources for ssh_authorized_key
debug: Prefetching yum resources for package
Do you have the mysql client installed on that machine?
On Sat, Jul 17, 2010 at 10:17 AM, bowlby wrote:
> Hi Steve,
>
> Thanks for your pointers, although still with no results (which
> probabl
I (unfortunately) have some experience in throwing together NSIS and
WISE installers and would be willing to contribute towards such a
packaging effort ...
*if only I could get it to work in the first place!*
On Tue, Jul 20, 2010 at 12:47 AM, James Turnbull wrote:
> Rohan McGovern wrote:
>> Jame
the MySQL
command-line client is failing for some reason. Could it be getting
installed somewhere the provider's not expecting? What do you get
when you `which mysql` on the mysql node?
On Tue, Jul 20, 2010 at 2:34 AM, Bram Enning wrote:
> Hi Steve,
>
> I started all over again,
IIRC, puppetmaster and client will use the same SSL directory by
default on the puppetmaster node.
You may want to see what puppetca --list says (or if the certificate
request is getting through, what it's being saved as in the ssl dir,
etc.) ...
I'm running Puppet on the same platform as you, an
puppet newbie trying to install bin file through puppet. How would I
go about it?
class java {
package {"java_package":
provider => "bin", <--this did not work
# source => "puppet:///application/jdk-6u23-linux-x64-rpm.bin",
source => "http://10.31.31.1/jdk-6u23-lin
I have a puppetmaster on an Amazon EC2 instance of Ubuntu 12.04. All of the
puppet nodes I am running are also on ubuntu server 12.04. I can connect
any of the nodes on a wireless or LAN connection. When I switch my node to
a Verizon mobile 3g or 4g device I run "puppet agent -t" and I get the
one of these work check the docs for timeout settings (can't remember
> of hand).
>
> Den
>
> On 26/10/2012, at 3:55, Steve > wrote:
>
> I have a puppetmaster on an Amazon EC2 instance of Ubuntu 12.04. All of
> the puppet nodes I am running are also on ubuntu server
05:40 AM UTC-4, Steve wrote:
>
> I was able to telnet port 8140 via the 3g connection.
>
> I also tried to lower the MTU on the interface and I was still
> unsuccessful. So I set it back
>
> One thing I don't understand is that the error message has now changed to
>
>
http://tagolpc.com.ua/cxsu/xzbqbmsqinss.ssbgtsvz
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegroups.com.
To post to this group
Ugh. Sorry, everybody. Obviously, I hope you haven't clicked on this link
since it wasn't me who sent it. I'm doing the usual stuff -- new strong
password, refreshed app tokens, single-use passwords in other apps, etc. ...
On Sun, Jun 2, 2013 at 5:53 AM, steve .
Hi,
I've been having issues with certificates being revoked without any human
intervention or oversight; one day a node will try to do an update and it
can't because its certificate is revoked.
There is definitely no one issuing 'puppet cert clean nodename' on the
commandline.
puppet --version
These are not new nodes but not old either, only a few months. The
date/time is correct. The DNS is correct. I have not manually set
certificate lifetimes to be shorter than the default. However sometimes
these nodes might not check in for a few days.
This was recently a big problem as the cert
I don't have one of the actual messages handy right now but when it occurs
I run 'puppet agent --test' and instead of doing its work it presents an
error message which explains that the certificate (of the node I ran puppet
on) has been revoked. This is what led me to believe that the problem wa
No. Only one puppet master.
On Wednesday, March 19, 2014 7:56:23 AM UTC-7, Jesse Throwe wrote:
>
> Steve,
>
> Do you, perchance, have multiple puppet masters in play?
>
> On Wed, Mar 19, 2014 at 9:58 AM, jcbollinger
> >
> wrote:
> >
> >
> > On
What would happen if I chattr +i ca_crl.pem to prevent it being updated?
Certificate revocation is something that should be manually controlled
anyway.
Suppose that the Puppet error message is wrong (or at least misleading) and
the problem is not revocation. If the crl.pem file is immutable and
I'm not sure about test suite or UI terminii, I'm just running Puppet from
the repos at puppetlabs (its not Puppet enterprise). This is happening in
production but I can't reproduce it, it just happens apparently at random.
I've set the crl file immutable, hopefully next time something tries to
rt => ['111','24007-24047','38465-38467'],
action => accept,
}
info: /Firewall[100 openup for glusterfs]/dport: dport changed ['111',
'24007-24047', '38465-38467'] to '111,24007-24047,38465-38467'
This is on RH
the concat module to manage a krb5.conf file.
http://cern.ch/go/vSK8
Steve.
--
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
ty.
>
> How are others handling this situation?
>
http://cern.ch/go/Cq7D
Is an example of a case statement setting a yum path based on OS version,yum
can pull in
gpg direct from a remote URL rather than pushing it to the box first which is
then one
less step for puppet to handle.
Steve.
On 26 Jan 2012, at 19:29, "Stefan Schulte"
wrote:
> On Thu, Jan 26, 2012 at 03:57:08PM +, Steve Traylen wrote:
>> Hi,
>>
>> After upgrading a server and client from 2.6.13 to 2.7.10 my configuration
>> with array attributes
>> are behaving dif
ge
it to 784009728. If it does, then that's the issue.
As to WHY it would be doing a string-wise comparison, I don't know. It could
be down to the version of Augeas or the Puppet agent. Try upgrading to the
latest and test it again...
Steve
Steve Shipway
University of Auckland ITS
U
no puppet
experience, as one place Puppet lacks is documentation!
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
--
You received this message because you are subscribed to t
e a look in the Puppet
Forge website for the 'ss' module then you can see how we do it there, else
contact me off-list.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
___
onsin the
ProPuppet book, with multiple puppetmasters in a cluster behind a load balancer
so that we can expand indefinitely.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz>
Ph: +64 9 373 759
the agent
runs as root. We can allow the apps team to maintain the manfests on the
applications server.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz>
Ph: +64 9 373 7599 ext
Possibly the UID under which the process is running has a resource limit and is
not able to spawn a new process? You likely need to unlimit nproc for the
puppet process.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext
Has anyone got a puppetmaster to populate a remote oracle server?
The only thing I have found is
http://www.djelibeybi.net/2010/08/using-oracle-database-for-puppet-stored-configuration/
I have installed the prerequisties, yet I when I run:
puppet master --no-daemonize --verbose --debug
I get no
I know I need to have ruby-shadow installed to get puppet to be able
to manage shadow file based passwords.
so tried to code that up in a puppet manifest like this:
===
class strobenet {
package { 'ruby-shadow':
ensure => 'present',
}
user { 'tuser':
I'm hoping I'm just missing something simple.
I ran across this in my deployment setup and have replicated in a
simple set of manifests. command output and the manifests below.
basically start with a user/group name but it had the name was
misspelled 'txuser'
so correct it to 'tuser' but puppet
Thankyou - this was a great help, and fixed my issue straight off.
Good to know about the version problem.
Steve
--
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 u
On Apr 17, 7:08 am, Michael Stahnke wrote:
> Much of this depends on *how* you install puppet. If you use yum or
> apt, I think shadow is pulled in as a dep (I know it is for rpm). If
> you use gems, I'm quite sure it's not. If you're on mac or Windows you
> can use the native packages and get p
On Apr 16, 9:52 pm, Paul Hinze wrote:
> I've run into this too, and worked around it by considering
> ruby-shadow as a "prerequisite" for puppet, and therefore taking
> responsibility for that package up to my bootstrapping scripts. IOW,
> it is one of the short list of packages that need to be th
On Apr 17, 6:25 am, jcbollinger wrote:
> On Apr 16, 10:03 pm, Steve Roberts wrote:
> > I thought one of the key ideas for puppet was the ability to define a
> > manifest and puppet would make the machine look like that manifest.
>
> That is correct. Another key idea, ho
tually do an
> > absolute /etc/passwd (and friends) in our current conf man system.
> > and yes it does have its pitfalls too.
>
> You can do that with Puppet as well, if you prefer, but you cannot
> safely mix that approach with using User and Group resources.
understood. we
myself and see...
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
From: puppet-users@googlegroups.com [puppet-users@googlegroups.com] on behalf
of Tim Lank [timl...@timlank
dynamically from hiera?
The motivation is that I probably only realize 20 of a potential > 1000
resources
on a particular host so dropping that yaml file data in a database backend
to hiera would
make it easier.
I realize I can override with an earlier priority yaml file and hiera_hash
but w
On Apr 30, 6:10 am, jcbollinger wrote:
> > On Apr 27, 6:21 pm, Steve Roberts wrote:
> Ah. No. You're still missing a critical aspect of this situation:
> independent of the system tools used (useradd, etc.), the UNIX
> architecture provides username / groupname as the ONLY
300k figures are a couple of years away, we will have a respectable
figure
sometime this year we would hope.
Steve (CERN IT)
> -Eric
>
> --
>
> Eric Shamow
> Professional Services
> http://puppetlabs.com/
> (c)631.871.6441
>
> On Monday, May 14, 2012 at 12:35
nd
discussed? if you could point me at those docs that might help shed
light on why the puppet Resources look the way they do. The generated
docs at puppetlabs.com don't really don't give a whole lot of
information.
So to reiterate I get that it was easier to get a working User
resourc
it one as a dependency for me, but I end up seeing the same multilib error,
just in the reverse direction :(
Any help getting me back on track is appreciated.
Thanks,
-Steve
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to
ust in the reverse direction :(
>
>
Who is releasing 32 bit and 64 bit packages out of step? They have to
released at the same time else you see the problems you are seeing.
not a puppet problem, a vanilla yum or rpm also fails with this.
Steve.
> Any help getting me back on track
On May 16, 2012, at 7:18 PM, Steve Traylen wrote:
>
> not a puppet problem, a vanilla yum or rpm also fails with this.
> Steve.
>
That's what I figured. Found this problem only on freshly kickstarted systems.
So, during the kickstart, the package was being installed from the
SSL auth information on the backend, unless you keep the CA on the
same host.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
--
You received this message because you are subscribed to the Google Groups
"Puppet
rt $port",
'set $INPUT/jump ACCEPT'],
onlyif => "match append[*]/dport[.=\"$port\"] size == 0",
}
}
Anyone got any suggestions?
Cheers
Steve
--
You received this message because you are subscribed to the Google Groups
"Puppet Us
le\"] size == 0",
}
}
but now in the augeas resource $title is evaluated to "spoo", i would have
though that it would have been the name or title passed to augeas??? very
confused.
Additionally if I use $fport in the changes or matches section of augeas I
still get a concatenati
Cheers for the clarification Den... Works a charm now :-)
S
On Tuesday, May 29, 2012 11:43:21 AM UTC+1, denmat wrote:
>
> Hi Steve,
>
> I believe he meant that you pass your array directly to the defined type:
>
> class test ($tport) {
> fwport{ $fport: }
> }
>
>
On Tuesday, 15 May 2012 16:48:48 UTC+2, jcbollinger wrote:
>
> On May 14, 2:27 pm, Steve Traylen wrote:
> > Up to now I've had a large file of virtual resources and then enabled
> them
> > on demand
> > on various services. The very standard.
> >
becomes
> a bit different.
>
> I'm looking for general feelings. A simple +1 or -1 would be great.
>
> I would like somewhere to post jobs (we have one :-))
If it can be somewhere close to the people reading this list so much the
better.
Steve
>
> Mike
>
--
You recei
On 12-05-31 09:52 AM, mac01 wrote:
Hi,
How can I transform group in sudoers file where users are added as
"%admin ALL=(ALL) ALL" with individual user name which should fetch
username from my database ?
In the template that generates your sudoers file you could call a custom
function (th
ot defined.
Could not retrieve catalog from remote server: Error 400 on SERVER:
Cannot find definition Class on node lbdai02.cern.ch
Puppet master is RHEL6 with puppetlabs puppet packages.
I tried producing a debug or trace log but under with these the types are
found.
Steve.
gt; remove existing line
>>>
>>
>>
Hi Dhaval,
This is not what you asked for exactly but might do the job, it allows you
to
build up a k5login from a collection of distinct places in your manifests.
We manage k5login now with file snippets (bits) from a custom de
or
attempting to answer a question that has been asked.
Steve.
>
>
>
> Mike Stahnke
>
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pupp
was released by
accident... best solution in this case is epoch bump the facter 1, package.
> On Thu, Jun 7, 2012 at 3:38 PM, Steve Traylen wrote:
>
>> Hi,
>> Today we updated puppet-2.7.14-1 to -2 which should have been boring.
>>
>> I am sure the update i
Migrating an LSF batch system to SLURM with puppet on OpenStack will
certainly be one of the core
items but generally migrating services to this infrastructure.
See http://cern.ch/go/9KKB for full details, in particular position only
open to nationals from CERN member states.
--
You receive
On Friday, 8 June 2012 09:49:35 UTC+2, Felix.Frank wrote:
>
> Hi,
>
> On 06/08/2012 12:38 AM, Steve Traylen wrote:
> > err: Could not retrieve catalog from remote server: Error 400 on
> > SERVER: Cannot find definition Lemon::Metric at
> > /etc/puppet/env
On Monday, 18 June 2012 13:02:33 UTC+2, Peter wrote:
>
> Hi Puppet Users,
>
> I have just started playing with Puppet and Hiera. I am curious if it is
> possible to control how hiera does variable lookup within a module I am
> creating to test it.
>
>
>
> I have read through the documentatio
On Thursday, 28 June 2012 14:57:08 UTC+2, Ken Dreyer wrote:
>
> Hi Puppet folks,
>
> I'm a Fedora packager, and I'm looking into packaging up some of the
> modules at http://forge.puppetlabs.com/users/puppetlabs
>
> I'm thinking through the naming scheme for modules. It looks like the
> upstream
>> }
>>
>> b {'test-b' :
>> needs => a
>> }
>>
>>
>
>
> Is it possible ?
>
Hi Yanis,
http://projects.puppetlabs.com/issues/10166 describes a unproven technique
for catalog lookup from
a provider to access ano
On Saturday, 23 June 2012 22:17:24 UTC+2, bluethundr wrote:
>
> Hello list,
>
> I am having an issue where a puppet agent on a client complains that
> clocks are out of sync between it and it's master -
>
> err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3
> read server ce
> Nice! Thanks very much, Martin, that works really nicely.
>
>
Before I blindly try this how does the above work...
I call this midway through a puppet run and it does no harm to the current
run but
loads new configuration for next run. Is that what happens?
Steve.
> Yeah, this lo
Sav,
Maybe I'm confused about what you are trying to do, but why not just
do "import nodes/*" from site.pp instead of using find commands? The
only catch is that if you add or remove a node, you have to do a
"touch" command on site.pp to get puppet to re-read the import
statement and pick up the
provider => lemon,
name => 'system.loadAvg'
}
--
Steve Traylen
--
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, se
Peter, I'm not sure about your specific question but there is a much
easier way of doing what you are trying to do.
<%= hosts.join(',') %>
That will replace your entire example template. :)
On Sep 24, 2:33 pm, Peter Berghold wrote:
> I thought I read in some documentation somewhere that for ar
Peter, are you using run stages? Your cyclical reference is probably
related to the fact that every single file resource that installs a
root-owned file has an implicit dependency on the root user. If
you've got any root-owned files installed by stages that happen before
the stage where you decla
x27;ll see about getting them shipped back
to you.
-Steve
--
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
p
Michael, thanks very much for these packages, they are quite helpful.
Curious question - is there any coordination with tmz to push these
packages into EPEL?
On Sep 12, 5:36 pm, Michael Stahnke wrote:
> I've had a vision of having packages for Puppet, Dashboard,
> mcollective, facter, et al, avai
So I've just started testing these repos and I ran into problems.
First, many of the EL6 RPMs are not signed, so they fail to install
with my standard yum config. In the EL6 products repo, for example,
only 3 of 12 RPMs are signed. The other issue is that the new puppet
dashboard 1.2.1 package is
2. »name« which is implicitly always treated as a keyattribute
>
> If the second one is not what you want you have to rename your
> parameter.
Thanks Stefan, that all makes sense, after renaming my name parameter
all is good.
--
Steve Traylen
--
You received this message because y
You just need to include a $ in front of those parameter variables:
define config_file($owner = named, $group = named, ...
On Oct 5, 12:19 pm, "liam.j.bennett" wrote:
> Can some explain to me how to fix the following warning:
>
> warning: Deprecation notice: must now include '$' in prototype
>
>
me")
Puppet 2.6.11:
notice: Scope(Class[main]): Dashtest: foobar.example.com-is-my-
hostname
Puppet 2.7.5:
notice: Scope(Class[main]): Dashtest:
-Steve
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this grou
vate]
path /etc/puppet/private/%H
allow *
Then my module manifests can contain things like:
file { '/etc/pki/tls/private/example.key':
source => 'puppet:///private/example.key'
}
This is just one way of handling this, I'd be interested in hearing
what others are d
s that
you can do this with very little effort.
I would definitely not want to change the current behaviour of fqdn and
hostname.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz
Ph: +64 9 373 7599 ext 86487
--
You received this message because
.2. available
##New fact: (6792) Added osfamily fact.
Added osfamily fact to determine if a given operating system is a
derivative of a common operating system.
this is equal to redhat for redhat, centos, sl, slc, slf, sld, ...
--
Steve Traylen
--
You received this message because you a
I've been working on building the Fedora 15 rails 3 RPMs for EL6. I'd
be interested in doing that for EPEL, I'll have to look into how to
become a maintainer.
On Oct 17, 4:05 pm, Todd Zullinger wrote:
> robert.morti...@gmail.com wrote:
> > I am having no joy installing Puppet Server with MySQL s
To be a little more explicit about what Nan said, if you use a
parameterized class, any parameters you passed into the class will
also be available in the template. The same things goes for a define.
On Oct 17, 5:58 pm, Matt Zagrabelny wrote:
> Hi,
>
> Is it possible to pass parameters to use in
Is this going to make it into the yum repo? Thanks.
On Oct 10, 2:33 pm, Michael Stahnke wrote:
> This is a maintenance release of Puppet Dashboard 1.2.2.
>
> This release is available for download
> at:http://downloads.puppetlabs.com/dashboard/
>
> We have included Debian and RPM packages as we
or as part of
your release process. Thanks.
On Oct 20, 5:06 pm, Michael Stahnke wrote:
> On Thu, Oct 20, 2011 at 9:46 AM, Steve Snodgrass wrote:
> > Is this going to make it into the yum repo? Thanks.
>
> What is "this" in this context? Dashboard 1.2.2 is avail
processes (which, as it most likely depends on hash table sequence, is
going to appear random)
Best practice would seem to be to make the variables default to null, and
then use subsequent evaluations within the class code to perform the
relevant defaulting, as he said.
Steve
--
You received
ing to remove all rules that are not configured with puppet?
In which case the following will do but I'm not positive that is you want?
resources { 'firewall':
purge => true
}
--
Steve Traylen
--
You received this message because you are subscribed to the Google Grou
ction => accept,
> }
>
>
> and it only seems to add a rule for the first subnet. The second is
> silently ignored.
Hi Mohamed,
See: http://projects.puppetlabs.com/issues/10116
accepted bug.
Steve.
--
Steve Traylen
--
You received this message because you are subscr
lection to take the collecting hosts class defaults with
out doing a per variable override
File <<| tag == 'testtag' |>> { content => $::hostname }
which rather defeats the point of having a default in the first place.
I'm working with EPEL's puppet-2.6.12-1.
Stev
option is to use the enc variable to case
if the firewalls should even be collected in the first place which
probably makes sense.
Thanks for the comments.
--
Steve Traylen
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post
into a 'secretserver' module and uploading
to moduleforge.
If anyone would like a copy, let me know.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
--
You received
tory. The only caveat is to remember to type
check arg[0] in case passed a string rather than an array.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
s.ship...@auckland.ac.nz<mailto:s.ship...@auckland.ac.nz>
Ph: +64 9 373 7599 ext 86487
_
e that
class pkg::gcc {
package { gcc: ensure=>installed; }
}
class foo {
include pkg::gcc
}
class bar {
include pkg::gcc
}
Second method is more elegant IMHO; but if its a one-off then first might be
simpler.
Steve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Le
hi guys, I'm a newbie so please be gentle. ;)
I'm running puppet on gentoo with the modules from example42. They
seem to work well but I'm running into a problem with the way gentoo
does certain packages. Redhat and other distros seem to bundle the
mysql or openssh packages in mysql-client and mys
my node definitions look like this:
node basenode {
$utility_network = x.x.x.x
[...]
}
node 'mcp.c42' inherits basenode {
$my_local_network = $utility_network
$my_default_gateway = $utility_default_gateway
$my_netmask = $utility_netmask
$my_eth1_default_gateway = $
I think you could do:
node 'node1.fr.xxx.com' {
include facility::sjc
$my_ldap_server = $facility::sjc::ldap_server
include ldap::client
}
On Sun, Jun 27, 2010 at 2:02 AM, Douglas Garstang
wrote:
> I've been struggling with puppet variable scope all day, well, for
> several months actually.
>
2010 at 11:28 AM, Steve Neuharth
> wrote:
>> I think you could do:
>>
>> node 'node1.fr.xxx.com' {
>> include facility::sjc
>> $my_ldap_server = $facility::sjc::ldap_server
>> include ldap::client
>> }
>
> That seems to work. Not pre
Never seen that before. I laughed so hard that I peed a little. thank you
for that. the laughing, not necessarily the peeing.
On Mon, Jun 28, 2010 at 10:47 PM, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 06/29/2010 01:27 AM, Douglas Garstang wrote:
> > Anyone know
1 - 100 of 240 matches
Mail list logo