similar to: Reading Puppet reports with Python

Displaying 20 results from an estimated 3000 matches similar to: "Reading Puppet reports with Python"

2011 Oct 12
4
Python yaml help
Sorry for being off topic. am trying the following and yaml fails to construct the object: The inventory document, from Puppet dashboard inventory service, looks like: --- !ruby/object:Puppet::Node::Facts name: pirates.uis.example.com values: productname: VMware Virtual Platform kernelmajversion: "2.6" My code: class PuppetFacts(yaml.YAMLObject): yaml_tag =
2011 Mar 22
13
Foreman 0.2 Release Candidate
Hello All, I''m happy to announce a new release candidate of Foreman, top highlights for this release includes: * New look and feel * Extended restful API * Support for New Puppet Reports format * Full VM/physical host Provisioning * Powerful template generator ( pxelinux, gpxe, kickstart, preseed, grub etc..) * introduce a new service called smart proxy (which can run on remote
2012 Aug 15
7
Custom types in environments working .... yes/no/maybe ?
My issue may be related to this bug: http://projects.puppetlabs.com/issues/13858 "Custom types in environments require loading into master''s libdir" However, now I''m not so sure, This was working previously with a given client. However, after trying on a fresh client, it''s failing with: err: Could not run Puppet configuration client: Could not find a
2010 Oct 04
2
Using Puppet to Configure Other Services on the PuppetMaster Server
Hi, I just wanted to check a few things. I have a build server which is used to run the CI server. It also doubles up as my puppetmaster. Would it be possible to have a puppet client talk to a puppetmaster on the same machine? Cheers, Tom -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2012 Jul 10
2
Make a whole mailbox read-only
Hello, i've found an old thread [1] where it was stated that a whole mailbox can be made read-only only setting the according permissions on the filesystem side. [1] http://www.mailinglistarchive.com/html/dovecot at dovecot.org/2011-12/msg00300.html i'd like to check if it's still the only option we have with dovecot v2.0.18 . Regards, -- Sandro Tosi Product Engineer Shared
2011 Aug 08
12
Hash Interpolation inside double quotes?
I''ve got this: file { ''/opt/sugarsync/tomcat/tomcat-home/current'': ensure => "tomcat-$config[''tomcat_version_server'']"; where $config[''tomcat_version_server''] was set with extlookup (the yaml one), by loading: --- tomcat_config: tomcat_version_server: 6.0.20-1 tomcat_version_libs: 1.0-1
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a client and server component... node base_node { include syslog_ng::client }} node app_node inherits base_node { } node syslog_server inherits base_node { include syslog_ng::server } ... because I want the client portion, syslog-ng in this case to be installed on everything. However, the server node also has a
2011 Feb 28
7
Where to put External Nodes in Multiple Environments?
All, For those that are using external nodes (as local files) and multiple environments, where do you put the external node files? Ie, do you put them down in the environment itself /etc/puppet/env/env1/manifests/extdata/nodes /etc/puppet/env/env.../manifests/extdata/nodes /etc/puppet/env/envN/manifests/extdata/nodes OR, up above the environments? /etc/puppet/manifests/extdata/nodes Which
2010 Jul 22
9
First Foray into Parameterized Classes.... not so good
I have this: class foo::foobar ($version) { } which is called like this: class facility::sanjose inherits facility::common { class { foo::foobar: version => "1.3.13" } } puppet complains with this on the client: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find parent resource type ''facility::sanjose'' of type hostclass in
2011 Nov 19
11
Installing Oracle
This is pretty ugly. I''m using puppet to install Oracle, ie an exec{} wrapped around: /u01/oracle_extract/linux.x64_11gR2_database/database/runInstaller -silent -responseFile /etc/oracle_response.rsp The problem is that the damn installer backgrounds itself and returns control to the shell. I tried putting the above command in a script, followed by a wait command, but that
2010 Jun 27
6
Borked Client Cert in 0.25
Here we go with puppet 0.25 certificate problems again. I had a system where puppet was running fine. I reinstalled it. Running puppet on the client causes this: "Could not request certificate: Retrieved certificate does not match private key; please remove certificate from server and regenerate it with the current key". Fine... so I run ''puppetca --clean
2011 May 09
4
Managing Switches.
All, I was looking at the new feature of puppet to manage switches, and it says: "A current limitation is that it isn’t possible to have 2 switches with the same interface name" Does this mean that if one switch has an interface called FastEthernet 0/1, that puppet can''t manage a second switch with an interface called FastEthernet 0/1? If so, that probably means you can
2011 Mar 31
5
puppetca and /etc/puppet/ssl
All, I have --confdir=/etc/puppet/common in my /etc/init.d/puppetmaster and /etc/init.d/puppet files, vardir set to /var/lib/puppet in /etc/puppet/common/puppet.conf, and yet, every time I run puppetca it creates /etc/puppet/ssl. Anyone know why? Doug. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email
2009 Nov 10
23
Puppet Not Running chkconfig correctly.
So, I noticed that when adding a service to puppet, puppet is running a chkconfig <service>. However, as far as I can tell, puppet should be running a chkconfig --add <service>, otherwise the symlinks don''t get created from the service in /etc/rc.d/rc6.d back to the service in /etc/init.d. As as a result, the service is not stopped on shut down. I must be missing something
2012 Aug 27
5
Append string to list items.
I have an array: $nodes = [''gfs01'' ,''gfs02'', ''gfs03'', ''gfs04] and a string variable: $brick_store = "/var/bricks" How can I append "/var/bricks" to each item in the array? Lack of a looping construct makes this challenging in puppet. Such that: brick_array = [''gfs01:/var/bricks'',
2012 Aug 29
9
puppetlabs-stdlib
I''m confused about this... https://github.com/puppetlabs/puppetlabs-stdlib/ I see a lot of functions there that are the same as the ones that come standard with puppet. If I create a module and dump this stuff in there, what happens to the existing stuff? How does puppet know which one to use? Doug -- You received this message because you are subscribed to the Google Groups
2012 Aug 17
8
Class Naming Convention
So, this has always puzzled me a bit. By convention, init.pp contains one class, named the same as the module. However, what is the convention when the module may have multiple external access points? Say you have a module called ''syslog'' which provides both a client and a server class. I typically have used syslog::server and syslog::client. I''ve ended up using this
2010 Aug 20
6
Debugging errors with external nodes
How do I debug errors with external nodes? When my client connects, the following appears on the puppetmaster when running in debug mode. It''s not feasible to always be running the pupeptmaster in debug mode. debug: importing ''/etc/puppet/modules/yum/manifests/client.pp'' in environment production info: Automatically imported yum::client from yum/client into production
2010 Jun 27
17
Variable Scoping = Root Canal
I''ve been struggling with puppet variable scope all day, well, for several months actually. I think I have pretty simple requirements. For any given node, I want to be able to set a series of variables and include a set of classes, based on three different aspects of a node, being physical location, operating system, and function. If I try and do this with classes, I find that variables
2006 Jun 05
9
IAX Passing Variables
Well, this kinda sux. We have three Asterisk servers. Phones register to a single, primary server. When a phone on one wants to reach a phone on another, we use DUNDi to discover the destination pbx and IAX to transfer the call to the other Asterisk box. This seems to be a fairly common practice amongst Asterisk users, yes? Well, what about setting variables before call placement? Say you want