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 => direc
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
the
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'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 it doesn't seem
to honor it and can't connect.
I used wget to download it, but even when I use
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
> http:/
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 l
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
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 t
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 becau
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 06
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,
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',
}
ruby
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
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 p
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 pre
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
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 selector
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 t
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: Loading
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 i
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.
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 typ
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
>> /etc/puppet/env
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:
>
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 u
ed 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"
> wrote:
> > On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wr
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 best
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 diffe
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 mast
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 db:mi
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
If I have a module in /etc/puppet/modules/module_a
And I also have /etc/puppet/environments/modules/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 environment
Comments inline.
On Tuesday, July 10, 2012 10:48:41 PM UTC-5, Hai wrote:
>
> Can someone help on this?
>
> Thanks.
>
>
> >
> >
> > 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 (def
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 po
Comments inline.
On Wednesday, July 11, 2012 1:29:46 PM UTC-5, Craig Dunn wrote:
> "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 folde
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
(http://docs.puppetlabs.com/guides/re
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
> agent
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 /apache/htdocs/puppetmaster --mode
> rdoc --manifestdir /etc/puppet/manifests --modulepath /etc/puppet/modules
>
> And
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
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
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
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
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 "mis
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:
Cou
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
hiera-puppet
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/serve
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
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
of
I have started a new thread for this purpose, called "Documentation
Requirements."
On Friday, July 20, 2012 4:41:58 PM UTC-5, Ryan Coleman wrote:
>
> On Fri, Jul 20, 2012 at 2:25 PM, Nick Fagerlund wrote:
> > Anyway, back to the point: I recommend that you start a new thread on
> this
> > grou
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 wrote:
> >
> >
> > On Tue, Jul 24, 2012 a
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:
>
>
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, thi
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 wou
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, yo
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 beh
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 pup
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 get
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, llo...@oreillyauto.co
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:
>
> D
Does anyone know the current status of making puppet work with ruby 1.9.3
and/or the closely related issue of puppet doc working with rdoc 3.x?
I saw that http://projects.puppetlabs.com/issues/11786 is accepted with a
target of 3.0, but the issue has no activity since it was changed to
"accepte
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
> with
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 certif
70 matches
Mail list logo