Hi Steven
Why the if statement?
TIA
Paolo
On Wednesday, October 24, 2012 5:58:16 PM UTC+2, Steven wrote:
You can use regex for that
Here is an piece of my code for doing that. In my case [environment, 1
letter][collo, 2 letters]
if $hostname =~ /^(.)(..)/ {
Hello Chris,
Thanks for your reply, i already solved this by use my production modules.
But yes, its take some time to build half my of production enviroment.
Thank for yours great work.
Regards,
Heriyanto
On Thu, Oct 25, 2012 at 12:38 AM, Chris Price ch...@puppetlabs.com wrote:
Hello
I'm not sure whether it's buggy behaviour or not, but by comparing the
daemon.log and an inotify left running on the file I can confirm that it's
puppet that's making the changes. Whether or not it's someone running
puppet against a stupid environment or not remains to be seen, but I still
In ucarp, multiple instances can be run and I have to run two instances
of ucarp. So, what ever I do, either create a custom resource ot
parameterised classes, they will have to be declared twice.
The code can be seen here https://github.com/shadyabhi/puppet-ucarp
I have developed two
Tim
Cheers for the info.
Have you got any examples of the hiera config you're using?
Cheers
Gavin
On Wednesday, 24 October 2012 18:13:01 UTC+1, Tim Mooney wrote:
In regard to: [Puppet Users] Puppet Oracle Database config
management,...:
My next challenge is maintaining Oracle
Stefan
Thanks again for some really good info.
Are your oracle::* classes something that you could share?
And cheers for linking the oratab type, that looks really useful, and looks
like it could easily be extended to cover oranfstab aswell... May well fork
that and tweak it as appropriate
Hi,
I have a simple .pp file like
class ucarp2::host
{
define config( $node_id, $password=, $interface_primary,
$interface_vip, $vip_addr, $vip_addr_netmask, $vip_addr_gw,
$other_options = , $ensure=present ) {
#Creating vip up/down scripts
ensure_resource('file', 'vip-up', {ensure
Le 24 oct. 2012 à 17:49, Jeff McCune j...@puppetlabs.com a écrit :
Are you using stored configs? Could you also paste your puppet.conf with
passwords redacted?
Yes I'm using stored config.
It looks like the YAML library itself is raising the exception. Could you
apply this small
Not sure if puppet will let you access regex without being in some type of test.
Also, just habit. I'm usually doing some validation in the regex.
In this case, I've moved validation to after this and have it validate against
data in hiera. Hiera has a list of the valid data center codes.
On Thursday, October 25, 2012 6:29:10 AM UTC-5, Abhijeet Rastogi wrote:
Hi,
I have a simple .pp file like
class ucarp2::host
{
define config( $node_id, $password=, $interface_primary,
$interface_vip, $vip_addr, $vip_addr_netmask, $vip_addr_gw,
$other_options = ,
On Thursday, October 25, 2012 4:38:31 AM UTC-5, Abhijeet Rastogi wrote:
In ucarp, multiple instances can be run and I have to run two instances
of ucarp. So, what ever I do, either create a custom resource ot
parameterised classes, they will have to be declared twice.
You're still
Hi jcbollinder,
Your guess is right. That fixed the issue.
On Thu 25 Oct 2012 06:35:19 PM IST, jcbollinger wrote:
On Thursday, October 25, 2012 6:29:10 AM UTC-5, Abhijeet Rastogi wrote:
Hi,
I have a simple .pp file like
class ucarp2::host
{
define config( $node_id,
On Wednesday, October 24, 2012 6:10:18 AM UTC-5, MCZ wrote:
So basically I am using this (http://github.com/larstobi/puppet-dns/)
module to manage amazon's route53 dns entries.
The generic definition goes like that:
node 'testnode' {
base::route53::r53delegation { $primary_fqdn.: ;}
On Thu 25 Oct 2012 06:53:24 PM IST, jcbollinger wrote:
You're still confusing me. Your initial message led me to believe
that your two ucarp instances are supposed to run on different hosts.
Did I misunderstand?
In total, there will be four ucarp instances. Two running on two
different
On Thursday, October 25, 2012 9:06:30 AM UTC-5, Abhijeet Rastogi wrote:
On Thu 25 Oct 2012 06:53:24 PM IST, jcbollinger wrote:
You're still confusing me. Your initial message led me to believe
that your two ucarp instances are supposed to run on different hosts.
Did I
On Thu, Oct 25, 2012 at 4:42 AM, Fabrice Bacchella
fbacche...@spamcop.netwrote:
This patch does something magic. A broken node (with allocator undefined
for Proc) is working when I apply your patch to the puppet master and
restart it. I can then remove it and the node will keep working.
Did
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
We are having an informal Puppet Meetup at LinuxCon Europe in
Barcelona on Monday, November 5 at 7:15pm. You don't need to be
attending LinuxCon to join us at the meetup. I will be attending
LinuxCon and hosting the meetup.
The format is very informal. We won't have any presentations or
speakers,
In regard to: Re: [Puppet Users] Puppet Oracle Database config...:
Have you got any examples of the hiera config you're using?
As I said, it's pretty rough.
class oracledb::sysctl(
$use_amm = false,
$large_mem_pages = '0',
$hugetlb_gid = '1001',
) {
validate_bool($use_amm)
Tim
Cool, Cheers for that.
Some good food for thought there...
Cheers again.
Gav
On Oct 25, 2012 6:20 PM, Tim Mooney tim.moo...@ndsu.edu wrote:
In regard to: Re: [Puppet Users] Puppet Oracle Database config...:
Have you got any examples of the hiera config you're using?
As I said, it's
Le 25 oct. 2012 à 18:40, Jeff McCune j...@puppetlabs.com a écrit :
On Thu, Oct 25, 2012 at 4:42 AM, Fabrice Bacchella fbacche...@spamcop.net
wrote:
This patch does something magic. A broken node (with allocator undefined for
Proc) is working when I apply your patch to the puppet master and
On Thu, Oct 25, 2012 at 11:26 AM, Fabrice Bacchella
fbacche...@spamcop.netwrote:
Le 25 oct. 2012 à 18:40, Jeff McCune j...@puppetlabs.com a écrit :
On Thu, Oct 25, 2012 at 4:42 AM, Fabrice Bacchella fbacche...@spamcop.net
wrote:
This patch does something magic. A broken node (with
On Wed, Oct 24, 2012 at 5:21 PM, Daniel Aquino mr.danielaqu...@gmail.comwrote:
I'm just learning about the --tags option and wanted to use it with --test
--verbose --noop to confirm that the changes were reduced compared to not
using --tags but as far as I can see when I use --tags I get no
Hi Viktoriya,
On Tue, Oct 23, 2012 at 3:29 PM, VT vtochilni...@pertino.com wrote:
Can anybody help to come up with a manifest file, which should instruct a
puppet client running on windows to clone a repository from github directly
to puppet client? Great thanks for help!
--
You received
Hi Saravanan,
On Mon, Oct 22, 2012 at 11:48 PM, Saravanan Veeran vsar...@gmail.com wrote:
Dear Team,
Currently, we have deployed puppet-enterprise-2.6.0-el-6-x86_64 in our
environment.
Master Details: Red Hat Enterprise Linux Server release 6.1 (Santiago)
x86_64.
We have installed the
PuppetDB 1.0.2 is now available for download! This is a bug-fix
release of PuppetDB.
This release addresses an issue with ruby 1.9 on debian based
platforms where Puppet would not be able to load the
puppetdb-terminus.
# Downloads
==
Available in native package format at:
Hi,
I'm trying to add a user to a group. I've added the groups I would like
the user to appear in using the groups attribute:
@users::virtual::localuser { myuser:
uid = 3000,
groups = [ sudo, adm, mygroup, ],
sshkey = ,
}
I've defined localuser as:
Hi!
I have a helper module called helper with a define which looks like this:
define helper::files ($path='', $requires='', $owner=root, $group=root,
$mode=644, $ensure=present) {
file { ${name}:
ensure = $ensure,
owner= $owner,
group= $group,
mode =
Interesting setup. Sometimes providers block uncommon ports. Can you get to
8140 over your 3/4g? If not, try running on 443 (change puppet.conf or apache
ports).
If none of these work check the docs for timeout settings (can't remember of
hand).
Den
On 26/10/2012, at 3:55, Steve
Hi,
I upgraded my running Puppet 2.6.7 to 3.0.1 today as well as my
puppet-dashboard to 1.21. Since then the workers are not processing the
reports anymore. I only see the following error in the Logfiles.
[2012-10-25 23:24:06] ERROR bad Request-Line
Facter 1.6.14-rc1 is a maintenance release candidate in the 1.6.x
branch with bug fixes.
Downloads are available at:
* Source: https://downloads.puppetlabs.com/facter/facter-1.6.14-rc1.tar.gz
RPMs are available at https://yum.puppetlabs.com/el or /fedora
Rubygem available at
If I remove the virtualization aspect then it works. Any idea why that
might stop the groups from being applied?
On Thursday, October 25, 2012 1:01:08 PM UTC-7, Ben McCann wrote:
Hi,
I'm trying to add a user to a group. I've added the groups I would like
the user to appear in using the
On Thu, Oct 25, 2012 at 4:23 PM, Ben McCann benjamin.j.mcc...@gmail.comwrote:
If I remove the virtualization aspect then it works. Any idea why that
might stop the groups from being applied?
When you mark the resource as virtual, are you also realizing it somewhere
else in your manifests?
Yes, I am realizing it:
Users::Virtual::Localuser | gid == users |
If I go onto the host and delete the user (sudo userdel myuser) then puppet
will create a new user and that user will be a member of all the groups I
desire:
notice:
On Thu, Oct 25, 2012 at 4:34 PM, Ben McCann b...@benmccann.com wrote:
Yes, I am realizing it:
Users::Virtual::Localuser | gid == users |
If I go onto the host and delete the user (sudo userdel myuser) then
puppet will create a new user and that user will be a member of all the
groups I
On Thu, Oct 25, 2012 at 04:34:26PM -0700, Ben McCann wrote:
Yes, I am realizing it:
Users::Virtual::Localuser | gid == users |
If I go onto the host and delete the user (sudo userdel myuser) then puppet
will create a new user and that user will be a member of all the groups I
desire:
That's not it. I changed it to Users::Virtual::Localuser | | and the
problem is still happening.
On Thu, Oct 25, 2012 at 4:59 PM, Stefan Schulte
stefan.schu...@taunusstein.net wrote:
On Thu, Oct 25, 2012 at 04:34:26PM -0700, Ben McCann wrote:
Yes, I am realizing it:
Hi,
Sorry to be dense, but I've recently switched over to use the puppet labs
apache module, but I was having trouble with the firewall not getting updated.
It turns out that the @ in front of the firewall line seems to be keeping it
from running. As soon as I removed it, my firewall got
Definitely seems like a bug. I added the Puppet Ubuntu repo and upgraded
to puppet 3.0.1 and it works now. I'm not going to bother filing it since
it seems like it's since been fixed.
On Thursday, October 25, 2012 5:01:11 PM UTC-7, Ben McCann wrote:
That's not it. I changed it to
See http://docs.puppetlabs.com/guides/virtual_resources.html
On Thursday, October 25, 2012 5:01:45 PM UTC-7, Dave Alden wrote:
Hi,
Sorry to be dense, but I've recently switched over to use the puppet labs
apache module, but I was having trouble with the firewall not getting
updated. It
I've been using Puppet to manage network interfaces on our machines. To do
this I've got a class very similar to
http://forge.puppetlabs.com/razorsedge/network . I'm encountering some
annoyances with this method of handling it:
1) Every interface I have has to have a unique alias number.
41 matches
Mail list logo