Displaying 20 results from an estimated 1500 matches similar to: "Negating or removing classes"
2006 Jul 25
1
newbie--how do i load a parsed file?
Hello there,
I''m new with ruby on rails and i don''t know how to load up a parsed file
into my database. I have my ruby script that parses it but don''t know
where to put my code, or how to combine it with view/model/controller.
this is what i have:
class Description < ActiveRecord::Base
def import_strings(a_file)
table = { }
2007 Feb 14
2
Solaris 10 and "store dos attributes"
I'm having trouble with files being marked read-only in Windows because the
Solaris file owner does not have write-permissions on the file; group-write is
allowed:
-r--rw---- 1 user group 32 Feb 13 14:19 testfile.txt
I thought that setting "store dos attributes = yes" for this share would allow
the "read only" setting to be stored in extended attributes, but it
2013 Mar 14
4
exec resource not refreshed when subscribed resource changes
Hello,
I''ve created a little class which should unpack a 7z archive on Windows.
The class has a parameter for passing in the archive version, so that I can
trigger an update when a new version of the archive is available. A
simplyfied version looks like this (requires 7z):
class my_archive ($version = undef) {
file { ''version'':
path =>
2010 Apr 01
0
OpenSSH Coredump and "Bad packet length" errors seen on 5.10 sparc sun4v (Generic_125100-10)
Hi,
OpenSSH coredump was seen on our customer's side causing ssh login slow
and manual command not workable.
We need help to identify the root cause. Thanks!!
>> Background:
1) server info:
# uname -a
SunOS owtnmncccm0cnmo 5.10 Generic_125100-10 sun4v sparc
SUNW,Netra-CP3060
bash-3.00# /usr/local/bin/ssh -v
OpenSSH_4.6p1, OpenSSL 0.9.8e 23 Feb 2007
bash-3.00# cat
2005 May 04
2
exop vs md5
WHat is the significance to Samba of pam_password exop vs pam_password md5 in ldap.conf?
The reason I ask is that, wherever possible, I prefer to use the vendor supplied tools for
manipulating config files. With Fedora 3 it's system-config-authentication and it doesn't
give you the option of exop. You either enable MD5, which puts pam_password md5 in ldap.conf,
or disable it, which puts
2006 Jul 24
2
Newbie error message!
hello you all,
I''m new with Ruby on Rails. I''m developing an application. I got the
follwoign erro, can anybody give a hand?
ArgumentError in AdminController#import_strings
wrong number of arguments (0 for 1)
RAILS_ROOT: ./script/../config/..
Request
Parameters: {"commit"=>"Import",
2004 Oct 07
0
NT4 Domain Member Server Access Denied v3.07
I want to set up a Samba Server (Cactus_3) as member server in our NT4
domain (PDC is Cactus_1, BDC is Cactus_2). We have about 50 client
workstations most of which are WinXP but we have a few Win2K and Win98
machines. Shortly we will migrate off the NT4 servers but in the
meantime we wish to test some real time scenarios. It is for this
reason that I want SSO so the tests are transparant
2006 Jul 31
10
nothing uploads.....why? (newbie question)
Hi everybody,
I know this is an easy question but I don''t seem to see the solution.
I''m trying to have a user select a file so that my code can parse it and
populate the database with corresponding values. So far it seems like
uploads but nothing shows in my db. Can anybody give me a hand?
thanks
view:
h1>Importing Strings<h1>
2013 Jun 30
0
Same credentials stored in auth.conf for many servers
Hello
According to client authentication in documentation (
http://libvirt.org/auth.html) it is possible to store credentials in
auth.conf file and make appropriate mappings to servers:
[auth-$SERVICE-$HOSTNAME]
credentials=$CREDENTIALS
Is it possible to use the same credentials for many servers without
explicitly describing it?
For example replacing:
[auth-libvirt-myhost1]
credentials=mycred
2004 Jun 23
2
[Bug 885] List of preferred address families ?
http://bugzilla.mindrot.org/show_bug.cgi?id=885
Summary: List of preferred address families ?
Product: Portable OpenSSH
Version: 3.8p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-bugs at mindrot.org
ReportedBy:
2006 Dec 21
7
Overriding types?
"Service and class definitions are scoped just as variable assignments are."
But what about types?
Here''s an example:
class solserver inherits server {
remotefile { "/etc/shadow":
mode => 400, group => staff,
source => "solall/etc/shadow.server"
}
Is it possible to just override the "/etc/shadow" definition for
2007 May 15
5
Purging issue
I have a little issue with purging. I use:
file { [''/etc/shorewall/puppet'',''/etc/shorewall/puppet/rules'']:
ensure => directory,
mode => 0700,
recurse => true,
purge => true,
}
but purging does not work, i can do a touch
2010 Jun 04
7
Installation problem
Hey guys,
i installed samba on my Ubuntu 10.04 machine (sudo apt-get install samba)
and it didnt create any config files. There is no /etc/samba or
/usr/local/samba. I dont realy know what to do.... The samba server fails to
start and i cant connect to the machine over my network. Anyone know what i
should do? I tried purging / reinstalling (apt-get and aptitude), with no
success.
--
Lep
2009 Dec 08
5
Cleaning Out Stored Configs
Hi,
We''re using thin stored configs heavily to manage things like Munin
and Nagios and we''re currently wondering what to do when nodes go
away, or change considerably.
If we get rid of a server then all it''s stored config is still present
in the database, as well as it''s nagios and munin configurations.
We created a script that iterates through the database
2008 Feb 20
2
purging unmanaged cron
Should this work?
# --- remove any cronjobs that are not managed by puppet.
resources { "cron": purge => true }
I get the following error.
Resources[cron]: Failed to generate additional resources: You must
specify a title for objects of type Puppet::Type::Cron
Ben
2007 Jan 17
16
Cron jobs not removed when deleted from Manifest
I''m not sure if this has been posted previously, but I couldn''t find any information on it.
I added a cron job via the cron type and it installed properly. Next, I removed the cron type from the manifest.
The result was that, while the entry was no longer in the yaml file, the cron entry was not removed!
Is this a bug, or the way that it is supposed to function?
Thank you,
2007 Sep 27
12
/etc/passwd
I would like to write up brief tutorial/documentation on how to manage /etc/passwd using puppet.
While this may seem pretty straight forward to some...the documentation is not.
We have been able to create a manifest that defines all of our users "virtually" and are able to "realize" users and add them to the system(s) running puppetd.
Is there a way to simply realize all users
2018 Jun 13
2
iproute2 problems
Yes, I am sure but added another broader rule:
nsasia at db1:~$ sudo ufw allow from any port 655 proto udp
same result for debug example.
regards
Robert
>>> Rafael Wolf <rfwolf at gmail.com> 13-Jun-18 5:32 PM >>>
Telnet will only do tcp not udp which tinc works on. Are you sure udp 655 is open?
On Wed, Jun 13, 2018, 3:51 AM Robert Horgan <robert
2011 May 20
3
PC EU feedback: ability to remove all unmanaged resources
http://projects.puppetlabs.com/issues/7600
I call this the "agent orange" option :)
This works, purging all unmanaged hosts entries:
resources { ''host'':
purge => true,
noop => true,
}
We should have a similar property for all (most?) types.
Please comment on the ticket or reply here, whichever you prefer.
Thanks!
r
P.S. This is in
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {