Displaying 3 results from an estimated 3 matches for "role1".
Did you mean:
role
2010 May 07
1
Apache Tomcat/5.5.23
...ing to the home page, users are defined in
$CATALINA_HOME/conf/tomcat-users.xml. Currently my file has the following
content
more tomcat-users.xml
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/...
2007 Sep 24
0
Finds and Single Table Inheritance
Can someone please help me understand the results that are being
produced when doing queries on a table that is using single
inheritance.
Table1 < ActiveRecord::Base
Role1 < Table1
Role2 < Table1
Role3 < Table1
1. Role1.find(:all) produces:
"SELECT * FROM table1 WHERE type = ''Role1''"
2. any other find on table1 that calls anything but the Role1 Class
EXAMPLES. Table1.find(:all) or Table1.find(:all, :conditions => [''...
2012 Feb 10
7
Hiera data unusable in a class with an array parameter
...e*
*<% end %>*
*<% scope.function_hiera(''allowed_ips'').each do |comment, ip| -%>
*
* code <%= ip %> code # <%= comment %>*
*<% end %>*
And finally calling them in the node:
*node example.com {*
* class {"iptables":*
* role => ["role1", "role 2"]*
* }*
*}*
The above configuration gives the following error:
> Error 400 on SERVER: Failed to parse template iptables/test.erb: can''t
> convert Array into String at .../iptables/manifests/init.pp:3 on node
> example.com
The weird part is that take...