Displaying 20 results from an estimated 3000 matches similar to: "facts from ldap"
2007 May 01
8
Custom functions and facts
Hello!
I''ve been trying to use facts from Facter in a custom function. I''ve
been following Matthew''s entry in the wiki
(http://www.reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions).
What i''m seeing is that Facter[''fqdn''].value is always returning the
fqdn of the puppetmaster host. I was expecting the fqdn of the client
host.
2007 May 07
68
Puppet Best Practice
Hello everyone,
A long time ago, I posted the Stanford Best Practices and I''ve gone through
and updated it today. I''d like to have people go through it and see if we
can strip out some Stanford specific stuff and tag this as an official best
practice. I think an official best practice will be important as more and
more people consider making shareable modules, etc (mostly
2007 Apr 26
5
$processor fact not working on OS X
Hello dear list.
First of all thanks to all the developers for the great work on puppet.
After using it for a while, there is not better tool to manage a network!
I have a problem with the $processor fact, which seems to be either not
there or ignored at all.
I try to implement package deployment for the Macs (Intel vs. PowerPC)
as described here:
2007 Jun 22
1
Where are Facter facts?
I can''t seem to find anyplace that list the facts that I can us in my
puppet scripts; can somebody please point me in the right direction?
--
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--
2007 Oct 08
5
Is Puppet similar to Capistrano?
I discovered Capistrano while I was trying to figure out what I
wanted. See attached notes.
http://www.genunix.org/wiki/index.php/GNOSIS/Kraken
Puppet seems promising.
Thanks,
Brian
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/
2007 Aug 21
9
Seattle Meetup?
Hi all,
It looks like I''ll be in Seattle on Sunday, September 16th through
Tuesday the 18th, and I''d like to have Puppet Meetup either Sunday or
Monday night.
On Adam''s recommendation, I''ll be staying at the Queen Anne Inn, so
something near there would be best. Hopefully Adam or Blake can do
the actual organization. :)
Any takers?
--
What is
2006 Jul 26
19
documentation suggestions: including FQDN seems to
Hi,
I''m new to Puppet, but it looks very good, so far.
We are going to use it for a multi-tier (DEV, QA, staging,
production) environment which is consists of web, app, and database
servers.
I have a couple of suggestions for the Puppet documentation that may
save others some time.
First, it seems node names MUST be FQDNs (hostname and hostname. will
not work). Since we are not using
2012 Nov 06
19
puppet failing to run
I am getting this error after installing puppet with gem
$ gem install puppet
Fetching: facter-1.6.14.gem (100%)
Fetching: puppet-3.0.1.gem (100%)
Successfully installed facter-1.6.14
Successfully installed puppet-3.0.1
2 gems installed
Installing ri documentation for facter-1.6.14...
Installing ri documentation for puppet-3.0.1...
Installing RDoc documentation for facter-1.6.14...
Installing
2012 Apr 11
8
Facter not initialized in rspec in puppetlabs-stdlib?
I have been working on adding some predicate functions to puppetlabs-stdlib
that test things based on ''interfaces'' and related facts.
The functions themselves seem to work fine in my manifest-based smoketests,
but I am running into trouble that may or may not be due to my ignorance
about rspec or Facter. Something needs to be done to initialize Facter
because
2007 Jun 15
8
ANNOUNCE: External node attributes
Hi all,
This just keeps coming up, again and again, so I decided to take a
few hours and break everyone''s configuration.
Oh, wait, just kidding. :)
Really, I''ve completely rewritten external node support. Here''s the
changelog entry:
Only ONE node source can be used -- you can use LDAP, code, or
an external node program, but not more than one.
2007 Nov 13
6
Facter and arrays
Hi,
Is it possible to have an array as the output of a custom fact? And
then to pass it into a template in Puppet?
I currently have a fact that looks like this:
Facter.add("exports") do
setcode do
case Facter.hostname
when (/thishost/i):
[ "/local", "/local2" ]
end
end
end
& a template like this:
<%
2007 Jun 14
19
Please test export/collect from svn
For those of you out there using export/collect (which we really need
to come up with a better name for...), can you test the current SVN
code?
I''m mostly wondering if the performance is any better. To use it,
you''ll have to remove your current database, since the database
schema is significantly changed.
I''m getting what looks like an additional 25% reduction
2011 Jan 13
5
Problem restarting the agent
Just installed Puppet 2.6.4 on Ubuntu 10.10
I was trying to restart the puppet agent but got the following error
and the agent didn''t run:
$ sudo puppetd --server server.domain.com --waitforcert 60 --test
err: Could not retrieve catalog from remote server: SSL_connect
returned=1 errno=0 state=SSLv3 read server certificate B: certificate
verify failed
warning: Not using cache on failed
2010 Sep 07
2
Environmental Variables
Hi Everybody, I been looking through google for better part of the day but I
haven''t been able to find an answer to my problem.
I need an environmental variable to be present in puppet, so that yum works
correctly. However after reboot puppet doesn''t read /etc/profile and starts
without this profile.
If I go into server and do services puppet restart than everything works
fine,
2008 Jun 14
9
Disabling 'node_name = facter' setting
I''m having a heck of a time trying to fix #1178, which is a problem
related to inconsistent node names, and it all stems from the
''node_name'' setting.
In the default setup, your certificate gets created with your host''s
fully qualified node name, and Puppet uses the value from the
certificate for everything.
In addition, there''s a setting,
2008 Dec 01
2
configuring puppet to run custom facts
Hi,
I''m following
http://reductivelabs.com/trac/puppet/wiki/PluginsInModules in order to
use a custom fact.
My modules looks like:
# ls manifests/modules/network/
manifests plugins
# ls manifests/modules/network/plugins/facter/primaryint.rb
manifests/modules/network/plugins/facter/primaryint.rb
as is said in doc.
Then:
Turn on pluginsync and specify factpath, so that the facts
2007 Apr 26
2
[PATCH] facter: add interfaces, default_gateway facts on Linux
Quick and dirty:
--- lib/facter.rb (revision 203)
+++ lib/facter.rb (working copy)
@@ -989,6 +989,18 @@
%x{/usr/sbin/scutil --get LocalHostName}
end
end
+ Facter.add(:interfaces) do
+ confine :kernel => :linux
+ setcode do
+ %x{/sbin/ifconfig -a -s}.split($/)[1..-1].collect {|line|
2010 Apr 09
2
Custom facts for a puppetmasterless environment
I see the instructions for creating custom facter recipes here:
http://projects.reductivelabs.com/projects/puppet/wiki/Adding_Facts
and in this thread, James Turnbull suggests that Facter might some day
support other languages besides ruby:
http://groups.google.com/group/puppet-users/browse_thread/thread/8c127ae8898d3bcf/c5ca551b77c4eb67?lnk=gst&q=facter+perl#c5ca551b77c4eb67
He writes:
2008 Jan 06
3
Mac OS X pkgs up.
So I''ve done some Mac OS X pkgs for the latest Facter and Puppet, as well as
a combined mpkg for them both.
Jeff McCune and I are doing a fair bit of testing on them this week in
preparation for MacWorld, so I wasn''t going to upload them to the official
site for another few days, but they''re looking pretty good.
http://explanatorygap.net/puppet/Facter_1.3.8.pkg.zip
2012 Jun 14
15
Problem with Load Balancing Puppet masters with Apache mod_proxy
I have a single LB running Apache with mod_proxy in front of a Puppet
master. These are the LB and Puppet master configs:
<Proxy balancer://puppetmaster>
BalancerMember http://192.168.1.10:8140
</Proxy>
Listen 8140
<VirtualHost *:8140>
SSLEngine on
SSLCipherSuite SSLv2:-LOW:-EXPORT:RC4+RSA
SSLProtocol -ALL +SSLv3 +TLSv1
SSLCipherSuite