Set up an autosign.conf to have your puppet master automagically sign all
.local certificates.
http://docs.puppetlabs.com/guides/configuring.html#autosignconf
On Sunday, August 5, 2012 3:00:49 PM UTC-5, janschumann wrote:
Hi!
I wonder if there is the posibility to issue a wildcard
On Thursday, August 2, 2012 8:54:58 AM UTC-5, banjer wrote:
I just switched from using Puppet Dashboard with PuppetDB 0.9 to using
Foreman 1.0.0. This is on CentOS 6.3. I've been unable to get Foreman to
work PuppetDB, so I had to revert to using the old way of storeconfigs
without
Does puppet doc require a specific version of any gems (such as rdoc or
rake) to operate?
I'm getting some errors when I try to generate my rdoc now.
# puppet doc --output /var/www/test --modulepath
/etc/puppet/environments/test/modules -m rdoc
RDoc::RDocError is deprecated and will be removed
As an update, I did find http://projects.puppetlabs.com/issues/11786 which
indicates that rdoc 1.x is needed, and that rdoc 2.x and 3.x will not work.
However, the oldest gem available is 2.0...
Any recommendations?
On Tuesday, July 31, 2012 1:57:12 PM UTC-5, llo...@oreillyauto.com wrote:
Just wanted to bump this and see if anyone else had any ideas I could try...
Still unable to get any tests functioning at this point.
Full details are in this thread, and also at
http://serverfault.com/q/409297/121905
Thank you.
On Friday, July 20, 2012 11:45:47 AM UTC-5,
On Thursday, July 26, 2012 10:28:49 PM UTC-5, Pete wrote:
I have been wondering the same thing but I have started using puppetdb.
Has anyone got foreman working with puppetdb?
AFAIK that is something they are working on. It won't be able to connect
directly to the database (since
I just installed puppet 3 (3.0.0-0.1rc3puppetlabs1) on a 32bit Ubuntu 12.04
'server' VM. I used the packages for the install.
I then copied over my existing modules and manifests from my production
2.7.x puppet master, and also my hiera.yaml and hieradata/*.
When I run puppet agent --test I
On Thursday, July 26, 2012 10:11:58 AM UTC-5, Henrik Lindberg wrote:
Hi,
I have been working on a new puppet code formatter for Geppetto for some
time, and it is now starting to work quite well. The plan is to release
it in Geppetto 3.0.
Sounds promising.
If you want to, you can
On Thursday, July 26, 2012 1:16:40 PM UTC-5, Matthew Barr wrote:
No, it updated all the PHP packages that were mentioned in the manifest.
There were about 20 listed, and no actual install happened.
I'm betting that it uses a default action of Latest, and just updated them
all behind
On Tuesday, July 24, 2012 10:25:12 PM UTC-5, Brian Gupta wrote:
And is the following the best way to support this: (ie: will it be
supported for the foreseeable future.)
$modulepath/modulename/manifests/parentclass/subclassname.pp the way
the autoloader supports this?
Yes, this is
I've heard this project mentioned a few times and I have found the projects
site on github.
Is there information available on how to setup the repos that it would pull
from (layout etc)? The boxes I would be using this on do not have access to
the Puppet Forge but this project looks like it
On Tuesday, July 24, 2012 4:27:39 PM UTC-5, Hai wrote:
can dashboard and foreman share the same database then?
Yes, I have dashboard and foreman on my test Vm all set to use Puppet'd
database.
On Tue, Jul 24, 2012 at 11:46 AM, Ohad Levy ohadl...@gmail.com wrote:
On Tue, Jul
It only is needed if you want to have the foreman list/show facts and such
for the puppet master.
It makes life a lot easier, and makes foreman a lot more useful, and it
does make the process of importing classes a lot easier as well.
On Tuesday, July 24, 2012 4:35:42 PM UTC-5, Hai wrote:
I ran into this too.
'sudo gem install rdoc' should clear things up for you.
On Thursday, July 19, 2012 11:06:35 PM UTC-5, 刘亚丹 wrote:
Hi:
When I start the dashboard server,but all ways failed . Someone
can help me ?
#sudo -u puppet-dashboard ./script/server -e
On Thursday, July 19, 2012 5:09:30 PM UTC-5, Bill O'Neill wrote:
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
Starting this thread to discuss changes to puppet doc as was recommended in
a different thread.
Once I finally got the rdoc documentation generation working, I rather like
it. Especially when paired with The Foreman.
It would be nice if the help was clearer, and it was easier to find a list
I am trying to write some rspec tests for my modules. Most of them now use
hiera.
I have a .fixures.yml:
---
fixtures:
repositories:
stdlib: https://github.com/puppetlabs/puppetlabs-stdlib.git
I recently started trying to use rspec-puppet and puppetlabs-rspec-helper.
When I ran 'rspec-puppet-init' in one o fmy modules, it created a series of
symlinks.
Now, when I run puppet doc (via a rake task supplied by The Foreman, but
also when I call it directly) I get the following error:
Comments in line.
On Tuesday, July 17, 2012 8:24:46 AM UTC-5, Yaniv Fine wrote:
Hi Team .
i am trying to use Out-of-Scope Variables
trying to setup kind of like an answer file that would be global file
for other modules to use .like 40 variables .
and call the variables from template
On Tuesday, July 17, 2012 10:16:56 AM UTC-5, Yaniv Fine wrote:
thank you for the answer .
i tried to use the
scope.lookupvar(share_module::varname) in the erb file
Did you use '%' or '%=' in the template?
You also may need to add include 'share_module' to the .pp
but got a blank
On my puppet master, some of the directories that puppet controls contain
symlinks that point to targets that don't exist on the master (but do on
the nodes).
When I run puppet doc, it fails due to these targets not existing.
Is there a way around this, that won't require me setting up the
On Monday, July 16, 2012 9:50:54 AM UTC-5, Giovanni Torres wrote:
I'm trying to use puppet doc to create a pdf version of my modules.
According to the help file, `puppet doc -m pdf -r configuration` is the
syntax to accomplish this. However, I keep getting this error:
creating pdf
I've been trying to wrap my head around ENCs.
Kelsey Hightower gave me some very useful info in IRC the other day, but
there are still some things I can't quite get my head around.
From what I can tell, an ENC allows you to assign classes and parameters
(top scope variables) to a given node or
Is there a way to get a list of all the classes available from the puppet
master?
I have 2 goals for this - one is documentation in a human readable form,
and the other is potentially importing that data into dashboard.
I did find some info on the rest API
Comments inline.
On Thursday, July 12, 2012 3:08:10 PM UTC-5, Ryan Coleman wrote:
One way to approach this (for documentation) is to build a file
resource backed by a template. The template would contain something
like the following. It prints out all the classes defined in that
agents
Comments inline
On Thursday, July 12, 2012 3:29:27 PM UTC-5, Ygor wrote:
http://docs.puppetlabs.com/man/doc.html
I use a command like this:
puppet doc --outputdir yadda...yadda/apache/htdocs/puppetmaster --mode
rdoc --manifestdir /etc/puppet/manifests --modulepath /etc/puppet/modules
On Thursday, July 12, 2012 4:42:12 PM UTC-5, jcbollinger wrote:
On Thursday, July 12, 2012 8:27:16 AM UTC-5, llo...@oreillyauto.com wrote:
I've been trying to wrap my head around ENCs.
Kelsey Hightower gave me some very useful info in IRC the other day, but
there are still some things
Comments inline.
On Tuesday, July 10, 2012 6:48:28 PM UTC-5, Craig White wrote:
On Jul 10, 2012, at 1:14 PM, llowder wrote:
I'm trying to install dashboard.
I'm using:
Ubuntu 12.04 LTS (32bit),
Puppet 2.7.17.
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
If I have a module in /etc/puppet/modules/module_a
And I also have /etc/puppet/environments/envmodules/module_a
and the one in the environments is different (say, it's a dev or test env
that I am using to test new module code or something like that)
Will puppet use the test one if the
Comments inline.
On Tuesday, July 10, 2012 10:48:41 PM UTC-5, Hai wrote:
Can someone help on this?
Thanks.
snip
why there is no reports folder?
Do you have your agents set to report, and have you ran 'puppet agent
--test' on them?
Are you using port 80 (default) or
On Wednesday, July 11, 2012 1:13:48 PM UTC-5, Jo wrote:
On Jul 10, 2012, at 4:39 PM, Hai Tao wrote:
but after I restarted httpd, I see a apache welcome page.
Did you read the page? It probably tells you to remove
/etc/httpd/conf.d/welcome.conf ...
That or specify the right port in the
Comments inline.
On Wednesday, July 11, 2012 1:29:46 PM UTC-5, Craig Dunn wrote:
snip
Fall back under what circumstances? if the module isn't found in the
environment folder?
If you want Puppet to search your environment specific folder first, and
then use a generic module folder
Comments in line.
On Tuesday, July 10, 2012 8:39:17 AM UTC-5, Felix.Frank wrote:
Hi,
On 07/09/2012 08:17 PM, llowder wrote:
What would be the best way of handling these?
that's really hard to say at this level of granularity.
Can you name a typical example of what can differ among
I am using puppet to control my master, but currently when the agent runs
(on the master) I am getting err: Could not retrieve catalog from remote
server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate
B: certificate verify failed. This is often because the time is out of
Please disregard, my puppet.conf had accidentally gotten overwritten and it
was trying to pull from the wrong master as a result.
On Tuesday, July 10, 2012 2:04:24 PM UTC-5, llo...@oreillyauto.com wrote:
I am using puppet to control my master, but currently when the agent runs
(on the
I'm trying to install dashboard.
I'm using:
Ubuntu 12.04 LTS (32bit),
Puppet 2.7.17.
ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-linux]
rubygems 1.8.15
When I run the db:migrate task, I get the following:
root@puppet-master-local:/usr/share/puppet-dashboard# rake
RAILS_ENV=production
to have some other issues in it.
But I do have things working now.
On Sunday, July 8, 2012 11:29:37 AM UTC-5, harveyzh wrote:
hello!
On Jun 25, 11:34 pm, llow...@oreillyauto.com
llow...@oreillyauto.com wrote:
On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wrote:
Hi
I'm in the process of refactoring some code and getting it ready for 3.0 in
the process.
I'm trying to better modularize things as well.
I've got a general tomcat module, but I also have a number of tomcat
related things that only apply to one class of appserver we have.
What would be the
I'm setting up a dev / test environment using a couple of Ubuntu 12.04 VMs.
I have puppet installed on one of them, and am trying to get it to sync
against itself to get certain things in place to distribute with the nodes.
However, I am having some issues.
# puppet agent --test
info: Creating
Just as an update, I found a workaround by setting certname to the IP, but
I was still wondering if this is the best solution when there isn't a
real hostname on the system(s)?
On Friday, July 6, 2012 2:22:51 PM UTC-5, llo...@oreillyauto.com wrote:
I'm setting up a dev / test environment
Comments inline.
On Tuesday, July 3, 2012 4:43:52 PM UTC-5, LoreLLo wrote:
Additionally, when I try to use an rdoc type I either am not getting any
output or can't find it.
$puppet doc -m rdoc --manifestdir
/etc/puppet/environments/test/manifests/ --modulepath
Comments inline.
On Thursday, July 5, 2012 2:31:47 PM UTC-5, polaris_s0i wrote:
I've been reading the Docs on this, and its not very clear.
I want to have a parameterized class that takes arrays and objects as
parameters.
I'm using puppet 2.6.16.
I define a hostclass like this:
Is there an ETA for getting the Style Guide up to date for 2.7.x or even
3.X?
Currently it is geared towards the 2.6.X line, and says that certain things
should not be done due to 2.6.x compatibility issues.
For example, it says to use this:
class ntp(
$server = 'UNSET'
) {
I'm trying to get some docs using puppet doc, and I'd like to get the PDF
format.
So, following the example in 'puppet help doc' I did the following:
$ puppet doc -m pdf -r configuration
creating pdf
Could not run: wrong number of arguments (1 for 2)
Additionally, when I try to use an rdoc
On Monday, July 2, 2012 1:42:37 PM UTC-5, Robin Powell wrote:
So, I have a server at home that has four VMs running inside it.
All are managed via puppet. The physical host runs puppetmasterd.
I don't recall noticing this before, but puppetmasterd has decided
to be kind of crazy.
I originally started this post to ask about one problem, but in the process
of getting the question written I learned that it was due to differences
between 1.8.7 and 1.9.2 that had caused my problem, so I got that fixed.
I now have the fact successfully loading when I run puppet:
info:
Comments inline
On Friday, June 29, 2012 3:13:18 PM UTC-5, R.I. Pienaar wrote:
- Original Message -
Sent: Friday, June 29, 2012 9:05:53 PM
Subject: [Puppet Users] Ruby custom fact question/problem
I originally started this post to ask about one problem, but in the
On Thursday, June 28, 2012 2:24:08 AM UTC-5, Felix.Frank wrote:
Hi,
I don't really know how this even compiles, but here's what I think
needs changin.
That may have been an issue, but it still doesn't work. I get the same
error.
Before you go on with this - do you have pressing
On Thursday, June 28, 2012 8:29:25 AM UTC-5, Felix.Frank wrote:
Then I shall go on a limb an suggest you forego camel-case (*cringe*)
and rename to ruby::gem_install, see if that helps. Otherwise I'd be
grateful for yet another verbatim copy of your defined type, also the
information in
I'm starting to use hiera more, to try to clean up and better modularize
some of our stuff.
I know you can use various facts (such as $::hostname) when defining the
hierarchy and where to look.
We have a few variables that are set based on patterns of hostname, and
currently we have a
On Thursday, June 28, 2012 2:04:09 PM UTC-5, R.I. Pienaar wrote:
- Original Message -
I would make facts on the nodes for these. Let say $role and $subrole
and then just use those in your hierarchy with %{role} and %{subrole}
thus allowing you to set variable for all those
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one of my node def files I have:
include ruby
ruby::gemInstall { 'someGem-version.gem':
path = '/path/to/agent/local/gem/repo',
}
A few updates, comment inline with original post.
On Wednesday, June 27, 2012 11:12:15 AM UTC-5, llo...@oreillyauto.com wrote:
I have a module located at /etc/puppet/environments/test/modules/ruby.
I
n this I have a manifests folder with two .pp files - init.pp and
gemInstall.pp.
In one
Comments inline
On Wednesday, June 27, 2012 4:24:44 PM UTC-5, Erik Anderson wrote:
Hello all -
For the last few weeks I've been running puppet 2.7.14-2 from the
puppetlabs apt repo. This is on Ubuntu 12.04 LTS, x64. Things have
been going great, no issues (at least none related to puppet
This sort of support would have saved me about 2-3 days of time here
recently.
It certainly has my support, and I have upvoted the pull the request.
On Tuesday, June 26, 2012 8:55:50 AM UTC-5, Kelsey Hightower wrote:
On Tuesday, June 26, 2012 9:41:00 AM UTC-4, jmslagle wrote:
On
On Friday, June 15, 2012 2:19:21 PM UTC-5, llo...@oreillyauto.com wrote:
Comments in line again
On Friday, June 15, 2012 2:13:08 PM UTC-5, Ryan Coleman wrote:
I won't get a chance to replicate your situation and test further
until this weekend. Apologies.
On Fri, Jun 15, 2012 at 12:01
On Monday, June 25, 2012 8:37:30 AM UTC-5, Kelsey Hightower wrote:
Did you ever get this working?
No, I still do not have this working.
Dan - When I did the irb thing, I got true for both requires.
Also, I can do lookups successfully on CLI, just not from puppet.
--
You received this
On a related note, I saw a post where someone had a similar problem, but
they fixed it by adding/creating some missing default file - but they did
not elaborate.
Any ideas on what that may be, so I can check it out?
--
You received this message because you are subscribed to the Google Groups
On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wrote:
Hi,
Have you the hiera Files in the puppet libdir e.g /var/lib/puppet/lib ?
No, I do not, actually.
Which files need to go there? The stuff in
/var/lib/gems/1.8/gems/hiera-0.3.0/lib/ ?
--
You received this message because
My puppet master is behind a proxy and unable to connect to a gem repo, so
I used a different machine to fetch hiera and hiera-puppet gems, and the
hiera-puppet source tarball.
I then did a gem install on them, and I made sure that hiera was in the
path, and extracted the hiera-puppet sources
I'm running puppet in a local VM to do some testing, and all of our systems
are behind a proxy. I've got the http_proxy environment variable set
properly, but when I try to use puppet module install foo it doesn't seem
to honor it and can't connect.
I used wget to download it, but even when I
Please disregard, I dug deeper into the online docs and discovered that I
had to set this in a config file and not just rely on the env variables.
On Friday, June 15, 2012 12:47:14 PM UTC-5, llo...@oreillyauto.com wrote:
I'm running puppet in a local VM to do some testing, and all of our
Please disregard, I dug deeper into the online docs and discovered that I
had to set this in a config file and not just rely on the env variables.
My apologies.. I spoke too soon.
In my puppet.conf, I have:
http_proxy_host=http://user:passw...@proxy-address.tld
http_proxy_port=3128
The
Comments inline
On Friday, June 15, 2012 1:21:44 PM UTC-5, Ryan Coleman wrote:
Hello,
Unfortunately, there looks to be a couple of bugs impacting this.
One is http://projects.puppetlabs.com/issues/14939 affecting
--modulepath . and the other is related to but not exactly
Comments in line again
On Friday, June 15, 2012 2:13:08 PM UTC-5, Ryan Coleman wrote:
I won't get a chance to replicate your situation and test further
until this weekend. Apologies.
On Fri, Jun 15, 2012 at 12:01 PM, llowder
Since I have the tarball, is there a way I can a) get a list of
Is there a line continuation character, such as space_newline or
space\newline ?
I thought I had found a reference to how you could do it, but I can't find
it now.
We are using 2.7.2
Thank you.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
I am using puppet 2.7.14
I have a class that I use just to define a bunch of variables used by my
module, several of them used in more than once place.
Currently I have it in module/manifests/classes/module_vars.pp
In some of the other classes, I was able to use the variables by qualifying
In my code, I have the following snippet:
file {
'es_conf':
ensure = directory,
path= $path_conf,
require = File['es_dir'];
'es_data':
ensure = directory,
path= $path_data,
require = File['es_dir'];
'es_logs':
ensure = directory,
68 matches
Mail list logo