Displaying 20 results from an estimated 4000 matches similar to: "Inheritance versus inclusion"
2008 Oct 08
9
Inheritance syntax question
If I try the following:
class foo {
define bar ($text) {
file {"/tmp/foo.txt":
content => $text,
}
}
bar { "hello":
text => ''Hello World'',
}
}
class foo2 inherits foo {
Foo::bar["default"] {
text => ''Hello World Again'',
}
}
I get: "Syntax error at '':''; expected
2001 Jun 14
1
SFTP Logging
Hello everyone,
Has there been any thought given to giving the SFTP subsystem better
logging capabilities? We are looking to replace FTP, Telnet, and
Rexec completely, but our FTP is presently logged and any
replacement for it would also need to be logged. Specifically, we
need to know about file uploads and downloads, deletions. et cetera.
I've added some logging code to sftp-server.c,
2010 Mar 24
3
DO NOT REPLY [Bug 7289] New: --link-dest seen as unknown option
https://bugzilla.samba.org/show_bug.cgi?id=7289
Summary: --link-dest seen as unknown option
Product: rsync
Version: 3.0.7
Platform: x64
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: pjh at lowell.edu
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
2006 May 14
6
Controller Inheritance
Is there any known problem in inheriting a Controller from another
controller (that is to say having an Admin::PostController <
PostController, with PostController < ApplicationController)?
It is something I haven''t seen done in tutorials or books, however in my
opinion (and as far as I can see from my tests) it should work.
2001 Jun 20
1
SFTP Logging Redux.
Sorry to repost, but I finally have the code on a machine that has
diff -u, and I've updated it for 2.9p2. Attached is the unified
diff to add logging of SFTP activity to auth.info.
If there is a more proper way to contrib patches, please let me
know.
Cheers,
Jason
# "Jason A. Dour" <jason at dour.org> http://dour.org/
# Founder / Executive Producer - PJ
2010 Apr 30
5
Using classes from extnode to define config files?
Hi all,
I''m using cobbler as our external node manager and it''s working really
well (including deployment of ActiveMQ from RI''s RPMS and Mcollective -
blog post coming soon!) however I''ve run into a problem with exim
configuration files.
We use exim in a number of different configurations depending on the
role of the server (webserver/antivirus/outbound
2005 Aug 21
15
New inheritance
A good number of the samples I have tested are outright or subtly broken
on Windows now. I''m trying to determine what the cause is. Mostly it
seems related to the initialize function not being created when it
should be.
Case in point: ClientDC.i
The caret example won''t work at all because initialize isn''t declared
any longer. If you comment out the import
2002 Nov 05
1
function showMethods and inheritance
Hi,
The following question might come from my (deep) misunderstanding
of the concepts in the package 'methods'.
I have a class 'A', and a class 'B' inheriting 'A' (so defined
with 'setClass' and the parameter 'contains="A"'. The class
A has a method 'mymethod'. A call to 'showMethods("mymethod")'
return the
2010 Apr 24
3
S4 Inheritance of environments
I looked through the documentation and the mailing lists and could not
find an answer to this. My apologies if it has already been answered.
If it has, a pointer to the relevant discussion would be greatly
appreciated.
Creating S4 classes containing environments exhibits unexpected
behavior/features.? These have a different in two ways:
1) slotName for the data: ".xData" instead of
2011 May 16
1
nt acl inheritance
Hello List,
I've observed the following missbehaivoure, while playing around with nc
acl's. (see relevant configuration below):
Working with Windows XP:
Open acl enabled share
Set default share permissions by right click on the explorer's top left
clip control -> properties.
Under security I remove the CREATOR-OWNER and CREATORUSER Group, as I
already know, that these two
2006 Jul 26
4
Execute code when an inheritance happens, or disabling STI
I am trying to inherit from a ActiveRecord class defined in a plugin.
The problem is that ActiveRecord thinks I am doing an STI and is looking
up a table that doesn''t exist.
Currently, I have a method in the parent class that looks like this:
def self.fix_table_name
class_eval do
set_table_name(Inflector.tableize(self.to_s))
end
end
The problem is that this method
2010 Jun 28
7
Bind Module
Anyone know where I can find a good chrooted named module for centos?
Named as chroot is ugly... soft and hard links everywhere...
Doug
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2002 Mar 15
4
PATCH: sftp-server logging.
This is another take on logging for sftp-server. Given the number
of private email requests I've received for this patch, I assume
there is signifigant enough interest to request it be reviewed for
inclusion into the release.
The patch is against 3.1p1, and is completely disabled by default.
To enable logging, one must use compile time directives
(-DSFTP_LOGGING). This was done due to prior
2013 Nov 15
3
Upgrade from Puppet 2.7.20 to latest !!!
Dear All,
I have my puppet servers and clients on puppet 2.7.20 and I am planning to
upgrade to the latest version.
But the problem is that I have a lot of modules (downloaded from forge and
few of my own) which used by hundreds of puppet clients.
I need to know
1) Will the functionality of these modules get affected after this upgrade ?
2) Other than ritual of being on the latest verison, are
2008 Sep 30
6
something wrong with puppet client or Server
Hi All,
I have running puppet client and server on solaris 10 x86.
Now days some of puppet client behaviors is something weird !!! or May
be i am missing something...
for ex.
I created class to add one line in /etc/vfstab . but puppet client
did it successfully 1st time ...But .. After few days , i saw there
are same line has been added more than 250 times.. [ see same line is
added so many
2006 Oct 10
3
Dynamic fields and inheritance
I have a model that allows subclasses to dynamically define fields.
The following code is a short test case that illustrates the problem I''m
having:
class Product < ActiveRecord::Base
acts_as_ferret :fields => [:name]
serialize :data
def self.data_properties (*properties)
properties.each do |property|
define_method(property) {self.get_property(property)}
2011 Jul 22
9
Random error in the recovery catalog
Hello,
I randomly errors like this:
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not
retrieve catalog from remote server: end of file reached
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (notice): Using
cached catalog
Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not
retrieve catalog; skipping run
Here are the versions:
puppetmaster
2010 Mar 20
4
select ip-address for sshd_config
We''re using the ListenAddress directive in our sshd_config to tell
which interface sshd is supposed to listen on. Normally it''s the
address for eth1, but it might be the address for eth0 if there is
none for eth1, and it might be both..
So, could someone help me with the erb template for my sshd_config:
ListenAddress <%= sshd_listen_address %>
The priority should
2003 Jul 15
0
Multinomial Logit with multiple groups
Hi,
I am inexperienced with ML and R so please be tolerant :)
I am trying to replicate the method I have seen in a paper without success.
If my understanding is correct (a big 'IF') it seems to use Multinomial
Logit on multiple groups of
various sizes, with 'nature' selecting the choice (the winner) - then uses
Maximum Likelihood to optimise the parameters to produce a model for