So what at the new URL's for PC1 using apt? Just changing the hostname does
not work, neither does adding the /apt prefix. It looks like the pool
directory has been copied across but no the dist dir.
The puppetlabs-release-pc1 package is also broken now so there is no simple
way to install that
Hi,
Is it possible to get the environment the client has requested from within
the node classifier script?
We used to use an environment vairable that the old webbrick server used to
set but it looks like that is no longer availalbe in puppetserver.
Thanks
john
--
You received this message
g regexp to validate the content up
to now so I suppose I could move to using this yaml module to check that as
well.
john
On Tuesday, 10 November 2015 12:02:09 UTC, Martin Alfke wrote:
>
> Hi,
> On 06 Nov 2015, at 14:38, choffee > wrote:
>
> > I have a define which takes a
I have a define which takes a yaml file as a parameter and want to check
that my template creates valid yaml.
I am currently using regexp to test bits of it like so
should contain_mydefine('foo').with_yaml_content(/---\s+-part1/m)
It would be nice to be able to do
should contain_mydefine('
Wednesday, 1 April 2015 16:22:51 UTC+1, garethr wrote:
>
> On 1 April 2015 at 15:37, choffee > wrote:
> > Hi,
> >
> > I am having some trouble testing some classes using rspec.
> >
> > I have three classes. init, service and config.
> >
> >
Hi,
I am having some trouble testing some classes using rspec.
I have three classes. init, service and config.
service contains just the service settings with a class setting for service
name eg.
class tc::service (
$service_name => tc::service_name
) {
service {'tc':
service_name
le manifest and spec test that expose this problem?
> I do not yet clearly understand what you're trying to do.
>
> Thanks,
> Felix
>
> On 05/07/2014 04:42 PM, choffee wrote:
> > Am I doing this wrong?
> >
> > I create a test that says "check for a
my head but I'm pretty sure
> this will help you along the way.
>
>
> http://www.ruempler.eu/2012/04/03/puppet-rspec-debugging/?mobile=1
>
>
> On 8 May 2014, at 0:42, choffee > wrote:
>
> Am I doing this wrong?
>
> I create a test that says "check for
ed against for that test would mean I could
see my error rather than having to guess and test again.
john
On Wednesday, 7 May 2014 13:38:22 UTC+1, choffee wrote:
>
> I am trying to debug why my test is failing and not producing a file that
> I thought it should be.
>
> Is there
I am trying to debug why my test is failing and not producing a file that I
thought it should be.
Is there a simple way to view the catalogue that rspec is testing against?
I tried --debug in the .rspec file with the debugger gem and it gives no
extra errors is there something more I need to ad
10 matches
Mail list logo