similar to: Is it possible to pass extra flags to Puppet via rspec?`

Displaying 20 results from an estimated 1000 matches similar to: "Is it possible to pass extra flags to Puppet via rspec?`"

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
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 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.
2013 Sep 11
6
Puppet ignores hiera completely
I''m not sure at all what''s going on here, but I''ve spent a lot of time reading over the puppet hiera docs and setting everything up, but when I run puppet agent it just seems to ignore the hiera setup completely. Both the puppet master and agent nodes have exactly the same versions of puppet and hiera (installed via the official puppet APT repository). I''ve
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
2009 Jan 08
4
Scriptable way to edit yum .repo files?
Hello, Is there a standard programmatic way to manipulate yum configuration files, particularly the .repo files? I want to add things like "priority=..." per repo, or "check_obsoletes=1" to the priorities plugin config. I can cook specific search/append using perl or sed but was wondering whether there is a more elegant way. I found Perl's Conf::INI module but it
2009 Nov 06
2
Right way to set IO scheduler on CentOS
Hello, I'd like to set the io scheduler on some of the disks on our Dom0 (CentOS 5) to "deadline". The way I found to do this is with "echo deadline > /sys/block/sdb/queue/scheduler". What is the Right Way(TM) to set this automatically during boot? I sort of expected to use sysctl but it appears to only deal with pseudo-files under /proc/sys, not /sys. Also
2007 Nov 30
6
Replacement for Linux-HA (heartbeat) - RedHat cluster?
Hello, I'm beginning to give up on making Linux-HA's heartbeat work for my environment (CentOS x86_64) and am wondering what other option have I got to help me: 1. Use IPVS to maintain a cluster of virtual servers, either master/slave or load-balanced. 2. Use DRBD in master/slave fashion to keep a home-grown application highly-available. The first thing I stumbled upon is RedHat Cluster
2007 Oct 26
6
Dont start windows XP/2k installation
we have a linux box Debian with Xen install on it for vitualizate windows enviroment. We follow this instruccion http://www.xensource.com/files/xen_install_windows.pdf but when we run "xm create win_2k.hvm" the windows installation pop up never appear. HVM file config: kernel = "/usr/lib/xen/boot/hvmloader" device_model=''/usr/lib/xen/bin/qemu-dm''
2007 Nov 13
6
CentOS 5.0 ifcfg-eth0 gets renamed on boot
Hello, I created a CentOS 5.0 x86_64 guest under Debian Etch with Xen 3.0.3 and it boots fine except for one re-occuring problem - whenever it boots the /etc/sysconfig/network-scripts/ifcfg-eth0 script gets renamed to .bak and doesn''t configure the ethernet device. Here is the content of this file: TYPE=Ethernet DEVICE=eth0 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.0.247
2008 Aug 01
8
Sharing home directories between two symetric nodes?
Hello, I just discovered Gluster a couple of weeks ago and went through the initial documentation and got it compiled. It looks very promising both for my home network and for work. For now I'm concentrating at home - We have to Ubuntu 8.04 desktops, one for me and one for my wife. We generally try to keep them off when not used but at any time any one of them could be up or down. I was
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
2009 Jan 22
14
Antivirus for CentOS? (yuck!)
Hi All, Yes, I know, it's really really embarrassing to have to ask but I'm being pushed to the wall with PCI DSS Compliance procedure (http://en.wikipedia.org/wiki/PCI_DSS) and have to either justify why we don't need to install an anti-virus or find an anti-virus to run on our CentOS 5 servers. Whatever I do - it needs to be convincing enough to make the PCI compliance guy tick the
2013 Apr 03
3
Installing Microsoft Visual Studio 2010 with Puppet?
Hello, Has anyone here had experience using Puppet (2.7 for now) to install Microsoft Visual Studio 2010 (or even 2012, for that matter) on Windows Server 2008? So far I didn''t find anything on the web, the forge or Github. Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have puppet.conf defined puppet server as mypuppet server = mypuppet.example.net Not sure why the puppet client puppet-test is still sending these noises to the syslog Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error] Could not find server : getaddrinfo: node name or service name not known Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
2013 Jun 06
3
installing carbon / passing PYTHONPATH to pip package provider?
My environment: Ubuntu LTS 12.04, carbon (https://github.com/graphite-project/carbon) 0.9.9 installed using "pip". I just learned why when I run "pip freeze" on a system I don''t see the "carbon" package even when it installed successfully - I should run it with "PYTHONPATH=/opt/graphite/lib/ pip freeze". (ref:
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
2007 Dec 05
2
heartbeat 1.2.5 on CentOS 5?
Hello, Has anyone got Heartbeat 1.2.5 (latest Heartbeat 1 version) to compile and run on CentOS 5? I downloaded the source but hit difficulties compiling it, presumebly because it was never quite tweaked to run on the latest version. Thanks, --Amos
2008 Dec 11
2
Watchdog process?
Hello, Is there a generic built-in way on CentOS to overlook that a specific process is alive and re-spawn it (or just run a configured command) when it dies? I know how to script things so a parent will watch its child, but was wondering whether there is something more readily available instead of having to reinvent the wheel. The process must be controlled via a /etc/init.d/... script and
2007 Dec 05
2
perl-libnet on CentOS 5?
Hello, Is there any package on CentOS 5 which provides perl-libnet? Beartbeat 1 depends on it but so far I couldn't find a package. Also - is there a way to find which non-installed package contains files with matching names (a-la Debian's apt-file)? I know about "rpm -qf" but it only works on packages which are already installed. I saw some place mentioning a command called