similar to: custom function from .24.6 not working in 2.6 (from squeeze)

Displaying 20 results from an estimated 1000 matches similar to: "custom function from .24.6 not working in 2.6 (from squeeze)"

2013 Oct 25
8
[PATCH] btrfs: add framework to read fs info from btrfs-control
This adds ioctl BTRFS_IOC_GET_FSIDS which reads the fs info through the btrfs-control Signed-off-by: Anand Jain <anand.jain@oracle.com> --- fs/btrfs/super.c | 47 ++++++++++++++++++++++++++++++++++++++----- fs/btrfs/volumes.c | 33 ++++++++++++++++++++++++++++++ fs/btrfs/volumes.h | 2 + include/uapi/linux/btrfs.h | 19 +++++++++++++++++ 4 files changed,
2009 Nov 25
1
Puppet custom functions and user permissions
Puppet custom functions and user permissions I am busy writing a custom function to automatically add OSSEC agents to a OSSEC server after installation. Unfortunately, it seems that puppetmasterd is not respecting the entries in /etc/group in linux. No matter how many other groups the puppet user has been added to in /etc/ group, when puppetmasterd runs the custom function the effective/real user
2005 Sep 06
2
Speaking of Polycom phones...updated ROM: ouch!
Hi folks, New to the list. Just updated the bootrom and app firmware on a Soundpoint IP 501 as per: http://www.voip-info.org/wiki-Polycom+Phones Updated from: to: APP 1.4.1.0040 1.5.2.0054 BootROM 2.6.1.0003 2.6.2.0032 After I did this, it appears that the Web interface for the phone won't change the settings, nor will it actually reboot the phone now. What do I
2009 Sep 04
3
libxml-ruby: How to handle XML::Parser::ParseError?
Code: require "rubygems" require "xml" class TaskLoader class BadXML < RuntimeError end def load_tasks doc = XML::Parser.file( "qq.xml" ).parse # ... work with document ... rescue XML::Parser::ParseError, BadXML # this is line #40 # ... end end # TaskLoader p TaskLoader.new.load_tasks # this is line #71 Output: read_xml.rb:40:in
2009 Jan 13
1
[LLVMdev] ParseError::getMessage() API.
Hi, The method ParseError::getMessage() seems to have got deleted from lib/AsmParser/Parser.cpp during the parser rewrite. Right now it's there in the header (include/llvm/Assembly/Parser.h) but not in lib/AsmParser/Parser.cpp. Is this API still valid? Or is it PrintError() that's meant to be used? Thanks & Regards, -Mahadevan.
2016 Jul 11
3
Silent Build Maser 8014 offline?
Hi Galina, It seems the 8014 build master is offline? Is that intentional? Should I move the bot back to 8011? http://lab.llvm.org:8014/ cheers, --renato
2004 Sep 03
0
Installation problems on Solaris 2.6
I am trying to install R 1.9.1 on a 5-year-old Sun: here is the description: version Machine hardware: sun4u OS version: 5.6 Processor type: sparc Hardware: SUNW,Ultra-4 The following components are installed on your system: Sun Visual WorkShop C++ 3.0 Sun WorkShop Compiler C 4.2 Sun WorkShop Compiler C++ 4.2 Sun WorkShop Tools.h++ 7.0
2011 Feb 19
2
cant start program
hi i installed wine 1.3 and than installed an win app (DMXControl.exe) when i started it in terminal i get errors. Code: maik at maik-laptop:~$ wine '/home/maik/.wine/dosdevices/c:/Program Files/DMXControl/DMXControl.exe' fixme:ole:OaBuildVersion Version value not known yet. Please investigate it ! fixme:ole:OleLoadPictureEx
2012 Apr 05
3
newly added ruby function executes on the server instead of the node
Hi, 1) I added this test function tom my /etc/puppet/modules/write_line_to_file/lib/puppet/parser/functions/write_line_to_file.rb : *module Puppet::Parser::Functions newfunction(:write_line_to_file) do |args| filename = args[0] str = args[1] File.open(args[0], ''a'') {|fd| fd.puts str } end end* 2) I invoked it in the
2008 Aug 14
1
multiple functions in one file?
Hi there, just to be sure: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions says that "The file name is derived from the name of the function that Puppet is trying to run." Is this still true? I ask because I currently write a set of math functions (min,max, plus, minus and so). My first try was to create a math.rb, where I had: module Puppet::Parser::Functions
2007 Jan 18
0
Emulating a REPL in frontends
A common need in R frontends is to provide some sort of read, (parse), evaluate, print loop. However, there are also a number of points where frontends may want to differ from the standard REPL as available e.g. in R_ReplDLLdo1(). First some thoughts on what is needed, and what is already there, or missing. If you want to skip over this, a short summary is provided in the second half, below
2004 Jan 09
1
samba says "you have right" but I must not have right (Important - SECURITY ISSUE)
My Samba 3.0.1 is configured with LDAP SAM and ACL on XFS filesystem. For a test, I added my user to the group "cadres". This group is in ACL definition of my directory. # file: Projets # owner: root # group: root user::rwx user:asi:rwx group::rwx group:administrateurs group:cdir:r-x group:jardin:r-x group:cadres:r-x mask::rwx other::--- default:user::rwx default:user:asi:rwx
2009 Feb 24
2
Quickbooks internal web browser
I've installed Quickbooks 2006/07 with the following commands under Ubuntu 8.10 with Wine 1.1.4 1. Install IE 6 sudo apt-get install wine cabextract binfmt-support $ wget http://www.kegel.com/wine/winetricks $ winetricks ie6 vcrun6 fakeie6 2. Install Quickbooks 06/07 by loading the CD and typing wine Setup.exe in the appropriate directory.
2013 Oct 01
3
CENTOS 5 incoming SFTP
Hello, I have a CENTOS 5 box that can reach the internet and can ping to/from all windows system on my home network. The catch is that I can not connect to the box using SSH from any windows machine, though they can easily ping the linux box and vice-versa. Suggestion of a possible solution would be most appreciated. Many thanks! John -- John McKelvey 10819 Middleford Pl Ft Wayne, IN 46818
2016 May 07
0
RV: Daily mail report for 2016-05-06lzq
Enviado desde mi smartphone BlackBerry Z10 4G Lte.   Mensaje original   De: admin at pr.copextel.com.cu Enviado: sábado, 7 de mayo de 2016 12:30 a.m. Para: admin at pr.copextel.com.cu Asunto: Daily mail report for 2016-05-06 Grand Totals ------------ messages 409 received 4135 delivered 0 forwarded 10 deferred (114 deferrals) 14 bounced 90 rejected (2%) 0 reject warnings 0 held 0 discarded (0%)
2009 Jan 02
2
problem with custom funcion
Hello! I''ve written custom function split - it''s located in modules/common/ plugins/puppet/parser/functions/split.rb and contains: module Puppet::Parser::Functions newfunction(:split, :type => :rvalue) do |args| str=args[0] regex=args[1] idx=args[2] out=str.split(/#{regex}/) if out.is_a? Array out[idx] else "" end
2007 Jun 06
2
lookup in CSV recipe
I await Luke''s node settings implementation with interest. At the moment however, I have this sort of ugliness: $site = $hostname ? { fred => "opsera", barney => "bedrock", default => "unknown site", ... } So I''ve knocked up this little function to use CSV files instead. Now I can just do: $site =
2009 Jul 10
2
http://wiki.centos.org/TipsAndTricks/BecomingRoot
In the sudo section please add "sudo -s" and "sudo -i" as ways to open a root-shell. Chris financial.com AG Munich head office/Hauptsitz M?nchen: Maria-Probst-Str. 19 | 80939 M?nchen | Germany Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany Management board/Vorstand: Dr. Steffen Boehnert (CEO/Vorsitzender) |
2012 Feb 22
4
Custom function issue
Hi, I needed a function to check if a file is existing on the Debian box I am configuring. So I used this one module Puppet::Parser::Functions newfunction(:file_exists, :type => :rvalue) do |args| if File.exists?(args[0]) return 1 else return 0 end end end It work greats for some service where apache2 doesn''t work for me. I am using it this way
2013 Apr 30
2
【Problem】 about using gdbsx to debug guest linux VM
I run a centos6.2 guest VM in xen4.1.2, the id of centos-domU is 22. The info of dom0 is: 2.6.32-131.21.1.el6.xendom0.x86_64 #1 SMP Tue Dec 13 18:09:29 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Centos-domU: 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux At dom0, I went like this: [malei@xentest-4-1 Tue Apr 30 ~]$ sudo gdbsx -a 22 64 9999 Listening on