Re: [Puppet Users] Announcing Puppet REST API documentation

2010-07-28 Thread Eric Sorenson
On Jul 28, 2010, at 3:53 PM, James Turnbull wrote: > Puppet finally has some API docs thanks to the hard work of Matt > Robinson (*crowd goes wild*). You can find the initial documentation at: > > http://docs.puppetlabs.com/guides/rest_api.html This part of the crowd, at least, really *is* goi

[Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Tom
I saw this bug but the final comment in there said: "Note that you can set ‘manage_internal_file_permissions’ to false to disable this behaviour." So that's what I was trying to do - use "manage_internal_file_permissions" to disable it. But that doesn't seem to work either, does it? You can't u

[Puppet Users] Announcing Puppet REST API documentation

2010-07-28 Thread James Turnbull
Puppet finally has some API docs thanks to the hard work of Matt Robinson (*crowd goes wild*). You can find the initial documentation at: http://docs.puppetlabs.com/guides/rest_api.html We'd really welcome input and feedback on them and what else you'd like to see: http://projects.puppetlabs.co

Re: [Puppet Users] Catching failure with templates

2010-07-28 Thread Christopher Johnston
To solve your pathing issue you could create a define to autocomplete the path for you. Sent from my iPhone On Jul 27, 2010, at 11:24 AM, Rob McBroom wrote: > So, I’m using templates for the first time and I wanted to test the case > where the values used by the template don’t exist. I get

[Puppet Users] Parameterised Classes in 2.6

2010-07-28 Thread Douglas Garstang
Has anyone gotten parameterised classes to work in puppet 2.6 yet? No luck for me... Seems to be totally broken but I haven't had a chance to file a bug against it yet. Doug -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group

Re: [Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Jeff McCune
On Wed, Jul 28, 2010 at 12:45 PM, Tom wrote: > This is actually what I've done, temporarily, so I can move forward > with implementing puppet > > but I'd love to know what else I'm doing wrong, if anyone can tell me. > > Why don't the command line options work? Is my syntax wrong? This is iss

[Puppet Users] Re: can not boot zone

2010-07-28 Thread deet
> zoneadm: zone 'test':   /export/zones/test/root/var/sadm/install/.door > zoneadm: zone 'test': call to zoneadmd failed John. I'm trying to understand the meaning of the actual error message. Can you tell me if their is anything special about your "/export" or "/ export/zones" filesystem suc

[Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Tom
This is actually what I've done, temporarily, so I can move forward with implementing puppet but I'd love to know what else I'm doing wrong, if anyone can tell me. Why don't the command line options work? Is my syntax wrong? -t On Jul 28, 4:48 am, Christopher Johnston wrote: > Try using a

[Puppet Users] can not boot zone

2010-07-28 Thread John Lyman
On Solaris 10 x86 u7 I get the following error when a zone resource is created: err: //Node[foo]/Zones::Instance[test]/Zone[test]/ensure: change from absent to running failed: Could not boot zone: Execution of '/usr/sbin/ zoneadm -z test boot' returned 1: zoneadm: zone 'test': These file- systems

[Puppet Users] zenoss-puppet module

2010-07-28 Thread CraftyTech
Hello All, Has anyone gotten the zenoss module for puppet working? The installation instructions are somewhat vague. I'm wondering if I need to create a custom fact in order for it to work. Thanks, -- You received this message because you are subscribed to the Google Groups "Puppet User

Re: [Puppet Users] Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)

2010-07-28 Thread Dan Bode
I didnt follow the exact instructions, I moved sudo to my modulepath and changed the node declaration to my hostname. Works fine for me. what version of puppet are you using? I tried it out with .25.5. On Wed, Jul 28, 2010 at 10:15 AM, mindreframer wrote: > Puppet local fileserving not working,

[Puppet Users] Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)

2010-07-28 Thread mindreframer
Puppet local fileserving not working, as described here: http://docs.reductivelabs.com/guides/modules.html I've made a project to demonstrate this: https://mindrefra...@github.com/mindreframer/puppet_stand_alone_testing.git There is more in the README...(http://github.com/mindreframer/ puppet_s

[Puppet Users] (Better formating) Puppet Standalone Client + Fileserving, not working.... (+ nice tutorial for puppet stand-alone) :)

