search for: lsbdistrelease

Displaying 18 results from an estimated 18 matches for "lsbdistrelease".

2007 Apr 12
5
Suse documentation
Hi, I''ve writen a draft describing puppet on SuSE/opensuse linux. http://www.reductivelabs.com/trac/puppet/wiki/PuppetSuSE Any feedback is welcome. Martin
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 receiv...
2007 Dec 14
3
Nested conditions
...make a nested source parameter like this, but it didn''t work: source => $operatingsystem ? { Debian => "puppet://myserver.com/files/os/debian/etc/ssh/sshd_config", Gentoo => "puppet://myserver.com/files/os/gentoo/etc/ssh/sshd_config", RedHat => $lsbdistrelease ? { "4" => "puppet://myserver.com/files/os/rhel4/etc/ssh/sshd_config", "5" => "puppet://myserver.com/files/os/rhel5/etc/ssh/sshd_config", "5.1" => "puppet://myserver.com/files/os/rhel5/etc/ssh/sshd_config&qu...
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
2012 Apr 18
1
$lsbdistcodename stays the same after dist-upgrade
Dear List, i was running a few natty systems and upgraded one of them to oneiric. Facter shows the right lsbdistcodename, lsbdistrelease, etc. parameters, but when i''m running puppet agent the modules has access to the previous (natty, etc.) values. As i see on puppetmaster in /var/ lib/puppet/yaml/{facts,node} the output from facter and the agent is cached and won''t update (even after 24 hours). How could i update...
2007 Nov 07
1
A more elegant way of obtaining the major OS release number
...> instance, CentOS 4.0 through 4.5 would all be ''CentOS 4'' to some > scripts, and CentOS 5.0 and greater would all be ''CentOS 5''. > > I slightly modified facter (via editing > /usr/lib/site_ruby/1.8/facter.rb) to expose a new variable named > lsbdistrelease_majorversion which only includes the portion of the LSB > distribution release before the decimal point (if there is a point at > all): > > ======== > 621c621,622 > < { "LSBRelease" => %r{^LSB Version:\t(.*)$}, > --- > > { > >...
2011 Mar 03
3
lsbdistcodename and Debian Squeeze
...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 email to puppet-users+unsubscrib...
2010 Jul 29
5
Multiple repositories under one file
Hello All, In all the examples that I see you configure one repo per file; i.e: yumrepo { "testing.com-repo": baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/", descr => "Testing.com''s YUM repository", enabled => 1, gpgcheck => 0, } But how do I specify multiple entries to the same file?. For instance, I just one to have one file "base.repo" to contains all the entries for the repos for my environment. i.e:...
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
2008 Jan 22
2
Could not set file on ensure: undefined method `[]'' for nil:NilClass
...nsure => $ensure, source => "puppet://$server/files/$source" } } -------------------- It''s used in: -------------------- class yumupdater { remotefile { "/etc/cron.hourly/yumupdater": source => "os/$operatingsystem/$lsbdistrelease/etc/cron.hourly/yumupdater", ensure => file, mode => 755 } } --------------------- Any idea what I''m doing wrong? Thanks in advance, Nico
2007 Apr 30
3
syntax error, but wherz
...} 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.com/mailman/listinfo/puppet-...
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
...~]# 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(main):001:0> h = { &qu...
2007 Aug 29
4
Newbie stuck on facter not finding hostname
...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 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 ke...
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 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 =
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