similar to: One Piece 509

Displaying 20 results from an estimated 80000 matches similar to: "One Piece 509"

2011 May 20
1
puppet code to find out which is the first active network interface
I have a piece of shell script as below: ACTIVE_INTERFACE=`/sbin/ifconfig | /bin/gawk '' /^eth/ { print $1 } '' | /usr/bin/head -1` How do I translate it to puppet code, for example to assign the result as a variable to use? Thanks, -Haiyan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send
2013 Jan 04
5
How to manage one line in a file by puppet
Hi, I want to write a puppet module for xen on Debian. This module will need to manage one line in the file /etc/default/grub, namely the line starting with "GRUB_CMDLINE_XEN=". Currently I want to leave the rest of the file untouched. Which would be the best way to do this? I see two options: a) Do some `sed` magic on the file in a `exec` call. Downside: puppet won''t notice
2009 Jul 28
0
[Infrastructure Design] Questions about Puppet behind SSL reverse proxy
Hi, I have some questions about Puppet client request through a reverse SSL proxy with pache and mod_ssl. It''s about pure design and IP public adress. I want to use Puppet framework on distributed environnement through pulic network with NAT and so on. We have already a reverse proxy which handle SSL termination for Web server publication. Site are publish with HTTPS with some wildcard
2013 Sep 23
2
One node and several environments
I would like to use additional puppet environment for "fast response" configuration and run it every minute. For that I''ve created new light environment with only one module. But I don''t know how to configure puppet master manifests for one node with two environments? Is it possible? I''ve found a manual
2012 Oct 12
2
One client out of 150 doesn't apply config changes
Hello everyone, I have one puppet client that suddenly stopped applying configuration changes during the. I''m running with -v to see errors - no errors are shown and the puppet run completes with: info: Caching catalog for <system name> info: Applying configuration version ''1349982313'' notice: Finished catalog run in 49.28 seconds However, the changes required
2008 Aug 14
1
multiple functions in one file?
Hi there, just to be sure: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions says that "The file name is derived from the name of the function that Puppet is trying to run." Is this still true? I ask because I currently write a set of math functions (min,max, plus, minus and so). My first try was to create a math.rb, where I had: module Puppet::Parser::Functions
2009 Mar 28
1
Help with moving ssh keys around
I''m very new at puppet, but I''ve almost managed to get to the point where my puppet server sets up all the basics of a new linux box for me. The last piece of the puzzle is backups. The way I do backups is fairly simplistic. I just use mysqldump and tar to create local backup files and then scp them to a central host once a day. In order to set this up, I have to create a key
2013 Mar 14
1
One Dashboard for Multiple Masters
I''m trying to connect multiple masters to one dashboard and I''m having trouble with Facter. I started out initially with one master connected to the dashboard and that one works perfectly fine. Then I added a second master by setting the reporturl to point to the dashboard. The new nodes appeared and it shows the run results without any problems. The issue I''m
2010 Nov 21
1
more than one instance of a service
Still on my sensor management project ;) I have a parameterised define (sensor) within a class monitor: class monitor { import "masters/*.pp" # class for each sensor master define sensor( $master, .....) # and I want to include a class whose name is give by $master. include $master #(with or without quotes) gives syntax errors. # alternatively just importing the
2013 Feb 13
1
`./puppet-enterprise-uninstaller -pd` - not removing /var/lib/peadmin
Puppet 2.7.19 (Puppet Enterprise 2.7.0) When I try to uninstall/purge the product using command below, /var/lib/peadmin/.* remains ./puppet-enterprise-uninstaller -pd [root@puppettarget peadmin]# ls -la total 44 drwx------ 5 502 502 4096 Feb 13 13:13 . drwxr-xr-x. 24 root root 4096 Feb 13 15:13 .. -rw------- 1 500 500 1952 Feb 12 16:18 .bash_history -rw-r--r-- 1 502 502 192 Feb 11
2011 Nov 25
3
Is package gem and provider gem usage in one puppet run possible?
Hi, we want to install the ruby-gem package on a Debian system using puppet. package { ''ruby1.9.1'': ensure => present } In another manifest we want to use the gem provider to install a ruby gem. package { ''bundler'': ensure => present, provider => gem } On the first run the puppet agent run checks for a functional gem binary on the system. It will
2010 Jul 29
5
Multiple repositories under one file
Hello All, In all the examples that I see you configure one repo per file; i.e: yumrepo { "testing.com-repo": baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/", descr => "Testing.com''s YUM repository", enabled => 1, gpgcheck => 0, } But how do I specify multiple entries to the same file?. For instance, I just one to have one
2011 Sep 28
0
Announce: New Puppet releases due to CVE-2011-3848 [security]
There has been a vulnerability discovered in Puppet (CVE-2011-3848). # Recommended Action # Puppet Labs has an updated version of Puppet available at the following locations: * http://puppetlabs.com/security/hotfixes * http://puppetlabs.com/downloads/puppet The fixed versions are 2.6.10 in the 2.6.x branch and 2.7.4 in the 2.7.x branch. The hotfixes page also contains updated Puppet
2013 Oct 10
2
Augeas XML trouble
Hello everyone, I am currently trying to add elements to an XML file (a libvirt network definition) using Puppet (2.7.23)/Augeas (0.10). The XML looks like this: <network> <name>virbr0</name> <uuid>57fdc6e3-cba1-4110-88ef-850f1b71ee39</uuid> <forward dev=''eth0'' mode=''nat''/> <bridge
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
I''ve been having a mess of a time using this module, which stinks because its behavior is EXACTLY what I am looking for... whenever I bootstrap new rabbitMQ nodes I want to add them to our HAProxy instance. Here''s my relevant site.pp entries: node /^rabbit.*/ inherits basenode { @@haproxy::balancermember { $fqdn: listening_service => ''messaging00'',
2012 Apr 25
5
exec's onlyif parameter fails for a bash one-liner
I would like to ''exec'' an installation script ''onlyif'' an installation directory is empty. I tried using following bash one-liner however it didn''t work: <code> exec{$one_install_script: require => File[$one_install_script], onlyif => "[ \"$(/bin/ls -A $one_location)\" ] && exit 1 || exit 0" }
2012 Oct 24
3
puppet facter variable substring
Hi I have a serires of servers that their hostname (not FQDN) is built in the same manner [header, 3 letters][collo, 4 letters][environment, 3 letters][number, 4 digits]. There''s no specific separator between each part of hostname. Is there way I can extract the collo part of the hostname in puppet? TIA Paolo -- You received this message because you are subscribed to the
2012 Feb 22
1
Handling unique cases
Hello, Everybody! I need to allow my developers to run a special script on QA servers and nowhere else. I put this sort of thing in place: class app-server { packages: foo:; bar:; baz:; if $environment == ''qa'' { file { ''a'': content => ... } } which feels kinda kludgey to me. Is there a better way to handle unique cases like this
2013 Mar 13
2
What is ActiveMQ Broker?
Can anybody tell me what exactly ActiveMQ does? Is it a storage of messages produced by producer and ready to consume by consumer? M i understanding it correctly or not? Please tell me? -- 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
2012 Mar 05
1
New hiera backend for mysql
Hi all, Over the weekend I came up with a new backend for hiera for looking up configuration values directly from a MySQL database that may be useful to some.... http://www.craigdunn.org/2012/03/introducing-hiera-mysql-mysql-backend-for-hiera/ http://github.com/crayfishx/hiera-mysql Regards Craig -- Craig Dunn | http://www.craigdunn.org Yahoo/Skype: craigrdunn | Twitter: @crayfishX --