Hi Andrew
On 20 July 2015 at 00:38, Andrew Langhorn
andrew.langh...@digital.cabinet-office.gov.uk wrote:
I don't know why, but when I renamed the class, things started to work.
Very odd. Maybe I should just upgrade to the latest stable 3.x release
(3.8.0, I think), or even 4.
See Peter's
El 17/07/15 a las 09:31, bjoern pohl escribió:
Hi,
we're currently transforming some ugly perl-based management scripts
(which placed some config data on the client and then configured
something with it) to puppet.
While it is definitely the best idea point to keep all that config data
on the
Morning Gareth,
Ah - I re-read that, and that makes more sense, especially since renaming
the class fixed it. I'll give it a go to neaten up the module; am sure it
will work.
Thanks both!
:)
A
On Monday, 20 July 2015, Gareth Rushgrove gar...@morethanseven.net wrote:
Hi Andrew
On 20 July
Hmm...I think you'll need to run 'puppet cert' by hand to set up the CA
prior to firing off the Puppet Server.
I don't know that it's a bug, but it's certainly a documentation issue if
you have to do this.
Thanks,
Trevor
On Sun, Jul 19, 2015 at 5:22 PM, Felix Frank
I have the same thing, got it working but it's a mystery why puppet isn't
recreating /var/lib/puppet/ssl when running it, not seen this before. The
only certs on my server are under /ssl/. So is this a 3.8 thing or are
CentOS7 thing or (in my case) a Digital Ocean droplet thing? Very
Hi,
I am using saz/ssh [1], it works fine with exported resources (host keys)
and autogenerated /etc/ssh/ssh_known_hosts ... But I did not find any
solution to add host keys from systems, where puppet is not installed (it
is needed in my case).
Is there any possibility to add any own
Hi folks,
I've bravely stepped out into the world of writing tests for my Puppet
modules to ensure code quality. Have run into an issue. My
spec/spec_helper.rb has one line.
require 'puppetlabs_spec_helper/module_spec_helper'
I run rake spec and this happens:
spec/spec_helper.rb:1:in
I think I understand what you are driving at, and your logic seems good to
me. When I was doing web hosting for people I had a class that handled
installing and configuring Apache and a separate module called sites that
handled setting up the web sites using the apache::vhost define that
Hi folks,
I'm super new to Puppet but decently experienced with Chef, I'm trying to
apply my Chef logic to some things I'm trying to do in Puppet but I've hit
what is probably a simple snag. And perhaps I shouldn't be trying to apply
Chef logic, but hear me out first!
Firstly, I'm following
On Monday, July 20, 2015 at 2:12:45 PM UTC-7, Fabrice Bacchella wrote:
I used to fill mcollective yaml facts with a simple facter -p foo.yaml.
But with facter 3, -p is gone, one should use 'puppet facts --render-as
yaml' instead.
For this (and a few other reasons), the breaking change
And I can use puppet to generate it, I don't run puppet with cron or as a
daemon.
Le 20 juil. 2015 à 23:12, Fabrice Bacchella fabrice.bacche...@orange.fr a
écrit :
I used to fill mcollective yaml facts with a simple facter -p foo.yaml.
But with facter 3, -p is gone, one should use
I used to fill mcollective yaml facts with a simple facter -p foo.yaml.
But with facter 3, -p is gone, one should use 'puppet facts --render-as yaml'
instead.
So far so good, but mcollective can't use this command output :
yaml_facts.rb:31:in `rescue in block in load_facts_from_source' Failed
RSpec question for all the helpful folks here:
How do I test that there is no resource in the catalog that matches certain
parameters?
I know how to test that a specific resource does not exist, or a specific
resource does not match certain parameters.
I want to test that, for example, there
On Monday, July 20, 2015 at 1:23:20 PM UTC-7, Peter Huene wrote:
On Monday, July 20, 2015 at 1:16:07 PM UTC-7, Federico Agnelli wrote:
Hi Giorgio,
I have the same problem with a puppet client on Intel NUC5i5RYH.
All other clients (on different hardware) with the same puppet version
work
http://www.intel.it/content/www/it/it/nuc/nuc-kit-nuc5i5ryh.htmlHi
Giorgio,
I have the same problem with a puppet client on Intel NUC5i5RYH.
All other clients (on different hardware) with the same puppet version work
fine.
My puppet version for both agent and server is 4.2.0, the problem
Hi Giorgio,
I have the same problem with a puppet client on Intel NUC5i5RYH.
All other clients (on different hardware) with the same puppet version work
fine.
My puppet version for both agent and server is 4.2.0. Version 4.1.0 was ok.
Did you find a fix?
Thanks,
Federico
--
You received
On Monday, July 20, 2015 at 1:16:07 PM UTC-7, Federico Agnelli wrote:
Hi Giorgio,
I have the same problem with a puppet client on Intel NUC5i5RYH.
All other clients (on different hardware) with the same puppet version
work fine.
My puppet version for both agent and server is 4.2.0.
There is no helper built in to rspec-puppet to do this, but you can do it
by using an rspec expect() around a catalogue.resources check:
it has no file resources with ensure = directory do
expect(catalogue.resources.select { |r| r.type == File r[:ensure] ==
directory }).to be_empty
end
On
On 07/20/2015 06:17 PM, Fabien Delpierre wrote:
I've tried multiple things:
puppet:///modules/sensei/mysite.conf
Well that's nice, but earlier in your mail, you stated that mysite.conf
is in the 'myfiles' module. The URL you need is
puppet:///modules/myfiles/mysite.conf
Your reasoning is
Thanks, I'll try that.
- Johnson
On Monday, July 20, 2015 at 1:30:14 PM UTC-7, Hunter Haugen wrote:
There is no helper built in to rspec-puppet to do this, but you can do it
by using an rspec expect() around a catalogue.resources check:
it has no file resources with ensure = directory do
Greetings,
First, a short intro. :-)
Last year I invested quite a bit of time building out a puppet
infrastructure. I have +150 Scientific Linux 6 and RHEL 6 servers running
puppet 3.7.1. It has been working really well concidering that I basically
haven't touched it since last October
Hi,
so you installed puppet_spec_helper as a gem. This should work, and I'm
not certain what the clean approach of making it work in this scenario
would be. I believe require 'rubygems' might help, but I half remember
some issues that can crop up with this.
Personally, I would create a Gemfile,
Hi Peter,
I would *highly* recommend using something like RVM to manage your ruby
installations for testing. This way you can ensure a clean environment and
also be sure that you don't have any conflicting modules or environment
pollution.
I'm guessing that there's something wrong with your
Another rspec question:
Is there any way to get rspec to tell you, when a test fails, what the
contents of the catalog was, at a high level at least, that generated the
failure?
I've got a code block that looks right to me, and an rspec test that looks
right to me. the test is failing and I
Peter, Felix,
Thank you for your answers!
I guess my improperly worded question was about figuring out whether Puppet
has a concept similar to what Chef calls a wrapper cookbook.
Felix, the sensei is my actual folder name, I just substituted for
generic names and may have forgotten to subst
Hi,
I use to keep all my class parameters in the default hiera data file,
/var/lib/hiera/defaults.yaml, but now I need to maintain another set of
nodes that would need to use different values for the class parameters in
the defaults.yaml.
I figured, no bug deal, just add the
Hi thomas
Saz/ssh seems to use the standard sshkey type to export the host keys. Code:
https://github.com/saz/puppet-ssh/blob/master/manifests/hostkeys.pp
Seems you can export the non-puppet managed keys on a puppet managed node to
get it distributed.
Thomas
--
You received this message
27 matches
Mail list logo