Displaying 20 results from an estimated 50000 matches similar to: "If defined / Order of evaluation"
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
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
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
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,
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 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
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 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
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
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
2010 Mar 03
6
File paths must be fully qualified
I was using Puppet 0.24.8 and now upgrade the puppet server and client
both to 0.25.4 (on 1 machine i.e. server and client), but i am facing
some problems. While testing, some of the configs which were/are running
fine on older version generates error here;
for instance,
i have defined the FileSource path in ''/etc/puppet/fileserver.conf''
[myFileSrc]
path
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
2010 Aug 12
14
Puppet system deployment hanging ..
We have successfully installed puppet on a CentOS Server, but I am
battling with a deployment.
It has to do with grid software. The repository gets created, then
begins installation.
The problem is that it just hangs - no errors, no network activity. I
can see puppet is running, but nothing it being updated.
Any pointers ?
--
You received this message because you are subscribed to the Google
2008 Jun 19
11
Validate a theory regarding puppet (+ firstboot) please
As I sit here staring at my manifests (and pondering a module to
control Glassfish), I''m pondering the best way to do a first-run of
puppet to get the initial repositories and puppet configuration
downloaded. My theory is that I''ll modify rc.local (or replace
firstboot-tui, we don''t use it with automated builds) to run puppetd
twice - once to request the certificate,
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 Nov 26
2
Puppet+Foreman: class into module couldn't apply on nodes
Hello,
I try config puppet with foreman frontend. Into puppetmasterd I create
modules "test" and create init.pp:
# Create "/tmp/testfile" if it doesn''t exist.
class test_class {
file { "/tmp/testfile":
ensure => present,
mode => 644,
owner => root,
group => root
}
}
Configure nodes in site.pp and import
2008 Nov 10
12
CA_Server woes
I''m having difficulty getting my head around some CA issues
My client has:
[puppetd]
ca_server=puppetca.mydomain.com
and puppet resolves to a different machine.
when puppet connects, it requests a signature from
puppetca.mydomain.combut then on the next pass fails with the
following:
err: Could not retrieve catalog: Certificates were not trusted: SSL_connect
returned=1 errno=0
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
2008 Feb 15
17
centralized or decentralized puppet infrastructure
Hi All,
In my companies environment, we have multiple sites in multiple geographic
locations, sometimes with high latency between the sites.
I''m trying to come up with a solution that could provide puppet
infrastructure to all sites nodes.
----a few assumptions---
- puppet manifest / configuration is fetched from a centralized version
control system.
- store db is needed (ssh keys,
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,