Displaying 20 results from an estimated 9000 matches similar to: "Puppet facter operatingsystemrelease"
2007 Jun 24
3
Facter operatingsystemrelease on Fedora
Currently, facter returns the kernel version as both the kernel and
operatingsystemrelease facts. I would like to change that so that on
Fedora, operatingsystemrelease is the release number (5,6,7 etc.) or
''Rawhide'' ... are there any objections to making that change ?
David
2007 Jun 13
3
Facter ''operatingsystemrelease'' fact.
From looking at the Facter code, it looks like the
''operatingsystemrelease'' fact is currently a mirror of the
''kernelrelease'' fact.
I''d like to implement this fact so that it returns the major version of
the operating system, eg:
Debian Sarge: operatingsystemrelease => 3.1
Debian Etch: operatingsystemrelease => 4.0
RHEL3 update 8:
2013 Jun 27
2
Conditional statement =,<,> etc.
Hello guys :),
I''m kind of new to Puppet and stuck in defining a conditional statement.
Here my problem:
I want to provide different apt/source.list for different versions of
Debian, 6.0.x and 7.0.x, which also run different versions of Puppet, 2.7.x
and 3.2.x. My first idea was to use facters variable
operatingsystemmajrelease and define like this:
file {
2012 Jun 18
8
Conditional with variable from facter
Hi.
I have the following facts available:
# facter | grep oper
operatingsystem => CentOS
operatingsystemrelease => 6.2
Now, if I wish to use conditionals on these facts, I have to do it like
this:
case $operatingsystem {}
case $::operatingsystemrelease {}
I''m puzzled as to why can''t I just use $operatingsystemrelease, and what
do these two semicolons mean?
Thank
2010 Jul 19
1
facter fails to recognize OEL/OVS in operatingsystemrelease.rb
For the benefit of those running OEL (Oracle Enterprise Linux) or OVS,
be aware that under 2.6.0rc4 facter doesn''t properly recognize OEL in
/usr/lib/ruby/site_ruby/1.8/facter/operatingsystemrelease.rb. A diff
for a fix is below; probably not the best fix but if you need it work
now, this''ll do it for you.
I''ve already filed a bug:
2008 Jul 08
12
ANNOUNCE: Facter 1.5
Hi all,
I''ve finally gotten around to releasing Facter 1.5.
As the version bump implies, this is a relatively significant release
(for a 2.3k line program, anyway). Mostly, the biggest change is
refactoring the code internally so that all of the functionality is
split into separate classes in separate files.
Also, the facts are all loaded on-demand, which provides dramatic
2007 Dec 19
3
Facter operatingsystemrelease on CentOS
I found that has been fixed in Fedora and RedHat which return the version
( like 5, 7, 8 etc.. ) but in CentOS, it still return the kernel version
instead.
=================
Barrow Kwan
ThoughtWorks, Inc.
New from ThoughtWorks: Mingle, an Agile project management application.
Mingle. Project Intelligence. Powerfully Simple.
More at http://studios.thoughtworks.com
2011 Nov 01
4
2.7.6 yumrepo not working
Just upgraded to 2.7.6 and the yumrepo type does not write out our yum
configs correctly, anyone experiencing this? Documentation hasn''t changed
from what I can tell for this type.
# facter -version
1.6.2
# puppetd --version
2.7.6
# facter architecture
x86_64
# facter operatingsystem
Fedora
# facter operatingsystemrelease
14
==== My manifest ====
yumrepo {
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
I have 2 RHEL 5.4 systems where all facter lsb* items are missing. Any
ideas?
Sanitized facter output:
architecture => i386
domain => missyou.edu
facterversion => 1.5.7
fqdn => broken.missyou.edu
hardwareisa => i686
hardwaremodel => i686
hostname => broken
id => root
interfaces => eth0,sit0
ipaddress => 1.2.1.5
ipaddress_eth0 => 1.2.1.5
is_virtual => true
2010 Aug 28
1
ANNOUNCE: Facter 1.5.8
For 40 days and 40 nights Facter wandered in the wilderness sustained
only by the occasional patch and bottle of Kool-Aid.
Slightly less tanned and equally happy Facter 1.5.8 has arrived!
1.5.8 is a feature and maintenance release containing a number of fixes,
updates and additional tests.
You can get the release at:
http://reductivelabs.com/downloads/facter/facter-1.5.8.tar.gz
Please log any
2012 May 16
2
Announce: Facter 2.0.0rc1 Available
Facter 2.0.0rc1 is a feature release candidate with bug fixes,
features and other improvements.
Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release
and has breaking changes from Facter 1.6.x. Facter 2.0 is not
backwards compatible with Puppet 2.6 or 2.7.
It includes contributions from the following people: Chris Price,
Daniel Black, Daniel Pittman, Garrett Honeycutt, Gary Larizza,
2013 Mar 18
3
Facter Strings to integer.
Hello,
If I want to do something like this:-
if $::lsbdistrelease >= 6.3 {
SOMETHING
}
Do I have to convert lsbdistrelease from a string to a number with an
inline template or some such ?
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
2011 Oct 18
2
Puppet node fails to pass facts to master
Hello Puppet list,
I am taking over the puppet configuration of a sysadmin who left, and
am having troubles deploying puppet to a new node. We are using puppet
v2.7.3 both on the client and the puppetmaster, on Ubuntu 10.10.
The node asks for a certificate fine, and I signed it on the
puppetmaster.
For the following logs extract I ve replaced the FQDN of my node by
puppet.example.com.
When doing
2006 Aug 29
40
Red Hat release info
Hi all,
I''m looking at changing the operatingsystemrelease fact for Red Hat.
Linux currently just uses the kernel release as the operating system
release, but I''ve got a client who wants the release to have both the
specific distro (e.g., AS or EL) and the release (e.g., 3 or 4).
Will this particularly annoy anyone? Anyone want to help make the
release string work on
2007 Aug 29
4
Newbie stuck on facter not finding hostname
Hi all,
I''m trying to get puppet working for the first time, and I''ve run into
something that''s got me stumped. This is all on Solaris 10/x64. The
initial startup of puppetmasterd wasn''t working, and it appeared to be
related to the SSL certs not getting generated properly. I managed to
trace that down to the fact that facter isn''t finding the
2012 Feb 03
16
neatest way to determine a major version of centos/linux?
Just started a rollout of centos 6.x across our Puppet deployment
(100-odd servers).
what fact would people suggest I use to distinguish 5.x from 6.x
(quite a lot of subsystems are different between major releases)?
lsb* facts don''t seem to be present on centos 6 - is this an EPEL bug,
or have they
just been removed in Facter?
Thanks!
--
You received this message because you are
2012 Jun 12
11
Determining the syslog provider
Hi,
I''m trying to make all my servers send their logs to a central server.
Which seems quite simple, at first.
My problem is that my servers are on different versions of different
operating systems.
And each of them has a different syslog default provider (syslog, rsyslog,
syslog-ng...).
Which of course might have been replaced by an admin who prefered another...
Even funnier, SLES10
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:
<%
2011 Aug 08
5
Run command based on OS version
I''m trying to write a script that runs command based on version of
Redhat OS. For example, if the RHEL version is 6.0, it will run
command. I was able to write file read script in ruby that would read
file and execute but it didn''t seem to work in puppet script. Has
anyone done something like this?
$redhat_version_file = "/etc/redhat-release"
$redhat_version =
2009 Jan 29
32
Facter - the future - your input needed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all
We''re currently looking at the next release of Facter and the future
direction of the tool. I''d like to try and prompt some discussions on
facter and what people want from it.
As a starter here''s some (although not all) of the ideas we''ll be
working through:
1. Namespaces - add a namespace or tiered