thanks for the reply, I actually made an error in my declaration. I used
two variables which I had just moved out of scope, and so I declared two
empty File[] objects - and puppet complained.
When your solution didn't work either it hit me :) .
thanks greetings!
Axel.
Am Dienstag, 31.
Hello Christopher,
that's a nice explanation. I thought only the contents _under_
.../nfs-mounted/ would be server-side, not the mount-point itself. Well you
always learn more. no_root_squash is not an option, I will have a look as
how to manage that properly on our server side.
Mainly I
Hi,
I am new to puppet and have started evaluating various features in last few
days. I am not a developer and am mostly going to use the modules available
on github or puppet forge.
Currently I have tried all easier modules and they seem to work perfectly
without any issues, but now the problem
Hi,
I am new to puppet and have started evaluating various features in last few
days. I am not a developer and am mostly going to use the modules available
on github or puppet forge.
Currently I have tried all easier modules and they seem to work perfectly
without any issues, but now the
On 31.07.2012 20:09, Nikolaos Hatzopoulos wrote:
exec { sshkeygen:
path= /usr/bin:/usr/sbin:/bin,
creates = [ puppet:///myuser/files/$username/id_rsa
, puppet:///myuser/files/$username/id_rsa.pub ],
command =
This did indeed make a huge difference. From about 10 seconds when loading
everything, down to 0.22 seconds(!).
Thanks for your help, Jake!
/ Alexander
On Tue, Jul 31, 2012 at 8:16 PM, Jake - USPS jacob.m.mcc...@usps.govwrote:
Try something like the following instead (added 'incl' and 'lens'
On Mon, Jul 30, 2012 at 10:51 PM, Eugene Kirpichov ekirpic...@gmail.comwrote:
Hello puppet-users,
I need to use puppet to install a slightly modified version of a
package (modify a few lines in the scripts it installs)
Which script, the init script? Which package?
* Add separate file
On 31/07/12 19:16, Jake - USPS wrote:
Try something like the following instead (added 'incl' and 'lens' and
removed context as its default based on incl is what you had) :
augeas { 'homeLV':
incl = '/etc/fstab',
lens = 'Fstab.lns',
changes = [
'set *[file = /home]/dump 0',
On Tuesday, July 31, 2012 6:54:14 PM UTC-5, Nick Lewis wrote:
On Tuesday, July 31, 2012 2:05:28 PM UTC-7, ZJE wrote:
Is it possible to access @resource variables inside a type?
I would like to make some decisions on parameters based on other
parameters that may have already been set.
For
On Tuesday, July 31, 2012 6:07:40 PM UTC-5, Stefan Schulte wrote:
On Tue, Jul 31, 2012 at 03:24:15PM -0700, ZJE wrote:
Is it possible to get extra output when running custom types? Right now,
I'm getting an error message and I'm not sure where in the code it's
being
thrown from.
Is there a way to tell puppet not to try and parse certain files?
It keeps trying to parse backup files and I get errors like:
err: Could not load downloaded file
/var/lib/puppet/lib/puppet/parser/functions/private_path.rb~: Function
private_path already defined
In this case there's a real
I distribute my root keys through the following setup:
A custom fact ('ssh_pub_keys.rb') exports my root pub keys. Then I include
the 'dasar::ssh_keys::root' class on my nodes (see 'root.pp'). Now I can
ssh from all my machines that have that include into all my other machines
that have it
Uh, crap. Should include the files of course. Here they are...
--
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/puppet-users/-/CRol4KKqo6cJ.
To post to this group, send
I'm doing something similar in one environment… I've come to realize this
method contains less awesome than I'd anticipated.
What I'd suggest doing, is changing the file deployed to the client into a
template that's deployed via puppet..
have that template set the content correctly for the
On Mon, 2012-07-30 at 14:51 -0700, Eugene Kirpichov wrote:
Hello puppet-users,
I need to use puppet to install a slightly modified version of a
package (modify a few lines in the scripts it installs), but I don't
want to build my own version of the package and distribute it via a
private
Hello,
I can't wrap my head around what is causing this error. After rebooting the
box I get this error. If I remove the $hostgroup parameter is errors at
$product_domain and down the line. What is going wrong here? I have facters
defined for nagios server.
I am testing this where nagios server
Hi,
I want to package puppet-dashboard, and I need to find out which version of
railties it does use. puppet-dashboard seems to use rails 2.3.11, and
railties is a requirement to rails only since version 3.0.
So what version of railties should the package require?
Thanks in advance,
Nanuk
--
Hello all.
I have one simple question. Can I after executing manifest implement some
command on master?
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion on the web visit
Hi Calvin,
Thanks, your solution is exactly what I need! So simple and elegant and
obvious in retrospect :)
среда, 1 августа 2012 г., 8:49:42 UTC-7 пользователь Calvin Walton написал:
On Mon, 2012-07-30 at 14:51 -0700, Eugene Kirpichov wrote:
Hello puppet-users,
I need to use puppet
- Original Message -
From: Felipe Ortega orteg...@gmail.com
To: puppet-users@googlegroups.com
Sent: Wednesday, August 1, 2012 5:28:23 AM
Subject: [Puppet Users] rand losing its randomness after using fqdn_rand
Hi,
I'm a newbie puppet user, and I'm facing some weird
When I comment the line out I still get a related error:
#puppet agent --test --verbose
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Invalid parameter short_alias at line 370 on node nagios
warning: Not using cache on failed catalog
err: Could not retrieve catalog;
Not sure that this should be considered a bug in fqdn_rand - the idea with
fqdn_rand is that it should generate the same random number each time it is run
in order to maintain idempotency.
The salt will be different on *different* hosts, but it will be the same on the
same host.
-Eric
--
On Wed, 2012-08-01 at 08:56 -0700, david.gar...@gmail.com wrote:
Hello,
I can't wrap my head around what is causing this error. After rebooting the
box I get this error. If I remove the $hostgroup parameter is errors at
$product_domain and down the line. What is going wrong here? I have
On Wed, 2012-08-01 at 18:58 +0100, R.I.Pienaar wrote:
From: Eric Shamow e...@puppetlabs.com
Not sure that this should be considered a bug in fqdn_rand - the idea
with fqdn_rand is that it should generate the same random number
each time it is run in order to maintain idempotency.
The bug
Hello all,
I've been banging my head against the wall trying to get this make to run
and I was hoping to get some opinions as to why this might not be working.
The module in question looks like this:
class install-lei_chelsio_driver {
# This will place the chelsio tarball locally in
I have some similar manifests, and I usually deploy a script (via a file
type) and then use an exec to run the script. This seems cleaner to me
(rather then a chain of exec statements) and insulates the scripting from
Puppet.
Ben
On Wednesday, August 1, 2012 2:56:11 PM UTC-5, Mike Reed
On 2012-08-01 18:47, Anton Swood wrote:
Hello all.
I have one simple question. Can I after executing manifest implement
some command on master?
You could link up to the report processor. That's triggered on the
master after a run.
Best Regards, David
--
You received this message because
On 2012-08-01 14:28, Felipe Ortega wrote:
So, with this setup, on every run of the puppet agent, a new shadow
password was assigned to the user. Well, in fact it was always the same
cleartext password, but as the salt was different on every run, the
shadow password of the user was different too,
* Mike Reed mjohn.reed at gmail.com [2012/08/01 12:56]:
# This will run the make which will line up everything to install
the drivers from source.
exec { /usr/src/ChelsioUwire-1.0.2.26 make
KDIR=/usr/src/linux-headers-2.6.32-41 :
path =
Dear Puppet Enterprise Users,
Puppet Enterprise 2.5.3 is now available. This is a maintenance
release of PE with bug fixes.
As a current Puppet Enterprise user, you can upgrade to this new
version as part of your annual subscription. As always, if upgrading,
it is recommended to upgrade your
Hello all,
I am new to puppet and I am try to come up with a proof of concept for
setting up a DNS server.
I think I can just get by with just running puppet directly on my
host without setting up a master/agent type configuration.
This maybe related to the my problem but I suspect not.
On Wed, 2012-08-01 at 12:56 -0700, Mike Reed wrote:
Hello all,
I've been banging my head against the wall trying to get this make to run
and I was hoping to get some opinions as to why this might not be working.
The module in question looks like this:
Lets take a look in order:
class
Hey, Mitchell,
HMM. Sounds like the docs team needs to get on this.
(-- is 1/2 the docs team)
I'm going to name some special directory or file names below. These are all
puppet config settings, and you can get the current value for them on any
machine by running puppet master --configprint
On Wed, 2012-08-01 at 14:47 -0700, red wrote:
Hello all,
I am new to puppet and I am try to come up with a proof of concept for
setting up a DNS server.
I think I can just get by with just running puppet directly on my
host without setting up a master/agent type configuration.
This
On Wed, Aug 1, 2012 at 3:35 PM, Nick Fagerlund
nick.fagerl...@puppetlabs.com wrote:
Hey, Mitchell,
HMM. Sounds like the docs team needs to get on this.
(-- is 1/2 the docs team)
I'm going to name some special directory or file names below. These are
all puppet config settings, and you
Hi,
I want to find a way to make sure that the Nagios configuration is valid
before performing a reload, and I came up with this:
exec { 'check_nagios_config':
subscribe = File['/etc/nagios/objects'],
refreshonly = true,
command = '/usr/bin/nagios -v /etc/nagios/nagios.cfg',
Puppet 2.7.19rc1 is a maintenance release candidate for Puppet in the
2.7.x series. It includes bug fixes, including improvements around the
Windows package provider. This release is largely the result of a
recent effort to reduce open Pull Requests against Puppet and contains
a number of
Hi Joe,
On Tue, Jul 31, 2012 at 6:41 PM, Joe Topjian joe.topj...@cybera.ca wrote:
Hello,
I am hoping that someone might be able to shed some light on the best way
to solve an issue.
All,
Due to an error on my part munging the various commits for the
changelog, a substantial number of commits didn't make it into the
changelog in the original email. Below is an updated changelog. I
sincerely apologize for any confusion. A more accurate reflection of
the contributors for this
Hi Dan,
This is actually a pretty common modeling problem in Puppet.
I figured it had to be common as this type of configuration can exist in a
lot of other system administration areas.
I just wrote a function called ensure_resource that is intended to solve
this problem.
On Wed, Aug 1, 2012 at 7:37 PM, Joe Topjian joe.topj...@cybera.ca wrote:
Hi Dan,
This is actually a pretty common modeling problem in Puppet.
I figured it had to be common as this type of configuration can exist in a
lot of other system administration areas.
I just wrote a function
Thank you Calvin. I will give that a try.
On Wednesday, August 1, 2012 3:52:02 PM UTC-7, Calvin Walton wrote:
On Wed, 2012-08-01 at 14:47 -0700, red wrote:
Hello all,
I am new to puppet and I am try to come up with a proof of concept for
setting up a DNS server.
I think I can
42 matches
Mail list logo