Displaying 20 results from an estimated 2000 matches similar to: "facter fails to recognize OEL/OVS in operatingsystemrelease.rb"
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
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:
2007 Mar 03
0
Facter recipies
Hello! In going over some of the sample cases on the Puppet wiki,
(specifically the Debian tips) I saw a pretty clear need for more
facts. Is there a place to submit new facts?
In this case, the definition of a variable for each node''s Debian
Version seemed like an easy thing to introspect. The following is
what I whipped up... please let me know if I''m doing
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
2011 Feb 08
6
Puppet facter operatingsystemrelease
Hello,
I am running puppet server version 0.25.4-2, and since Debian squeeze
is the new stable release I would like to adapt some of my modules.
I have a syslog-ng module, I would like to specify another template
for my squeeze server.
I changed my init.pp as follow :
if ($operatingsystemrelease <= 5.0.8) {
$syslog_template = "syslog/syslog-ng.conf.erb"
}
else {
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|
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,
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
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
2008 Aug 23
0
OCFS2 upgrade on OEL 4.4 server
Hi,
We are using OEL 4.4 server as Oracle Concurrent tier, we have two
servers in the cluster. We have upgraded the OCFS2 from 1.2.7 to 1.2.9-1
about a week back in the DEV server. I have read about OCFS2 1.4 and it
seems that the performance has improved in OCFS2 1.4. We have OCFS2
performance issues, we are facing this in prod as the file count
increases in a log and out directories under
2007 Jan 25
0
Xen Express/Enterprise/Server support for OEL
Guys
With the advent of Oracle''s foray into packaging their own flavour of linux
are there any plans to incorporate OEL (Oracle Enterprise Linux) support
into XenExpress/XenEnterprise/XenServer? Specifically vm
creation/import/export etc..?
Since OEL is based on Redhat I''m assuming this would be relatively trivial??
Thanks in Advance
Mike.
2010 Jan 23
4
any significant differences between centos and OEL?
someone just pointed out to me that there is a distro called "oracle
enterprise linux" which is effectively a re-branded RHEL, so i'm
curious -- has anyone here used both centos and OEL and would there be
any differences that would be worth caring about?
the only thing i can think of that might be worthwhile is that OEL
might change some of the default kernel parms thru
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
2013 Oct 10
2
Virt-what on OEL 5
Hello,
I''m trying to install facter latest on OEL 5.5 but can''t because virt-what
doesn''t appear to be in the oracle repositories or EPEL. Can anyone
confirm/deny this?
Thanks,
Spencer Krum
--
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,
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 Aug 13
1
Ruby Facter.add syntax please help
Hi,
Please could someone take a look at the below code and tell me where it is
failing ?
Facter.add(''syslocation'') do
#confine :kernel => "Linux"
setcode do
name = Facter.value(''hostname'')
case name
when /^e(t|d|u|s|p|q)(p|v)(sol|lin)\d+/
"E DC"
when
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
2012 Jul 17
8
How to override $::operatingsystem fact
Hi,
I want to introduce "Proxmox" as new value in $::operatingsystem.
"Proxmox" is based on Debian, so the normal value is currently "Debian".
To change that, I just write a custom fact based on the facter fact
"operatingsystem"
Facter.add(:operatingsystem) do
> ...
> setcode do
> ...
> elsif
2013 Nov 12
1
Own Package Installscript
Hi,
i want to use Puppet to install all packages from a webserver (no
repository) .
Therefore I wrote following Script:
class install_package {
case "$operatingsystem" {
SLES: {
notify {"${operatingsystem}
${operatingsystemrelease} detected":}
notify {"Installing $packagename now:":}
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 {