Displaying 20 results from an estimated 20 matches for "memorysize".
Did you mean:
memory_size
2011 Jun 30
4
using memorysize fact in manifests
Hi,
I want some config depending on memorysize.
What I tried was
if ($memorysize >= 256 * 1024*1024) {
...
}
But this fails because $memorysize is a string (and contains a "G") and can''t be
compared to an int.
Are all facts strings? How do I work with numbers?
regards, Andreas
--
Andreas Kuntzagk
SystemAdminis...
2009 Jun 30
6
Variable named "memory" in templates
I tried to use a Puppet variable named "$memory" and access it from
a template, like this:
$memory = 4711
file {
"/tmp/test.txt":
content => inline_template("memory = <%= memory %>\n");
}
One would think that my file would contain "memory = 4711" after that,
but instead the memory variable seems to hold a
2011 Jun 01
3
puppet and environments ... need help
...t;: }
So from the system when setup as beta you''ll see the template and
catalog reference prod while the file references beta:
puppet agent --test --noop --environment=beta
info: Retrieving plugin
info: Loading facts in hcs_service
info: Loading facts in os_version
info: Loading facts in memorysize
info: Loading facts in uspspuppetfacts
info: Loading facts in network
info: Loading facts in buildinfo
info: Loading facts in hcs_service
info: Loading facts in os_version
info: Loading facts in memorysize
info: Loading facts in uspspuppetfacts
info: Loading facts in network
info: Loading facts in...
2007 Dec 21
2
Any magic to the name ''memory'' in templates?
I tried using it in a template:
<%= memory %>
and it put "0" in my file
when i switched the variable name to the_memory, it worked
Eugene Ventimiglia
Director of Systems
GridApp Systems
e: eventi@gridapp.com
o: 646 452 4081
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
...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 => RedHat
operatingsystemrelease => 5.4
path =>
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
physicalproce...
2012 May 10
1
stop calculation in a function
Hi dear R-users,
I have a question about a function I'm trying to improve.
How can I stop the function calculation at the last numeric value of my
data?
The problem is that the end of my data contains missing values (NAs). And
the aim of my function is to compare the first numeric value with the next
one (till the end). For the moment, It works well when my data doesn't
contains any NAs
2006 Aug 08
5
RubyGems runtime memory use in Rails apps...
This an open plea for someone with knowledge of RubyGems to explain why
RubyGems stays in memory (over 10MB) after a Rails application is loaded. I
am unable to figure out why this would be necessary. I haven''t had any
response from Jim or Chad from RubyGems about it so I thought I would throw
it open to the list to see if anyone could educate me or share thier
experiences with this.
2008 May 01
15
[Bug 15792] New: nv04 (TNT2) video blitter problem.
http://bugs.freedesktop.org/show_bug.cgi?id=15792
Summary: nv04 (TNT2) video blitter problem.
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2018 Jan 27
0
Thread-local-storage memory layout
...009c94 0000000000000000 WAT 0 0 16
And here is the ELF segment information:
TLS 0x00000000001a5dd0 0x00000000002a90d0 0x00000000002a90d0
0x0000000000000004 0x0000000000009ca4 R 0x10
So I load this segment into memory using file offset, filesize, memorysize.
My understanding that for x86_64 there is a "struct thread_info" that
is located right after TLS loaded segment. And the first element of
this structure is a pointer (i.e. sizeof(uintptr_t)).
Now I need to setup %fs and thread_info structure and it is where I
have a few questions:
* w...
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
2008 Jan 30
3
[Bug 14305] New: X crash at start when virtual size exceeds the VRAM capacity
...eau at lists.freedesktop.org
ReportedBy: debian at oursours.net
QAContact: xorg-team at lists.x.org
X crash at start when virtual size exceeds the VRAM capacity
Quoting marcheu who sort it out:
<marcheu> (EE) EXA(0): ExaDriverRec::offScreenBase must be <=
ExaDriverRec::memorySize
<marcheu> bad bad bad bad
<marcheu> (--) NOUVEAU(0): VideoRAM: 16384 kBytes
<marcheu> 2624*1200*4=12MB
<marcheu> we only use half of VRAM for 2D, and 16/2MB < 12MB
<marcheu> so you don't have the room to create that buffer<marcheu> in fact, X
should refu...
2009 Sep 01
11
Storing puppet info in a database
Hi all.
We have a bunch of RHEL servers running Puppet. They are also connected to
our Red Hat Satellite server.
Currently we don''t have any master documentation system that stores all
relevant information (i.e. type of server, hardware info, linux
configuration, etc) about the servers. So what I''d like to do is implement
some sort of system that can hold all this information.
2012 Aug 23
1
Puppet Agent VS User
...puppet
dbpassword = puppet
dbport = ""
dbserver = localhost
dbsocket = ""
dbuser = puppet
deviceconfig = /etc/puppet/device.conf
devicedir = /var/lib/puppet/devices
diff = diff
diff_args = -u
dns_alt_names = ""
document_all = false
downcasefacts = false
dynamicfacts = memorysize,memoryfree,swapsize,swapfree
environment = production
evaltrace = false
external_nodes = none
factdest = /var/lib/puppet/facts/
factpath = /var/lib/puppet/lib/facter
facts_terminus = facter
factsignore = .svn CVS
factsource = puppet://puppet/facts/
factsync = false
fileserverconfig = /etc/puppet/fi...
2012 May 16
2
Announce: Facter 2.0.0rc1 Available
...ded from searchpath
For security reasons and principle of least surprise, Facter now
explicitly excludes relative directories from its searchpath. When a
directory is excluded, Facter will log a debug message.
Removed deprecated memorytotal fact
Previously deprecated, the preferred fact is memorysize.
FACTERLIB enviroment variable
On Windows, the FACTERLIB environment variable now uses the
platform specific path separator.
Facter 2.0.0rc1 Changelog
===================
Chris Price (7):
26918b3 (#12012) Move "with_env" utility method from test code
into lib code
810c46...
2007 May 10
3
Bug or misconfiguration? Trying to add local user in NIS environment
...aremodel => i686
hostname => puppetserver
id => root
ipaddress => 10.10.10.15
kernel => Linux
kernelrelease => 2.6.16.27-0.9-bigsmp
macaddress => 00:10:18:17:BF:E6 00:10:17:17:BF:E6 00:10:18:18:BF:E6
00:10:18:16:BF:D5 00:10:18:17:BF:E6 00:14:5E:69:80:8D
memoryfree => 5.26 GB
memorysize => 5.94 GB
operatingsystem => SuSE
operatingsystemrelease => 2.6.16.27-0.9-bigsmp
processor0 => Intel(R) Xeon(TM) CPU 2.80GHz
processor1 => Intel(R) Xeon(TM) CPU 2.80GHz
processor2 => Intel(R) Xeon(TM) CPU 2.80GHz
processor3 => Intel(R) Xeon(TM) CPU 2.80GHz
processor4 => Int...
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:
<%
2011 Nov 04
1
Storeconfigs and nagios and foreman
...tatedir/localconfig''.
localconfig = /var/lib/puppet/state/localconfig
# Facts that are dynamic; these facts will be ignored when
deciding whether
# changed facts should result in a recompile. Multiple facts
should be
# comma-separated.
# The default value is ''memorysize,memoryfree,swapsize,swapfree''.
# dynamicfacts = memorysize,memoryfree,swapsize,swapfree
# The directory in which serialized data is stored on the client.
# The default value is ''$vardir/client_data''.
client_datadir = /var/lib/puppet/client_data
# Whe...
2008 Oct 30
27
[Bug 18300] New: NV11 Locks Up On Xorg Initialization
http://bugs.freedesktop.org/show_bug.cgi?id=18300
Summary: NV11 Locks Up On Xorg Initialization
Product: xorg
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy:
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
2011 Apr 14
10
allow_duplicate_certs = true not working?
I saw this feature became available in 2.7.0rc1 and wanted to try it
out. I entered ''allow_duplicate_certs = true'' on both my master and
agent systems in the puppet.conf (not sure if its need in both, saw it
in genconf for puppetd and puppetmasterd though ...). I also have
autosign.conf configured to allow autosigning for our domain
(*.domain.com). I had my agent register with