Displaying 17 results from an estimated 17 matches for "lsbdistid".
2009 May 19
5
facter lsbdistid returns no result
Hi all, I am creating a recipe for rhel boxes which needs to
determine what type of install is present (server or client). I
thought I would use the facter fact lsbdistid for this purpose but
when I run "facter lsbdistid" from the command line nothing is
returned. If I just run facter and grep for lsbdistid, what I am
looking for is returned. Does anyone know why this might be? Thanks
for your help.
--~--~---------~--~----~------------~-------~--~----...
2011 Oct 18
2
Puppet node fails to pass facts to master
...For the following logs extract I ve replaced the FQDN of my node by
puppet.example.com.
When doing a puppet run I am getting the following error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Failed to parse template linux/dput.cf.erb: Could not find
value for ''lsbdistid'' at 2:/etc/puppet/modules/linux/templates/
dput.cf.erb at /etc/puppet/modules/linux/manifests/dput.pp:7 on node
puppetnode.example.com
The line in dput.cf.erb is this one:
# packages for <%= lsbdistid %> to a private repository (not the
official
So I guess there is a problem passin...
2009 Dec 04
3
yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5
...e=" field to the
repository files which causes yum to complain with the error:
Repository ''local-CentOS-5.4-x86_64'' is missing name in configuration,
using id
I get this behavior on all of my yumrepo definitions. One of them
looks like this:
yumrepo {
"local-$lsbdistid-$release-$architecture":
name => "local-$lsbdistid-$release-$architecture",
baseurl => "http://hostname.changed.com:80/cobbler/ks_mirror/
$lsbdistid-$release-$architecture",
enabled => 1,
gpgcheck => 0,
priority => 10;...
2012 May 11
0
Announce: Facter 1.6.9rc1 Available
...e concrete example was
- flush clears all facts
- load_all is triggered to reload facts
- inside an .rb file we query the operatingsystem fact directly
(say outside a Facter.add block)
- the operatingsystem fact has a suitable resolver for linux which
wants to query the lsbdistid fact, which is (apperently) not yet
loaded (this might not even be predictable)
- the loader doesnt find a lsbdistid.rb file so it triggers load_all
(remember: we are still trying to get a value for operatingsystem)
- the load_all does load other files (like processor.rb) that w...
2010 Jan 20
2
Using ruby-1.9.x with Puppet 0.25.x
I read somewhere recently about problems with Puppet and Ruby 1.9.
I''m wondering if this is still an issue?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For
2011 Mar 03
3
lsbdistcodename and Debian Squeeze
...acterversion => 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 "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send emai...
2007 Mar 29
7
Refering to node name (or part of node name) in a class / function
Hi,
I was wondering if it is possible to gain access to the nodename as a
variable, in order to refer to the name or part of it inside a class.
Eg: I have a lot of sites that essentially have the same configuration,
except they are in different domains and have different requirements for
things like resolv.conf. I can manage this by creating a node definition
for each node and specifying some
2007 Apr 30
3
syntax error, but wherz
...est"
}
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
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop....
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
...aml''
[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 the
expected format. To me it seems the to_yaml is not working for me in
combination with inline template. What is causing the extra leading
spaces?
irb
irb(...
2009 Apr 29
8
Puppet and yum repositories
I''m running puppet 0.24.6 on CentOS 5.2 from a puppetmaster on a
virtual server to a variety
of client servers both virtual and metal running either CentOS 5.2 or
Fedora Core 10. I want to
extend this to servers running RHEL 5 (and 6) in the near future.
My problem is I have puppet set up with all repositories (mirrored
locally using cobbler)
included in one file in
2007 Aug 29
4
Newbie stuck on facter not finding hostname
...ue for hardwaremodel is still nil
value for lsbrelease is still nil
value for hostname is still nil
value for kernel is still nil
value for operatingsystem is still nil
value for lsbdistrelease is still nil
value for kernelrelease is still nil
value for operatingsystemrelease is still nil
value for lsbdistid is still nil
value for hostname is still nil
value for fqdn is still nil
value for cfkey is still nil
value for kernel is still nil
value for lsbdistcodename is still nil
value for kernel is still nil
value for hostname is still nil
value for hostname is still nil
value for kernel is still nil
valu...
2008 Oct 28
7
RHEL4 = Use "yum"
Hello guys,
I would like to configure my puppet to use "yum" instead "up2date" (default
RHEL4).
How can I do this? :)
Thanks!
--
Tiago Cruz
Linux User #282636
Mandriva Conectiva PRO Certified Linux Instructor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To
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 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:
<%
2013 Apr 18
4
fact_stomp_server
Does anyone have any insight into this error message?
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
The fact named fact_stomp_server does not appear to be a valid hostname.
The value of '''' does not match ''^[a-zA-Z0-9.-]+$''. A common cause of this
problem is running puppet agent as a normal user instead of root, or the
fact is
2008 Jul 01
6
OpenVZ configuration of networking with puppet - big crash
I am trying to streamline the current distribution specific setup and
creation of VE''s within OpenVZ with puppet. My first attempt has gone
horribly wrong as you will see below. Here''s the script I wrote to
replace the redhat specific setup that OpenVZ used:
[jleggett@lxp6d15m3 scripts]$ cat redhat-add_ip.sh
#!/bin/bash
#
# Debug - take out later
set -x
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