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-user
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
which does not seem to support Solaris 10 anymore, or at least I hadnt
gotten it to work. So I have been having to keep Solaris 10 out of my
metadata.json file, even though it probably should be there as Solaris 10
is supported by Puppet in my version of PE (2017.3.5)
Bill
On Wednesday, Mar
onfig.rb:3:in `'
Evaluated 0 tests in 0.00058 seconds: 0 failures, 0 pending.
[✔] Cleaning up after running unit tests.
mymacbook:myapp bsirinek$
I have inifile listed in my .fixtures.yml.
---
fixtures:
symlinks:
myapp: "#{source_dir}"
forge_modules:
stdlib:
re
ed by
rspec-puppet-facts.
---
concat_basedir: "/tmp"
ipaddress: "172.16.254.254"
is_pe: false
is_prod: false
macaddress: "AA:AA:AA:AA:AA:AA"
Here is my custom spec/default_module_facts.yml:
---
architecture: "i86pc"
hardwaremodels:
- "i86pc"
kernel:
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
:module => 'ip'
}
}
it "has an augeas resource" do
should contain_augeas("ip_squeue_enter")
end
describe_augeas "ip_squeue_enter", :lens => 'Solaris_System', :target =>
'etc/system' do
let(:title)
ill all work as advertised for RedHat modules, which is the vast majority
of what I need anyway, it just happened that I needed to make an update to
a Solaris module when I got pdk installed!
2. I had my spec/classes/ test file named .pp instead of .rb.oops!
Bill
On Monday, Februar
ts of some files. I have tried using as much of the default
as I can and it's still not working.
I'm using pdk 1.3.2 on OSX Sierra 10.12.6
Thanks
Bill
mylaptop:etc_system bsirinek$ *pdk test unit **--**list*
No unit test files with examples were found.
mylaptop:etc_system bsirinek
I wrote a Terraform module to deploy a puppet server environment to a Nomad
cluster. https://registry.terraform.io/modules/admintome/puppet/nomad/0.1.0
I also wrote an article on my blog on how to use
it: http://www.admintome.com/blog/terraform-module-for-puppet-in-docker/
This let's you sta
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
or? I can't seem to find any mention of it in the docs.
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...@googl
, 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
without having to recreate the entire
database or having puppet somehow change it back? I am not a DBA, so SQL
isn't my strongest skill.
I am running PE 2017.1.1, but this error has been going on a long time
(since PE3.7 when I introduced the bios module)
Thanks
Bill
--
You received this me
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
It appears that only the puppet agent is available for FC22.
https://yum.puppetlabs.com/fedora/f22/PC1/x86_64/
It is available for RHEL though...
https://yum.puppetlabs.com/el/6.5/PC1/x86_64/
Bill Ward
http://billcloud.me/
On Monday, May 9, 2016 at 8:17:34 PM UTC-5, Ryan Jacobson wrote
for derailing, I just wanted to note that here ere I forget.
Not a problem. Thanks for thinking about it.
Bill
--
Bill MacAllister
System Programmer, Stanford University
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To unsubscr
it {
should contain_augeas('set_timezone').with({
:incl=> '/etc/default/init',
:lens=> 'Shellvars.lns',
:changes => "set TZ US/Eastern"
}).with_content(/^TZ=US\/Eastern$/)
}
end
The test works fine if I lea
8HncQqEHbc
Hope that helps.
--
Bill
On 08/07/2014 06:51 AM, Walid wrote:
> Hi,
>
> I am looking for hints, pointers, URLS about collecting puppet metrics
> and agent status using logstash filters?
>
> kind regards
>
> Walid
>
> --
> You received this messa
Jim,
Thank you for your advise. I have access to the C# source code so I can
rebuild this as a service in VS2012. I should have realized this from the
start but I confess I was trying to cut corners by using what I had readily
available.
best regards,
-Bill
On Sunday, June 1, 2014 9:49:32
Hi,
Just wrote my first puppet module for Windows provisioning. All is working
well except I am having a problem running a windows exe file in that Puppet
appears to wait for the exe to complete. At least this is the case when I
run Puppet agent --test from the Windows Server command line.
Wh
Hi,
Just wrote my first puppet module for Windows provisioning. All is working
well except I am having a problem running a windows exe file in that Puppet
appears to wait for the exe to complete. At least this is the case when I
run Puppet agent --test from the Windows Server command line.
Wh
I'm getting this error on a windows server when it's trying to compare 2
files using gnuwin32 diff.exe.
Debug: Executing 'C:\GnuWin32\bin\diff -u
d:/AICS.CLAIMS.new/ASPX/App.config C:/
Users/BSTEPH~1/AppData/Local/Temp/2/puppet-file20131003-4508-11k0jfs'
Error: /Stage[main]/Claims/File[d:/AICS.
iera.yaml file but then puppet automatically sets it to
"puppet" no matter what I put. Is there some way I can shut down this
logging??
Right now I have had to stop ALL puppet master logging by changing the
rack configuration (putting "--logdest /dev/null" in my config.ru
file)
T
ot;
And then change your exec resource to output the result to
/etc/snmp/snmpd.conf.disk instead.
Hope that helps,
Bill
On 05/30/2013 01:32 PM, Stan wrote:
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Thunder
ot;
And then change your exec resource to output the result to
/etc/snmp/snmpd.conf.disk instead.
Hope that helps,
Bill
On 05/30/2013 01:32 PM, Stan wrote:
> Hello
>
> Here is my manifest for snmpd, my problem now is that my manifest
> will run every time because my snmpd.conf file
Really? I use it all the time with Solaris - it works just fine.
Op dinsdag 12 maart 2013 11:52:37 UTC+1 schreef Rajeev Iyer het volgende:
>
> Too many issues when it comes to Solaris installation. So moving to Chef..
>
> Thanks all..
>
--
You received this message because you are subscribed
will the differing (but officially supported) ruby versions
cause any problems with puppet even though all platforms will be running
the same version of Puppet?
Bill
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscr
/Using_Stored_Configuration
Additionally, if you are using haproxy as your load balancing
solution, there is already a module available that uses these features.
https://github.com/puppetlabs/puppetlabs-haproxy
Hope that helps.
Regards,
Bill
On 13-01-24 10:55 AM, Brian Malinconico wrote:
> Hello All,
>
Hi
I'm trying to configure Puppet-dashboard after installing Puppet from the
open source package. But there was no issues when using the Enterprise
package.
Do you have any solutions for the below error? I'm trying to configure
Puppet-dashboard.
# rake RAILS_ENV=production db:migrate
NOTE: Ge
posted reply in mcollective-users group. Sorry for duplicate posts.
On Friday, November 2, 2012 11:34:39 AM UTC-7, R.I. Pienaar wrote:
>
>
>
> - Original Message -
> > From: "Bill James" >
> > To: puppet...@googlegroups.com
> > Sent: Frida
trying to use mco to run commands on hosts I don't get the full list of
hosts.
Doing a command like "mco puppetd --with-fact domain=test.j2noc.com status"
returns a different number of hosts each time.
How do I get it to use the full list?
[root@billcent6 httpd]# mco puppetd --with-fact domain=t
Sounds like this bug:
http://projects.puppetlabs.com/issues/14974
On 12-10-05 10:22 AM, llowder wrote:
> I'm using Dashboard 1.2.10 on an Ubuntu 10.04 LTS system, and Puppet 2.7.19
>
> When I do an inventory search, I get a blank screen.
>
> In the logs, I found the following:
>
> Processing N
ation is then pieced together using the
concat module.
I believe that is what you are trying to accomplish here, and hopefully
you find it useful to see how it is done in another module.
Regards,
Bill
On 12-09-25 07:03 AM, Jon Ward wrote:
> Hi all,
>
> I'm attempting to use ex
On 12-09-20 10:36 PM, Hiu wrote:
> hi all,
>
> I would like to gather for the information that facter -p from the puppet
> client from a puppet master. How can i do it? thanks!
>
Hi,
Fact data of managed nodes is available in YAML format in the following
directory on the Puppet master:
/var/l
red. As for why they
did and why nothing was logged .. that I don't know.
Regards,
Bill Fraser
System Administrator
Pythian
On 12-07-26 10:37 AM, Matthew Barr wrote:
> We just saw an interesting scenario: Puppet 2.7.18 updated packages
> on a RHEL 6.2 box to a newer version without loggin
I ran into the same issue. The workaround is to checkout the v0.3.0 tag of
hiera-puppet.
Since I couldn't figure out a way to do it via the .fixtures.yml file I
created a new rake task in Rakefile:
desc "Checkout the correct tag release of hiera"
task :spec_prep_hiera do
Rake::Task[:spec_p
Any chance you ran 'setenforce 0' before you rebooted the server? :)
(SELinux caused the same problem for me)
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-user
toring the instance's SSL certificate and node
definitions in an S3 bucket, automating signing of the SSL
certificate, and using another Python script as a node classifier to
retrieve the node's definition from the S3 bucket.
Regards,
Bill
On 12-05-15 05:17 PM, Brian Carpio wrote:
> C
On Wednesday, May 16, 2012 4:20:23 PM UTC+2, Alex Harvey wrote:
>
> Thanks kindly to all for the thoughtful responses. I'll be looking
> closely at the idea of using load balanced Puppet servers.
>
> I wonder if anyone has any thoughts on the other problem I'm told I'll
> probably encounter, n
Autosign works, but not as you're expecting: it will sign new
certificates, but not overwrite existing ones. At least, that's my
experience here :)
--
Bill Weiss
Backstop Solutions Group
On 2012/4/24 3:34 AM, "C R Ritson" wrote:
>Does autosign work? I have a scratch
Sounds good.
One problem that I have with the forge is that the extent to which the
modules have been tested is not clear to me. Can I take it that the core
modules that ship with puppet will have been through a similar testing
cycle as puppet itself?
On Monday, April 23, 2012 11:03:39 PM UT
I didn't realise that would work.
Here's a trivial tested example derived from Felix's comment:
class mod::class($param1, $param2) {
file {"$param1/$param2": content => "Bla\n"}
}
class mod::class::sub1 inherits mod::class {
File["$param1/$param2"] {content => "Sub1\n"}
}
And then in th
You can only inherit from a parameterised class if you provide
defaults for all of the parameters (and then of course those are the
values that are used).
What you could do is just have a single class with something like a
type parameter. Then your class would have something like:
if $type == "lo
You need to use the adminfile and source parameters - once you have
done that the provider works just fine.
On Dec 28, 4:19 pm, Peter Berghold wrote:
> Hi folks,
>
> I'm about to propose to my current company that we use puppet to manage
> releases of home grown software. The environment is a mi
ng multiple arguments instead of an array.
>
Thanks, that works. I'm still going to look for finding a better solution. I
*quite* want to get upgraded. I suspect some of the "new to us" features
will make this easier. If nothing else I'd rather see a boolean variable
hand
r it usually means "manage this other file too").
Personally I'd love to be able to remove it as it seems clunky to me; but
failing that if someone can point out why it is failing in 2.6 and how to
fix it I would greatly appreciate it. I'm not much of a Ruby guy so while I
word for the root?
It's easier than you think! :)
If you run that .bin with -x on the command line, it will extract an RPM
for you to use. I do that once per new JDK and put it in our local yum
repository.
--
Bill Weiss
Backstop Solutions Group
--
You received this message becaus
> -Original Message-
> From: Nigel Kersten [mailto:ni...@puppetlabs.com]
> Sent: Saturday, April 02, 2011 7:05 PM
> To: puppet-users@googlegroups.com
> Cc: Bill Weiss
> Subject: Re: [Puppet Users] gems, ruby installs, and paths
>
> On Sat, Apr 2, 2011 at 4:29
opriate ruby did it. That only works if
your entire puppet config (including puppet itself?) works with that ruby, of
course.
Otherwise, I think the exec is it. Unless someone (one of us?) patches the gem
provider to take a PATH? I don't know if that's useful for anything other
comes through there. I'm the manager of the position so
please email me any questions you have.
Thanks! Feel free, of course, to forward this to any of your friends who could
use something new to do. I'll buy you a beer or two if you refer someone good
:)
(Our friendly hosts said t
The following would work:
node default {
class { sudoers: }
}
node 'sl11lab02' {
class { sudoers: additional_rules => [ "$rules_uas" ] }
}
On Mar 18, 12:03 am, Ashley Gould wrote:
> I am exploring usage of parameterized classes. I hit a wall when
> trying to override values of paramet
uglas Garstang wrote:
> On Sun, Mar 6, 2011 at 2:48 AM, Bill Proud wrote:
> > SSL_write is the function that writes to an SSL connection. Evidently
> > in this case there was an error - perhaps the connection was lost.
>
> This error is occurring on multiple clients at regular
SSL_write is the function that writes to an SSL connection. Evidently
in this case there was an error - perhaps the connection was lost.
Bill
> Okidoki. below is what appeared in the masterhttp.log file when this
> client tried to connect.
>
> [2011-03-06 06:46:34] ERROR
Sorry Jed I didn't realise that you didn't know about .puppet
directories. A .puppet directory is created in your home directory if
you accidentally run puppet as yourself and not as root. The problem
that I had was that sometimes puppetd was correctly reading SSL
settings from /var/lib/puppet/ss
What I find works is a configuration along the following lines:
node mirror {
$my_role = "mirror"
}
node 'mirror.example.com' inherits mirror {
include iptables
include basenode
include sendmail
include sshkeys
}
--
You received this message because you are s
I also had an intermittent error like this. If I looked in the
puppetmaster http log I saw that there were SSL errors on some runs
but not on all.
In the end I found that removing a .puppet directory that I had
inadvertently created solved my problem.
On Jan 5, 12:29 am, joe wrote:
> I have the
On Dec 20, 7:57 pm, Nick Moffitt wrote:
> I'd like to know the best way to fix the refresh/restart behavior of
> Service resources without using ensure => running.
>
> I know that this is an unpopular requirement, but I do not want puppet
> to restart dying services before my monitoring system not
er than doing a checkout you will
not get the .svn directories.
Bill Proud
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
The following would work:
class a {
if $x { notify "yeah!" }
}
node base {
$x = true
}
node test inherits base {
include a
}
On Nov 29, 12:21 pm, walexey wrote:
> puppet 2.6.3
>
> How i can make this work?
>
> class a {
> if ($b::x) { notify "yeah!" }
>
> }
>
> class b {
> $x=tr
m with the inheritance - I do pretty much the same thing.
Bill
On Oct 15, 10:05 am, Felix Frank
wrote:
> Hi,
>
> I'm transitioning a large-ish manifest from plain files with lots of
> import statements to modules.
> I used to heavily rely on a pattern like the following
>
&g
> -Original Message-
> From: puppet-users@googlegroups.com [mailto:puppet-
> us...@googlegroups.com] On Behalf Of Daniel Pittman
> Sent: Wednesday, June 02, 2010 1:36 AM
> To: puppet-users@googlegroups.com
> Subject: Re: [Puppet Users] do X if package Y is installe
.
--
Bill Weiss
Backstop Solutions Group
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to
puppet-user
2010/4/21 Jesús M. Navarro :
> I Bliss:
>
> On Wednesday 21 April 2010 20:33:26 Bill Weiss wrote:
>> All,
>>
>> I'm just getting started with puppet, so excuse any lack of vocabulary
>> in this email.
>>
>> I've got a server (CentOS 5.4
All,
I'm just getting started with puppet, so excuse any lack of vocabulary
in this email.
I've got a server (CentOS 5.4) running with a little more than the
example puppet configuration. Importantly, I'm using the supplied
auth.conf, and the relevant portion looks like this:
path ~ ^/catalo
y easy to setup.
Regards,
Bill
On Wed, Feb 3, 2010 at 12:05 PM, Daniel wrote:
> You're right. Should have spent some more minutes thinking about it.
> It's been a long day...
>
> On Wed, Feb 3, 2010 at 8:26 PM, Scott Smith wrote:
>> Daniel wrote:
>>>
>&g
The problem seemed to be that I had separated puppet.conf and
puppetmasterd.conf. After fujin enlightened me, everything worked
just as it's supposed to.
Thanks!
On Dec 10, 12:43 am, Bill <[EMAIL PROTECTED]> wrote:
> I've been trying to migrate from webrick to
ite(2, "\n", 1) = 1
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {0x46fb10, [INT], SA_RESTORER|
SA_RESTART, 0x369f0301b0}, 8) = 0
exit_group(1) = ?
Is there something I
71 matches
Mail list logo