2010-07-28 Thread mindreframer
Puppet local fileserving not working, as described here: http://docs.reductivelabs.com/guides/modules.html I've made a project to demonstrate this: http://github.com/mindreframer/puppet_stand_alone_testing There is more in the README... (http://github.com/mindreframer/puppet_stand_alone_testing

Re: [Puppet Users] Help with setting facts for MySQL replication

2010-07-28 Thread Marc Fournier
Hello, > Can anyone share how they configure MySQL for this kind of thing using > puppet given that multiple servers may be replicating different > databases and all servers require a unique ID? This all boils down to each host having different options in it's my.cnf file. There is an official a

Re: [Puppet Users] Re: Help with setting facts for MySQL replication

2010-07-28 Thread Disconnect
I use a custom fact in modules/mysql/lib/facter/server_id.rb: # Converts ip address to long for mysql id def get_mysql_id mysql_id = nil; mysql_id = Facter.ipaddress.split('.').inject(0) {|total,value| (total << 8 ) + value.to_i} end Facter.add("mysql_server_id") do setcode do

[Puppet Users] Puppet_Augeas: Working Examlples

2010-07-28 Thread Andrei Pozolotin
Hello Puppeteers; for those of us who are still suffering in the darkness of Puppet_Augeas, I put a couple of working examples here: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas and those of us who are no longer in the dark, please add there your working examples - for enli

Re: [Puppet Users] Re: 0.25.4 caching problem with custom function

2010-07-28 Thread Joe McDonagh
On 07/27/2010 08:08 AM, Monachus wrote: On Jul 27, 8:40 am, Tore wrote: Could it be that when you change "nagios_name.rb" file on pupptermaster A, there is an event triggered so that Apache reloads this file? But since this event isn't passed over to nfs in any way, this doesn't happend to

[Puppet Users] Re: Help with setting facts for MySQL replication

2010-07-28 Thread Tore
I use cobbler and I push certain information to the kickstarting system via ksmeta, e.g.: cobbler system add --name=rhel-32bit --mac=XX:XX:XX:XX:XX:XX [...] -- ksmeta="swap=256 puppet=true" This example allows us to define the swap size and if puppet should be installed and configured. We use the

Re: [Puppet Users] New To Puppet - Two Questions

2010-07-28 Thread Ohad Levy
On Wed, Jul 28, 2010 at 7:42 AM, krisread wrote: > New to Puppet, heard about it for the first time at OSCON. > > Two quick questions: > > 1. Is there a web interface? This is really key to our company > since we have some dev/ops people but also some customer service > people (not command-lin

Re: [Puppet Users] manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-28 Thread Christopher Johnston
Try using a bind mount instead of symlink Sent from my iPhone On Jul 27, 2010, at 6:48 PM, Tom wrote: > Okay, maybe I'm being dense...but I'm missing something here. > > First off, using puppet 2.6 on centos 5.5. > > I want to store /etc/puppet and /var/lib/puppet elsewhere...but have > symbo

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-07-28 Thread Christopher Johnston
I believe so, have to crack your code open to confirm. But in mysql I see the grants listed. It would also be useful to have an "all_grants" so each one does not have to be listed out. Sent from my iPhone On Jul 28, 2010, at 2:58 AM, David Schmitt wrote: > On 7/28/2010 12:41 AM, Christophe

[Puppet Users] a chinese document wiki

2010-07-28 Thread hmy
hi,guys we had translate the puppet document to Chinese, here is : http://puppet.wikidot.com/ ; but that site more AD. so I want to know can I put the Chinese document on the pupetlabs.com's wiki or document system ? -- You received this message because you are subscribed to the