similar to: Failure to find definition

Displaying 20 results from an estimated 300 matches similar to: "Failure to find definition"

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: <%
2007 Sep 24
2
Getting host IP address?
Hi, I''m gradually moving my site''s config over to Puppet (still in the testing phases at the moment!). Is there any way of getting/referring to a host''s IP address? I want to set up iptables via Puppet, & can use a template but need to get the IP address into the template somehow. I''m getting my node definitions (& thus classes) from LDAP. I
2007 May 22
4
Newbie: Am I looking at the right tool?
Hi, I''m absolutely new to centralized server management, sorry sorry in advance for any stupid remarks. Looking on the puppet documentation, I mainly find a lot of info about how to manage the config files, but nothing about centralized control. So I''m wandering if I''m looking a the right software package for my needs. I want to be able to do the following from a
2007 Aug 15
0
Puppet keeps restarting apache...
Hi all, I''ve got a problem when using the Apache2 recipe https:// reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe. Puppet is enabling modules and sites on every run, which in turn triggers a reload of Apache. I''ve figured out, that it must be the unless line in the exec statement that''s causing the problem: unless => "/bin/sh -c
2007 Feb 07
2
Writing your own functions
In case anyone is interested in extending the Puppetmaster by writing new functions, I''ve written up some notes on how to do it, gleaned from my own experience earlier today: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions Corrections from people who''ve done it before, or who are wanting to do it, as to correctness, clarity, or whatever, are appreciated. And
2007 May 01
3
Setting variables for a "group of nodes" - how to approach?
Trying to learn Puppet, given a cfengine background. Am trying to understand the Puppet way of accomplishing the following: I have a lot of servers, that are organized into clusters (we call them silos). Each silo has a specific set of parameters (like IP addresses). I''d like to organize the silo information in some way that each server is associated with that information, and can
2010 Mar 04
3
Dependency cycles, please help.
Hi, I''m having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe --------------------------------------------- $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apache2/mods" class apache2 { [...] define module ( $ensure =
2007 Oct 31
2
Managing apache authentication
Hi there. I''m trying to wrap my head around puppet and its parlance and need some guidance... 2 Questions: 1) I have done some puppet stuff on a new server and would like to hear whether I have done things "the right way" 2) I want to build on top of that and am not sure how... Question 1 ========== We don''t normally host static websites for people, but have been
2007 Dec 20
5
Apache2 module -- feedback appreciated
Hey folks, I''ve just uploaded an apache2 module[1] to our Google Code repository[2]. It''s based largely on the recipe available on the Puppet trac[3], but with a fair amount of modification and generalization... Basically, it provides abstractions for config file snippets, site definitions, and apxs modules -- and then "basic" and "debian"
2007 May 18
5
package installations on schedule or manual run
I would like to have packages installed either in the early morning or whenever I manually choose to do so on a particular machine. I am trying to convert my existing configuration from cfengine so in that tool I had something like: packages: Hr03|ManualRun:: <package installation commands> This basically says to install packages if it''s either 3:00-3:59am or if
2008 Jun 21
0
[ wxruby-Bugs-20759 ] [BUG] object allocation during garbage collection phase
Bugs item #20759, was opened at 2008-06-21 04:20 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=20759&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: [BUG] object allocation during garbage collection phase Initial Comment:
2008 Aug 23
3
graphs for pretest data
Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data. That is, make segments joining the scores, with different types of segments for men and women. Example data: menpre <- c(43,42,26,39,60,60,46) menpost <- c(40,41,36,42,54,58,43) womenpre <-
2008 Jul 09
3
randomly select duplicated entries
Using this data as an example dat <- read.table(textConnection("Id myvar 12 1 12 2 12 6 34 9 34 4 34 8 65 15 65 23"), header = TRUE) closeAllConnections() how can I create another data set that does not have duplicate entries for 'Id', but the included values are randomly selected from the available ones. Thanks! Juliet
2007 Apr 19
5
Creating and deleting users...
This this definition: group { "puppettestgroup2": gid => 1235, ensure => present } user { "puppettestuser2": gid => "puppettestgroup2", uid => 1235, ensure => present } I see this: notice: Starting
2010 Jul 15
2
replace negative numbers by smallest positive value in matrix
Hi Group, I have a matrix, and I would like to replace numbers less than 0 by the smallest minimum number. Below is an small matrix, and the loop I used. I would like to get suggestions on the "R way" to do this. Thanks, Juliet # example data set mymat <- structure(c(-0.503183609420937, 0.179063475173256, 0.130473004669938, -1.80825226960127, -0.794910626384209, 1.03857280868547,
2009 Mar 07
6
using a noisy variable in regression (not an R question)
Hi, This is not an R question, but I've seen opinions given on non R topics, so I wanted to give it a try. :) How would one treat a variable that was measured once, but is known to fluctuate a lot? For example, I want to include a hormone in my regression as an explanatory variable. However, this hormone varies in its levels throughout a day. Nevertheless, its levels differ substantially
2009 Mar 02
3
ways to put multiple graphs on single page (using ggplot2)
Hi, Here are three plots: library(ggplot2) data(diamonds) randind <- sample(nrow(diamonds),1000,replace=FALSE) dsmall <- diamonds[randind,] qplot(carat, data=dsmall, geom="histogram",binwidth=1) qplot(carat, data=dsmall, geom="histogram",binwidth=.1) qplot(carat, data=dsmall, geom="histogram",binwidth=.01) What are ways to put these three plots on a single
2012 Mar 21
2
glmnet: obtain predictions using predict and also by extracting coefficients
All, For my understanding, I wanted to see if I can get glmnet predictions using both the predict function and also by multiplying coefficients by the variable matrix. This is not worked out. Could anyone suggest where I am going wrong? I understand that I may not have the mean/intercept correct, but the scaling is also off, which suggests a bigger mistake. Thanks for your help. Juliet Hannah
2008 Sep 22
2
adding layers in ggplot2 (data and code included)
Here is some sample data: mydata <- read.table(textConnection("Est Group Tri 0 0 4.639644 1 0 4.579189 2 0 4.590714 0 1 4.443696 1 1 4.588243 2 1 4.650505 0 2 4.296608 1 2 4.826036 2 2 4.765386"),header=TRUE); closeAllConnections(); I can form two plots,
2009 Jan 24
2
how to prevent duplications of data within a loop
Hi All, I had posted a question on a similar topic, but I think it was not focused. I am posting a modification that I think better accomplishes this. I hope this is ok, and I apologize if it is not. :) I am looping through variables and running several regressions. I have reason to believe that the data is being duplicated because I have been monitoring the memory use on unix. How can I avoid