On 2012-04-16 15:26, Antidot SAS wrote:
A quick question for you, here is the code:
$tt=regsubst(test,^(.*)-(.*),'\2')
Doesn't return: undef or nil, it does return: test
As expected and intended.
Niether does $tt=regsubst(test,^(.?)-(.*),'\2')
or $tt=regsubst(test,^(.+?)-(.*),'\2').
On 2012-04-16 15:57, Antidot SAS top-posted:
Thx for the reply it helps.
But how come the \2 returns something that I never asked?
It doesn't. But since there are no occurrances of '^(.*)-(.*)',
then there are none that get replaced. Similarly, if you do:
regsubst('foobar', 'x', 'y')
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
(I know I'm late in responding; I'm a couple of months behind in reading
the mailing-list, and still have 2000 unread. I have read this entire
thread, though.)
On 2012-01-19 18:18, Nigel Kersten wrote:
I'm looking for strong opinions on whether we
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
(Coming late to the discussion, I know. Sorry.)
On 2012-01-26 11:19, Felix Frank wrote:
[Regarding common modules for installing packages.]
Thinking about other examples of similar systems (CPAN, Gems, Pear, you
name it), module dependencies are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 2011-11-28 16:01, Dan White wrote:
In my users class, I want to be able to push out custom dot-files when
the user account is first created.
Unfortunately, if one sets user:managehome = true, the dotfiles are
created by default and the custom
Douglas Garstang wrote:
How can I interpolate a hash inside a string?
Like this:
tomcat-${config['tomcat_version_server']}
The curly braces groups things so the parser knows that the
variable expression to expand doesn't end after the g in
config.
I'm not sure where this is documented,
Randall Hansen wrote:
Is the resources type primarily useful for purging? Is it also
commonly used for metaparameters? The documentation[1] says this, but
I haven't used it much myself, and I don't know what common use is.
I get the impression you are confused about what the part about
On 2011-04-21 09:18, Felix Frank wrote:
So obviously, there is no xinetd provider. I concur that such a thing
would probably be worthwile. If your Ruby is good (or if you like doing
new things ;-), you may want to cobble one together yourself as a
plugin, it's not rocket science.
Well, on
On 2011-04-21 10:19, Felix Frank wrote:
I don't think ralsh packs much intelligence in that regard, but relies
on the redhat provider instead.
Yes, I was thinking ralsh as in ralsh and all the subroutines from
the rest of Puppet that it uses.
Peaking at the provider, it doesn't appear to do
On 2011-04-18 05:48, James Turnbull wrote:
Lance Reed wrote:
Not sure if the book has been closed on this, but I had this problem
recently on new installs.
The problem was fixed by keeping the hosts in time sync. They were 5
hours out of sync.
Not sure why this caused an issue unless
On 2011-04-20 03:28, Miki Shapiro wrote:
As suggested by Felix:
Manifest says:
$keys = split(,, inline_template(%= netifcfg.keys.join(',')
%))
exec { /bin/echo keys are $keys and netifcfg is $netifcfg:
logoutput = true }
Output says:
notice:
On 2011-04-15 21:10, Clay Caviness wrote:
Let's say I have a very simple template
template.erb:
% if not has_variable?(foobar) then foobar = undefined end -%
foobar: %= foobar %
class: %= foobar.class %
And a basic manifest:
template.pp:
$mytemp = template('template.erb')
On 2011-04-07 10:13, Felix Frank wrote:
looking at
http://projects.puppetlabs.com/projects/1/wiki/Using_Multiple_Environments,
I cannot see any indication that those settings are per-environment.
Indeed, the only way to get per-environment external node classifiers
is to have a global wrapper
Felix Frank wrote:
On 03/31/2011 03:42 PM, Mohamed Lrhazi wrote:
but it does not look safe as the $content could contain single quotes,
could it not?
That't true, and I don't see a way that you can waterproof this
construct. Sorry.
Then you haven't seen the shellquote() function. It is
Jaroslav Klaus wrote:
I'm trying to run puppet through SSH channel using port forwarding
(ssh master -R 8140:127.0.0.1:8140 -L 8139:127.0.0.1:8139). But for
some unknown reason TCP connection is terminated and puppet agent
finishes with message
err: Could not request certificate:
Nigel Kersten wrote:
How would people feel about at least splitting out these into their own types?
* symlinks
* recursive file copies
The intersection of files and directories isn't that big a deal, but
we could split out directories too if we wanted.
A tentative -1 from me. I haven't had
Nigel Kersten wrote:
TL;DR The mount provider has used a mish-mash of checking fstab and
actual mount state to determine state. A possible solution we're
looking at is splitting into two types, one that manages /etc/fstab
(or /etc/filesystem on other OSes), and one that manages actual mount
Giovanni Bordello wrote:
But what if I need to do a web-server specific change? And then
Mail-server specific change? If I had only one test client machine I
would have to reinstall it every time I needed to do verify a change for
a different group of servers. That's hardly a way to go. There
Brian Cully wrote:
When I run puppet with --environment=development everything works
great. When I use my external none classifier which sets the
environment, for some reason, puppet uses the wrong module path
for file references even though my puppetmasterd log shows that
it compiled the
On 2011-03-02 02:50, Eric Sorenson wrote:
(Sorry for responding late; I'm a bit behind in reading puppet-users
and puppet-dev.)
Hi - I've searched around and haven't found anyone who's implemented
a type+provider for configuring network interfaces in puppet. Does
anyone have such a thing
On 2011-02-25 00:23, Nigel Kersten wrote:
On Thu, Feb 24, 2011 at 3:05 PM, Thomas Bellman bell...@nsc.liu.se wrote:
So if you
*do* have different plugins in different environments, and those
contain secrets the wrong client must not know, then I believe you
*are* screwed, because I don't
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:$vardir/env/common/modules
[test]
manifest =
Douglas Garstang wrote:
So... in puppet.conf on the puppet master, there's the external_nodes
setting, which defines the location of the external nodes script. If I
am using multiple environments, I guess I have to have ONE set of
external nodes since external_nodes in puppet.conf is set
jcbollinger wrote:
That bug arises when client and server disagree about which
environment the client should be in, which can happen (as I understand
it) only when the client specifies a non-default environment to the
server, and the server gets a different environment for the node from
an
Stefan Baryakov wrote:
Would anyone share workaround for the bug in the subject.
(http://projects.puppetlabs.com/issues/3910)
Apologizes if that has been answered, I couldn’t find anything ant
it’s a real show-stopper for our planning.
I think not using 'source = puppet:///...' references,
Nigel Kersten wrote:
On Thu, Feb 24, 2011 at 1:29 PM, Thomas Bellman bell...@nsc.liu.se wrote:
I think not using 'source = puppet:///...' references, but instead
using 'content = file(...)' or 'content = template(...)' everywhere,
would do the trick.
Except you end up shipping the file
Nigel Kersten wrote:
On Thu, Feb 24, 2011 at 1:29 PM, Thomas Bellman bell...@nsc.liu.se wrote:
I think not using 'source = puppet:///...' references, but instead
using 'content = file(...)' or 'content = template(...)' everywhere,
would do the trick.
Except you end up shipping the file
James A. Peltier wrote:
This is not necessarily true. If you configure the client to send
a requested hostname it will not require you to register the MAC
address, although, as per the usual this is a security risk since
anyone on the network could pose as a machine if they knew that
was the
On 2011-02-18 16:33, Bryan wrote:
On Feb 18, 8:40 am, jcbollinger john.bollin...@stjude.org wrote:
(When its argument is absent, ls writes to standard
error, which I think Puppet always copies to its log.)
Crazily enough, Puppet doesn't capture standard error at all. It
is always thrown
On 2011-02-18 17:16, Derek J. Balling wrote:
But also my complaint is: Why *isn't* puppet-agent noticing
that resolv.conf has changed? This seems like something that
would only be caused by not using the standard gethostbyname()
calls and such, since *those* should reflect the change in
On 2011-01-26 09:55, Felix Frank wrote:
err: Cached catalog for soncweb.nsc.liu.se failed: Could not parse
YAML data for catalog soncweb.nsc.liu.se: syntax error on line
1234, col 43: ` !ruby/sym line: id:3:initdefault:'
Funky. I bet you use pson for master-agent
Nigel Kersten wrote:
On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien
aurelien.degrem...@cea.fr wrote:
We never use puppetd in daemonized mode, and manual runs puppet when needed
with -t option.
You shouldn't be doing this. If you're running puppet agent out of
cron, you should do
Jason Carr wrote:
I'm running 0.25.4 on Ubuntu 10.04 LTS. Recently when I start
puppetmaster the 8140 port opens but if any client machine connects to
it (ie telnet localhost 8140), the connection immediately dies.
Network wise I see a syn, syn-ack, ack then a fin-ack in both
directions and
Mohamed Lrhazi wrote:
Thanks a lot guys... but how do I do this, both silencing reporting
and overriding noop mode, for a resource other than exec... mine is:
file {
/etc/puppet/facts.yaml:
ensure = file,
content = inline_template(%= scope.to_hash.reject { |k,v| !(
Felix Frank wrote:
That's why I originally asked for pastes of configs, manifests *and*
filesystem listings (not to the list preferably, use pastebin services).
I strongly disagree! Having things on a website instead of in
the actual mail I'm reading and possibly responding to sucks.
It's
2010-12-20 18:38, James Turnbull wrote:
We're now discussing whether it is a good idea to separate our
documentation from the Puppet Core. What we're proposing is to move all
the content from Puppet Docs (barring MCollective - which will stay in
the Mcollective repository) into the Puppet
On 2010-12-21 09:14, Nick Moffitt wrote:
Nigel Kersten:
Can you use the basic service provider with fully-specified
start/stop/restart commands to achieve what you need?
Are you suggesting that I override the start command to a noop, and make
sure the restart command works in that
2010-09-15 15:36, Marc Zampetti wrote:
I don't think I've made my problem clear. The issue is NOT how to
specify a version for a package. I know how to do that. And I know how
to use a define to do it as well.
The issue is that if I call the define from two different classes on the
same
2010-09-15 16:15, R.I.Pienaar wrote:
- Marc Zampetti marc.zampe...@gmail.com wrote:
The problem is that I'm trying to do just what you suggest. I have a
single class that defines the package and a default version, or just
installed. Then I have sub classes that try to override the
li...@truthisfreedom.org.uk wrote:
% mysql_repl_dbs.split[','].each do | dbname | -%
replicate-do-db=%=dbname%
% end -%
I get an error stating that puppet cannot convert a String to an Integer.
Function calls in Ruby use round parenthesis or none at
all, not square parenthesis. Square
Nigel Kersten wrote:
On Sat, Aug 28, 2010 at 9:04 AM, Douglas Garstang
doug.garst...@gmail.com wrote:
I mean that you need to create a new class for each customer you add.
That does not scale.
Why can't you have a class that instantiates your defined type?
I don't know Douglas'
On 2010-07-30 13:59, CraftyTech wrote:
So it looks like it's a bug... Apparently, you can only specify one
repo per file via Yumrepo definition...
http://projects.puppetlabs.com/issues/2062
It looks like it was so long ago.. I'm surprised that no one has come
up with a work around yet.
On 2010-07-30 06:18, Daniel Pittman wrote:
If this is a voting matter, let me put in a vote for passing a simple string
to the shell, and passing an array direct to exec, which is consistent with
the use of 'system' style commands in a whole bunch of sysadmin scripting
languages.
Eg, this:
Jean-Baptiste Barth wrote:
I'd like to be able to deploy a skeleton directory through puppet, i.e.
puppet deploys it only if it does not exist.
[...]
But I have 2 problems for the moment :
- if I don't set owner/group, it takes uid/gid on the puppetmaster,
which does not exist on the node ;
On 2010-06-21 21:37, CraftyTech wrote:
Thanks for the response. Right now I have it:
max_allowed_packet=% if $memorysize.to_i = 4 %8M% elseif
memorysize.to_i = 4.1..8 %16M% elseif memorysize.to_i = 8.1..16
%32M% elseif memorysize.to_i 16 %32M%end %
but for some reason ignores
On 2010-06-16 19:21, Alan Barrett wrote:
No, that won't install the packages in any specific order. There are no
explicit or implicit dependencies between apckages in your example, but
in my case I want each package to explicitly depend on its predecessor
in the array.
How about this:
On 2010-06-15 01:21, Nigel Kersten wrote:
Sorry, I wasn't quite clear. You need to make this accessible to the
libdir on the *server*.
So whatever your puppetmasterd libdir is, you need to somehow ensure
the types/providers are there. We do it with symlinks.
I think it is sufficient to set
On 2010-06-15 16:20, Nigel Kersten wrote:
On Tue, Jun 15, 2010 at 1:00 AM, Thomas Bellmanbell...@nsc.liu.se wrote:
I think it is sufficient to set modulepath under [puppetmasterd] in
the puppet.conf file. I do:
[puppetmasterd]
modulepath = /config/e/production/modules
On 2010-06-15 17:07, Nigel Kersten wrote:
On Tue, Jun 15, 2010 at 7:58 AM, Thomas Bellmanbell...@nsc.liu.se wrote:
I mitigate that by also doing
manifestdir = /dev/null
manifest = /dev/null/site.pp
Are you using an external node classifier? I thought that when I
deployed a
On 2010-06-11 21:20, Christopher Johnston wrote:
Thomas I don't see your GIT repo, looks to be offline.
I don't see any problems when I check now. A git clone of
http://www.nsc.liu.se/~bellman/nsc-puppet-utils.git works
fine for me. (Note, however, that you can't point a normal
web browser
On 2010-05-28 15:19, ed-rfmd wrote:
package { libXp-32bit:
provider = rpm,
source = $kickstart/ICAClient/RHEL5/
libXp-1.0.0-8.1.el5.i386.rpm,
ensure = installed,
}
package { openmotif-32bit:
On 2010-05-24 22:32, Hercynium wrote:
Can do. What's the preferable approach on this list? Posting to
pastebin/gist, or directly in-message?
Inline in the message, please. Having to surf to a webpage to view
the information sucks, especially if you read mail offline.
/Bellman
--
On 2010-05-12 18:10, Ken wrote:
External node classifiers can only specify variables and classes,
not resources. Big limitation.
I personally like the separation. In our case we want to provide a
'model/data only' approach at that layer - and hide 'code logic'. Of
course parameterized
On 2010-05-19 11:59, R.I.Pienaar wrote:
it's not exactly your use case, but there's a lot of milage to be
had by just creating
a query interface for puppet into your customer db and using that..
pseudo code alert:
node foo {
include virtual_web_hosts
}
class virtual_web_hosts {
On 05/11/10 21:48, Gabriel - IP Guys wrote:
I've finally managed to get xen installed on a remote system via puppet
http://puppetnewbie.blogspot.com/2010/05/installing-xen-instance.html
I was about to create my test machines manually, when it occurred to me,
that I should be doing this via
On 05/12/10 00:31, Dan Bode wrote:
you guys don't use an external node classifier? Is there a reason you
prefer to declare nodes?
Why *should* I use an external node classifier? I would just need to
invent a description language for describing my nodes, when there
already is an existing one
On 2010-05-03 19:06, merritt wrote:
I want to be able to add additional resources to my virtual users,
such as force a file or directory to exist if I realize that user, if
someone could point me in the right direction, I’m guessing i need to
use a definition I’m just not sure on the best way
On 04/24/10 00:47, Eric Sorenson wrote:
rlpowell mentioned this earlier on irc and i find myself in a similar
boat - I need to express a condition that doesn't fit neatly into the
class/parameter model and I'm not quite sure how to do it. i'd like
to add a cron entry IFF a particular file (not
On 04/23/10 15:55, ed-rfmd wrote:
$boot_time = generate('/usr/bin/env', '/bin/date', '+%H:%m')
notice(boot_time = $boot_time)
$boot_hour = regsubst($boot_time,'^([0-9]+)[:]([0-9]+)\n','\1')
notice(w newline - boot_hour = |$boot_hour|)
$boot_hour_1 =
Sukh Khehra wrote:
I have a need to audit user accounts on all of my puppet clients.
Essentially, I need to collect the password and shadow file from all of
my clients to one central location and analyze them. How would someone
do this using puppet. Is there any mechanism to ship files to the
Trevor Vaughan wrote:
Mainly sugar around the call with the ability to twiddle all of the
useful rsync flags in a platform-agnostic manner where possible.
That would be truly awesome.
I have such a define in my module nsc-puppet-utils (available at
Dan Bode wrote:
I would prefer if puppet ran the sync. It would be nice to receive
puppet events for any changes made via rsync (essentially reports of
which files change, this would require that it is implemented in ruby).
I can see from reading the man page that there is a --dryrun call
Patrick wrote:
On Apr 8, 2010, at 2:15 AM, Thomas Bellman wrote:
This does two things: when run the first time, it actually does
an rsync of a directory tree. And then it creates a cron job
for keeping the tree synchronized with the source. You use the
'creates' parameter to indicate
Joe McDonagh wrote:
[I'm re-arranging what Joe said a bit so I can keep replies to related
issues together.]
They're not
unix-agnostic resources for one (has that fundamental bit of philosophy
changed?), and they're unlikely to change in a way that you want puppet
to 'correct'.
Puppet has
Douglas Garstang wrote:
On Tue, Mar 23, 2010 at 4:00 AM, Thomas Bellman bell...@nsc.liu.se wrote:
You could do it like this:
$templ = file(/config/foo/xyzzy.$fqdn.erb,
/config/foo/xyzzy.default.erb)
$content = inline_template($templ)
file {
/my/file: content
Darvin Denmian wrote:
What option I need to use to create a system account with Puppet?
Like the bellow command:
useradd -r nagios -s /sbin/nologin -d /var/lib/nagios -m nagios
Sorry for this newbie question, I'm new in Puppet configuration :)
You can't do that with the plain user type in
JeFFreaK wrote:
i'm stuck with the plugin in modules section.
i've got 2 environments set called
development and production.
[...]
now i wanted to have the sysctl plugin inserted in my development
environment without harming anything in production.
http://github.com/duritong/puppet-sysctl
Darvin Denmian wrote:
I'm getting the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Could not find resource type line
The lines bellow are responsable for this issue
line { kernel_log:
file = /etc/syslog.conf,
line = kern.*
Nigel Kersten wrote:
On Tue, Mar 30, 2010 at 7:49 AM, Thomas Bellman bell...@nsc.liu.se wrote:
Indeed, they don't. You cannot have custom types or custom
functions per environment. All environments will share the same
set of plugins (except for facts).
That's not actually quite true
Michael DeHaan wrote:
One way to handle this would be by keeping confidential information in a
seperate version control repository (not public), rather than in your
main one. Puppet has a system of module paths so you could keep your
confidential info seperate from the content you would
Douglas Garstang wrote:
On Mon, Mar 22, 2010 at 7:15 PM, Ohad Levy ohadl...@gmail.com wrote:
Hmm.. Puppet does not support going over multiple templates like it does in
plain files.
maybe there is even a feature request for it ;)
Aw crap. I've been told that twice in the last few days. Is
robert.gstoehl wrote:
I'd like to provide a definition with an argument which is optional
and defaults to the title:
net::route_default{first: gateway = 192.168.0.1}
or the shortcut:
net::route_default{192.168.0.1}
Do it like this:
define route_default($gateway=)
{
if
Haris Farooque wrote:
*err: Could not run Puppet configuration client: Parameter path failed:
File paths must be fully qualified, not 'puppet:/myFileSrc**/filename'
at /etc/puppet/manifests/myfile:158
The correct format is puppet:///myFileSrc/filename. Or more general,
Brice Figureau wrote:
It would be interesting in finding where (when?) the time is taken. I'm
wondering if it comes from the master or puppetd itself. Does running
with --debug gives more information.
Maybe it does. I do need to look into this sometime, but I won't have
the time for yet a
James Cammarata wrote:
Also, this doesn't seem to be CPU load, just time. It took puppet longer
to apply a manifest than CFengine, I'm assuming they made the same changes
on both systems and had both CFengine and puppet correct the same
differences. Wall clocks != higher load.
In my opinion,
Trevor Vaughan top-posted:
Just out of curiosity, do the ones that take longer happen to be 64 bit?
Well, yes, they are indeed 64 bit (x86_64). But that doesn't
distinguish them from the quicker ones. They are all running
CentOS 5.4 for x86_64, and they all have identical quad-core
Opteron
Frederik Wagner wrote:
I would think that something like the following would do the job, but
it doesn't.
in some class:
@file{/mountpoint: ensure = directory }
@mount{/mountpoint:
...,
require = File[/mountpoint]
}
in some other class:
Mount| title == /mountpoint |
What am I
Nigel Kersten wrote:
So facter plugins are kind of different, as they're not actually
required to be in the puppetmaster libdir.
Say this was a type/provider, and you wanted to add a new parameter,
but only roll it out to your testing environments.
Functions also have this limitation, by the
Atha Kouroussis wrote:
- Lack of external node classifier: how do you control/specify which node
applies which modules?
You would likely use 'node' statements in your manifests.
But I think you can use external_nodes from stand-alone puppet as well.
You would of course need to make sure that
James Cammarata wrote:
Hi, we're trying to re-use some variables that are currently used for
templating a configuration file. We found out these same hosts need to be
in our /etc/hosts file as well, so we'd like to use the built-in host type
to do this, but since our list of hosts is stored as
guests, managing iptables rules, and so on.
Is that the kind of things you are looking for? If so, you can 'git clone'
it from http://www.nsc.liu.se/~bellman/nsc-puppet-utils.git. (There is some
support for doing things with Gentoo as well in that module, by the way.)
/Thomas Bellman
Kenton Brede wrote:
I searched through old messages and didn't see that this had been
addressed. I can see people wanting facter to report the minor
version and others wanting just the major release number. The way it
stands I'll need to change every operatingystemrelease variable, each
Andrew Schulman wrote:
To me it seems like more specialized material that should go in the reference
rather than the tutorial. But wherever it goes best is fine with me.
Well, the Language Tutorial *is* the reference manual for the language.
There's no other document giving a more in-depth
rjustinwilli...@gmail.com wrote:
I'm beginning my forays into puppet templates, and am trying to figure
out the template language. Specifically, looking at conditions. I've not
seen anything that would describe the use of, for example, case, or
if/elseif/else types.
I saw on puppet's
Silviu Paragina wrote:
Are there any such things? For example
$ip_list_arr=split(ip_list,,)
$ip_external=*$ip_list_arr[0]*
Or the only way to do it, is via custom functions?
I think I read something like this before, but can't remember where or
if it was with a custom function or not.
Silviu Paragina wrote:
On 02.12.2009 17:39, Thomas Bellman wrote:
If you only need it once, you can abuse inline_template() to do it:
$ip_list_arr = split($ip_list, ,)
$ip_external = inline_template(%= ip_list_arr[0] %)
What do you mean by once? It's slow? Or some other reason
mk wrote:
What I want to do is puppet client( puppetd ) tries to syncronize /etc/
hosts permission as 644, and puppetd tries to check every 3 minutes.
( I know 3 min is so quick, this is just a test of schedule)
So I wrote manifests/site.pp,
node default {
schedule { every3min:
JoE wrote:
I understand that puppet needs port 8140 tcp/udp open for server and
client.
Will puppet work if a firewall is set up between these two hosts that
only allows traffic from the server to the client (server - client),
or is two communication required?
It's the other way around:
John Warburton wrote:
I am trying to find a workaround to get functions to work with
environments in modules as they won't be fully supported until 0.26.x
(http://projects.reductivelabs.com/issues/1175)
I can't get the workaround in bug #1175 to work - it may only have
worked in 0.24.x
Arnau Bria wrote:
# /etc/init.d/pakiti status
nightly pakiti update is enabled
# /etc/init.d/pakiti stop
Disabling pakiti: [ OK ]
# /etc/init.d/pakiti status
nightly pakiti update is disabled
Now try this:
# /etc/init.d/pakiti start
#
jcbollinger wrote:
On Nov 10, 10:13 am, Thomas Bellman bell...@nsc.liu.se wrote:
The problem is that 'chkconfig service on' does an implicit add of
the service; but it does a half-assed job, in that it only adds the
start links, not the kill links. Thus, it is very easy to get
jcbollinger wrote:
I'm not sure how your service is getting into the state it's in, but
the problem is a faulty or damaged installation of the service, not
improper behavior of Puppet. Puppet service management assumes that
the service is already correctly installed, and that includes the
John Philips wrote:
Peter, sorry if it appears that I'm using you as a target, but
you just put a big bullseye on yourself :-) If I understand
correctly, you suggest running puppet individually on every
single host and having the hosts query themselves, i.e. no
central puppetmaster? So,
Disconnect top-posted thus:
ISTR trying that and having the same problems.
User depends on class ldap-users. (So in theory, anything that needs a
user will require that.) Puppetd bails after grabbing the config with
cannot find user joe because ldap isn't set up. (Same using tags.)
Users
Disconnect wrote:
In general, it seems like the best way to handle must go first
bootstrap items like that is with environments. (We haven't gotten
there yet, but we're moving in that direction.)
New node comes up in environment bootstrap, where there is a generic
definition and 1 class
Kim Gert Nielsen wrote:
hmm then the debian version must be backported because it works in
0.24.5-3 :)
On Oct 15, 2009, at 1:36 PM, Marc Fournier wrote:
Beware that distributing facts and libs in modules doesn't work from
environments before 0.25.
It may be more correct to say that
Aurelien Degremont wrote:
How do you deal with a file, like /etc/sysconfig/network which have
content composed from different aspects (could be network, nfs, nis,
...). So managed by various modules but all of them should add its
own stuff to the same file.
What is your elegant way to
Trevor Vaughan wrote:
I seem to be having a problem with the yum provider and nailing down
specific package versions on specific architectures.
[...]
I don't have access to my Redmine account info right now or I'd put in
a bug report.
There already is a bug report for this problem:
Chris Westin wrote:
Sure, but I'm using content = template(...) to fill in the file.
This appears in a baser class, and various other classes and defines
are layered on top that, providing substitution variable values at
different levels.
Problem is that some files really beg for being
jcbollinger wrote:
I don't think puppet supports dependencies between defined type
invocations -- at least, not the way you seem to expect. This makes
sense to me when I consider that although defined types look a lot
like classes, they are not singletons and they function essentially as
1 - 100 of 131 matches
Mail list logo