Displaying 20 results from an estimated 400 matches similar to: "Matching multiple nodes with a regular expression"
2010 Sep 19
1
ergm crashes
Dear all, I am doing a social network analysis using ergm. I import a rectangular matrix of data and then I build a network using the following command: ng <-network(mat,directed=FALSE)
I then attach vertex names using commands like this: set.vertex.attribute(ng,"SchoolType",mSchType) where SchoolType can take six different/unique values.
Then, I run ergm models successfully using
2009 Dec 13
13
Inherited Client and Server Apps
So, I''ve been doing something like this for applications that have a
client and server component...
node base_node {
include syslog_ng::client
}}
node app_node inherits base_node {
}
node syslog_server inherits base_node {
include syslog_ng::server
}
... because I want the client portion, syslog-ng in this case to be
installed on everything. However, the server node also has a
2008 Nov 14
11
External_nodes definition not working. Client states "could not find node"
Hello folks,
Im trying to migrate from static nodes-definition to external nodes
definition.
My script looks like this stolen from
http://reductivelabs.com/trac/puppet/wiki/ExternalNodes:
{{{
#!/usr/bin/perl -w
use warnings;
use YAML qw( Dump );
use Switch;
#initialize vars
our @classes;
our %parameters;
Function to fill @classes and %parameters with correct values
....
print Dump( {
2007 Dec 13
4
access to databases in puppet - best practice?
Hello!
In my puppet configuration I need to get some data from database.
Ie.: I''ve got information about my all hosts in db - thier name, mac
addresses, ip addresses, what to backup from this host etc. For now
it''s just .xml file, but it could be sql db, or ldap directory. Then,
using this small "database", I want to generate configuration using
puppet - ie.:
2007 Nov 13
6
Groups
Hello,
Is it possible to group many nodes together? Suppose I have a large
number of machines that I all want to have the same config - rather
than specify them as individual nodes each inheriting the same config,
I''d like to say that a group inherits a config, and define the group
elsewhere.
Does this sort of construction already exist? Could it be cobbled
together from what we
2007 Nov 10
1
creation of an external node source
Hello,
it seems I''ve hit https://reductivelabs.com/trac/puppet/ticket/831 with puppet
stable 0.23.2 .
I''ve just created the simplest setup to get puppet running.
puppetmasterd runs in the foreground. (-verbose)
As the client connect to the server, the following err-msg is logged:
puppetd --server myserver --waitforcert 60 --test --verbose
err: Could not retrieve
2012 May 09
2
ergm model, nodematch with diff=T
Dear all,
I am new to network analysis, but since I have good data I started to read
about it and learned how to use the ergm and related packages. I generally
get interesting results, but when I run a model including sociality and
selective mixing effects for different groups, the model runs (and
converges) but I get a warning as follows:
mod <- ergm(network ~ edges + gwesp(0, fixed=T) +
2010 Sep 23
0
ergm
Dear colleagues,
I have another question, which, I think cannot be answered easily by the manual. What is the effect of including both nodefactor("Gender") and nodematch("Gender",diff=TRUE)) for the same variable in the model? Judging from the output (please see below), you cant have estimates for both for boys and girls forthe nodematch command, but I thought that the
2007 Nov 26
6
Help with tags
Hello...
I need some help with tags. as an example:
# pseudo code
class ssh {
file { "/etc/ssh/ssh_config":
# normal stuff
tag("dangerous") }
file { "/etc/ssh/sshd_config":
# normal stuff
tag("dangerous") }
file { "/etc/ssh/ssh_known_hosts":
# normal stuff
tag("safe") }
}
on client: puppetd --tags
2009 Aug 17
0
multiple values for a factor using nodematch in ergm()
Greetings, and many thanks for any insight you can offer.
I have a network object on which I'd like to simulate an ergm() using
{statnet}. Since the network object is large, I have not copied it here.
Each vertex has an attribute "language" which can take on integer values
greater than or equal to 1.
Is there a way to use the nodematch argument of ergm(), such that it
searches for
2005 Jun 29
14
Unobtrusive scripting?
Currently, pages generated by Rails tend to be sprinkled with
JavaScript. This happens, because the various helper methods work only
locally and simply append to the output.
In order to hide the JavaScript away, rendering would probably have to
be changed. A way I can think of is that a page-specific script is
included in the head of the document and JavaScript code is not written
to the
2005 Sep 19
4
Rails vs. Cocoon
Hello all,
I''m hoping that someone out there in Rails-land has developed in both Cocoon
and Rails and would like to share their experiences using both application
frameworks.
I''m going to be doing a presentation in the next couple of days on the
advantages that Rails affords. The higher-ups are going to use this info on
deciding whether or not to move away from Cocoon and
2014 Apr 23
0
Select fields, Coffeescript and Cocoon
Hello,
I have select field which after a choice happened, feeds another select
field.
Using the gem Cocoon to duplicate this set of select fields.
My problem now is to find a solution that the coffee script supplies values
for each select field-set separately.
My code:
form
<%= render 'usergroup_fields', :f => usergroup %>
<%= link_to_add_association "Add
2007 Feb 26
24
Ruby/rails port of Cocoon/hibernate
Hi,
I''m currently running an apache/jboss cocoon/flow/hibernate/ajax
paypal (directpayment) project and am looking into the possibility of
porting it across to ruby/rails. For that reason I would like to know
the following:
1. Can I call my java classes or would I be looking at a complete
rewrite in ruby?
2. How effective is ruby in terms of seperation of concerns regarding
design from
2005 Oct 11
8
Sortable as a class?
Hi there!
My first post to this list, so first of all many thanks for the amazing
Scriptaculous library. I''m currently using it for some nice Ajax effects
in Apache Cocoon (http://cocoon.apache.org/).
I''m currently struggling with Sortable, which I would like to adapt as
the conventions used in Cocoon are different from those currently used.
Basically, I would like to send
2015 Apr 19
2
[LLVMdev] function pointer alias analysis
Hi
I see when LLVM builds the CallGraph SCCs. a function calling through
a function pointer is conservatively assumed to call internal and
external functions. Therefore, it has an edges pointing to the
externalnode2, ie. the externalnode representing outgoing calls from
this module.
does LLVM have any function pointer analysis capabilities in the mainline ?
Thanks,
-Trent
2013 Sep 12
25
shorewall-lite error at start
Hi,
My main gateway is a router running on OpenWrt Barrier Breaker
r37816/ Kernel Version3.10.4.
I installed shorewall-lite from openwrt''s repo using opkg but while
trying to start shorewall-lite I get the folowing errors:
The first error i got was "scp: /var/lib/shorewall-lite: No such file
or directory" simply resolved by making the folder "shorewall-lite"
2006 Mar 02
5
Need to link to something like JasperReports
Hello everyone,
Has anyone linked Rails to a report generator such as Jasper Reports
(http://jasperreports.sourceforge.net/)? At the moment, I think I
need something along these lines for a project I''m working on, so it''d
be nice to know if anyone''s used it before before I bring it up as a
suggestion.
Doesn''t have to be JasperReports, and in fact I''d
2006 Jan 07
2
Bug#346350: logcheck-database: dhcp3-server ignores need to include (none ) client host name
Package: logcheck-database
Version: 1.2.39
Severity: normal
I use dhcp3-server and a dhcp client which is Sony HDD video recorder
CoCoon. The client not return client host name.
In this case, dhcpd server assumed the client host name is (none).
Therefor dhcpd output log described below.
> Jan 7 10:49:24 on-o dhcpd: DHCPDISCOVER from 08:00:46:33:55:77 ((none)) via eth0
> Jan 7 10:49:25
2007 Jun 27
9
Newbie questions...
I''ve spent the last week or two poring over the documentation and
setting up my first puppet environment, and while I''ve figured out
how to do most of what I want to do with it, I have some questions
that I haven''t been able to find answers for...
* Can I match parts of a facter fact? In particular I have hostnames
that include the environment as part of the