similar to: Problem with "defined" keyword

Displaying 20 results from an estimated 200 matches similar to: "Problem with "defined" keyword"

2006 Sep 27
4
An option to test what will be done by the puppet client?
Hi, I can''t find an option of the puppetd client that can just print what the puppetd client will do on my system (updateing files, installing softwares, etc), but without doing all the things (like a "diff" between the current state of my system and the state defined on the puppet server). Is such option exists ? Regards
2007 Feb 14
2
Problem with a template file
Hi, I''ve got a problem when using templates in Puppet. In my node declarations, i set (or not) some special variables to activate (or not) some part of my configuration. When i don''t need the configuration part, i don''t declare the variable. I then use something like this in my templates: ... <% if defined? myvar %> ... myvalue = <%= myvar %> ... <%
2007 Jan 24
4
Installing YUM with Puppet
Hi, I have this small problem with my servers managed by Puppet (i have a workaround so the problem is not so important): 1) These servers are installed with Red Hat Linux Enterprise and i use Puppet in client-server mode. 2) I''ve made a Puppet class called "yum" to install (by the RPM package provider) and configure YUM on my servers. I don''t use the YUM package
2007 Jul 16
9
DRBD facts
Hi, I can''t find a way to add a page on the wiki (i''m logged in but there is no edit button on the facter recipes page), so here is a recipe for DRBD. It has been tested on version 0.8.4. Can someone publish it on the web site? if FileTest.exists?("/proc/drbd") result = {} Thread::exclusive do File.readlines("/proc/drbd").each do |l| if l =~
2006 Oct 18
1
Dynamic groups for a user
Hi, I try to find a way to do this in Puppet: - i have a web server with Apache installed - on this web server i got user accounts (and there is a group for each user with the same name as the user name, in my case a group called "sebastien.prudhomme". This group is the initial group of the user) - i want to set up UserDir in Apache so that my users can have their own website. - on my
2006 Dec 13
3
Bug status for next release
Hi all, I''ve now finished all of the functionality I plan to add in the next release, so all that remains is closing as many open bugs as possible. I''ve gone through and marked all of the bugs I specifically plan on fixing with the ''minor'' milestone. If you have a bug in the db[1] that you think needs to be fixed in the next release but is not
2007 Jul 09
3
how to make a package depend on 2 or more other packages
Hi, when using puppet to install extra rpm packages on centos: how can I make a package depend on 2 or more other packages. e.g. this works: class centos4_extra_packages { package { "test1" : ensure => installed, require => package["prereq"] } } but I can''t figure out how to make test1 require
2007 Jan 25
3
overriding file in a class
Hello, i use a file type to manage sysctl.conf. For some work i override this file by doign File[''/etc/sysctl.conf''] and i have an exec refresh only to run sysctl -p so it reread the sysctl.conf file if changed. My issue is that at each run i got, i start in state when i see the overriden one on the server: 1st run, i have the basic sysctl.conf not the ovveriden one
2006 Oct 14
4
How do I manage manifests most efficiently...?
Hi As I''m more familiar with cfengine and it''s way to split updates (in update.conf) from the actual grunt work (in cfagent.conf), I''m wondering how to best manage puppet and my manifests with puppet...? Should I define a puppet class that copy the puppet package (in .tgz format) and all the manifests to the client, and then have all my other classes depend on
2005 May 16
1
graphic
Hi, poids taille fumeur sexe sport etat 85 184 oui homme 1 malade 65 175 oui homme 1 malade 74 180 oui homme 2 gueri 79 175 oui homme 2 malade 71 165 non homme 3 gueri 80 185 non homme 3 gueri 75 180 non homme 4 malade 69 155 non homme 4 malade 74 168 oui
2009 Aug 12
1
[Announce] Samba 3.2.14 Maintenance Release Available
================================================================ "I think there is a world market for maybe five computers." Thomas Watson ================================================================ Release Announcements ===================== This is the last maintenance release of the Samba 3.2 series. Please note that this is the last bugfix release of the
2009 Aug 12
1
[Announce] Samba 3.2.14 Maintenance Release Available
================================================================ "I think there is a world market for maybe five computers." Thomas Watson ================================================================ Release Announcements ===================== This is the last maintenance release of the Samba 3.2 series. Please note that this is the last bugfix release of the
2007 Jan 29
3
WXRuby Documentation
Hi, I am very new to Ruby, but I know I can express myself in writing pretty well. If it''s OK to contribute to the documentation of WXRuby, How do I do that? I signed up for a membership on Sourceforge, but was not sure what to do after that. Thanks. Jim James D Homme, Usability Engineering Highmark Inc. james.homme@highmark.com 412-544-8177 "If you think you can, or if you think
2007 Aug 23
10
Using resource names in templates...
Hi all, I''ve been turning my head upside down to find a solution on the following problem: I have a samba fileserver and need to make puppet do: 1. Create groups 2. Create directories with group rights 3. Create an smb-shares.conf from a template that can be included in the main smb.conf. To do this I need to have a combination of sharename and group _and_ create the
2009 Dec 10
6
Confusion regarding ''zfs send''
I''m playing around with snv_128 on one of my systems, and trying to see what kinda of benefits enabling dedup will give me. The standard practice for reprocessing data that''s already stored to add compression and now dedup seems to be a send / receive pipe similar to: zfs send -R <old fs>@snap | zfs recv -d <new fs> However, according to the man page,
2009 Jun 15
33
compression at zfs filesystem creation
Hi, I just installed 2009.06 and found that compression isn''t enabled by default when filesystems are created. Does is make sense to have an RFE open for this? (I''ll open one tonight if need be.) We keep telling people to turn on compression. Are there any situations where turning on compression doesn''t make sense, like rpool/swap? what about rpool/dump? Thanks, ~~sa
2009 May 26
1
disabling showmount -e behaviour
I must admit that this question originates in the context of Sun''s Storage 7210 product, which impose additional restrictions on the kind of knobs I can turn. But here''s the question: suppose I have an installation where ZFS is the storage for user home directories. Since I need quotas, each directory gets to be its own filesystem. Since I also need these homes to be accessible
2012 Jan 16
1
Package "maps": what is the name of county # 2395?
I am using "maps". I am running the following code to get this list of all the counties: map('county', plot=FALSE)$names In the output, all counties have first the state listed and then, after a comma, the name of the county. However, county # 2395 (State = south dakota) has no county name. Anyone knows what this county is? Thank you! -- Dimitri Liakhovitski
2010 Feb 18
3
improve meta data performance
We have a SunFire X4500 running Solaris 10U5 which does about 5-8k nfs ops of which about 90% are meta data. In hind sight it would have been significantly better to use a mirrored configuration but we opted for 4 x (9+2) raidz2 at the time. We can not take the downtime necessary to change the zpool configuration. We need to improve the meta data performance with little to no money. Does anyone
2011 Aug 26
1
R.oo data members / inheritance
If someone is able, can you tell me if there is a better way to do this? More specifically, do I have to rewrite all of the data members stuff and extend stuff of parent class in the child class? See below. Thanks in advance! Example 1: setConstructorS3("ClassA", function(A,x) { if(missing(A))A=15; if(missing(x))x=NA; extend(Object(), "ClassA", .size = A, .x=x