Displaying 20 results from an estimated 69 matches for "rubylib".
2011 Feb 10
0
Testing custom function and puupet LoadError
I am using ruby-enterprise, installed under: /opt/ruby-enterprise,
when I try to run ruby interpreter I get error about loading puppet:
# ruby -rpuppet netbackup_servers.rb
ruby: no such file to load -- puppet (LoadError)
What do I need to set RUBYLIB env var to? I tried this:
export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/
export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/1.8/
export RUBYLIB=$RUBYLIB:/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/puppet-2.6.3
Thanks a lot.
Mohamed.
--
You received this message because you are subscr...
2011 Nov 28
4
Puppet Windows: Spaces in file paths a problem?
I thought I read somewhere in Puppet docs/wiki... that it is
"recommended" to avoid spaces in file paths, or some similar verbiage,
but now I cant find it.
Does Puppet have any known issues with spaces in file paths? It would
of course scare Windows admins away... So I hope I am wrong in
thinking I read that.
Thanks a lot,
Mohamed.
--
You received this message because you are
2006 May 18
4
Request Routing Plugin ( :requirements => { :subdomain => ''thing'' } finally works)
...ments => {
:subdomain => ''whatever'' }
..just like the wiki claims you can do but you can''t :)
It exposes several other request methods as well like domain, port,
method etc. and excepts Regexps as well as strings for matching.
SVN: http://svn.vivabit.net/external/rubylibs/request_routing/
README: http://svn.vivabit.net/external/rubylibs/request_routing/README
Cheers,
Dan
--
Dan Webb
http://www.danwebb.net
2007 Nov 28
9
Please start testing for release
Hi all,
We''re getting close to release[1], so I''d appreciate it if people
would start testing the current ''master'' branch with their
repositories. I made quite a few internal changes, most of which
shouldn''t even be noticed unless there are bugs, so just running a
server and/or client under the current code would be a big help.
I''m
2007 Feb 21
9
Facter environment variables being ignored in puppet?
Facter has the feature that it will turn any environment variable
named FACTER_* into a fact. I can do this on the commandline
no problem, but when I attempt this in puppet it seems to ignore
that parts.
Is anyone else seeing this? (Is this expected behavior?) I don''t
see a ticket or a mail thread on it - though my searching powers
have been weak the last couple of weeks...
Thanks,
2016 Oct 27
1
[PATCH] run.in: Quote contents of @VAR@ substitutions
..."@PYTHON@"
prepend PYTHONPATH "$b/python/.libs"
prepend PYTHONPATH "$b/python"
prepend PYTHONPATH "$s/python"
export PYTHONPATH
# For Ruby.
-export RUBY=@RUBY@
-export RAKE=@RAKE@
+export RUBY="@RUBY@"
+export RAKE="@RAKE@"
prepend RUBYLIB "$b/ruby/ext/guestfs"
prepend RUBYLIB "$b/ruby/lib"
export RUBYLIB
@@ -160,7 +160,7 @@ prepend CAML_LD_LIBRARY_PATH "$b/ocaml"
export CAML_LD_LIBRARY_PATH
# For Java.
-export JAVA_EXE=@JAVA_EXE@
+export JAVA_EXE="@JAVA_EXE@"
prepend CLASSPATH "$b/...
2014 Jan 13
3
[PATCH 1/3] ruby: Fix tests for out-of-tree build, simplify test scripts
...ot;..", "ext", "hivex"))
require 'hivex'
class TestSetValue < Test::Unit::TestCase
diff --git a/run.in b/run.in
index 9592e38..46b3df6 100755
--- a/run.in
+++ b/run.in
@@ -70,9 +70,9 @@ export PYTHONPATH
export RUBY=@RUBY@
export RAKE=@RAKE@
if [ -z "$RUBYLIB" ]; then
- RUBYLIB="$b/ruby/lib:$b/ruby/ext/hivex"
+ RUBYLIB="$s/ruby/lib:$b/ruby/ext/hivex"
else
- RUBYLIB="$b/ruby/lib:$b/ruby/ext/hivex:$RUBYLIB"
+ RUBYLIB="$s/ruby/lib:$b/ruby/ext/hivex:$RUBYLIB"
fi
export RUBYLIB
export LD_LIBRARY_PA...
2011 Oct 04
4
Problem: Puppet under Passenger.
Having issues getting Puppet running under Passenger.
From httpd error_log:
[ pid=24647 thr=268010020 file=utils.rb:176 time=2011-10-04
11:45:10.892 ]: *** Exception LoadError in
PhusionPassenger::Rack::ApplicationSpawner (no such file to load --
puppet/application/master) (process 24647, thread #<Thread:
0x0000001ff30448>):
from
2007 Jan 10
7
Problem adding facts ...
...the
FC6 is a 0.22.0 and is having the same problem.
Without the --factsync the command completes fine. After pressing (ctrl
+ c) puppetd takes some time to exit, a minute or two, which is odd.
I have tested the fact on FC6 & 5 without any problems.
# cp /var/lib/puppet/facts/network.rb ~/rubylib/facter/
# RUBYLIB=~/rubylib/ facter
To test further I created home.rb (see attached) from Luke''s example and
it works fine.
Any help appreciated and any comments/suggestions on my first fact are
welcome.
Ben
---------------------------------------------------
# puppetd --debug --fact...
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
...PYTHONPATH="$s/python:$b/python:$b/python/.libs:$PYTHONPATH"
-fi
+prepend PYTHONPATH "$b/python/.libs"
+prepend PYTHONPATH "$b/python"
+prepend PYTHONPATH "$s/python"
export PYTHONPATH
# For Ruby.
export RUBY=@RUBY@
export RAKE=@RAKE@
-if [ -z "$RUBYLIB" ]; then
- RUBYLIB="$b/ruby/lib:$b/ruby/ext/guestfs"
-else
- RUBYLIB="$b/ruby/lib:$b/ruby/ext/guestfs:$RUBYLIB"
-fi
+prepend RUBYLIB "$b/ruby/ext/guestfs"
+prepend RUBYLIB "$b/ruby/lib"
export RUBYLIB
-export LD_LIBRARY_PATH="$b/ruby/ext/gues...
2006 Dec 29
3
SVN Release Candidate: Please test
...ithout some help
verifying it works with your running configurations. Even running it
in --noop mode would be really useful.
To use the code in SVN, check the code out:
mkdir -p ~/svn; cd ~/svn
svn co https://reductivelabs.com/svn/puppet/trunk puppet
Then tell ruby to use that code:
export RUBYLIB=~/svn/puppet/lib
Then start your daemons as normal. Note that if you use sudo (as I
do) it will discard the RUBYLIB setting, so you need to either modify
your sudoers file to allow that variable, or you need to start the
daemons using ruby directly, e.g.:
sudo ruby -I$RUBYLIB ~/svn/puppet/...
2009 Sep 09
5
Newbie question: undefined method 'number_with_delimiter'(probably configuration problem)
Hi all:
i am using gem to insall rails 2.3.3 and using $rails myapp to
generate my application, but strangely i can''t use the number_helper
below is my env:
export RUBY_HOME=$HOME/ruby
export GEM_HOME=$HOME/gems
export RUBYLIB=$RUBY_HOME/lib:$RUBY_HOME/lib/ruby:$RUBY_HOME/lib/
site_ruby/1.8
export PATH=$HOME/gems/bin:$HOME/ruby/bin:
and:
$ locate number_helper.rb
/home/lobatt/gems/gems/actionpack-2.3.3/lib/action_view/helpers/
number_helper.rb
and i didn''t modify the file under config dir except database.yml....
2007 Feb 05
4
rubgems in user directory - HELP!
...ubygems appears to be installed correctly but when I do "gem install
rails" I get this error:
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Permission denied - connect(2)(Errno::EACCES)
I''ve changed my $PATH to include the gem installation dir, I have my
$RUBYLIB set to /home/geminstall/lib/ruby/site_ruby/1.8, and have set
the $GEM_HOME path to my gem repository.
is it possible to be completely unable to install ROR on a hosting
company server because of lack of permissions? or am I missing
something?
please help!
--~--~---------~--~----~------------~--...
2010 Nov 16
2
Passenger cannot load Rack
...application_spawner.rb. Just before the require statement it added a
passenger-distributed rack to the ruby lib. In later versions of
passenger, the require statement appears farther down
application_spawner.rb in some function and does not add any
"vendor''ed" rack path to the rubylib, and it cannot find Rack.
Sorry if that''s a bit of detail, but I''m about to pull my hair out
over this. Why can''t Passenger find Rack?
The gems I have installed:
*** LOCAL GEMS ***
daemon_controller (0.2.5)
fastthread (1.0.7)
file-tail (1.0.5)
git (1.2.5)
god (0.11.0...
2013 Sep 18
1
Cloud provisionner on CentOS 6 issue
...stall Fog -v 0.7.2 (cloud service library in ruby) but a
dependence of it need a newer version of ruby (at least 1.9.2).
So I installed RVM and then ruby 1.9.2 to be able to install fog and all
its dependencies, it worked fine.
Install guid gem (required by cloud_provisioner)
Then I did : export RUBYLIB=/etc/puppet/modules/cloud_provisioner/lib:$RUBYLIB
After this, PuppetLabs suggests to test if the installation worked fine by executing :
# puppet help node_aws
Here is the result :
[root@poste403 ~]# puppet help node_aws
/usr/local/rvm/gems/ruby-1.9.2-p320/gems/nokogiri-1.6.0/lib/nokogiri/nokogi...
2008 Dec 01
2
configuring puppet to run custom facts
...[puppetd]
classfile = $vardir/classes.txt
localconfig = $vardir/localconfig
Then I restart master and client but I can''t see my own fact:
[root@td234 ~]# facter primaryint
[root@td234 ~]#
it''s copied in client /var/lib/puppet/lib/facter/primaryint.rb
But, if I export RUBYLIB to /var/lib/puppet/lib/, facter sees it:
[root@td234 puppet]# export RUBYLIB=/var/lib/puppet/lib/
[root@td234 puppet]# facter primaryint
eth0
So, am I missing any conf step? any other variable is needed?
# rpm -qa|grep puppet
puppet-0.24.5-1.el4.x86_64
TIA,
Arnau
--~--~---------~--~----~-------...
2007 Jan 04
10
New Feature: Graphing
Hi all,
One of the major new features in the upcoming release is that Puppet
now uses a graph library internally to handle resource
relationships. The big benefit to all of you is that you can use
this library to turn these graphs into images.
The trick, right now, is adding --graph when you run puppetd. This
creates .dot files, which can then be interpreted by the
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
---
images/README | 15 +++++++++++++++
images/mkzero/Makefile | 7 +++++++
images/mkzero/mkzero.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
images/special | Bin 0 -> 8192 bytes
4 files changed, 70 insertions(+)
create mode 100644 images/mkzero/Makefile
create mode 100644 images/mkzero/mkzero.c
create mode 100644 images/special
diff --git a/images/README
2012 May 22
2
Announce: Hiera-Puppet 1.0.0rc1 Available
Hiera-Puppet 1.0.0rc1 is a feature release candidate designed to
accompany Puppet 3.0 and Hiera 1.0.
It includes Puppet functions for hiera and also the puppet backend for
hiera lookups.
Downloads are available:
* Source http://downloads.puppetlabs.com/hiera/hiera-puppet-1.0.0rc1.tar.gz
* Apt and yum development repositories
* Apple package
2013 Oct 04
3
puppet & RHEL4
...agent to at least collect some inventory (facter)
and do a little bit of configuration management.
The only puppet agent I managed to found for el4 is 0.22.4 (quite old)
which we installed with a facter 1.6.4 and a ruby 1.8.7.72.
At first we had issues with "requires" until we export a RUBYLIB variable
to indicate where to find all ruby libraries (/usr/lib/site_ruby/1.8/).
Currently, there is no more error at start, but the process still do not
run ...
Any idea ?
Regards
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
T...