Displaying 20 results from an estimated 36 matches for "kernelrelease".
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: operatingsystemrelease => 3.8
RHEL4 update 5: oper...
2010 Apr 21
4
scaling up puppetmasterd by cloning puppetmasterd
...not trusted: hostname was not match with the server
certificate
I am sorta desperate at this point and am thinking of trying to hack
the libraries....
Any advice would be appreciate. I am running 0.24.6-1. Thanks in
advance.
EQX root@xen-pup-dash:/etc/puppet# puppetd -vt
info: Loading fact kernelrelease
info: Loading fact disk_facts
info: Loading fact facts
info: Loading fact www_pool
info: Retrieving facts
notice: /File[/var/lib/puppet/facts]/checksum: checksum changed
''{mtime}Sat Jan 30 16:44:27 -0800 2010'' to ''{mtime}Sat Jan 30 16:44:28
-0800 2010''
info: Load...
2011 Nov 19
2
Facter Windows: domain is "none"
I could swear this worked fine earlier.. Now facter, and hence puppet,
do not see the domain name anymore:
What could cause this?
C:\Temp>facter --version
1.6.2
C:\Temp>facter | findstr kernel
kernel => windows
kernelmajversion => 6.1
kernelrelease => 6.1.7601
kernelversion => 6.1.7601
C:\Temp>facter fqdn
NCS-VDI-05.none
C:\Temp>facter hostname
NCS-VDI-05
C:\Temp>facter domain
none
C:\Temp>
Thanks a lot,
Mohamed.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" grou...
2008 Aug 11
6
Class dependency question
...{"ovzkernel-
devel-2.6.18-53.1.19.el5.028stab053.14.x86_64":
ensure => installed,
provider => yum,
require =>
Package["ovzkernel-2.6.18-53.1.19.el5.028stab053.14.x86_64"],
}
}
class openvz::master {
case $kernelrelease {
"2.6.18-53.1.19.el5.028stab053.14": {
package {["vzctl","vzquota"]:
ensure => installed,
provider => yum,
require => Class...
2012 Apr 25
3
Undiserable kernel upgrade in Ubuntu
Hi, I''ve defined this module:
package {[''build-essential'', "linux-headers-${kernelrelease}", ''dkms'',
''linux-headers-server'']:
ensure => installed,
}
and when the package linux-headers-server it''s upgraded in the repositories
puppet tries to upgrade in client too. And as that package has a dependency
with latest kernel also u...
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
...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
kernel => Linux
kernelmajversion => 2.6
kernelrelease => 2.6.18-164.6.1.el5
kernelversion => 2.6.18
macaddress => 00xxxx
macaddress_eth0 => 00xxxx
manufacturer => VMware, Inc.
memoryfree => 811.50 MB
memorysize => 1.98 GB
netmask => 255.255.255.240
netmask_eth0 => 255.255.255.240
network_eth0 => 1xxxxx
operatingsystem =&g...
2007 Apr 26
2
[PATCH] facter: add interfaces, default_gateway facts on Linux
...+ setcode do
+ %x{/bin/netstat -rn}.split($/)[1..-1].collect {|line| line.split}.select {|line| line[0] == ''0.0.0.0''}.collect {|line| line[1]}
+ end
+ end
Facter.add(:iphostnumber) do
confine :kernel => :darwin, :kernelrelease => "R6"
setcode do
On a related note: how would I go about obtaining facts for a particular
interface? We use a combination of VLANs and bonding at work so we have
interface names like `eth0'', `bond0'' and `bond0.401''. Is the best practice to
cre...
2009 Jul 24
2
Solaris SMF services and their dependencies...
...es depends on autofs... So I have the
following:
service { "autofs": ensure => running", subscribe => File["/etc/
auto_master"] }
package { "SUNWfoo":
# Yes, I''m using /net - its evil, I know...
source => "/net/$installsvr/export/pkgs/$kernelrelease/$hardwareisa/
SUNWfoo.pkg",
require => Service["autofs"]
}
I''m serving it out this way for a number of reasons, including slow
Puppet fileserving for large files, inability to specify response
files with http package streams on Solaris'' package management syst...
2013 Mar 10
2
Older versions of packages disappearing from yum repos
...a base CentOS 6.3 install. Since I'm trying to install specific versions of packages with Puppet, this is a problem. The most recent one that just turned up this morning is kernel-devel. I have the following resource defined in one of my Puppet manifests:
package {"kernel-devel-${::kernelrelease}":
alias => 'kernel-devel',
}
I'm trying to ensure that I've got the kernel-devel package installed that matches the kernel I'm currently using. I naively assumed that once a package was made available via the official CentOS mirrors that it would never disapp...
2011 Mar 03
3
lsbdistcodename and Debian Squeeze
...problem is that for squeeze, it does not work as
lsbdistcodename gets n/a instead, is there any way to fix this?
architecture => amd64
facterversion => 1.5.7
hardwareisa => unknown
hardwaremodel => x86_64
id => root
is_virtual => true
kernel => Linux
kernelmajversion => 2.6
kernelrelease => 2.6.26-2-amd64
kernelversion => 2.6.26
lsbdistcodename => n/a
lsbdistdescription => Debian GNU/Linux 6.0 (n/a)
lsbdistid => Debian
lsbdistrelease => 6.0
lsbmajdistrelease => 6
Cheers,
Steph
--
You received this message because you are subscribed to the Google Groups "...
2007 Aug 29
4
Newbie stuck on facter not finding hostname
...ial 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 hostname,
among other things. Here''s the output of facter -d:
value for kernelrelease is still nil
value for hostname is still nil
value for hostname is still nil
value for ipaddress is still nil
value for lsbdistdescription is still nil
value for hostname is still nil
value for hardwaremodel is still nil
value for lsbrelease is still nil
value for hostname is still nil
value for ke...
2009 Jun 13
0
problems with puppetd on some of my solaris machines
...4:in `initialize''
from /opt/csw/lib/ruby/site_ruby/1.8/puppet/network/client/
master.rb:198:in `initialize''
from /opt/csw/bin/puppetd:328:in `new''
from /opt/csw/bin/puppetd:328
# /opt/csw/bin/facter
facterversion => 1.5.4
kernel => SunOS
kernelrelease => 5.10
kernelversion => Generic_139556-08
operatingsystem => Solaris
operatingsystemrelease => 5.10
puppetversion => 0.24.8
rubysitedir => /opt/csw/lib/ruby/site_ruby/1.8
rubyversion => 1.8.7
Machine that works:
================
# /opt/csw/bin/facter
facterversion => 1.5....
2008 Apr 07
10
setting environment variables
...time
to wait for the scheduled run to apply a change or when I''m
troubleshooting so this doesn''t really fix it for me.
I also experimented with setting source in a package declaration:
in site.pp:
$pkg_source="http://pkg.blah.net/pub/FreeBSD/ports/$hardwaremodel/
packages-$kernelrelease/Latest"
in some class:
package {
"rsync":
ensure => present,
name => rsync,
source => $pkg_source,
}
This kind of works, but it means that I''d have to add source to all
my classes, at which point they break on the few...
2010 Aug 02
1
wrong facts going into storeconfigs, 0.25+2.6
...s "8,8.example.com <keytext>"
in stead of "cn19,cn19.example.com <keytext>". The hostname fact is
the only destination that I''ve noticed the corrupted data in, but the
source has been swapfree/swapsize, processor[n], operatingsystem,
operatingsystemrelease, kernelrelease, and others.
I realize that I don''t have much of a "simple, repeatable, minimal"
test case here, but I''ve been trying to figure it out for months to no
avail. I had hoped that an upgrade to 2.6 would make this problem go
away, but no: we''ve just now experienc...
2008 Jul 08
12
ANNOUNCE: Facter 1.5
...ow work on CentOS
Changed ''timeout'' option to ''limit'' to avoid scope issue
Fixes #1376 - Display memory facts for AIX
Fixes #1334 - Forced Facter to use LANG=C
Fixes #1357 - Change ps syntax for OSX and BSD
Set the timeout on the AIX kernelrelease fact to 5 seconds.
Refactored so each fact resolution can specify a separate timeout,
but the default is still 0.5.
Refactered ipmess.rb and util/ip.rb to support separate *BSD
logic for
*BSD aliased interfaces.
Updated dmidecode facts fixing ticket #60
Added AIX...
2006 Nov 02
6
certificate not trusted
...failed
warning: Not using cache on failed configuration
allo01# openssl version
OpenSSL 0.9.7e-p1 25 Oct 2004
allo01# facter
domain => xxxxxx
facterversion => 1.3.5
fqdn => xxxxxxxxxxxxxxxxxx
hardwaremodel => i386
hostname => allo01
ipaddress => xx.Xx.xx.xx
kernel => FreeBSD
kernelrelease => 6.0-RELEASE
operatingsystem => FreeBSD
operatingsystemrelease => 6.0-RELEASE
ps => ps -auxwww
puppetversion => 0.19.3
rubysitedir => /usr/local/lib/ruby/site_ruby/1.8
rubyversion => 1.8.5
destroying all puppet files in the client and puppetca --clean the host
does not...
2007 Apr 30
3
syntax error, but wherz
...YPE => ''ipv4'',
PARENT => "test"
}
and still got the error. This is puppet:
facterversion => 1.3.7
hardwaremodel => i686
hostname => puppet
id => root
kernel => Linux
kernelrelease => 2.6.20.4-vs2.2.0
lsbdistcodename => sarge
lsbdistdescription => Debian GNU/Linux
lsbdistid => Debian
lsbdistrelease => 3.1
puppetversion => 0.22.3
rubysitedir => /usr/local/lib/site_ruby/1.8
rubyversion => 1.8.2
Any idea ?
--
Cordialement,
Ghislain
_________________...
2012 Oct 16
0
Tracing puppet processing for HP-UX user passwords
...Pertinent Details for the host on which I am finding these issues:
architecture => ia64
facterversion => 1.6.12
fqdn => cadcpuppet
hardwaremodel => ia64
hostname => cadcpuppet
id => root
interfaces => lan0,lo0
is_virtual => true
kernel => HP-UX
kernelmajversion => B.11
kernelrelease => B.11.31
kernelversion => B.11.31
operatingsystem => HP-UX
operatingsystemrelease => B.11.31
osfamily => HP-UX
path =>
/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/gvsd/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/wbem/bin:/op...
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
...e garbage values. If I verify this on e.g. http://yamllint.com/ I
have a syntax error with the 2 leading spaces.
Snippet from ''/etc/mcollective/facts.yaml''
[root~]# cat /etc/mcollective/facts.yaml
architecture: &id001 x86_64
hardwareisa: x86_64
hardwaremodel: *id001
kernelrelease: 2.6.18-274.17.1.el5xen
clientversion: *id002
kernelversion: 2.6.18
lsbdistcodename: Final
lsbdistdescription: CentOS release 5.8 (Final)
lsbdistid: CentOS
lsbdistrelease: "5.8"
lsbmajdistrelease: "5"
I did some debugging on the IRB. On the commandline I do get t...
2007 Dec 04
1
Can't build CentOS 5.1 kernel from source
...vmlinuz-2.6.18-53.el5.nx
+ '[' -f arch/x86_64/boot/zImage.stub ']'
+ '[' '' == kdump ']'
+ mkdir -p /var/tmp/kernel-2.6.18-53.el5.nx-root/lib/modules/2.6.18-
53.el5.nx
+ make -s ARCH=x86_64
INSTALL_MOD_PATH=/var/tmp/kernel-2.6.18-53.el5.nx-rootmodules_install
KERNELRELEASE=
2.6.18-53.el5.nx
+ echo '**** GENERATING kernel ABI metadata ****'
**** GENERATING kernel ABI metadata ****
+ gzip -c9
+ chmod 0755 /home/rpmbuild/SOURCES/kabitool
+ '[' '!' -e /home/rpmbuild/SOURCES/kabi_whitelist_x86_64 ']'
+ cp /home/rpmbuild/SOURCES/kabi_whiteli...