similar to: How to make puppetlabs_spec_helper ignore modules inside fixtures

Displaying 20 results from an estimated 110 matches similar to: "How to make puppetlabs_spec_helper ignore modules inside fixtures"

2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems: *** LOCAL GEMS *** diff-lcs (1.1.3) hiera (0.3.0) hiera-puppet (0.3.0) metaclass (0.0.1) mocha (0.12.1) puppet-lint (0.1.13) puppetlabs_spec_helper (0.2.0) rake (0.9.2.2) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) rspec-puppet (0.1.3) When I run "rake help" I get the
2012 Jun 08
1
Announce: puppetlabs_spec_helper 0.1.0 Available
puppetlabs_spec_helper is a Rubygem to make writing and running module spec tests using rspec-puppet easier. It includes a set of common rake tasks and a spec_helper that correctly initializes puppet and rspec-puppet for testing. The code is available on github at http://github.com/puppetlabs/puppetlabs_spec_helper. Patches are welcome. To convert a module with existing spec tests to use the
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 Dec 26
0
Announce: puppetlabs_spec_helper 0.4.0 available
puppetlabs_spec_helper is a Rubygem to make writing and running module spec tests using rspec-puppet easier. It includes a set of common rake tasks and a spec_helper that correctly initializes puppet and rspec-puppet for testing. Changes: * Rake should fail if git can''t clone repository * add backwards-compatible support for arbitrary git refs in .fixtures.yml * Only remove the
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
2010 Nov 06
2
Custom File List for Rails 3 Spec Task
I have some javascript specs (using the jspec javascript framework) in my rails 3 project, living in the spec/javascript directory. How can I exclude the ruby files in the jspec project from being run when I run "rake spec"? RSpec::Core::RakeTask used to take a file list (which was usually generated with a glob pattern and an explicit call to Dir.glob). Now it only takes a glob
2013 Aug 30
3
rspec-puppet not working
I''m trying to get rspec-puppet working and have run into a problem. I have a VM running ubuntu lucid, have installed rubygems 1.3.5 from the apt package and have install rspec-puppet (and other required gems), and rake, using gem install. I''ve run rspec-puppet-init in the module I want to test, and have created a very basic spec file for one of the classes in my module.
2007 Jul 26
0
Rake task database to XML export
Hi all... I am a new bie of ruby rails. i was working with some task to get a database table to be exported in to an XMLFile. I need to write a raketask for that. Can some one please help me with some good stuff having with you regarding the rake task file written to do that dbtable to xml file file conversions. Please help me with some sample code or links Thanks to all in advance --
2012 Dec 20
0
Announce: Hiera 1.1.2-rc2 available
Hiera 1.1.2-rc2 is a release candidate in the 1.x series with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.2-rc2.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/hiera or by using the --pre option to gem install. Debs are available at https://apt.puppetlabs.com Mac package
2012 Jun 03
3
rspec spec_helper
Hi, I was playing with rspec and every time I find a possible improvement that could be made in spec_helper or rakefile I have to change it in every module that is using rspec tests. So maybe these things could be centralized, I thought to myself. I found the following module, actually. https://github.com/puppetlabs/puppetlabs-module_spec_helper But I am at a lost how to use it. Is it supposed
2013 Jun 27
5
Is it possible to pass extra flags to Puppet via rspec?`
Hello, I''m writing my first puppet function rspec test and am having a problem which I don''t see how to solve. The function (and the test) involve access to files through the File Server. In order for the function (and the test) to work I need to pass "--fileserverconf=fileserver.conf" parameter to Puppet. So far I haven''t found a way to do that. If I
2012 Dec 17
3
Rspec with rspec-hiera-puppet
I''ve been working on getting spec tests on all of my modules and am down to ones that use hiera and don''t have any reasonable defaults. It looks like there is a project on GH (https://github.com/amfranz/rspec-hiera-puppet) that is designed to fill this need, but for the life of me I cannot make it work. FriedBob helped out on the IRC channel some with his solution of including
2007 Apr 18
0
[Bridge] BCP code ported to pppd 2.4.2
Hello, i have ported the BCP (Bride Control Protocol) patch for pppd 2.4.1 mentioned in http://lists.osdl.org/pipermail/bridge/2004-September/000619.html to pppd 2.4.2. The kernel patch still works without problems with kernel 2.4.30. Perhaps someone else could use this patch ... Here again some documentation i have found about the BCP patch somewere else: When pppd negotiates BCP, it tells
2007 Apr 18
0
[Bridge] Re: [VLAN] newbie problems
Thanks for the reply. You are quite right about the routing, and i've advanced to the bridging part. But it will not work. I've finaly gotten access to the switch it's connected to and from the logs i've got this output: Jan 26 16:49:56: %SPANTREE-2-RECV_PVID_ERR: Received BPDU with inconsistent peer vlan id 4 on GigabitEthernet0/1 VLAN40. Jan 26 16:49:56:
2007 Sep 04
7
Rake tasks getting in the way of edge (uses gem instead)
So I''d been running gem releases of rspec for the past several months, and I installed edge rspec so that I can use Story Runner. I''m running into a problem because I''ve got a couple rake tasks that reference "spec/rake/raketask". If I try to run "rake spec" then it pulls in the gem version instead of the plugin version. rake blows up saying that
2012 Jul 31
1
puppet doc questions
Does puppet doc require a specific version of any gems (such as rdoc or rake) to operate? I''m getting some errors when I try to generate my rdoc now. # puppet doc --output /var/www/test --modulepath /etc/puppet/environments/test/modules -m rdoc RDoc::RDocError is deprecated and will be removed in RDoc 4 Could not generate documentation: uninitialized constant RDoc::RDoc::Generator
2015 Jan 25
0
VLAN issue
OK... but why does it need to be a trunk port? Boris. On Sat, Jan 24, 2015 at 6:53 PM, SilverTip257 <silvertip257 at gmail.com> wrote: > Andrew and Dennis are spot on. > Their conclusions about your server being connected to an access port and > not a trunk port would be my conclusion as well. > > On Sat, Jan 24, 2015 at 9:11 AM, Dennis Jacobfeuerborn < > dennisml at
2008 Mar 31
0
[CruiseControl] mongrel-trunk-mingw32 build 997.1 failed
The build failed. Note: if you set Configuration.dashboard_url in config/site_config.rb, you''d see a link to the build page here. CHANGES ------- Build was manually requested BUILD LOG --------- D:/Users/Luis/.cruise/projects/mongrel-trunk-mingw32/work Luis$ ruby -e "require ''rubygems'' rescue nil; require ''rake''; load
2009 Sep 15
3
how to run all tests AND metric_fu
i want to use cruisecontrol.rb to run ?rake test? (every time a new revision is in the svn repo) and ?rake metrics:all? (let?s say every 24 hours). how do i have to configure cruisecontrol.rb? both rake tasks work. however, when i configure cruisecontrol.rb as described on the metric_fu website, i.e. add ''project.rake_task = ?metrics:all? project.scheduler.polling_interval =
2010 Jun 24
1
Scheduling a nightly build - config options
Hello, I downloaded the latest cruisecontrol.rb from github and tried configuring a schedule for building every 24 hours. Below is my project specific cruise_config.rb. What''s happening is, cruisecontrol.rb is not honoring the polling_interval of 1.day and it keeps building continuously (true to it''s nautre of continuous buids), which I assume it''s using the default