I tend to expose the ensure related resource attributes as parameters that
can be specified at the node level:
class { apache:
package_ensure = absent,
}
The natural evolution is to get to a point within the organization where
reinstalling a host is no longer scary. If the provisioning
I would probably grimace and find my right eye twitch ramp back up if this
was in my environmentbut here you go:
node default {
if $::ipaddress =~ /^10\.0\.[3,4]\.\d{1,3}$/ {
include testing # testing class
}
}
Obviously make sure no other matching node defs exist for this host.
Hi,
I managed to make an example that deploy a jar in a specific folder, but my
main goal was to deploy the jar from the server machine in a specific node,
is that possible with just the resource 'file '?
thanks,
Le jeudi 5 juillet 2012 16:59:09 UTC+2, mouhcine MOULOU a écrit :
Hi ,
I
Hi,
[INSTALL, DEPENDENCIES] bind9utils
[REMOVE, DEPENDENCIES] avahi-daemon
[REMOVE, DEPENDENCIES] bind9-host
[REMOVE, DEPENDENCIES] dnsutils
[REMOVE, DEPENDENCIES] facter
[REMOVE, DEPENDENCIES] libnss-mdns
[REMOVE, DEPENDENCIES] puppet
[REMOVE, DEPENDENCIES] puppet-common
[REMOVE,
Hi,
On 07/06/2012 09:26 AM, Benjamin Lei wrote:
So I have added a config in Puppet to replace my OS's old Ruby version
with a newer one. Unfortunately, it seems that if I run vagrant
provision again (which essentially does a puppet apply), Vagrant (or
Puppet) reuses the same ssh session or
On 07/06/2012 06:09 PM, Dan Bode wrote:
It's save in vpsX.ovh.net.pp in puppet/manifests/nodes and in my
site.pp i include
did you mean import?
Assuming you did, there may still be permission problems etc.
Make sure puppet can indeed find your node declaration.
Cheers,
Felix
Hi,
sorry for the late nitpicking.
On 07/06/2012 10:54 PM, Peter Bukowinski wrote:
# This will run the boost bootstrapper
exec { /tmp/boost_1_41_0/bootstrap.sh :
subscribe = Exec[untar_boost] ,
}
2. The exec /tmp/boost_1_41_0/bootstrap.sh should only
Hi,
I'm new in using Puppet as the most people here :-)
I just have a problem when i want to start the puppet master daemon. I got
this :
[root@FRPARSRNLINNTO ~]# service puppetmaster start
Démarrage de puppetmaster
:/usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:77:in `unlink':
*
*
It's save in vpsX.ovh.net.pp in puppet/manifests/nodes and in my
site.pp i include
did you mean import?
yes sorry, it's an import
i don't know what happens because this morning i had tried and it works...
thanks for answering :)
--
You received this message because you
Searching LinkedIn should be a good starting point. Where are you located (US,
Europe, ..)?
Bernd
Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im
Auftrag von JeremyCampbell
Gesendet: Samstag, 7. Juli 2012 19:06
An: puppet-users@googlegroups.com
Betreff: [Puppet
On Sat, Jul 7, 2012 at 4:09 PM, Dennis Jacobfeuerborn
djacobfeuerb...@gmail.com wrote:
Thanks, that was indeed the issue. I just appended it to the file and didn't
notice the catch-all rule.
Glad you got it sorted. To the devs, is it worth perhaps considering
commenting out all lines in that
On Monday, 9 July 2012 06:44:16 UTC+1, Alan Evans wrote:
From what I can tell there is no need to use alternate names. You can
make the F5 appear to the clients to be the puppetmaster by leveraging
the F5 to do SSL offloading and part of the certificate verification
taking some load off
On Monday, July 9, 2012 4:12:18 AM UTC-5, Yves Ntonfo wrote:
Hi,
I'm new in using Puppet as the most people here :-)
I just have a problem when i want to start the puppet master daemon. I got
this :
[root@FRPARSRNLINNTO ~]# service puppetmaster start
Démarrage de puppetmaster
On 07/07/2012 12:24 AM, Clay wrote:
Thanks. I already disabled puppetdb and still got the above 403
Forbidden error, also tried remove /etc/puppet/ssl and restarted
puppet master, same error.
This may be a case of apache refusing to talk to clients on the local
host. Have you checked
Hi Jeremy,
I might be able to help. Currently doing some Puppet consulting work.
Please drop me a line at werner dot bahlke at gmail.com.
Werner
On Saturday, July 7, 2012 1:05:52 PM UTC-4, JeremyCampbell wrote:
I run a small shop, around 10 servers and spent some time with Puppet but
I'm
I was able to get this working thanks to the the Puppet IRC channel, and
specifically Kelsey Hightower.
The gem didn't install things quite well enough for Puppet, and when I ran
the recommended command to get the sources in place for pluginsync, I
grabbed a newer version that just happened to
Right, so here is lots of interesting things now !
The puppetmaster is resolved via /etc/hosts and is set with server= in
the [main] section.
Trying to connect with the openssl command from a working server is just
fine of course. From one of the broken servers the following error shows
up:
On Friday, July 6, 2012 3:58:48 PM UTC-5, catshirt wrote:
another option besides using the master as a agent to itself, would be to
version your master configuration in git, and set up a post-receive hook to
re-apply the master configuration.
Such a setup is possible, but it discards
Thx John.
The puppet master is now daemonize
Le lundi 9 juillet 2012 15:05:59 UTC+2, jcbollinger a écrit :
On Monday, July 9, 2012 4:12:18 AM UTC-5, Yves Ntonfo wrote:
Hi,
I'm new in using Puppet as the most people here :-)
I just have a problem when i want to start the puppet master
On Friday, July 6, 2012 3:17:15 PM UTC-5, llo...@oreillyauto.com wrote:
Just as an update, I found a workaround by setting certname to the IP, but
I was still wondering if this is the best solution when there isn't a
real hostname on the system(s)?
It is not the best solution. In fact,
Hello folks..
I suddenly found the crontab on one of my puppet clients overwritten. It
had many entries, including one created by Puppet. Suddenly during one run
it was overwritten, keeping only the Puppet entry and removing everything
else. Nothing changed between the previous runs and the
Hi,
If I have understood it correctly, puppet 3.0.0 will include / require
hiera. In order to add support for hiera directly in Geppetto I
downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera
functions, but they where not there.
What is the expected packaging going to be
You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0
should bring in both Hiera and hiera-puppet as deps.
On Jul 9, 2012, at 9:21 AM, Henrik Lindberg henrik.lindb...@cloudsmith.com
wrote:
Hi,
If I have understood it correctly, puppet 3.0.0 will include / require hiera.
I'm getting more and more execution expired as systems checking and
hit puppetdb for the first time (switching from a mysql instance). The
command queue isn't long (1-5, if anything, all the time), and ym
master itself seems to be dealing well enough. I have seen the
collection time growing higher
Hi Jeremy,
Normally I would refrain from posting commercially here, but since you
asked for it I guess it's okay. My company OlinData caters to clients like
yourself (smaller, lower budget). You can read about what we offer here
(including guidelines for pricing) : http://olindata.com/consulting
I'm looking for a way to determine the number of characters in a
string/variable. I've tested some of the ruby length functions, but no
luck. Has anyone done this before?
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To view this discussion
Hello Puppet Users,
I need a puppet master (Ubuntu) to push the executable files to the agent
(windows 7) and install those executables
I believe the manifest file should be set up to push such config to the
windows agent. I came up with something like this:
class wireshark {
exec {
Hey everyone,
I seem to be running into an error that I can't find an answer for.
I have a simple manifest that installs a few packages and then starts a few
services. But it chokes while installing Nginx with this error:
err: /Stage[main]//Package[nginx]/ensure: change from purged to present
On Sat, Jul 7, 2012 at 1:05 PM, JeremyCampbell
jeremycampbel...@gmail.com wrote:
I run a small shop, around 10 servers and spent some time with Puppet but
I'm no programmer. I've created a set of manifests but most have issues and
I'm certain that they don't follow best practice etc. I would
I'm in the process of refactoring some code and getting it ready for 3.0 in
the process.
I'm trying to better modularize things as well.
I've got a general tomcat module, but I also have a number of tomcat
related things that only apply to one class of appserver we have.
What would be the
$ cat var_l.pp
$var = i like pie
$var_l = inline_template(%= var.length %)
notice('$var' is $var_l characters long)
$ puppet var_l.pp
notice: Scope(Class[main]): 'i like pie' is 10 characters long
* jkuskowski jkuskowski at benchmarklogic.com [2012/07/09 06:59]:
I'm looking for a way to
Hi,
On Mon, Jul 9, 2012 at 10:53 AM, vita vt...@yahoo.com wrote:
Hello Puppet Users,
I need a puppet master (Ubuntu) to push the executable files to the agent
(windows 7) and install those executables
I believe the manifest file should be set up to push such config to the
windows agent. I
I did a set of google searches looking for the answer to this
question, but didn't find any good ones. Since I believe the
community may benefit from my experience, I thought I'd post it.
While updating patches on ubuntu 10.04 on a staging puppet
environment, I noticed the apt key for puppetlabs
Hello there,
I've done the strace as suggested and I found that puppet is doing an open
and lstat of all files in a user's directory which contains a large number
of files.
I was reading about it and I found about the recursive = false used when
dealing with this kind of problem, as it
Hello,
After I wrote the other message I actually found where to put the recursion
option, on
./modules/users/manifests/definitions/useraccount.pp
So now it's sorted, or at least the process is not taking ages anymore.
I guess that was it, please confirm :-)
Thanks in advance,
Marco
On
I have followed you suggestions for placing the file on windows and got
following error. Pls advise!!!
C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server
qalab2.pertino.com
info: Caching catalog for homebasic32.pertino.com
info:
Here is my file:
file { 'C:\Users\vita\Downloads\Wireshark-win32-1.8.0.exe':
ensure = present,
source = 'puppet:///puppet/modules/wsh/Wireshark-win32-1.8.0.exe',
}
Viktoriya
From: Josh Cooper j...@puppetlabs.com
To:
Josh,
This is what I got this time, after fixing the source path. Pls help. Great
Thanks!
C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server
qalab2.pertino.com
info: Caching catalog for homebasic32.pertino.com
info: Applying configuration version '1341867021'
err:
On Monday, July 9, 2012 1:02:43 PM UTC-5, Matthew Rayfield wrote:
Hey everyone,
I seem to be running into an error that I can't find an answer for.
I have a simple manifest that installs a few packages and then starts a
few services. But it chokes while installing Nginx with this error:
FYI, we've been debugging this on IRC. We believe the issues were that
there were insufficient system resources allocated to the database,
and that frequent queries from the puppetdb dashboard itself were
causing load spikes. Allocating more shared_buffers to the database
and reducing the
Hi Viktoriya,
On Mon, Jul 9, 2012 at 2:18 PM, Viktoriya Tochilnikova vt...@yahoo.com wrote:
I have figured it out and got it to work - my executable is getting placed
on win machine. Great thanks, Josh.
How, I need to execute it. Here is my executable:
exec {
I got an error with/without logoutput:
C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server
qalab2.pertino.com
info: Caching catalog for homebasic32.pertino.com
info: Applying configuration version '1341871910'
notice:
still pretty new to Ruby, please bare with me :) Say I have a module
with a custom type, structured like so:
[modules]/mymodule/manifests/init.pp
[modules]/mymodule/lib/puppet/provider/mytype/foo.rb
[modules]/mymodule/lib/puppet/type/mytype.rb
In foo.rb, I'd like to call some custom ruby
thanks! this is what i suspected. but, my core issue then, it would seem,
is that the node_aws cloud provisioner does not run the puppet agent in
sudo.
i think this is the case, because when i provision a new agent via node_aws
and provide a --certname, the autosigning process ignores it and uses
We've had a few cancellations for our Puppet Camp Chicago (July 23, 2
weeks from today). If you'd like to speak about Puppet,what you're
doing with it, DevOps, etc we may have a spot for you.
You can game fame, fortune or at least a little notoriety.
If you'd like to speak, just reply to me
On 2012-09-07 19:07, Kelsey Hightower wrote:
You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0
should bring in both Hiera and hiera-puppet as deps.
Thanks,
that is a good start. My issue is however that I don't want to install
things in order to scan them for
I find the cause of the problem, because the client and server time not
synchronization.
发件人: 刘亚丹 [mailto:lyf...@gmail.com]
发送时间: 2012年7月10日 10:10
收件人: 'puppet-users@googlegroups.com'
主题: puppet mcollective problem
Hi,
I am a new puppet user . I had some trouble when I using
how bout a basic 2 modules one which calls a function in the other
example?
On Jul 9, 5:23 pm, ad adam.denn...@gmail.com wrote:
still pretty new to Ruby, please bare with me :) Say I have a module
with a custom type, structured like so:
[modules]/mymodule/manifests/init.pp
48 matches
Mail list logo