Displaying 20 results from an estimated 800 matches similar to: "Using variables in virtual resources"
2006 May 10
3
NoMethodError
When I want to see my users, then I get:
-----------------------------------------------------
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each
Extracted source (around line #3):
1: <% @page_title = "Spisek uporabnikov" -%>
2: <table>
3: <% for user in @all_users %>
4:
2007 Aug 22
1
recursive copy
Hi all,
I''m new to puppet (coming from cfengine). I have a question concerning recursive copy. We
have about 20 different types of desktop PC installations (typeA, typeB, ...). Each type
has about 10-40 different config files. What I would like to do:
I have a file server with the following structure:
/dist/typeA
/dist/typeB
/dist/typeC
...
Inside /dist/typeA the config files have
2009 Oct 02
2
[LLVMdev] typedef struct
Hi all,
If I have a C struct declaration like this:
typedef struct typeA {...} typeB;
In the type symbol table generated should it contain an entry for struct.typeA
or struct.typeB? I seem to have seen both cases using the same llvm toolchain
so I just wonder if I have done something wrong.
Thanks,
Alvin
2006 Jul 17
10
getting the user name
Hi I am new to ruby and trying to obtain the user name in the login
index.rhtml where I could display "You have logged in [user name]"
How could I do this? I have been trying different options after reading
the ruby manual but still throw an error.
please help
--
Posted via http://www.ruby-forum.com/.
2011 Apr 19
1
self-referential representations in S4
I'm trying to do the following:
> setClass("MyNode", representation(parent = "MyNode"))
[1] "MyNode"
Warning message:
undefined slot classes in definition of "MyNode": parent(class "MyNode")
I scanned the docs, but found nothing. The representation function has no
problem, it's the setClass function which gives the warning.
What
2009 Oct 03
0
[LLVMdev] typedef struct
Hi Alvin,
> If I have a C struct declaration like this:
>
> typedef struct typeA {...} typeB;
>
> In the type symbol table generated should it contain an entry for struct.typeA
> or struct.typeB? I seem to have seen both cases using the same llvm toolchain
> so I just wonder if I have done something wrong.
it doesn't matter what the name is since it has no effect on
2016 May 26
3
Failed to join domain: failed to lookup DC info for domain '<EXAMPLE.COM>' over rpc: The object name is not found.
Hello,
I've been trying to add a new server to my Samba 4 Active directory, but I've been failing so far. I'm running the command "net ads join -k" and it fails with "Failed to join domain: failed to lookup DC info for domain '<EXAMPLE.COM>' over rpc: The object name is not found." The answers I found so far imply a problem with the RPC service, but
2009 Oct 04
1
[LLVMdev] typedef struct
Hi Duncan,
Actually what I am doing is matching up each Type with its corresponding debug
info. I have checked that the debug info generated is consistent (i.e., typeA
is recorded as a derived type from composite type typeB in my example), but I
have seen cases where the name recorded in the Type object is typeA and
sometimes typeB, that's why I am confused.
Alvin
Duncan Sands wrote:
2007 Apr 13
2
puppet reporting an older version installation
Hello all,
I have puppet rpm on internal repository for updating it to servers that
don''t have it on their normal repos (Centos, Fedora Core 4 or older...)
Then I have this to ensure that puppet is at latest version:
package { "puppet":
ensure => latest,
provider => yum,
}
I added puppet 0.22.3 to my internal repository and all servers updated
to that version,
2008 Feb 09
1
bad variable names when printing a data frame containing a matrix (PR#10730)
library(glmpath)
data(heart.data)
# heart.data is a list, $y a vector, $x a matrix
data <- data.frame(x=I(heart.data$x), y = heart.data$y)
> data[1:2,]
x.1 x.2 x.3 x.4 x.5 x.6 x.7 x.8 x.9 y
1 160 12 5.73 23.11 1 49 25.3 97.2 52 1
2 144 0.01 4.41 28.61 0 55 28.87 2.06 63 1
> dimnames(heart.data$x)[[2]]
[1] "sbp"
2016 Jul 13
2
Host not reachable over UDP
Dear all,
I have been successfully running for quite some time a tinc 1.1 network in
switch mode. I recently added a new node, that refuses to communicate over
UDP.
Running "tinc info mynode" from a different box returns:
Reachability: directly with TCP
It appears that tincd is not listening on UDP port 655 on "mynode". Running
"ss -nlptu | grep tincd":
tcp
2011 Oct 17
2
[LLVMdev] Variable name from metadata
Hi All,
Can we extract name of variable name from "MDNode" ?
1. Neither temp_MDNode->getName() nor temp_MDNode->getValueName() give me "global_int" which is name of a variable.
2. I tried below ways as well.
DIVariable DV(mdnode1);
Value *v = mdnode1->getOperand(0);//gives add 0x69
3. I have written below code to reach till variable name.
LLVMIname is
2006 Jan 05
2
help - edit without using scaffold
Hello,
What am I doing wrong? The code below does not show the current record for editing.
def edit
@user = User.find(params[:id])
end
def update
@user = User.find(params[:id])
if @user.update_attributes(params[:user])
flash[:notice] = ''User was successfully updated.''
redirect_to :action => ''show'', :id => @user
else
render :action
2016 Jul 13
2
Host not reachable over UDP
Have anything to do with firewall locations, meaning home vs work vs public
vs lockdown. Probably not it at all.
On Jul 13, 2016 3:22 PM, "Etienne Dechamps" <etienne at edechamps.fr> wrote:
> That's strange. Can you post a detailed log from the affected node (run
> tincd -d5 -D), especially the initialization phase?
>
> On 13 July 2016 at 16:17, Petr Man <petr
2013 Aug 12
2
Error while starting the node on ESXi hypervisor
Hi,
Today I was trying to start a node using libvirt on ESX (esxi-5.1)
hypervisor and I got the following error message:
*virsh # define /local/myNode/esxdomain.xml*
*Domain testNode defined from /local/myNode/esxdomain.xml*
*virsh # start testNode*
*error: Failed to start domain testNode*
*error: internal error: Could not start domain: GenericVmConfigFault -
Cannot open the disk
2006 Feb 05
8
Agile Rails book: depot problem 2
My second problem is:
Listing users, and deleting them doesn''t work.
If I try to list user, i just get this list:
User Delete
User Delete
User Delete
User Delete
I''m using this code in the login_controller:
def list_users
@all_users = User.find(:all)
end
def delete_user
@id = params[:id]
if id && user = User.find(id)
begin
User.destroy
2006 Dec 11
3
request an object
Hello,
I use a type i just written that install apache basicaly it is httpd
and you provide the version (it is just a wrapper to the packets system)
. I wanted to tell another type, the vhosts one that i required that
this node defines the httpd type and that the vhosts type is allways
called AFTER the httpd type.
node ''mynode'' {
httpd{ version =>
2016 Jul 14
2
Host not reachable over UDP
You might want to try with https://github.com/gsliepen/tinc/pull/120 - that
said, this bug probably doesn't explain everything because tinc is supposed
to log a message from setup_vpn_in_socket() anyway, but there's no such
message in your log. In addition, I really don't see any way the "Received
UDP packet from unknown source" message could be logged if the UDP socket
2016 May 26
1
Failed to join domain: failed to lookup DC info for domain '<EXAMPLE.COM>' over rpc: The object name is not found.
Try to ping from client to server with its hostname. Sounds like dns
problem.
ping server
Then try to ping its ip address.
Then try to add server address to host file.
Ex
192.168.8.30 server.example.com server
Best
M
On May 26, 2016 12:02, "Nico Speelman" <nico at speelmanrobben.nl> wrote:
> Hello,
>
> I've been trying to add a new server to my Samba 4 Active
2013 Sep 23
2
samba-tool join domain fails
Hi folks,
big problem with my testint environment... my windows 2003-domain exists
since 2004 and the credentials are correct, guaranteed.
This problem is actually same on Ubuntu 12.04.3 and Debian 7...
<code>
root at pa-lnxd-04:~# /usr/local/samba/bin/samba-tool domain join
INTRANET.DOMAIN.DE DC -Uintranet/admin --realm=intranet.DOMAIN.de
Finding a writeable DC for domain