Displaying 20 results from an estimated 10000 matches similar to: "Calling custom Puppet function from within a provider"
2012 Aug 14
3
Testing Hiera Lookup with Puppet Master
Hello,
Is there an easy way to test hiera lookup for a node? A node is not getting
the value I expect from Hiera and I want a way to test this.
I noticed that `hiera` has an option called `-i` to use the Puppet
inventory service. With the latest (RC4 I believe) of Hiera I''m getting the
following when I try to use that though:
Puppet inventory service lookup failed: NoMethodError:
2012 Jul 27
2
Atomicity of updates on the Puppet master
Hello,
I''m currently setting up some scripts that will pull in new data for Puppet
master (modules, manifests, hiera data, etc.) from a Git repository. It
works great!
However, I''m concerned about atomicity of the whole thing. Does the Puppet
master cache the modules/manifests when it starts? If so, do I need to
restart the Puppet master on each update? Or can I send it a
2006 Apr 24
5
New RBAC Plug-In for Rails
Hi,
I just finished writing this plug-in. I''ve been using rails for awhile
but this is my first time extracting some code and writing it as a
plug-in and I''d love to hear to some feedback. Thanks.
http://mitchellhashimoto.com/rails/role-based-access-control-plug-in-for-rails/
-Mitchell
--
Posted via http://www.ruby-forum.com/.
2006 May 16
1
Bay Cities Ruby Group
Hello,
I''m trying to organize a Bay Cities Ruby Group in Southern California.
This would include the cities of Redondo Beach, Manhatten Beach,
Hermosa Beach, Torrance, Gardena, Lomita, etc. If you are interesting
in joining a group that would be like other ruby groups where we
discuss tricks, technique, theory, etc. and help each other, then
please join the mailing list:
2010 Sep 28
1
Import/Export Support
Hello,
I'm looking into using libvirt in the near future, however an important part
of our workflow is the ability to import and export virtual machines (in
VirtualBox). Does libvirt provide an easy way to do this? I couldn't find
anything obvious on the API reference.
Thanks,
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Oct 08
1
Mac OS X: dyld: lazy symbol binding failed
I'm using the Ruby/FFI libvirt library and getting this consistently
on Mac OS X:
ruby-1.9.2-p0 > FFI::Libvirt.virInitialize
dyld: lazy symbol binding failed: Symbol not found: _virThreadInitialize
Referenced from: /usr/local/lib/libvirt.dylib
Expected in: flat namespace
dyld: Symbol not found: _virThreadInitialize
Referenced from: /usr/local/lib/libvirt.dylib
Expected in: flat
2010 Nov 13
1
Mac OS X configure requires (de|fe)bootstrap
Hello,
I'd like to get libguestfs to compile on Mac OS X and I've been
chugging along quite well. I recently hit an issue in the
"./configure" which I don't thin is solvable on Mac without modifying
libguestfs autotools scripts but I can easily be wrong:
checking for febootstrap... no
checking for debootstrap... no
configure: error: Either febootstrap or debootstrap must be
2010 Sep 08
1
Status of libvirtd on BSD/OSX?
Hello,
I've done some research prior to this and the answer is clear that libvirtd
doesn't compile on BSD or OSX, but I'd like to know more details about this,
if I can have a bit of your time:
* Are there any current efforts to get libvirtd running on BSD?
* What are the blockers to getting it running?
* My main goal is really to, at first only control VirtualBox, so
KVM/Xen/etc is
2005 Dec 19
3
tough activerecord problem
I have an application that is using active record outside of rails. the app
works fine w/o the activerecord code, but when I added activerecord to the
mix I started having trouble with constants not being recognized, e.g.:
[echo] 1) Error:
[echo] test_pipeline_cruncher(IntradayCruncher::TestPipelineCruncher):
[echo] NameError: uninitialized constant INFO
[echo]
2005 Dec 29
1
Posting to a separate controller in a functional test
Hi,
I need to post to a controller to log in a user in a functional test,
but I''m not sure what to do to post to a separate controller. I''ve
tried:
post { :controller => :account, :action => :do_login }, { bla bla bla }
But that doesnt seem to have worked. Help?
Mitch
--
Posted via http://www.ruby-forum.com/.
2005 Dec 28
3
Unit tests, Fixtures, Authority Data, Oh my!
Yo guys...
I''m starting to get into testing my current e-commerce Rails app before I
Engine-ify it...(Codename "Substruct" - don''t sleep!)
I''ve got some data that should be loaded before each test. Convention tells
me that I should prepare this data in nice YML files as fixtures, although
I''m not quite so sure.
The data in question is a country list
2013 Oct 13
24
exporting custom facts to puppet agents
Dear all,
I have a custom fact, that reads a file and then generate the values
dynamically based on the file content. It''s something like this:
inFile = "/home/admin/OSs.txt"
> gos = {}
>
> if File.exist?(inFile)
> open(inFile, ''r'').each do |line|
> next if line =~ /^\s*(#|$)/
> parts =
2007 May 03
1
SPEEX tech specs
Thank you Jean-Marc.
My understanding is that G.729 is a telephone
codec, so there must have been some reason why
its developers went to 10ms/frame. Do you know why that might be?
From a recent post on this list I saw somebody
talking about your decoded sample rate being
8KHZ/sec. and then he mentioned that being 160
bytes at 20ms/frame. That said, I take it that
your decoded samples are
2019 Aug 06
1
Wiki edit: HowTos/Grub2
Greetings!
This is my first contribution, so please let me know if there is
anything I should be doing differently. I am following the instructions
found here: <https://wiki.centos.org/Contribute>.
Your /FirstnameLastname/ username: MitchellRoe
The proposed subject of your Wiki contribution(s): Corrected path for
getting menu entries
The proposed location of your Wiki contribution(s):
2007 Mar 19
11
Parsechecking in a commit hook
This has been a much-requested feature, and is now a reality (in svn
trunk):
There is a new option, --ignoreimport, that will (surprisingly)
ignore import statements. This is really only useful when using --
parseonly in a commit hook, and note that you''ll have to add the
option to --parseonly, none of the puppet executables will add it for
you. You should be able to
2002 Feb 09
4
compressed audio tutorial - "major" update
I've made a large update to the introduction to compressed audio. I
completely rewrote the first section, which I wasn't happy with. It now
features two diagrams (worth 1000 words each!), and is broken up into a
couple of sections.
http://cs.leander.isd.tenet.edu/~mitchell/vorbis_intro.html
I have also continued to tweak other sections based on feedback from email
and this forum.
2002 Feb 09
4
compressed audio tutorial - "major" update
I've made a large update to the introduction to compressed audio. I
completely rewrote the first section, which I wasn't happy with. It now
features two diagrams (worth 1000 words each!), and is broken up into a
couple of sections.
http://cs.leander.isd.tenet.edu/~mitchell/vorbis_intro.html
I have also continued to tweak other sections based on feedback from email
and this forum.
2007 Dec 10
4
Results from testing our manifests, functions and types against HEAD
Hi Luke and other people working on 0.24. I hope this is constructive.
So, I have our configuration working against a checkout from git as of
last night.
Subject to (sorry, here''s the big but :)
* external_nodes script is not being called (#951)
* Custom types aren''t working unless I drop them into
$rubysitedir/puppet/{type,provider}. Previously they worked in
2007 May 03
2
SPEEX tech specs
Thank you. You're right ... my error ... I meant
to say 12 bytes (including the 2 bytes for VAD).
And it is 10ms/frame. No matter ... thank you for
the SPEEX specs. In terms of quality, what SPEEX
bit rate compares with G.729 at 8kbps data rate
please? Is there some reason why you chose the
20ms frame rate? Do you keep that same frame rate
for the different bit rates? The faster frame
2005 Dec 27
6
avoid multiple render per action
Hello,
I have a hash that contains categories, and each category ID is a
hash of subcategories. What i want to do is dynamically load that
hash, loop thru it, for each category , subcat run a query against the
DB, and render a partial. The issue is i put the render:partial in a
for loop but you can only render once per action. What is the best
way to loop thru all my categories without a