similar to: yet another lookup function

Displaying 20 results from an estimated 50000 matches similar to: "yet another lookup function"

2011 May 31
0
Extlookup++
On Fri, May 27, 2011 at 1:08 PM, R.I.Pienaar <rip@devco.net> wrote: > And for what its worth this afternoon just to see how hard it is > and to again ask to myself ''wtf has no-one done this yet?'' and also > ''wtf are people at Puppet Labs reinventing this wheel?'' I wrote > a new extlookup that has pluggable backends. > The bit about
2011 Jun 05
1
request to add an application the app listing on libvirt site
Hi, I would like to add two apps which uses libvirt the site. Ruby Objects for libvirt based on top of the native ruby binding, Virt ruby gem exposes real objects such as Host, Guest, StoragePool, Interface etc. more info at https://github.com/ohadlevy/virt Foreman - Web UI for provisioning and managing servers Among the many things foreman can do, It provides to relevant parts to libvirt:
2009 Feb 19
3
variables that are available inside a template
Hi, I''m looking to find a way to get the target filename inside a template. (e.g. if I have file {"/tmp/foo": content => template("foo")} I want to have a variable represent "/tmp/foo" inside the template. I''ve already tried using file, scope etc, but looking at the code, it doesn''t seems that i can access the filename inside the
2011 Oct 24
3
extlookup not working correctly in 2.7.6
I''m trying to upgrade from 2.6.7 to to 2.7.6 and I''m running into an issue in my extlookup() calls. A lot of the variables which should be defined aren''t defined within extlookup.rb. I''ve tested 2.6.7 agent and 2.7.5 agent against the 2.6.7 master and 2.7.6 master. I adjusted extlookup.rb slightly to provide some debug output.
2008 Apr 24
1
syntax highlight
Hi All, I''m aware of the vim/emacs extension, any one knows about enscript or similar support? (it would be great to have syntax highlighting in trac for example). Cheers, Ohad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
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
2013 Feb 14
0
Really need some help:: Weird Issue with external data look up in puppet 2.6.11
Running puppet 2.6.11 opensource on Red Hat 5.6 client. I cannot explain this logically but I have a directory structure like so: /etc/puppet/manifests/hiera/hostgroups/ with directories for each of my application areas like so: *clickz core devel dns icross iswap itch puppet test ubuntu* *What is weird is that if I put anything under the directory named "core", the ext
2011 Nov 15
4
Reopening sqlite3 db
Hello, I am not sure if I trigger a bug and if so it could also be in ruby sqlite3 backend. However, maybe I do something totally wrong. I have the following part in puppet.conf: [master] storeconfigs = true dblocation = /var/lib/puppet/state/clientconfigs.sqlite3 dbadapter = sqlite3 Now every time a client (agent in puppet speak) is run I get one more connection to the
2009 Apr 23
11
Puppet on busybox, Bob Hope or No Hope?
When I say busybox it''s actually VMware ESX server which seems to use busybox (which I guess is the case a number of other software appliances) . Reason for wanting to install puppet is to run the cli tools to create nightly vmware snapshots. I''m happy to give it a go (and add the docs to the wiki) but I''m not too sure at this stage how big a task this might be and what,
2012 Oct 26
2
Using regex to match hostnames in hiera
Hi, I''m having a problem with extlookup not respecting the ''certname'' parameter[1].  When executing a puppet run with either the --certname or --fqdn parameters, it ends up using the specified SSL certificate and gets the correct node definition applied from the puppetmaster.  However, it still retrieves extlookup data using the node''s actual FQDN, not the one
2009 Dec 17
5
Foreman summary mail
Hello, I have enabled summary emails from foreman and set up a cron job which sends me periodic summary emails. However, the mail''s content is sort of plain text. Now this is more like a feature request rather than a problem, I am wondering if we could use some kind of HTML template and pass the values through this HTML template and then mail the output as a summary email to the
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time puppetd runs but then reverting to refreshonly => true state for subsequent runs? The basic idea is: file { "/etc/foo": notify => Exec["bar"] } exec { "bar": command => "Do stuff to /etc/foo", refreshonly => true } Should I use a fact that is unset based on a
2008 May 30
2
pluginsync factsync etc
Hi, When starting puppet on a new machine, (or when the $vardir/lib is empty) puppet will not run the facts, it will only copy them. on the second time puppet runs, it works quiet well: on the client its defined: [main] pluginsync = true pluginsource = puppet://$server/plugins plugindest = $vardir/lib/puppet factpath = $vardir/lib/puppet/facter [puppetd] factsync = true I also tried with
2009 Sep 01
11
Storing puppet info in a database
Hi all. We have a bunch of RHEL servers running Puppet. They are also connected to our Red Hat Satellite server. Currently we don''t have any master documentation system that stores all relevant information (i.e. type of server, hardware info, linux configuration, etc) about the servers. So what I''d like to do is implement some sort of system that can hold all this information.
2011 Jun 07
1
Foreman 0.3 released
I''m pleased to announce the release of Foreman 0.3 Download from: Source: http://theforeman.org/attachments/download/237/foreman-0.3.tar.bz2 RPM: http://yum.theforeman.org/stable/RPMS/foreman-0.3-1.noarch.rpm It is recommended to upgrade your foreman smart proxy to the latest version as well. Highlights of this release include: SearchingAn extensive rewrite of the search system was
2010 Dec 14
7
Environment specified by external nodes ignored
My custom external nodes script sets the environment variable, but Puppet ignores it. For testing, I have a manifest that deploys this template to a file: environment = <%= environment %> The output from my external nodes script: --- classes: - devhost environment: development parameters: memcached_memory: ''32'' But running "puppetd --test" results in the
2010 Feb 18
14
Rebuilding machines from foreman
Hello, I ran into this problem today, I am trying to implement "One click installation", I followed foreman howtos and set up the pre-requisites accordingly. However, when I click on "Build" button, I get the following errors in the foreman''s console and another error in the web interface indicating that the installation failed. Any ideas? *"PuppetCA: SSL/CA or
2010 Aug 22
3
extlookup in 2.6.1 defaults
Hmmm.... So I was just trying the extlookup function that comes with puppet 2.6.1. It now lets you do this: $version = extlookup("rsyslog_version", "present", "packages") which, according to the documentation: # This will look for a version configured in packages.csv and then in the rest as configured # by $extlookup_precedence if it''s not found anywhere
2009 Sep 21
4
Announcement: Foreman 0.1-1 is out
Hello All, I''m happy to announce the next stable release of Foreman, main new features include: - Integration of Puppet Reports, once enabled you would see a real time overview of all of yours hosts status. - Improved support for multiple Puppet Masters (e.g. import facts and reports from remote serves over http) - Simplified migration from existing external nodes setup,
2011 Jun 07
0
Split Manifest Across Multiple Lines?
Is there a way I can split a line in a manifest across multiple lines, ala shell style? ie: $include_postfix_module = extlookup("IncludePostfixModule", \ extlookup("IncludePostfixModule", \ extlookup("IncludePostfixModule", \ "",