similar to: rspec first steps troubles

Displaying 20 results from an estimated 1100 matches similar to: "rspec first steps troubles"

2011 Feb 09
2
file serving error
hello again list!! I am attempting to work out how to serve files with puppet. Here is my fileserver.conf file # This file consists of arbitrarily named sections/modules # defining where files are served from and to whom # Define a section ''files'' # Adapt the allow/deny settings to your needs. Order # for allow/deny does not matter, allow always takes precedence # over
2013 May 13
1
Rspec-puppet: what is differences between contain_class, include_class, create_class?
Hello, everyone! Does anyone can tell me about differences (or help to find any document or source code with the answer) between functions: * contain_class * include_class * create_class Which one is preferred in which cases? Thank you, in advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and
2012 Oct 04
3
Need help with rspec-puppet
Hello Everyone, I am fairly new to puppet and I would like to run som unit tests. I hope rspec is the right tool for it. Unfortunately, after setting it up, when I try to execute it I receive the following error: Failures: 1) helloworld Failure/Error: it { should include_class(''helloworld'') } Puppet::Error: Error converting value for param
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 Mar 02
0
Problems getting rspec testing working in OSX?
Hey Gang, Running into a weird error when trying to follow puppetlabs'' blog: https://puppetlabs.com/blog/the-next-generation-of-puppet-module-testing/ I''m running 10.8.2, using default ruby, in an attempt to make my home env a little more sane, (ran into weird rbenv issues at work, which I won''t go into here) The google tells me not a whole lot. Appreciate any help
2013 Nov 05
5
Deployed custom facts with module do not show up
When I deploy a module I wrote with couple of custom facts, those facts do not show up in factor. But when I point FACTORLIB to the directory with those factor, they work just fine. I am running a masterless puppet version 2.7.22 and factor 1.7.1 The module structure looks like so: -license ---lib -----facter -------license.rb -------hardware_serial.rb -----puppet Any idea what is causing
2012 Nov 16
5
Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)
Hello Everybody, I am trying to install puppet on Red Hat Enterprise Linux Server release 5.8 Beta (Tikanga) I have installed the following rpms sudo rpm -ivh http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm I am getting the following error when I am trying to install puppet server sudo yum install puppet-server puppet-3.0.1-1.el5.noarch
2013 Oct 28
1
Using puppetlabs_spec_helper on Windows 7
I''m trying to make puppetlabs_spec_helper runs on Windows 7 to test my Puppet modules. Is this supported ? Because I encountered some problems: 1. symlinks were not created on Windows 7 (even if the functionnality are availabe). To manage that I added to rake_tasks.rb an ugly function: def make_link(source,target) ruby_platform =
2012 May 16
2
Announce: Facter 2.0.0rc1 Available
Facter 2.0.0rc1 is a feature release candidate with bug fixes, features and other improvements. Facter 2.0 is designed to accompany the upcoming Puppet 3.0 release and has breaking changes from Facter 1.6.x. Facter 2.0 is not backwards compatible with Puppet 2.6 or 2.7. It includes contributions from the following people: Chris Price, Daniel Black, Daniel Pittman, Garrett Honeycutt, Gary Larizza,
2010 Apr 12
10
Cron question
Hello, Why the following lines doesn''t work? cron { "app" : command => ""nice -n -10 /usr/bin/php /var/www/public_html/rotinas/rotinas.php 2>&1>> /var/log/app.log", environment => "PATH=$PATH", user => root, hour => ''*'', minute =>
2012 Jul 12
11
Announce: PuppetDB 0.9.2 Available
PuppetDB 0.9.2 is the third beta release on the road to 1.0. Changes include new features and bug fixes. For details on changes in this release, please see the release notes below. # Downloads Available in native package format at http://yum.puppetlabs.com http://apt.puppetlabs.com Source (same license as Puppet): http://github.com/puppetlabs/puppetdb Available for use with Puppet
2013 Apr 18
4
fact_stomp_server
Does anyone have any insight into this error message? err: Could not retrieve catalog from remote server: Error 400 on SERVER: The fact named fact_stomp_server does not appear to be a valid hostname. The value of '''' does not match ''^[a-zA-Z0-9.-]+$''. A common cause of this problem is running puppet agent as a normal user instead of root, or the fact is
2011 Nov 04
2
ANNOUNCE: Puppet-Dashboard 1.2.3rc1 available
This is a maintenance release of Puppet Dashboard. This release resolves issues #10198, #10270, and #10543. More details below. This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages as well as a tarball. See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet
2006 Aug 15
20
Talking to Java APIs
I''m trying to figure out how Ruby in general, and/or anything extra Rails may have, can talk to Java APIs of third party server apps. After quite a few search attempts net-wide and on ruby forums, and with "Programming Ruby" in hand, I''m coming up with zilch. Either I''m not finding it, or I''m not recognizing it. I''m assuming there has
2006 Apr 04
2
irqbalance is dead, can not shutdown
After updating to centos 4.3, I notice a failure in terminating irqbalance whenever i shutdown the system. Checking the services after the system reboot i see the error in irqbalance: "irqbalance dead but subsys locked" Can anyone tell me what irqbalance is and if it safe to disable it ? Why i dont see it in centos 4.2? Thanks in advance. Thai
2014 Aug 31
3
Bug#577788: dom0 kernels should suggest irqbalance
(copying debian-kernel for reasons which will hopefully become obvious) On Mon, 8 Jul 2013 18:10:58 +0200 =?UTF-8?Q?Moritz_M=C3=BChlenhoff?= <jmm at inutil.org> wrote: > In current Debian kernel there's no special Xen dom0 kernel image and depending > on irqbalance in the kernel package would be overkill. Would it? I thought irqbalance is actually required even for native with
2006 Mar 28
2
Asterisk & SMP: Is irqbalance Redundant on 2.6 Kernels?
Asterisk users, I posted the following email to the Fedora users list <https://www.redhat.com/archives/fedora-list/2006-March/msg04154.html> and it got no responses, so now I'm calling on your expertise. Please take a look at it and share your knowledge on the subject with me. Additionally, let me know if you believe what I am trying to do is critically flawed. It's possible
2010 Nov 08
11
Default ownership for static files
Hi, I try to serve a file file { "/root/test3.txt": ensure => file, source => "puppet:///yum/test.txt", } On the puppetmaster this files look like this #$ ls -n test.txt -rw-r--r-- 1 502 301 4 8 Nov 16:25 test.txt Finally, here is my question: What ownership may I expect on the resulting file ? Actually this is the result for me: #$ ls -l
2006 Aug 25
1
Does irqbalance actually do anything?
I've got several SMP machines, some running CentOS 4.3 and some running Fedora Core 4. All machine are kept fully updated. A few are Pentium3-based and a few are Pentium4-based. They are all running the irqbalance daemon. The distribution of interrupts across CPUs is indeed kept balanced, yet even after months of uptime ps shows no CPU use whatsoever by irqbalance. This from a
2013 Mar 29
3
ovf conversion
I try do use one of the images available from [1] These images comes in two flavors, one vmx, one ovf. I do not know how to convert one of these to centos6-libvirt-kvm virt-convert gives me an error $ virt-convert -i ovf -o virt-image path_to_image.ovf ERROR Couldn't convert disks: Disk conversion failed with exit status 1: qemu-img: Could not open 'path_to_image.vmdk' The vmdk