search for: lsbdistcodename

Displaying 20 results from an estimated 21 matches for "lsbdistcodename".

2007 Aug 20
1
Re: Assertions
David Schmitt david wrote on Mon Jun 25 03:32:09 CDT 2007: > For the ongoing modularisation of my config I wrote a > assert_lsbdistcodename class today, which can be used for failing > parts or complete configurations if a certain variable is not set > (lsbdistcodename in this case). Please find the file attached. This is great, however I ran into something strange with this. It appears as if lsbdistcodename is set if you ha...
2011 Mar 03
3
lsbdistcodename and Debian Squeeze
Hello all, I use puppetmaster on a Debian Squeeze server (packaged from Debian 2.6.2-4) I am using a template for Debian Servers which works great for Lenny in order to update my sources.list automagically, here goes: deb http://ftp.ie.debian.org/debian <%= lsbdistcodename %> main contrib non-free deb http://security.debian.org/ <%= lsbdistcodename %>/updates main Now the 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 => unkno...
2012 Jun 14
1
facter --yaml leaves some fields blank
Sometimes "facter --yaml" doesn''t list all the values specified on the command line. I can''t find rhyme nor reason why. Here''s a demo to show what I mean: # facter --version 1.5.7 # facter --yaml fqdn macaddress lsbdistcodename --- fqdn: my.host.name.example.com lsbdistcodename: squeeze macaddress: "00:00:00:00:00:00" We had been using the above command for a while to extract values for a shell script. However we recently discovered that when we have a Linux box who''s primary NIC is "br123"...
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). Ho...
2009 Feb 23
3
Require package not working as expected
..._volatile to apt keystore"] ] } -------------------------------------------------------------------------------- This works on some systems, but fails on at least one other with: err: Could not retrieve catalog: Failed to parse template tclbase/sources.erb: Could not find value for ''lsbdistcodename'' at /etc/puppet/modules/tclbase/manifests/init.pp:77 on node [deleted] The value ''lsbdistcodename'' comes from facter, but on Debian systems it requires lsb-release to be installed. On the system in question, lsb-release is not installed, hence the failure above. However,...
2009 Dec 01
3
Duplicate definition on the same line and in the same file ?
...class php5::debian { file { "/etc/php5/apache2/php.ini": owner => root, group => root, mode => 644, source => [ "puppet:///php5/$operatingsystem/$lsbdistcodename/$fqdn/php.ini", "puppet:///php5/$operatingsystem/$lsbdistcodename/$hostname/php.ini", "puppet:///php5/$operatingsystem/php.ini.$hostname", "puppet:///php5/php.ini.$hostname",...
2012 Oct 04
4
Puppet 3.0 + Inventory search
Hello, I am having problems with Puppet since upgrading to 3.0.0. When I call an inventory search I get a Error 400. I have used dashboard + Perl Oct 4 08:58:43 puppet01 puppet-master[7008]: Handling request: GET /production/facts_search/search?facts.lsbdistcodename.eq=lenny Oct 4 08:58:43 puppet01 puppet-master[7008]: header too long ii facter 1.6.12-1puppetlabs2 Ruby module for collecting simple facts about a host operating system ii hiera 1.0.0-1puppetlabs2 A simple pluggab...
2007 Nov 29
2
puppet:// URIs don''t allow FQDN?
...pet = "security01.mydomain.com" # bashrc file for global shell settings. file depends on used OS version (etch, sarge etc). file { "/etc/bash.bashrc": ensure => present, source => [ "puppet://$puppet/files/bash/bash.bashrc.$lsbdistcodename", "puppet://$puppet/files/bash/bash.bashrc" ] ; } } I get the following error message puppet://security01.mydomain.com/files/bash/bash.bashrc failed: Could not connect to puppet on port 8140 It seems that puppet wants to connect to "puppet&q...
2011 May 13
1
ubuntu package installs
...hile processing: http://www.zmanda.com/downloads/community/Amanda/3.2.1/Ubuntu-9.04/amanda-backup-client_3.2.1-1Ubuntu904_i386.deb notice: Finished catalog run in 0.46 seconds ## ubuntu class class ubuntu { class amanda { case $architecture { ''x86_64'': { case $lsbdistcodename { jaunty: { package { "amanda-backup_client": source => "http://www.zmanda.com/downloads/community/Amanda/3.2.1/Ubuntu-9.04/amanda-backup-client_3.2.1-1Ubuntu904_amd64.deb", provider => dpkg,...
2008 Jan 03
5
modules and parser plugins: function unknown
Hi, We are totally sold on Pupet (what a nice concept) and are trying to setup a proof-of-concept. We are trying to learn a bit from other people''s work by integrating external modules. One of the modules we wanted to start with was the ''ntp'' module from David Schmitt. It clearly uses some functionalities from the ''common'' module, which we also
2012 Dec 03
4
Unnecessary changes when creating facts.yaml
...Corporation" + architecture: x86_64 type: Other serialnumber: "VMware-42 26 2c 7e 64 54 65 e5-bd 53 81 d7 56 02 2e e4" - processorthreadcount: "1" lsbmajdistrelease: "6" + processorthreadcount: "1" title: "mcollective::server" lsbdistcodename: Santiago mcollective_serverpackage: mcollective id: root At first I was thinking of just changing the template so that the the yaml output is sorted by key order (http://www.dzone.com/snippets/generating-yaml-hashes-sorted) but is this expected behaviour? Is there a better way to solve...
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
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 Jun 25
0
Assertions
Dear list! For the ongoing modularisation of my config I wrote a assert_lsbdistcodename class today, which can be used for failing parts or complete configurations if a certain variable is not set (lsbdistcodename in this case). Please find the file attached. Regards, David -- - hallo... wie gehts heute? - *hust* gut *rotz* *keuch* - gott sei dank kommunizieren wir über ein sept...
2007 Apr 30
3
syntax error, but wherz
...9;, 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 _______________________________________________ Puppet-u...
2012 Jul 05
1
hash to_yaml in erb template not giving valid yaml
...ith 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 the expected format. To me it seems the to_yaml is not working for me in combination with i...
2007 Aug 29
4
Newbie stuck on facter not finding hostname
...tem 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 value for operatingsystem is still nil domain => my.domain.com facterversion => 1.3.7 ps => ps -ef puppetversion => 0.22.4 rubysitedir => /usr/loca...
2007 Oct 08
5
Is Puppet similar to Capistrano?
I discovered Capistrano while I was trying to figure out what I wanted. See attached notes. http://www.genunix.org/wiki/index.php/GNOSIS/Kraken Puppet seems promising. Thanks, Brian -- - Brian Gupta http://opensolaris.org/os/project/nycosug/
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