Strange. It ended up being all my notify attributes quit working. A
restart of puppetserver solved the issue.
Kenton Brede
On Thu, Feb 2, 2017 at 3:24 PM, Kenton Brede wrote:
> As it turns out the agents.pp file is on my puppetmaster. If I comment
> out my 'mcollective'
bs/code/environments/production/modules/nagios/manifests/files.pp:7
Kenton Brede
On Thu, Feb 2, 2017 at 3:02 PM, Kenton Brede wrote:
> On ol7 boxes the puppet agent is working fine.
>
> This is what I have installed on one of my ol6 boxes:
>
> # rpm -qa |grep puppet
> mcollec
re is no agents.pp file on my systems.
This is an empty directory:
/etc/puppetlabs/code/environments/production/modules/
Anyone know how to recover from this? I'm in the process of trying to
provision a ol6 box and can't.
Thanks,
Kenton Brede
--
You received this message
I'm getting the same for:
Package puppetlabs-release-5-12.noarch.rpm is not signed
Package puppetlabs-release-6-12.noarch.rpm is not signed
Package puppetlabs-release-7-12.noarch.rpm is not signed
Kenton Brede
On Wed, Apr 20, 2016 at 4:11 AM, Jonathan Gazeley <
jonat
You change the "mode" to the permissions you want. What perms do you want?
Kent
Kenton Brede
On Thu, Mar 10, 2016 at 1:01 PM, Vicente Zepeda
wrote:
> Hello, I'm new to puppet, I'm using maestrodev/wget to get some file to a
> folder I created.
>
> fi
included in the repo and I stuck the files into Puppet and distributed them
to the correct directories.
Plugins are here:
https://github.com/puppetlabs?utf8=%E2%9C%93&query=mcollective-
Install guide is here:
https://docs.puppetlabs.com/mcollective/deploy/plugins.html
hth,
Kent
Kenton
That does indeed work. :)
Playing around this morning I also found that I could get a working
configuration starting with:
puppetserver gem install jruby-activemq
But using the older Puppet repo makes for a cleaner install.
Thanks Stefan,
Kent
On Fri, Jan 15, 2016 at 10:31 AM, Stefan Heijma
It doesn't look like PC1 includes middleware for mcollective. I'm not
finding documentation specifically for mcollective and PC1.
Is activemq still the preferred middleware?
If so, should I install the activemq (0.0.1) gem or the jruby-activemq gem
(5.5.1)?
How can I get the puppetmaster to see
ally people are interested in
> the activemq java package and not the activemq rubygem.
>
> [1] -
> https://docs.puppetlabs.com/puppetserver/latest/gems.html#gems-with-native-c-extensions
>
> On Fri, Dec 11, 2015 at 2:01 PM, Kenton Brede wrote:
> > Trying to install activem
Trying to install activemq on an Oracle Linux 7.2 box. Using
puppetlabs-release-pc1-1.0.0-1 which has puppetserver version 2.2.1.
Below is the command I ran and the resulting error message. I'm not a java
guy. Any advice appreciated. -- Thanks.
[puppet ~]# puppetserver gem install activemq
Bui
I'm wondering the same thing here.
Kent
On Wed, Jul 22, 2015 at 6:28 PM, Ellison Marks wrote:
> So, I'm going through the dance of upgrading to puppet 4.2 from 3.8 on
> CentOS 6, and I've run into a few things that brought up some questions.
> During the install, I ran into a number of collisio
The title pretty much says it all. I mostly manage RHEL 5 & 6 boxes that
come with ruby 1.8.7. The mcollective shell plugin requires ruby 1.9.
SCL might work for the RHEL 6 systems but not 5. Building everything from
source would work but certainly not ideal. I took a stab at managing ruby
wit
We're a small organization and all my servers are pets. I've made an
effort to keep site specific data out of the manifest, but I haven't been
able to completely.
Hiera has been a big help in getting us most of the way.
Is it even possible to have a clean manifest, when a person has pets to
mange
hange variables in the file either by hand or with another
> tool later and you do not want to change them back.
>
> Trevor
>
> On Mon, Oct 20, 2014 at 11:26 AM, Kenton Brede wrote:
>
>> I'd like to add a "this file managed by puppet" line to the top of the
>>
I'd like to add a "this file managed by puppet" line to the top of the
files I manage with augeas.
This works but is not idempotent. I could add an onlyif but then if I want
to change SELINUX to "off" I won't be able to, since the comment will
always exist.
augeas { 'selinux_config':
context =
I'm using OS Puppet 3.7.1. I'm using Hiera and *mostly* have our site
specific data out of our modules.
I could use some advice on how to handle the following two cases.
Case #1
node basenode {
include files # files common to all nodes
}
node 'hostname.example.com' inherits basenode {
in
I tested this and the match is working OK. What I got from what you posted
is the following:
Error: Failed to apply catalog: Validation of File_line[password policy
change] failed: When providing a 'match' parameter, the value must be a
regex that matches against the value of your 'line' paramete
080" and URIEncoding="UTF-8."
But I'm pressed for time and need to get going.
Hopefully this will get you down the road a bit further. Someone else may
chime in here with a better solution.
Kent
On Thu, May 8, 2014 at 11:29 AM, Pradeep Reddy wrote:
> Thx Kent.
>
Try something like this:
augeas { 'update_server.xml':
lens=> 'Xml.lns',
context =>
'/files/opt/apphome/apache-tomcat-7.0.53/conf/server.xml/Server/Service/Connector[*]/#attribute/',
incl => "/opt/apphome/apache-tomcat-7.0.53/conf/server.xml",
changes => ['ins URIEncodin
That's one combination I hadn't tried but it works!
Thanks,
Kent
On Tue, May 6, 2014 at 4:52 AM, wrote:
> On Wednesday, April 30, 2014 11:21:47 PM UTC+2, kbrede wrote:
>
> But when using the augeas type with the following:
>> changes => 'set \$database_password "\"test\""',
>>
>> The file entry
I'm using the phpvars lens for a cacti file, trying to set the password.
The file entry should look like:
$database_password = "testpass";
I can successfully set and save the password with quotes, while using
augtool:
augtool> set /files/usr/share/cacti/include/config.php/$database_password
"\"te
Not ab augeas expert but IIRC what I did in a similar situation is force
puppet/augeas to point to only one file.
Try adding "context," "incl," and "lens" to your augeas definition, like
the example below. By specifying the lens, I think it helps speed up the
augeas type also. At least I read th
If the end game is allowing users to add to a Puppet controlled file,
perhaps you can use concat, similar to the "class motd" example on this
page:
https://github.com/puppetlabs/puppetlabs-concat
Kent
On Thu, Apr 24, 2014 at 8:33 AM, Paul Tötterman wrote:
> Hi,
>
> I'm managing workstations u
There's an augeas lens that works with auth.conf, puppet_auth.aug. Would
using the augeas type work for you?
http://docs.puppetlabs.com/references/latest/type.html#augeas
Kent
On Tue, Apr 22, 2014 at 1:45 PM, Benjamin72 wrote:
> Hi,
>
> I would like to manage *auth.conf* file of puppet client
First, it looks to me like you have a typo. I don't have a my.cnf handy
ATM but I'd think "setbind-adress" should be "setbind-address."
Second, do you have "augeas-libs" installed on your target system? The
system you wish the changes to be made need
"/usr/share/augeas/lenses/dist/*" in place.
I'm no expert with augeas but after looking at the gs_init.ps file, I don't
know of any current lens that could be easily modified to work with it. I
agree with Mike, I'd either use file_line or an exec.
File_line is part of stdlib. Click on the "types" tab on this page for an
example.
https://
Click on the "types" tab on that page and you'll see the documentation for
"file_line."
Kent
On Mon, Apr 21, 2014 at 5:53 PM, Andreas Ntaflos wrote:
> On 2014-04-22 00:10, Joachim Schrod wrote:
> > On 04/21/14 19:42, Kenton Brede wrote:
> >> Look
Look into using "file_line," it's part of stdlib.
https://forge.puppetlabs.com/puppetlabs/stdlib
If you want to check for an existing line, using an "exec" you can use
"onlyif" or "unless."
Something like:
unless => "grep myline /path/to/file",
http://docs.puppetlabs.com/references/latest/type
Puppet from the repo uses ruby 1.8. Your ec2 instance is using ruby 2.0.
If you want to change which ruby version you're using on your ec2 servers,
you can run:
alternatives --config ruby
If ruby 1.8 isn't installed on your system, you'll need to install it
before you run the "alternatives" com
How about ending your script with a command that removes itself?
/bin/rm path_to_script
or
/bin/rm $0
Kent
On Tue, Mar 11, 2014 at 5:09 PM, nfwlpw wrote:
> So I have a puppet module, that gets a script from files/, runs that
> script, and after it's done, I'd like to remove it.
>
> Unfortunat
Thanks all! Hiera is smarter than I knew. This is great. :)
Kent
On Wed, Mar 12, 2014 at 1:42 PM, José Luis Ledesma <
joseluis.lede...@gmail.com> wrote:
> Try my code, its just what you want.
> El 12/03/2014 19:14, "Kenton Brede" escribió:
>
>> Thanks for the h
all:
> >
> > $basepackages = hiera_array('basepackages')
> > ensure_packages($basepackages)
> >
> > Then in hiera be define (or not) arrays of packages by os version, role,
> etc...
> >
> > -Jon
> >
> > On Wed, Mar 12, 2014 a
I'm in the process of moving to Puppet 3 and hiera.
With my old setup I placed users that were on all servers in basenode.
Then did a += for any additional users in the node definition.
node basenode {
users = ['user1', 'user2']
}
node server.example.com inherits basenode {
users += ['user3'
I want to add a server on top of the stack in ntp.conf like:
server time.example.com iburst
server 0.rhel.pool.ntp.org iburst
...
I came up with this:
augeas { 'ntp.conf':
context => '/files/etc/ntp.conf',
changes => [
'ins server before server[1]',
'set server[1] time.exam
2AM -0700, jcbollinger wrote:
> >On Friday, March 7, 2014 11:38:20 AM UTC-6, Christopher Wood wrote:
> >
> > (inline)
> >
> > On Fri, Mar 07, 2014 at 09:39:44AM -0600, Kenton Brede wrote:
> > >I've got a module that installs and co
I've got a module that installs and configures LDAP for user
authentication. I've got another module that creates user directories and
another that assigns ssh keys.
Using runstages I force the "ldap" module to run first and the "user" and
"ssh_keys" modules to run last.
LDAP is installed but th
Works great! -- Thanks.
On Wed, Mar 5, 2014 at 10:03 AM, Robin Bowes wrote:
> Have a look in stdlib for the keys function.
>
> R.
>
>
> On 5 March 2014 15:56, Kenton Brede wrote:
>
>> So in hiera I've got:
>>
>> users_common:
>> user1:
So in hiera I've got:
users_common:
user1:
ensure: present
home: /home/user1
managehome: true
user2:
ensure: present
home: /home/user2
managehome: true
I'm using "users_common" with a create_resources in one class but I'd like
to just pull o
On Wed, Feb 26, 2014 at 8:26 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> Hi,
>
> On 02/26/2014 03:18 PM, Kenton Brede wrote:
> > vmw_tools_purge:
> > - 'PURGE'
>
> not that you are defining an array here, not a string. That
So I've got a variable set in Hiera:
---
vmw_tools_purge:
- 'PURGE'
In the manifest, the following works fine:
$vmw_tools_purge = hiera('vmw_tools_purge')
notify { $vmw_tools_purge: }
But this does not work. The "if statement" is just ignored and notify
isn't triggered. What am I doing wr
I've got a situation where I need to remove a set of packages and then
install the upgraded versions. I can't just upgrade. It's rare that I
have to upgrade the software but I'd like to have something in place to
upgrade when I have to. What's the best way to handle these types of
situations wit
at 1:37 PM, Kenton Brede wrote:
> On Wed, Sep 14, 2011 at 12:33 PM, Gary Larizza wrote:
>>
>>
>> On Wed, Sep 14, 2011 at 11:12 AM, Kenton Brede wrote:
>>>
>>> I'm attempting to move from a working puppetmaster setup to
>>> Apache/Passenger.
On Thu, Sep 15, 2011 at 1:46 PM, Kenton Brede wrote:
> On Wed, Sep 14, 2011 at 11:30 PM, Ashwin N wrote:
>> Hi
>>
>> Passenger is a rack application - will run out of httpd .
>>
>> Have you got anything like the following in your passen
On Wed, Sep 14, 2011 at 11:30 PM, Ashwin N wrote:
> Hi
>
> Passenger is a rack application - will run out of httpd .
>
> Have you got anything like the following in your passenger (httpd)
> configuration file:
>
> DocumentRoot /etc/puppet/rack/public/
> RackBaseURI /
>
>
On Wed, Sep 14, 2011 at 12:33 PM, Gary Larizza wrote:
>
>
> On Wed, Sep 14, 2011 at 11:12 AM, Kenton Brede wrote:
>>
>> I'm attempting to move from a working puppetmaster setup to
>> Apache/Passenger. I'm following the instructions in the Pro Puppet
>>
I'm attempting to move from a working puppetmaster setup to
Apache/Passenger. I'm following the instructions in the Pro Puppet
book. I'm using the epel repo and running puppet 2.6.6. Passenger
version 3.0.9 from the stealthymonkeys repo. Running "puppetd -t -d"
doesn't seem to tell me anything
On Fri, May 28, 2010 at 11:15 AM, Michael DeHaan wrote:
> On Fri, May 28, 2010 at 11:57 AM, Kenton Brede wrote:
>> I'm running 0.25.4. What I'd like to do is place an array of users
>> under the default node. These users rarely change. Then within each
>> subs
I'm running 0.25.4. What I'd like to do is place an array of users
under the default node. These users rarely change. Then within each
subsequent node, have another array of users added to the original
array. These users change more frequently. These users are then be
snarfed into a template.
On Tue, Oct 20, 2009 at 8:45 PM, Ohad Levy wrote:
> Hi,
>
> I for one, thinks that the operatingsystemrelease fact should contain only
> the major number of the operating system, e.g. for Centos/Rehat 5.4 it
> should return just 5.
>
> the reason behind it is that I rarely use the full release ver
On Wed, Jan 14, 2009 at 1:32 PM, Jewels wrote:
>
> Hi,
>
> If I wanted to monitor and serve up every file in a folder) i.e
> all .db files in a folder for DNS server, is there an easy way to do
> it without having to list each file? Can I use wildcards? I don't have
> a test server right now, so
On Mon, Sep 29, 2008 at 1:30 PM, Digant C Kasundra <[EMAIL PROTECTED]> wrote:
>
>
> - "Kenton Brede" <[EMAIL PROTECTED]> wrote:
>
>> My question is, what's wrong with this setup? I ask this realizing
>> the smallness of our
>> opera
2008/9/25 Luke Kanies <[EMAIL PROTECTED]>:
>
> On Sep 16, 2008, at 12:16 PM, Digant C Kasundra wrote:
>
>>
>> Hello everyone,
>>
>> My team and I have been mulling over the module standards that were
>> proposed (http://www.reductivelabs.com/trac/puppet/wiki/ModuleStandards
>> )
>>
>> Members of o
Except foo::_files is a "syntax error"..
Kent
2008/9/23 Kenton Brede <[EMAIL PROTECTED]>:
> I vote for foo::_files.
> Kent
>
> 2008/9/22 Digant C Kasundra <[EMAIL PROTECTED]>:
>>
>> When things are fairly small, it isn't an issue and cer
differentiate is
> valuable, even if just for us OCD folks. :)
>
>
> - Original Message -
> From: "Kenton Brede" <[EMAIL PROTECTED]>
> To: puppet-users@googlegroups.com
> Sent: Tuesday, September 16, 2008 12:40:09 PM GMT -08:00 US/Canada Pacific
&g
2008/9/16 Digant C Kasundra <[EMAIL PROTECTED]>:
>
> Hello everyone,
>
> My team and I have been mulling over the module standards that were proposed
> (http://www.reductivelabs.com/trac/puppet/wiki/ModuleStandards)
>
> Members of our team like to break large classes up into tiny pieces, which
>
uot; was returned.
When puppetd ran as a daemon, the correct variable was returned.
The fix was to remove "/var/lib/puppet/yaml/facts/puppet.example.com.yaml."
Kent
2008/9/11 Kenton Brede <[EMAIL PROTECTED]>:
> I'm trying to create a custom fact. The following code works
I'm trying to create a custom fact. The following code works fine if puppetd
runs as a daemon but not from the command line. In other words if this runs
on server5 as a daemon, the return is correct, "confidential." But if
I run "puppetd -t"
from the command line "normal" is returned.
I don't
I tried it both ways, results are the same.
Thanks,
Kent
2008/9/8 Andrew Shafer <[EMAIL PROTECTED]>:
> It might be hosed, but try removing the trailing /. I only have email for
> the moment or I would confirm.
>
> On Mon, Sep 8, 2008 at 10:59 AM, Kenton Brede <[EM
2008/9/8 Andrew Shafer <[EMAIL PROTECTED]>:
> git clone name-of-repo is the easiest way to set it up
>
> try:
> git clone git://oppermannen.com/modules/git.git/
>
> git checkout switches between branches and git pull updates the local repo
I knew I should have mentioned all that I tried in my fir
2008/9/8 Thom May <[EMAIL PROTECTED]>:
>
> On 08/09/2008, Kenton Brede <[EMAIL PROTECTED]> wrote:
>>
>> The documentation says to look at an example README in the git module.
>> http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
>>
>>
The documentation says to look at an example README in the git module.
http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation
I installed git and tried to snag the repo but I get:
$ git checkout git://oppermannen.com/modules/git.git
fatal: Not a git repository
Anyone have a good example
61 matches
Mail list logo