Fixed this by setting AUGEAS_LENS_LIB in spec/spec_helper_local.rb
ENV['AUGEAS_LENS_LIB']='/opt/puppetlabs/puppet/share/augeas/lenses/dist'
On Thursday, June 27, 2019 at 11:38:05 AM UTC-4, Bill Sirinek wrote:
>
> I need some help here. I have a simple augeas resource
I need some help here. I have a simple augeas resource that changes a line
in the /etc/sysconfig/iptables-config file. I am trying to write an rspec
test for this and it's not working.
RHEL7, pdk 1.10. I do not have any augeas packages installed, only using
what is bundled with pdk 1.10.
No, all the agents are PE.
Bill
On Friday, May 4, 2018 at 10:48:56 AM UTC-4, Thomas Müller wrote:
>
>
>
> Am Donnerstag, 3. Mai 2018 22:38:42 UTC+2 schrieb Bill Sirinek:
>>
>> Is it possible to have a pxp broker that is not a compile master?
>>
>
> is any non
Is it possible to have a pxp broker that is not a compile master?
Thanks
Bill
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscr...@googlegr
My local IT support team is hounding me to upgrade my macbook to 10.13. I
currently run OSX 10.12.6 and use PDK 1.3.2, which Puppet says is available
for 10.11 and 10.12.Does anyone here use PDK on a mac, and upgraded to
10.13 and found out if PDK still works?
Thanks
Bill
--
You received
ch 21, 2018 at 9:57:34 AM UTC-4, Bill Sirinek wrote:
>
> I am trying to write an rspec test for a custom type and provider I wrote
> and having issues.
>
> The custom type has a provider that manages an ini file. Because I already
> have puppetlabs/inifile, I made this provi
I am trying to write an rspec test for a custom type and provider I wrote
and having issues.
The custom type has a provider that manages an ini file. Because I already
have puppetlabs/inifile, I made this provider a child provider of
ini_setting. (I don't use the ini_setting type directly in m
uot;Solaris"
release:
full: "10_u8"
major: "10"
minor: "8"
osfamily: "Solaris"
Thanks
Bill
On Monday, February 26, 2018 at 5:59:23 AM UTC-5, David Schmitt wrote:
>
> Hi Bill,
>
> from the code snippets you posted, no
I'm not sure you need a custom fact for this. Can you just check to see if,
for example, Service['autofs'] or Service['autofs.service'] are defined?
Bill
On Wednesday, February 21, 2018 at 5:00:06 PM UTC-5, Dennis Labkovich wrote:
>
> Hello,
>
> Trying to create a custom fact that will be c
I am continuing to work on unit tests for modules using PDK, and am having
issues with the augeas resources.
I added rspec-puppet-augeas to my Gemfile.local and pdk installed it, so
that part is fine.
However, when I run the unit tests, the augeas resource fails. I tried this
on both my laptop
y 19, 2018 at 9:58:13 AM UTC-5, Bill Sirinek wrote:
>
> I've converted a simple module to use PDK, but the testing is not working.
> The module is specifically for Solaris. The module is a very simple one
> that just edits /etc/system, called etc_system.
>
> In fact, the test i
equire 'spec_helper'
describe 'etc_system' do
on_supported_os.each do |os, os_facts|
context "on #{os}" do
let(:facts) { os_facts }
it { is_expected.to compile }
end
end
end
metadata.json:
{
"name": &quo
ppet will usually
# discover the appropriate provider for your platform.Available
providers are:
#
# rest_v2
# :
#
# rest_v3
# :
Puppet::Resource::Param(Any, 'provider')
],
{
/(.*)/ => ['name']
},
true,
false)
On Thursda
I'm about to update to 2017.2 and start using puppet-job to do runs on
production hosts (we currently only do no-op on production hosts)
Typically when we do a production puppet run, we utilize tags to only run
certain classes. Can we do this when doing puppet runs via the
orchestrator? I c
, and has stayed there for a couple hours now, maybe
occasionally poking up to 2-3 briefly. At least I think it was related to
this change. :)
Thanks
Bill
On Saturday, April 22, 2017 at 4:46:57 PM UTC-4, Wyatt Alt wrote:
>
>
>
> On 04/22/2017 10:35 AM, Bill Sirinek wrote:
> &g
I have a module that manages various bios settings on HP proliant servers
(basically hacked up the conrep module from the forge) Anyhow, the resource
names (resource_title) can get fairly long and break the 40 character
column width in the database, as shown with the error below:
2017-04-22 13
We run into that fairly regularly, and what you describe is pretty much
what we have done in most cases... Create a ldap profile class that all
nodes (or whichever) run, and from that it calls the openldap module with
variables you get from hiera.
Bill
On Monday, February 27, 2017 at 12:17:59
I have a simple class that sets the timezone on a Solaris system. I'm
trying to write tests for it, and failing. It's telling me the file is nil,
but there should be content as the file does exist. The file is not
generated via a template or as a static puppet file in the module... the
module j
(puppet 3.1.1, hiera 1.2.1, redhat 6.x)
My puppetmaster is filling up it's logs filesystem every other day because
of hiera debug logging that I cannot seem to get rid of. I have a pretty
large hierarchy (18 levels) and about 30 modules that I deploy out to 1900
servers.
Every time I have an agen
We're planning a rollout of Puppet 3 on our network. We've been entirely
RH5 & RH6 for a while, but we are planning on folding in Solaris hosts and
possibly AIX as well.
The Redhat hosts are running ruby 1.8.7 and the Solaris & AIX hosts have
ruby 1.9.3p125
My question is, will the differing
20 matches
Mail list logo