Displaying 20 results from an estimated 3000 matches similar to: "Puppet on windows: File resource problem"
2012 Feb 29
4
Windows Puppet 2.7.12rc1-7-g281901e hands at end of run
I just installed the latest rc 1.7 to solve another issue I had. It
solved the issue, but I''m getting a different issue.
I''m running it interactively from an administrator command prompt. It
connects to the master puppet server, processes the configuration
items then gives an error. The interesting thing is that it never
returns to the command prompt. It just hangs. I have
2011 Nov 18
10
msi package provider: Invalid parameter install_options
C:\Users\ml623>puppet --version
2.7.7
Puppet complains about a package resource I am trying to use saying:
Invalid parameter install_options
The resource is defined as:
package { "splunk":
name => $gu_splunk::client::splunk_package,
provider => ''msi'',
ensure => installed,
source =>
2011 Jan 22
1
uninitialized constant ActionView::Helpers::TagHelper::ERB (NameError)
I am a new to ruby and rails and am trying to refactor some code with
rspec and have run into a problem that has stumped me for a few days and
I have searched google and ruby/rails forums to no avail so I really
hope somebody can help me out with this problem which I think may be
caused by a rails config problem. Anyway, I used ''rails new myapp'' to
make a new rails project and
2010 Jun 13
5
script/server vs mongrel_rails start issue
I am having different results between when I start mongrel with script/
server and with mongrel_rails start.
When I run script/server to boot mongrel everything runs fine, no
errors.
When I run mongrel_rails start I get the following errors - verified
the problem on a fresh app and on two different environments (mac and
yes, windows server 2008). The actual line of fault changes but the
problem
2010 Dec 15
5
Having trouble testing :( "superclass mismatch" and can't load "test_helper"
I''m having trouble testing my Rails 3 application. Unit testing
doesn''t work. If I try ruby article_test.rb directly, I get a "no
such file to load" error, and if I try rake test:units or ruby unit/
article_test.rb I get this odd "superclass mismatch for class
ArticlesController" error!
I''m hoping I can get this settled...
My test files were
2012 May 23
16
could not retrieve information from environment
Greetings. I am trying to set up a test puppet server in my
environment to evaluate windows clients. On the server side, I am
using puppet 2.7.14 (from the repos). I''m using the 2.7.14 windows 64
bit on the client (windows 2008 R2). I have another puppetmaster
already using "puppet" hostname in DNS (running a very old version of
puppet - can''t upgrade yet for various
2011 Nov 19
2
Facter Windows: domain is "none"
I could swear this worked fine earlier.. Now facter, and hence puppet,
do not see the domain name anymore:
What could cause this?
C:\Temp>facter --version
1.6.2
C:\Temp>facter | findstr kernel
kernel => windows
kernelmajversion => 6.1
kernelrelease => 6.1.7601
kernelversion => 6.1.7601
C:\Temp>facter fqdn
NCS-VDI-05.none
C:\Temp>facter hostname
NCS-VDI-05
2011 Aug 24
3
How to connect Ruby with MySQL (XAMPP)?
*Dear All:*
I need your help on following points.
1. Can I connect Ruby with MySQL in XAMPP server?
2. Could someone tell me that how to connect MySQL with Ruby? I have XAMPP
server installed and want to connect with ruby.
I am using Ruby1.8.7.
I tried following code:
require ''rubygems''
require ''mysql''
begin
# connect to the MySQL server
2010 Nov 25
1
Can't run tests...illegal switch in RUBYOPT: -F (RuntimeError)
Does anyone have any insight into why this is happening?
C:\Users\Family\workspace\myapp>rake test
(in C:/Users/Family/workspace/myapp)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
C:/Program Files/Ruby187/bin/ruby.exe: illegal switch in RUBYOPT: -F
(RuntimeError)
Errors
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
2011 Aug 31
2
Rails 3 - Require - Path Not Found
I have:
Windows XP Professional SP3
Ruby 1.8.7
Rails 3.0.10
Bundler 1.0.15
ImageMagick 6.5.6 Q8
Rmagick 2.12.9
My gemfile:
gem ''rmagick-2.12.0-x86-mswin32'', ''2.12.0'', :path => ''c:/sites/
uplodify/vendor''
My controller:
require ''RMagick''
Here I have installed my rmagick gem:
2011 May 25
1
can't load hpricot gem in rails 3
This is in windows ..
So from irb, I can load hpricot ok. (ruby 1.8.7)
C:\Users\Laurence\rails-play\plug-test>irb
irb(main):001:0> require ''hpricot''
LoadError: no such file to load -- hpricot
from (irb):1:in `require''
from (irb):1
irb(main):002:0> require ''rubygems''
=> true
irb(main):003:0> require
2013 Oct 10
2
Augeas XML trouble
Hello everyone,
I am currently trying to add elements to an XML file (a libvirt network
definition) using Puppet (2.7.23)/Augeas (0.10). The XML looks like this:
<network>
<name>virbr0</name>
<uuid>57fdc6e3-cba1-4110-88ef-850f1b71ee39</uuid>
<forward dev=''eth0'' mode=''nat''/>
<bridge
2010 Sep 05
13
undefined method `path' for Gem:Module (NoMethodError)
Hi,
when running - ''ruby setup.rb'' I get the following error message:
C:\rubygems-1.3.7>ruby setup.rb
C:/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in
installed_spec_directories'': undefined method `path'' for Gem:Module
(NoMethodError)
Ruby version is ruby-1.9.2-p0.
Any idea ?
Thanks.
Dani
--
Posted via http://www.ruby-forum.com/.
--
You received
2012 Mar 28
2
retrieving module directory
Hi everyone,
I have a puppet master/client infrastructure setup with apache. When on the
same datacenter I don''t have any problem.
I am trying to use another datacenter, so I setup the fileserver.conf as
followed:
# Files in the /path/to/files directory will be served
# at puppet:///mount_point/.
[modules]
allow *.datacenter1
allow *.datacenter2
[plugins]
2011 Nov 22
3
Puppet Windows: msi packages removal
I noticed that is if I uninstall an MSI that was installed by Puppet,
Puppet does not notice.
Looking at the source I see it might be checking for a state file to
know whether a package is installed or not:
C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\SplunkForwarder.yml
So one has to rememebr to delete that too.... Is this design not a problem?
Thanks,
Mohamed.
--
You received this
2011 Dec 09
1
Issue installing rjb, could not create MakeFile
Hello,
I''m having some problems when try to install rjb i get this message
C:\Users\PC1090\Documents\RJB\rjb-1.3.8>ruby setup.rb config
---> bin
<--- bin
---> lib
<--- lib
---> ext
C:/Ruby187/Ruby1.8.7/bin/ruby
"C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb"
checking for jni.h... no
*** C:/Users/PC1090/Documents/RJB/rjb-1.3.8/ext/extconf.rb failed
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote:
> Hi all,
>
>
>
> Some disclaimer first: I am a complete newbie in mongrel and this list, so
> please forgive me if I say something weird. I have a problem, I?ve googled
> for a solution for quite a while and failed so far, so decided to ask here.
>
>
>
> I am trying to set up my
2011 Aug 22
2
Pure Ruby TCP Daemon
Hi all,
I created a "pure" branch on github that uses the code Heesob posted a while
back:
http://rubyforge.org/pipermail/win32utils-devel/2008-November/001274.html
However, I couldn''t make it work on my Vista laptop.
c:\Users\djberge\Repositories\win32-service\examples>ruby demo_daemon_ctl.rb
start
VERSION: 0.8.0
2012 Feb 16
1
uncaught exception of type NoMethodError: undefined method `<=>'
Hi,
i''ve upgraded many of my client machines to version 2.7.10 lately and
since on some clients (server is running 2.7.10) i get the following
error (running puppetd -tvd --noop --trace):
/usr/lib/ruby/1.8/puppet/simple_graph.rb:181:in `<=>''
/usr/lib/ruby/1.8/puppet/simple_graph.rb:181:in `sort''
/usr/lib/ruby/1.8/puppet/simple_graph.rb:181:in