help you
> dig in more.
> Maggie
>
> On Thu, Jul 8, 2021 at 9:03 AM Dave Beedle wrote:
>
>> Thanks for the quick response! This may apply, we may well manipulate
>> the certs...some of our processes predate me so, I'll poke around to see
>> if I can figu
; On Thu, Jul 8, 2021 at 8:02 AM Dave Beedle wrote:
>
>> We have, in the past, generated cert on our puppet server using:
>> /opt/puppetlabs/bin/puppetserver ca generate --ca-client --certname
>> test.out.domain --subject-alt-names
>>
>> But this began failing as
We have, in the past, generated cert on our puppet server using:
/opt/puppetlabs/bin/puppetserver ca generate --ca-client --certname
test.out.domain --subject-alt-names
But this began failing as we updated to Puppetserver v6.15.3. Seems to be
unhappy with some gems (log below). I have resinta
Hi all. We've been seeing some issues after updating from puppetserver
6.15.1 to 6.15.3. Initially we had suspected the puppet-agent (6.22.1) but
have backed that out. We also have updated PuppetDB 6.15.0 to 6.16.1.
It seems that, over time performance of the server drops. Puppet agent run
ti
After updating puppetdb from v6.7.3 to 6.11.3, the puppetdb dashboard
connects and begins to show data but stops after showing the version
number. The version number is correct. All else seems to work.
In the log there is:
2020-08-20T20:04:49.049Z WARN [o.e.j.s.HttpChannel] /pdb/dashboard/dat
Which really isn't telling me much about what's attempting to be detected,
what's reporting false when the test is expecting true.
Searching the github 'puppetlabs/puppet' repository for ProviderInit but
found nothing - so I can't workout what part of the source code i
re isn't even a provider attribute listed for
services anyway.
Any clue as to how/where puppet gets this from? So I can try and workout
what's up with my Gentoo box that makes puppet thinks it's using init.
Thanks
Dave
--
You received this message because you are subscribe
.
Is there a way to modify the existing file using augeas, and then check the
result against the live version, while keeping the code fairly
straightforward and self-contained within puppet?
Thanks
Dave
--
You received this message because you are subscribed to the Google Groups
&quo
I combine a the required augeas changes to the xml template file
before it's checked?
Should I use puppet to construct the new version in a temporary folder, and
the do a final file resource to compare the constructed version with the
live version?
Thanks in advance,
Dave
--
You receiv
Can somebody help me with what I'm doing wrong here? I want to copy all
sshkeys in the file resource of this puppet module to the machine:
class sshkeys {
file { '/etc/ssh/ssh.keys':
ensure => directory,
owner => 'root',
group => 'root',
source => "puppet:///sshkeys",
recurse =>
On Wednesday, January 28, 2015 at 9:45:04 AM UTC-5, jcbollinger wrote:
>
>
>
> On Tuesday, January 27, 2015 at 9:36:35 AM UTC-6, Dave Jablonski wrote:
>>
>> I am trying to generate separate jndi.xml files for a mule_config module
>> I'm building. Current se
I am trying to generate separate jndi.xml files for a mule_config module
I'm building. Current setup:
Filesystem setup:
/opt/mule-instance-a/conf/jndi.xml
/opt/mule-instance-b/conf/jndi.xml
etc, etc
Currently I have created a defined type named mule_config to create the
/opt/mule-instance-a d
n
from your own questions.
https://groups.google.com/forum/?fromgroups#!forum/puppet-users
Cheers,
Dave
-- N David Brown | Software Developer | Development Support and Integration
Team | OcadoTechnology.com | T: 01707 382197 | M: 07908 623472
--
Notice: This email is confidential and may co
At work we add a tag for when setting up the nagios checks in puppet
tag "nagios_env:$environment"
then when we realize or export the check
We link the generation to the tag
Nagios_serviceescalation <<| tag == "nagios_env:$environment" |>> {
require => Service["nagios"],
ut no
matter what, they never get honoured.
I could use the stage's to force the puppet class into a stage after main,
but that really shouldn't be necessary here.
Does anyone have any ideas about what I'm doing wrong?
Regards,
Dave
--
You received this message because you ar
though the tcpwrappers module does
run after the tftp module):
node 'toolbox' {
class {'tftp': }
}
node default {
class {'tcpwrappers': stage => 'post' }
}
Help?
...dave
--
You received this message because you are subscribed to the Google Groups "
Try using an erb template for your facts.yaml file. Its working well for
me so far.
# facts.yaml.erb
<%=
yaml = ["---"]
keys = scope.to_hash.keys.reject {|k| k.to_s =~
/(uptime_seconds|uptime_hours|timestamp|free)/}
keys.sort.each {|k| yaml << "#{k}: #{scope.lookupvar(k).to_s}"}
Try using an erb template for your content. Its working well for me.
1. ## facts.erb
2. <%=
3. yaml = ["---"]
keys = scope.to_hash.keys.reject {|k| k.to_s =~
/(uptime_seconds|timestamp|free)/}
4. keys.sort.each {|k| yaml << "#{k}: #{scope.lookupvar(k).to_s}"}
[On my dev server] For the past 3 days, my puppet master has shown all of
the hosts as unresponsive. However, when I log into one of the hosts and
run "puppet agent --test" everything seems to run without complaint.
Meanwhile the master shows an ever increasing number of pending tasks.
When I t
they can't be accessed by the new function definition.
I thought that might work to make them accessible from a require in a
standard Ruby file, having seen require be used at that scope in example
Puppet custom functions in the official documentation.
Cheers,
Dave
-- N David Brown |
ript to download and install python in a
consistent fashion on whatever system I happened to be setting up.
-dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsu
On Friday, October 26, 2012 2:31:56 PM UTC-4, Tim Mooney wrote:
>
> In regard to: [Puppet Users] Have Class Only Perform Actions When There
> Is...:
>
> I would highly recommend you just package your custom python and install
> it using a package management system, rather than doing what you'r
Yeah, the wget seems to be working. The archive library I am using is:
http://forge.puppetlabs.com/bobsh/archive
It runs irrespective of whether or not wget actually fetches anything,
however.
At this point, it seems that the exec type is the only thing that can
actually conditionally run (unl
Howdy. I feel like I am missing something really simply with regards to the
way that Puppet works and I am wondering if someone can point me in the
write direction.
I have written a class that downloads, uncompresses, compiles, and installs
Python from source. So far so good. The problem is tha
point me in the right direction. Is there a way that Puppet can test
whether or not expected functions are present, refuse to start if they are
not, and log a more informative error?
--dlloyd
On Wed, Jul 18, 2012 at 4:17 PM, Dave Lloyd wrote:
> Nan:
>
> Since my test module wor
Nan:
Since my test module worked and copying and pasting would be at best
cumbersome, I've just created a github project with my module:
https://github.com/ibikestl/puppet-netif
Examples should be in the tests.
Thanks again for your help on this,
--dlloyd
--
You received this message because
Nan:
I also coded up a test module using empty() and it works just fine, so it
seems that the issue is in how my module uses the empty() function. It
almost seems as though the empty() function is getting redefined somewhere
else, yet I don't find any other definitions anywhere in /etc/puppet/* .
On Mon, Jul 16, 2012 at 10:56 AM, Nan Liu wrote:
>
>
> empty() should be an rvalue function. In this case posting the empty()
> function would be more helpful than the puppet manifests.
>
> Nan
>
>
It's the standard one shipped with stdlib:
modules/stdlib/lib/puppet/parser/functions/empty.rb
#
#
Running 2.7.14 both on the client and server.
I've created a defined type for managing network interface IPs and static
routes. The routes are passed in as an array of hashes. I used the empty()
function to see if the array is empty before attempting to call another
defined type to write out the f
I'm using the empty function to test whether an array passed to my
defined type is empty (it's a function to set up network interfaces
and their routes if passed an array of routes). Unfortunately, I get
this error when trying to use the empty() function:
err: Could not retrieve catalog from remo
That sounds like a very elegant solution!
I'm thinking that this pattern could be useful for others, not just me. I'll
start a separate thread asking for a location to publish and critique recipes.
/d
--
This email and any files transmitted with it are confidential and intended
solely for the u
ll definitely model the service
dependencies.
My "plan A" right now is that when the slow-running service is up and
running it will tell Puppet to run. I haven't really thought about how this
would work for multiple instances of the slow-service, I'm pretty sure
that's n
until
the dependency is resolved and the reliant service can be configured
I'm imagining something like a semaphore, puppet sleeps and wakes up when the
semaphore is flipped (the slow resource is available)
Sorry if this is a dumb question, first post etc ...
Thanks
Dave
--
This email a
No problem at all, Gabriel. These machines are running a firewall distro
and have multiple NICs so that's why I need the custom facter for getting
the correct IP.
On Apr 21, 2012 6:54 PM, "Gabriel Filion" wrote:
> Hey, sorry to butt in for just a small comment:
>
> On
It just contains the output of "hostname -i "
On Apr 21, 2012 12:52 PM, "Christopher Wood"
wrote:
> What does the custom facter variable contain?
>
> On Sat, Apr 21, 2012 at 08:03:32AM -0700, thinkwell wrote:
> >Ahah, I made a custom FACTER variable in my .bashrc file and that bash
> >env
Well, I tried adding the full command path, and set the cron job to
cron.hourly but that didn't work. :-(
The reason I used a cron job (managed by Puppet as a file) was so that
anacron would run the job on reboot if the system was down at 4:00 AM
Sunday. I only need once-a-week running, but I do w
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at
tions of how to further debug.
Thanks!
dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscr...@g
https://github.com/rodjek/puppet-profiler ?
-Dave
On Jan 19, 7:12 am, Jake - USPS wrote:
> So recently I deployed some new puppet code in our environment and
> noticed CPU utilization on our puppetmasters went up a bit. This lead
> me to wonder what exactly did I add to caus
OS 6.2 clients and I don't believe they've locked up - but many of my
SL 6.1.
Unfortunately, restarting puppet "fixes" the problem for a random amount of
time.
I haven't had time to dig into this any further - I was sorta hoping it was a
RHEL/CentOS/SL 6.1 issue that is fix
On Nov 30, 2011, at 8:04 PM, Nan Liu wrote:
> On Wed, Nov 30, 2011 at 7:41 PM, Dave Alden wrote:
>> Is there some way to have an exec run only if you pass a tag on the command
>> line? For example:
>>
>> class fubar {
>> exec { 'reboot-system'
pect, this throws an error the it can't find the dummy class. Any
suggestions on how I could accomplish this?
...dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegro
uppet throw an error in this situation - it
might help future idiots like me. :-)
...dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this gro
catalog for ns2.math.osu.edu
info: Applying configuration version '1319642997'
notice: notify: after firewall statement
notice: /Stage[main]/Snmp::Config/Notify[notify: after firewall
statement]/message: defined 'message' as 'notify: after firewall statement'
notice: Fin
ge in my iptables firewall (nor am I seeing
anything about the firewall module in the debug output). Do I have to include
another command to get this to take affect?
...thnx,
...dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
T
Thank you! Indeed, the current "1.2rc" branch fixed it.
--
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-users/-/3z0YYPuRJ6AJ.
To post to this group, send email to p
uld this be the result of updated gems in rc5?
Cheers!
Dave
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-user
manifest using an apache module, I add a website.
Puppet creates the apache configs, etc, etc and now that web site will
need a DNS entry for clients to use.
Thanks,
Dave
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to
incomplete without good auditing.
r
Ditto to all this. Our QSA will be a happier person... and that makes us
all happy!
Dave
--
You received this message because you are subscribed to the Google Groups "Puppet
Users" group.
To post to this group, send email to puppet-users@googlegroups
On each client, in puppet.conf:
[main]
environment = test
The end result is 3 sets of manifests and modules. I then can move a
module between the environments as needed.
Thanks,
Dave
--
You received this message because you are subscribed to the Google Groups "Puppet
Users"
Very interested! I am in the midst of rolling out a brand new collection of
servers, all Linux. This couldn't be more timely.
Thanks,
Dave Augustus
On Feb 22, 2011, at 6:20 PM, "Steve Shipway" wrote:
> I've created a Puppet module which will check a specified user for
/etc/puppet/ssl which is not what I wanted but the only way I could get
it to run.
Thanks,
Dave
On 02/01/2011 10:56 AM, Mark Stanislav wrote:
Dave,
Just wondering if you tried to make a temporary symlink from
/var/lib/puppet/ssl to /etc/puppet/ssl to see if the error changes or goes away
.2.2)
activerecord (2.2.2)
activeresource (2.2.2)
activesupport (2.2.2)
daemon_controller (0.2.5)
fastthread (1.0.7)
file-tail (1.0.5)
mysql (2.8.1)
passenger (2.2.5)
rack (1.1.0)
rails (2.2.2)
rake (0.8.7)
rubygems-update (1.3.6)
spruz (0.2.2)
Thanks for your help,
Dave
--
You received thi
On 01/27/2011 06:54 AM, Felix Frank wrote:
On 01/27/2011 01:11 PM, Dave Augustus wrote:
Hello All,
I can't get puppetmaster to run at all...
I feel foolish... the partition was full
time to install nagios!
Dave
--
You received this message because you are subscribed to the G
7-2
rubygem-rake-0.8.7-2.el5
rubygems-1.3.1-1.el5
ruby-irb-1.8.6.287-2
ruby-ldap-0.9.7-3.el5
ruby-libs-1.8.6.287-2
ruby-mysql-2.7.3-1.el5
ruby-rdoc-1.8.6.287-2
ruby-RRDtool-0.6.0-6.el5
ruby-shadow-1.4.1-7.el5
On Centos 5.5 x86_64.
Thanks for your help,
Dave
--
You received this message because
Our client is based in Palo Alto. They are looking for a senior level
Linux admin with the following experience:
-8 to10 years plus of Linux administration
-2 to 3 years ofPuppet or cfengine automation deployment experience.
-Perl and Java scripting
-7/24 production environment
- must be able to w
On May 21, 2010, at 8:26 PM, Andrew Heagle wrote:
On May 21, 2010 08:51:59 am Dave Augustus wrote:
I have moved my node defs from files to LDAP but puppetmaster can't
find
them.
I am using puppet 25.4-1.el5 with 389 ldap server and I have
configured
puppetmaster to use LDA
hassubordinates: FALSE
numsubordinates: 0
subschemasubentry: cn=schema
Why can't puppetmaster see my node defs?
Thanks,
Dave Augustus
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-
asks in parallel),
tasks (prompt user input), and state (variables).
I hope these ideas contribute to a useful orchestration model for
puppet. I want as much feedback as I can get, my direct email is dave
(AT) peoplemerge (DOT) com.
Dave Thomas
--
You received this message because you are subs
I solved the duplicate definition error with virtual resources and realize.
I have a base class base::packages which lists every package I could want as
a virtual resource i.e.
@package{"mod_ssl":
provider => yum,
ensure => present
}
This class is included for every host and when ever I need
Yes - any view of the presentations would be much appreciated!
Thanks in advance,
Dave
On Sep 21, 10:14 pm, Marc Fournier
wrote:
> > (I'm working angles to see if we can get presentations
> > streamed/recorded.
>
--environment=testing --masterport=8141 --test
Everything is working now.
On Thu, Sep 17, 2009 at 6:11 PM, Dave O wrote:
> I am trying to setup two branches on my puppet server.
>
> /etc/puppet will be the production one
> /etc/puppet.testing will be testing.
>
> I have everyth
I am trying to setup two branches on my puppet server.
/etc/puppet will be the production one
/etc/puppet.testing will be testing.
I have everything working except when on a client I run
puppetd --test --masterport=8141 (which is the testing one) it will
use
/etc/puppet.testing/manifests/nodes.
You mentioned that each Fedora install was running in its own VM. Is
TCP functional in those VM's and are they able to communicate with
each other ?
Cheers
Dave
On 27/05/2009, at 1:02 AM, Pieter Barrezeele wrote:
>
>
> On 26 May 2009, at 13:27, SteveCriscuoli wrote:
>
ame => $operatingsystem ? {
default => "sshd"
},
enable => true,
ensure => running,
require => Package[$ssh_packages]
}
Cheers
Dave
On 17/03/2009, at 12:03 AM, Felix Schäfer wrote:
>
>
Would require => Package[$packagelist] fit the bill ?
Cheers
Dave
On 16/03/2009, at 11:28 PM, Keith Edmunds wrote:
> I want to be able to do a "require => Package["wspkgs"]. How can I
> achieve
> that?
>
> Thanks,
> Keith
--~--~-~--~~---
I think this is fixed in 0.24.6, at least that is when it started e-mailing
me error's. I had actually forgotten I tried setting this up and it took me
a few minutes to realized why I was suddenly getting these e-mails.
--dn
On Thu, Jan 22, 2009 at 4:01 AM, Lucas Di Pentima
wrote:
>
> -BEGIN
I tried it on a whim and I had to have the groups option set for the user
even if I didn't want him to belong to groups beyond his primary group. So I
did something like this.
user { "arnaubria":
ensure => present,
gid=> "31401",
home => "/nfs/pic.es/user/a/a
"puppetd --server=YOUR PUPPET MASTER" should get you rolling. I believe by
default puppet looks for a server named puppet in the DNS search path.
--dn
On Mon, Sep 29, 2008 at 2:41 PM, dd-b <[EMAIL PROTECTED]> wrote:
>
> Following up to myself to add that I performed the obvious test of
> trying
Robert,
The rrdtool-ruby package didn't work for me either I had to use the rubygems
version in order to have it start creating the rrd files. Took me a couple
of hours to figure that out since it didnt log anything that would give me
an idea of were to look.
--dn
On Fri, Sep 26, 2008 at 2:20 P
now I think e-mail filters
will be the way to go.
Thanks
--dn
On Sat, Sep 20, 2008 at 2:08 PM, Mark Drayton <[EMAIL PROTECTED]> wrote:
>
> Hi Dave
>
> On Sep 19, 10:33 pm, "Dave Nash" <[EMAIL PROTECTED]> wrote:
> > I am trying to setup reporting using ta
I am trying to setup reporting using tagmail so that it will e-mail me when
it receives errors running the catalog on a node.
I setup my tagmail.conf with "err: [EMAIL PROTECTED]" using the hint from
Pulling strings with Puppet and I don't receive any e-mails. If I switch
"err" to "all" I get a
72 matches
Mail list logo