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 mix of Solaris
8/9/10 and RHEL 56.
I've got a handle on how to create recipes to release software into the
RHEL environment. The unknown for me is how to
given a structure like this:
$accounts={ usera={},userb={what's in here's not the point},userc={} };
$account_keys=$accounts.keys
... been reading up on Ruby. :-)
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed
Hi folks,
For the first time since I started playing with puppet I started down the
road of using exported resources This was inspired by my reading all of the
nagios related recipes that went something along the lines of
class nagios {
package {nagios: ensure= latest }
service
Actually I am using | (pipes) and not exclamation marks in my actual
recipe. Not sure why the exclamation mark showed up. :-/
On Tue, Jan 17, 2012 at 11:42 AM, Nan Liu n...@puppetlabs.com wrote:
On Tue, Jan 17, 2012 at 8:38 AM, Peter Berghold salty.cowd...@gmail.com
wrote:
Hi folks
Here are the actual class definitions:
class nagios::server inherits nagios {
include gd
case $operatingsystem {
Debian: { include nagios::server::debian}
Gentoo: { include nagios::server::gentoo}
default: { }
}
Nagios_host | |
I have become fully convinced that running puppetmasterd in debug mode is
hot stuff. I found the following deficiencies in my setup and fixed them:
- Doing some random reading I needed to add storeconfigs=true to my
master section of puppet.cfg
- After doing that I got complaints
what does this mean?
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Exported resource Nagios_contact[sharkrivertech-support] cannot override
local resource on node slcdmon0.slc.sharkrivertech.com
warning: Not using cache on failed catalog
err: Could not retrieve catalog;
The sqlite3 backend is now complaining it can't find the table hosts.
How to fix? Not sure how I got here...
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this
felix.fr...@alumni.tu-berlin.de wrote:
Hi,
On 01/17/2012 09:27 PM, Peter Berghold wrote:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Exported resource Nagios_contact[sharkrivertech-support] cannot override
local resource on node slcdmon0.slc.sharkrivertech.com
I guess my kludge didn't work after all. The issue is back. I'm beginning
to think that perhaps there is something bad about exporting nagios_contact
resources. :-/
On Wed, Jan 18, 2012 at 9:13 AM, Peter Berghold salty.cowd...@gmail.comwrote:
That was my first thought Felix. I ran
So I should logic in to export it just one time...
On Jan 18, 2012 12:07 PM, Nan Liu n...@puppetlabs.com wrote:
You probably have multiple server exporting the same resource when you only
intend to export this particular resource only once.
Nan
On Jan 18, 2012, at 7:59, Peter Berghold
err: Could not send report: end of file reached
what is that?
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
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.
It happens on the agent side. Both ends of the connection stayed up.
On Jan 22, 2012 5:50 PM, Stefan Schulte stefan.schu...@taunusstein.net
wrote:
On Sun, Jan 22, 2012 at 04:05:47PM -0500, Peter Berghold wrote:
err: Could not send report: end of...
Do you see this error on the agent side
It seems to consistantly happen on one host in particular and randomly on
others.
On Jan 22, 2012 6:16 PM, Stefan Schulte stefan.schu...@taunusstein.net
wrote:
On Sun, Jan 22, 2012 at 05:57:50PM -0500, Peter Berghold wrote:
It happens on the agent side. Both...
do get the error message
Using the instructions I found here:
http://docs.puppetlabs.com/guides/installing_dashboard.html
I've run into a snag at the point where you run:
rake RAILS_ENV=production db:migrate
It fails with the following error:
puppet-dashboard]# rake RAILS_ENV=production db:migrate (in
On Mon, Jan 23, 2012 at 5:10 PM, Michael Stahnke stah...@puppetlabs.comwrote:
OS
CentOS release 5.7 (Final)
ruby version
ruby 1.8.5 (2006-08-25) [x86_64-linux]
rubygems version
1.3.1
gem list
*** LOCAL GEMS ***
actionmailer (2.1.1)
actionpack (2.1.1)
activerecord (2.1.1)
On Tue, Jan 24, 2012 at 11:34 AM, Michael Stahnke stah...@puppetlabs.comwrote:
Dashboard isn't supported (and doesn't really work) on Ruby 1.8.5.
1.8.7 is the minimum requirement. Can you try EL6?
Oh man...
Here is what the installation docs say:
Ruby
I think I'm gonna give up on dashboard. Now that I have ruby 1.8.7
(2011-12-28 patchlevel 357) [x86_64-linux]
installed there are new messages being spewed:
rake --trace RAILS_ENV=production reports:migrate
NOTE: Gem.source_index is deprecated, use Specification. It will be removed
on or after
On Tue, Jan 24, 2012 at 1:59 PM, Randall Hansen rand...@puppetlabs.comwrote:
You may have other issues (aside from the mass of deprecation warnings
... ew), but this makes it look like you're missing the rdoc gem.
puppet-dashboard]# gem list
*** LOCAL GEMS ***
actionmailer (2.1.1)
:
If you didn't specifically configure Puppet to use Passenger then
you're using Mongrel by default. Scalability = false.
On Tue, Jan 24, 2012 at 8:24 AM, Peter Berghold salty.cowd...@gmail.com
wrote:
On Sun, Jan 22, 2012 at 7:54 PM, Stefan Schulte
stefan.schu...@taunusstein.net wrote
Hi folks,
Over the last week or so I've been banging my head against the wall trying
to get dashboard working and trying to figure out why end of file reports
are happening during some of my puppet runs. In the process of hacking
around I've managed to trash my puppetmaster so I'm going to do
:
inline
On Wed, Jan 25, 2012 at 09:48:27AM -0500, Peter Berghold wrote:
Hi folks,
Over the last week or so I've been banging my head against the wall
trying
to get dashboard working and trying to figure out why end of file
reports are happening during some of my puppet
Just got done installing apache2, passenger, puppet, dashboard over the
day...
Ran my first puppetd --test and got the following:
# puppetd --test
info: Loading facts in root_home
info: Loading facts in facter_dot_d
info: Loading facts in concat_basedir
info: Loading facts in root_home
info:
master and agent are on the same box. they should be the same version.
On Wed, Jan 25, 2012 at 3:53 PM, Nigel Kersten ni...@puppetlabs.com wrote:
This looks like you've got a puppet agent that is newer than the version
of your master.
On Wed, Jan 25, 2012 at 12:36 PM, Peter Berghold
}
Do you get different versions returned for:
$ puppet --version
$ puppetd --version
On newer installs you should be using puppet agent instead of puppetd
(We moved to git-style subcommands a while ago)
On Wed, Jan 25, 2012 at 1:03 PM, Peter Berghold salty.cowd...@gmail.com
wrote:
master
Just for completeness:
# type --all puppet{,d,masterd}
puppet is /usr/bin/puppet
puppetd is /usr/bin/puppetd
puppetmasterd is /usr/bin/puppetmasterd
# puppet --version
2.7.9
# puppetd --version
2.7.9
# puppetmasterd --version
2.7.9
On Wed, Jan 25, 2012 at 4:37 PM, Peter Berghold salty.cowd
masters and I'll dig into this a bit more if I can
repeat it.
Thanks,
Nan
On Wed, Jan 25, 2012 at 4:57 PM, Peter Berghold salty.cowd...@gmail.com
wrote:
Just for completeness:
# type --all puppet{,d,masterd}
puppet is /usr/bin/puppet
puppetd is /usr/bin/puppetd
puppetmasterd is /usr
do |env|
server.process(env)
end
# Go.
run app
On Thu, Jan 26, 2012 at 10:19 AM, Peter Berghold salty.cowd...@gmail.comwrote:
Based on what Nigel said I checked my auth.conf file lo and behold it was
MIA. Don't know why but I created a new one at any rate and tried again.
Still
... to which puppet, passenger, activerecord and dashboard should be
installed in?
This is my third try at getting these three to play nice together and my
third epic fail.
puppet is now complaining about
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not
What the heck does this mean?
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
undefined method `fact_merge' for nil:NilClass
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Only seems to be happening on one host in particular...
Hi folks,
I noticed an interesting problem with the nagios_* providers especially in
Debian. Besides writing to the wrong file (I fixed that issue) I've
noticed there is a umask issue where the config files end up being owned by
root with perms 0640. This causes nagios to spit milk out of its
I ran into an issue a while back on my puppet master where I had upgraded
puppet and the result put the puppet executables in a different directory
than I expected. The /etc/init.d script that I used to start puppet master
was looking in the old directory and starting the wrong version.
Be sure
On Wed, Feb 8, 2012 at 1:16 PM, Peter Berghold salty.cowd...@gmail.comwrote:
Hi folks,
After installing dashboard after follwing the instructions here:
http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html
I find that the reports are not uploading. In my puppet.conf
On Thu, Feb 9, 2012 at 4:40 PM, Russell Van Tassell russel...@gmail.comwrote:
The silly question... that's in the agent's puppet.conf, not just in the
agent section of the puppet.conf on the puppet master?
Yes. It is universally in all my agent puppet.conf files.
Have you restarted the
what does dashboard consider a class? what does dashboard consider a
group? Is there documentation for all this that I've missed?
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
The nice thing about standards is that there are so many to choose from.
-- Andrew S Tannenbaum
Debian does wonky things when you install a gem from gem install.
Usually this isn't a problem unless there are executables to consider.
I am running into that very thing with the puppet-module script
Do I remember correctly that puppet-forge is no longer accepting uploads?
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to
in question was a tar.gz file yet nothing I did seemed
to fix the problem. I'll try again later and see if I have better luck..
On Mon, Feb 20, 2012 at 11:24 AM, Nigel Kersten ni...@puppetlabs.comwrote:
On Mon, Feb 20, 2012 at 7:06 AM, Peter Berghold
salty.cowd...@gmail.comwrote:
Do I
Hi folks,
Went back and did some more reading and found the intriguing entry in the
Dashboard documentation
The classes the console knows about are a subset of the classes in your
puppet master’s collection of modules. You must add classes to the console
manually if you want to assign them to
On Fri, Mar 2, 2012 at 12:55 AM, Romeo Theriault
romeo.theria...@maine.eduwrote:
In the Dashboard, when they say classes they really mean module.
This begs a follow-on question:
if classes == modules in Dashboard then maybe I need to take a second look
here.
The module that I am writing
Is there something on the puppet master or puppet agent that needs to be
tweaked for class assignments to be picked up form dasbhboard when a puppet
agent runs?
wondering if I missed something...
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message
In Perl we have the functionality of
if ( defined($somevar) ) {
... do something
}
Is there an equivalent you can use within a puppet manifest?
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
--
You received this message because you are subscribed to the Google
My puppet master server has a fqdn of chidpmaster.some.domain.tld with a
cname pointing to it of puppet.domain.tld.
For the first time since I started playing around with puppet I'm now
seeing an error when applying a template --
err: /Stage[main]/Sudo/File[sudoers]/content: change from
I actually have figured this out (with some help from the list.) Seems I
was encountering a PEBKAC error. :-)
I hadn't set up puppet to use dashboard for external node classification.
(so that's what it's useful for! hmmm...)
--
Peter L. Berghold
Owner, Shark River Technical Solutions LLC
On Fri, Mar 2, 2012 at 1:45 PM, Peter Berghold salty.cowd...@gmail.comwrote:
My puppet master server has a fqdn of chidpmaster.some.domain.tld with a
cname pointing to it of puppet.domain.tld.
Figured this one out on my own. Seems in my site.pp file I have:
filebucket { main:
server
Folks,
I haven't tried this yet, but I certainly intend to.
If I set up an exported file definition such that:
@@file{'munin-node-file':
content= template('blah'),
path = /etc/munin.d/${hostname}.cfg
}
and then
File 'munin-node-file'
Do I understand correctly that I
Munna,
Here is a typical module tree:
xinetd/
|-- manifests
| `-- init.pp
`-- templates
I chose this module as my pattern for you to look at because it is a very
simple module.
In your case I'd be creating
puppetcron/
`-- manifests
with a single file init.pp with a single class:
class
Check this out:
]# yum -y list available | grep nrpe
nagios-plugins-nrpe.x86_642.12-16.el6
epel
nrpe.x86_64 2.12-16.el6
epel
so there's a package named nrpe there.. right?
so why do I see this when I run the puppet agent?
err:
Has anybody seen symptoms of a memory leak within the dashboard (or in ruby
itself?) A couple of times my puppet master server has gone off in the
weeds with an error message to the console about being out of memory. The
messages point the finger at apache and ruby.
--
Peter L. Berghold
I saw that when the userid puppet did not exist on a system.
On Wed, Mar 14, 2012 at 3:00 PM, Justin Lloyd jstn...@gmail.com wrote:
I'm suddenly getting the below errors from Rack during puppetd -t
(excerpted from the pink HTML output and cleaned for readability):
Could not prepare for
Figured this one out finally.
Some background first: The system in question is running the ISPManager
control panel is and is my shared hosting platform. I mention that because
apparently during the installation of ISPManager there are repos added to
the repo list by the ISPManager installer and
I should imagine that if you wrote custom facts you'd get what you're
after. If my understanding is correct facts get shipped to the puppet
master as part of the inventory service.
Having said that puppet-dashboard will already show you what is in your
inventory for each node if you have the
OK... this is similar to something that I've been scratching my head over...
Given something like
@@file { blah: ${hostname}: }
and
@@file {foo: ${hostname}: ...}
I'm going to have a bunch of exported resources
On one system I want to instantiate all the blah: and on another foo:
what
Latest stable means two different things between the maintainers of Debian
and puppet.
On Apr 5, 2012 7:19 AM, Christophe L cl.subscript...@gmail.com wrote:
Hello,
I have installed puppet on debian-squeeze using aptitude / apt-get but
I got the version 2.6.2 of Puppet.
After some research, I
Kaya,
The manifest file(s) are something you create to tell puppet what you want
done. Starting with a file in (normally) /etc/puppet/manifests/site.pp
HTH
On Tue, Apr 10, 2012 at 7:18 AM, Kaya Saman kayasa...@gmail.com wrote:
Hi,
I am totally new to Puppet and for the last few weeks
On Tue, Apr 10, 2012 at 9:17 AM, Kaya Saman kayasa...@gmail.com wrote:
T
[root@ps ~]# /opt/puppet/bin/puppet agent --test
info: Retrieving plugin
err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional
resources using 'eval_generate: getaddrinfo: Name or service not known
err:
On Tue, Apr 10, 2012 at 10:19 AM, Kaya Saman kayasa...@gmail.com wrote:
err: Could not send report: hostname was not match with the server
certificate
on the client run the command
facter fqdn
what does the host think its name is?
--
Peter L. Berghold
Owner, Shark River Technical
-a
Linux pc.jabber.com 3.3.0-4.fc16.x86_64 #1 SMP Tue Mar 20 18:05:40 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
[root@pc ~]# hostname -a
pc
[root@pc ~]# facter fqdn
pc.jabber.com
Regards,
Kaya
On Tue, Apr 10, 2012 at 4:01 PM, Peter Berghold salty.cowd...@gmail.com
wrote
--waitforcert=1
[root@pc puppet]#
Is this correct?
On Tue, Apr 10, 2012 at 4:15 PM, Peter Berghold salty.cowd...@gmail.com
wrote:
Try the following:
On the puppet master host:
cd /etc/puppet/ssl/ca/signed and remove the signed cert you generated
before.
On the client host
,
Kaya
On Tue, Apr 10, 2012 at 4:34 PM, Peter Berghold salty.cowd...@gmail.com
wrote:
Eh? What platform are you running on and why /etc/puppetlabs?
On Tue, Apr 10, 2012 at 11:31 AM, Kaya Saman kayasa...@gmail.com
wrote:
Ok quick update... turns out the signed dir
April 2012 10:51:00 PM IST, Peter Berghold wrote:
OK
This is why I took you down the path I did. Essentially what you
want to have happen is the client should generate its own cert and
during its first interaction with the master get it signed by the master.
On Tue, Apr 10, 2012 at 12:17 PM
® wireless device
From: Peter Berghold salty.cowd...@gmail.com
Sender: puppet-users@googlegroups.com
Date: Tue, 10 Apr 2012 13:40:29 -0400
To: puppet-users@googlegroups.com
ReplyTo: puppet-users@googlegroups.com
Subject: Re: [Puppet Users] Puppet not creating
what's in your resolv.conf?
On Fri, Apr 13, 2012 at 6:59 AM, Kaya Saman kayasa...@gmail.com wrote:
On Wed, Apr 11, 2012 at 1:20 PM, Peter Berghold salty.cowd...@gmail.com
wrote:
Kaya,
Did you clean out:
/var/lib/puppet
/etc/puppet/ssl
before you re-ran?
The error you
On Mon, Jun 11, 2012 at 11:46 AM, Azfar Hashmi azfarhas...@gmail.comwrote:
Any idea why it always hanging at this class?
Without some code to look at it would be hard for anybody to take a guess...
Peter L. Berghold salty.cowd...@gmail.com
http://blog.berghold.net
“If A
I've considered changing up my monitoring solution but I've stayed with
Nagios and Munin for a while. Nagios gives me monitoring and Munin gives
me metrics. Since I have quite a bit invested in home grown plugins for
Nagios I lack incentive to change at this point.
Peter L. Berghold
On Mon, Jul 2, 2012 at 3:01 PM, Ashley Penney apen...@gmail.com wrote:
It might be totally unrelated but check for ksoftirqd and see if it's
running with high CPU. The leap second the other day caused all my
puppetmasters to spike up to 100% CPU and other people had similar problems.
Glad
%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16
On Wed, Jul 11, 2012 at 10:46 AM, Matthias Saou matth...@saou.eu wrote:
On Wed, 11 Jul 2012 10:39:44 -0400
Peter Berghold salty.cowd...@gmail.com wrote:
Yet another reason for me to rebuild that machine with Debian
%2Fwww.wisestamp.com%2Femail-install%3Futm_source%3Dextension%26utm_medium%3Demail%26utm_campaign%3Dpromo_16
On Wed, Jul 11, 2012 at 11:03 AM, Matthias Saou matth...@saou.eu wrote:
On Wed, 11 Jul 2012 10:55:07 -0400
Peter Berghold salty.cowd...@gmail.com wrote:
[peter@chits1 manifests]$ ruby -v
On Mon, Oct 8, 2012 at 12:35 PM, Josh Cooper j...@puppetlabs.com wrote:
More details here:
http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#puppet-master-web-server-changes
Got past stage and thank you for that.
Now I'm seeing:
# puppet agent --test
err: Could not retrieve
On Mon, Oct 8, 2012 at 2:01 PM, Throwe, Jesse je...@throwe.com wrote:
That your missing activerecord (or at least the right version of it).
Try `gem list` to see if activerecord is present.
That's what bugs me. Here is active record:
activerecord (3.2.8, 2.3.5)
Does the fact that I have two
OK... now I'm a bit frightened. I don't know what I did to make the
problem go away (I didn't edit anything..) but the problem is now fixed...
Computers are so naughty
--
Peter L. Berghold salty.cowd...@gmail.com
http://blog.berghold.net
--
You received this
On Mon, Oct 8, 2012 at 3:11 PM, Josh Cooper j...@puppetlabs.com wrote:
Are you using storedconfigs: http://projects.puppetlabs.com/issues/16698
Yep... out of necessity. Am I reading into this right? Enable stored
configs and you break ENC?
--
Peter L. Berghold
On Mon, Oct 8, 2012 at 3:08 PM, Josh Cooper j...@puppetlabs.com wrote:
http://projects.puppetlabs.com/issues/16770
Maybe I need to backdate to something before 3.0? Seems stored configs
is interfering with dashboard as an ENC...
--
Peter L. Berghold
Got the following:
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not autoload package: Could not autoload
/usr/local/lib/site_ruby/1.8/puppet/provider/package/windows.rb: no such
file to load -- windows/error at
/etc/puppet/modules/php/manifests/init.pp:28 on node
Found the issue with respect to the error I posted earlier. Seems I had to
backdate facter as well as puppet to make the issue disappear.
--
Peter L. Berghold salty.cowd...@gmail.com
http://blog.berghold.net
--
You received this message because you are subscribed to
On Tue, Oct 9, 2012 at 11:52 AM, Michael Stahnke stah...@puppetlabs.comwrote:
The contents of that php/manifests/init.pp file might be helpful here.
It actually turned out to be totally unrelated to the PHP module. When I
backdated to 2.7.11 I needed to do two things as it turns out.
1.
What does this error mean?
Could not retrieve macaddress: undefined method `exec_ifconfig' for
Facter::Util::IP:Module
I've done a complete uninstallation puppet and facter a few times and
reinstalled them to no avail. Any thoughts would be appreciated.
Could not retrieve macaddress:
On Tue, Jul 9, 2013 at 2:21 AM, Josh Cooper j...@puppetlabs.com wrote:
You have multiple versions of facter installed. This typically happens
when facter gets installed both as a gem and via your package manager.
Josh,
Thanks for the reply.
I suspected as much and went through the
Is there a global variable (or variables) that get set when a group gets
defined in dashboard? What I'm trying to do is in a template have a
conditional such that if a host is in one group do this and if not in
that group do that.
--
Peter L. Berghold
On Fri, Jul 12, 2013 at 2:22 AM, David Schmitt da...@dasz.at wrote:
Usually that is handled by adding a class or variable to the group and
checking on that.
I actually tried that and ran into an issue. Here's the setup:
global --- all hosts belong to this
|
+
I made two decisions this afternoon that are now related to each other.
1. Use more of the modules that exist in the Forge
2. Rebuild my monitoring server
As I perused the various modules that help with managing monitoring
packages my eyes fell upon a module that reported to be able to
Just added a bunch of forge modules to my mix. If I run from my puppet
master things go OK. Running from another server this is what things look
like:
# time puppet agent --test --debug
Debug: Failed to load library 'selinux' for feature 'selinux'
Debug: Using settings: adding file resource
On Tue, Jul 23, 2013 at 4:58 PM, Steven Nemetz snem...@hotmail.com wrote:
configtimeout = 900
The number is in seconds. Set it to whatever you're comfortable with
Thank you! That fixed it. Now I can go on to fix all the mistakes in the
module I got from the forge.
--
Peter L.
Hi folks,
I am building a server using Gentoo Linux and was about to start automating
the package loads using puppet. First things first I loaded the latest and
greatest facter and puppet from gems. Got the new SSL certificate loaded
and ran puppetd --test and expected to see a base manifest
Once again I'm experimenting with the Gentoo Linux distro and trying to get
puppet to work with it. I'm starting to think it is a lost cause.
In my puppet setup I have a list of packages that are built on any system
that I support regardless of the systems final use. These include tmpwatch,
and it is not generating any spew for me to look at.
I'll know in a while if it worked.
On Tue, Sep 6, 2011 at 3:43 PM, James Turnbull ja...@puppetlabs.com wrote:
Peter Berghold wrote:
Now I get:
err: Could not prefetch package provider 'portage': Command update_eix
is missing
I'm running puppet
Hi folks,
Trying to create a function backed by some templates that will create DNS
zone files. The function is in the form of
function forward_zone ($dns_zone = localdomain, $hosts = { {
host=localhost, ip_addr=127.0.0.1 } }}) {
logic here
}
and the template will include the
Hi folks,
I thought I'd get clever tonight and add to my base class for node
configuation the statement:
user { root : comment = Root User on ${hostname} }
My hope was that I would change the GECOS field for the root user so that
emails from root on the machines would identify which root they
I thought I read in some documentation somewhere that for array variables
you had a means of setting up a conditional for last element.
For instance
class foo {
$hosts=['hosta','hostb','hostc']
file { some-config :
path=/s/ome/path/2[image: Call phone]/
. :)
On Sep 24, 2:33 pm, Peter Berghold salty.cowd...@gmail.com wrote:
I thought I read in some docu...
--
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
Hi folks,
In the past when I've wanted to install puppet to a system Ive just done a
gem install puppet facter' and it has workd.
After runing the gem install I tried running puppetd and was told not
found. OK, so I started to dig and discovered that puppetd was indeed
installed on the system,
On Mon, Nov 14, 2011 at 12:23 AM, Aaron Grewell aaron.grew...@gmail.comwrote:
Try removing the hyphen from the class name. If that fixes it then you've
hit this:
http://projects.puppetlabs.com/issues/5268
It would appear that was the case. Surprised that I didn't run into this
before.
I
I have this module with the following structure.
adminscripts
├── facter
├── files
│ └── getVPSNodes.pl
├── lib
│ └── puppet
│ ├── parser
│ ├── provider
│ └── type
├── manifests
│ ├── classes
│ ├── defines
│ ├── getvpsnodes.pp
│ └── init.pp
└── templates
The file
On Fri, Nov 25, 2011 at 3:32 PM, Nigel Kersten ni...@puppetlabs.com wrote:
As an aside, this was an awesome way to post a module autoload problem
Peter, showing the filesystem layout and the manifest content.
the tree command is a beautiful thing! :-D
Do you perhaps have another
.
Cheers,
Den
On 26/11/2011, at 6:59, Peter Berghold salty.cowd...@gmail.com wrote:
I have this module with the following structure.
adminscripts
├── facter
├── files
│ └── getVPSNodes.pl
├── lib
│ └── puppet
│ ├── parser
│ ├── provider
│ └── type
├── manifests
/getVPSNodes.pl,
I can't check the class myself but do the .pp files parse correctly? Use
the --parseonly or the validate command to check. It maybe failing to parse
one of the files.
Cheers,
Den
On 26/11/2011, at 6:59, Peter Berghold salty.cowd...@gmail.com wrote:
I have this module
I take that back. Seems I was running the wrong master. Started running
the proper master and the problem is back:
Here is what I'm seeing in the logged output:
debug: importing '/etc/puppet/modules/adminscripts/manifests/init.pp' in
environment production
debug: importing
class foo { ... } - modulepath/foo/manifests/init.pp
class foo::bar { ... } - modulepath/foo/manifests/bar.pp
and then you should be able to remove all the import *.pp statements.
There's been a bit of grief expressed over this bug, so I'd like to
reiterate that this wasn't a deliberate
On Tue, Nov 29, 2011 at 6:43 AM, seamie mail...@gmail.com wrote:
But if I use EPEL does it invoke many changes in
standard RH/Centos packages related to packages dependencies ? I am
considering EPEL or yum.puppetlabs.com repositories (what is a
difference between them ?).
Hi,
I've adopted
Here is a module layout:
tomcat
|-- facter
|-- files
| `-- cleanTomcatLogs.pl
|-- lib
| `-- puppet
| |-- parser
| |-- provider
| `-- type
|-- manifests
| |-- classes
| |-- defines
| |-- init.pp
| |-- scripts
| | `-- cleanlogs.pp
| `-- scripts.pp
`-- templates
1 - 100 of 240 matches
Mail list logo