Specifically, when I have "cd" in command => ".." it says it cannot find
the command "cd".
On Thursday, July 5, 2012 10:31:38 PM UTC-7, Benjamin Lei wrote:
>
> I sort of "need" to do this to run a Makefile that uses local
> directories...
--
You received this message because you are subscribed
I sort of "need" to do this to run a Makefile that uses local directories...
--
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/-/NWcJKsG5-SYJ.
To post to this g
On 6 July 2012 13:57, Walter Heck wrote:
> On Fri, Jul 6, 2012 at 11:46 AM, Peter Brown wrote:
>> I guess it's time to build myself a vm on the laptop (probably with
>> puppet :) )and see how it goes.
>> If my code works I may switch the production env over and see how that goes.
> Look into virt
Hello all,
I'm looking to run multiple commands via exec within a single class like so:
class boost_install {
# This will place the gzip locally in /tmp. File is pulled from
puppet.
file { "/tmp/boost_1_41_0.tar.bz2" :
source => "puppet:///boost_install/boost_1_
On Fri, Jul 6, 2012 at 11:46 AM, Peter Brown wrote:
> I guess it's time to build myself a vm on the laptop (probably with
> puppet :) )and see how it goes.
> If my code works I may switch the production env over and see how that goes.
Look into virtualbox, vagrant and veewee, the three combined ma
you can put this in the main section of your puppet.conf file
[main]
manifestdir = /home/puppet/manifests
that looks for your site.pp in that directory
you also can specify this in your puppet.conf for each environment.
manifest= /etc/puppet/manifests/site.pp
then in site.pp you do
On 6 July 2012 12:59, Walter Heck wrote:
> I would hope you have a development environment to test this on before
> you make the switch? I wouldn't actually recommend switching a
> production environment to a release candidate. It's okay to start
> testing puppet 3 in a staging environment to see
I would hope you have a development environment to test this on before
you make the switch? I wouldn't actually recommend switching a
production environment to a release candidate. It's okay to start
testing puppet 3 in a staging environment to see if you are going to
have majore issues, but I pers
Hi,
is nodes.pp a default file,like sites.pp, or I have to import it in
puppet.conf?
I cannot find a paramater in "puppetmasterd genconfig | grep nodes.pp", can
someone advice?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post t
No that did not work. It worked when I ran it myself, but when puppet ran
it the previous Ruby version I had was not replaced.
On Thursday, July 5, 2012 6:48:58 PM UTC-7, Brian Gupta wrote:
>
> On Thu, Jul 5, 2012 at 9:43 PM, Benjamin Lei
> wrote:
> > I see; thanks. I'll try that later.
> > T
On Thu, Jul 5, 2012 at 4:45 PM, gilbertc777 wrote:
> Hi Everyone,
>
> I am relativly new to writing puppet modules, and am working to architecht
> our puppet implementation. One of the questions I have, is rolling back a
> puppet run. What are the best ways to accomplish this.
>
> For instance,
On Thu, Jul 5, 2012 at 9:43 PM, Benjamin Lei wrote:
> I see; thanks. I'll try that later.
> The next thing I'm trying to do is:
> rvm use 1.8.7 --default
>
> The command executes successfully, but when I SSH back into my server the
> version is still its old one. What might be going wrong?
>
> On
I see; thanks. I'll try that later.
The next thing I'm trying to do is:
rvm use 1.8.7 --default
The command executes successfully, but when I SSH back into my server the
version is still its old one. What might be going wrong?
On Thursday, July 5, 2012 8:37:28 AM UTC-7, jcbollinger wrote:
>
>
>
1.2.10rc1 is a maintenance release of Puppet Dashboard.
It includes contributions from Will Hopper and Moses Mendoza.
Thanks to Aaron Patterson for the security content in commit
e17269f.
This release is available for download at:
https://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.10r
Hi everyone,
I noticed puppet 3 has made it to rc3 and they have made it available
in the devel repositories.
I am getting tempted to switch now and avoid the rush.
I have tried to find out what is new or different with puppet 3 but
haven't been able to find anything.
I am currently running 2.7.17
puppetlabs_spec_helper is a Rubygem to make writing and running module
spec tests using rspec-puppet easier. It includes a set of common rake
tasks and a spec_helper that correctly initializes puppet and
rspec-puppet for testing.
The code is available on github at
http://github.com/puppetlabs/pupp
I am testing out the store configurations on my puppet master, packages
installed:
- puppet
- puppet-master
- rubygems
- ruby-mysql
- ruby-devel
- mysql-server
- mysql
- mysql-devel
*Configuration Files:*
*Puppet.conf*
[main]
logdir = /var/log/puppet
rundir =
Hi Mouhcine,
I find that if you can script it you can manage it with puppet and I
haven't run into much I don't manage with puppet.
I haven't used puppet to manage a Tomcat instance (you will likely
find something on http://forge.puppetlabs.com/ for doing that though)
but if you are deploying a j
On Thursday, July 5, 2012 11:26:48 AM UTC-5, Matthew Burgess wrote:
>
> On Thu, Jul 5, 2012 at 4:56 PM, jcbollinger wrote:
>
> > Are you sure a Puppet run needs to have already completed before the
> facts
> > are available from the inventory service? That would be surprising.
> Also
> > m
On Thursday, July 5, 2012 2:59:07 PM UTC-5, fpee wrote:
>
> On 07/05/2012 08:30 AM, jcbollinger wrote:
>
> > If that's so then you are relying on a Puppet bug, or perhaps you have
> > oversimplified your example. The language guide specifically states
> > that the += operator affects the obse
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:
>
On Thursday, July 5, 2012 11:33:03 AM UTC-5, eduardo wrote:
>
> I need a facter because each node have different users. The facter
> return a list of local users that not are into whitelist (unique).
>
Maybe it would be fruitful to come at this from a different direction. For
what purpose do
On Thursday, July 5, 2012 10:58:54 AM UTC-5, eduardo wrote:
>
> Thanks you john for your answer. I comment you something that work
> well for me.
>
> I think get a solution while reading puppet cookbook. It's based on
> run stages.
>
> I have site.pp :
>
> import 'sync_files.pp'
>
> The
Our current release key is expiring on July 9th, so we've extended the
expiration of our gpg key to sign our releases and repositories. The
keyid of the key has not changed, it is still 4BD6EC30. To obtain the
new key, you can use `gpg --refresh-keys` or `gpg --recv-keys
4BD6EC30`.
We are also rele
Hey Guys,
Thanks for the input. Your comments were most helpful and I definitely
get it now.
I realize that the way I'm going about doing this one probably isn't the
most desirable and as soon as I have my important manifests working in a
basic state, I'll come back to each one and fix them
On Thursday, July 5, 2012 11:16:56 AM UTC-5, eduardo wrote:
>
> John the whitelist is a dynamic file create/update by administrators,
> so puppetmaster don't know about whilelist's content.
>
If the file is served by the master, then the master can know whatever it
needs to know about its con
Hi Everyone,
I am relativly new to writing puppet modules, and am working to architecht
our puppet implementation. One of the questions I have, is rolling back a
puppet run. What are the best ways to accomplish this.
For instance, if I add a module to manage autofs, apply it to a server,
On Thursday, July 5, 2012 3:23:47 PM UTC-5, Mike Reed wrote:
>
> Hello all,
>
> I've been trying to run this exec statement (which to my peril was
> initially thought to be something simple):
>
> exec { "/opt/pbis/bin/config UserDomainPrefix "" " : }
>
> After the command is run I'm getting the
escape your inner quotes \" \"
exec { "/opt/pbis/bin/config UserDomainPrefix \"\" " : }
On Thu, Jul 5, 2012 at 1:23 PM, Mike Reed wrote:
> Hello all,
>
> I've been trying to run this exec statement (which to my peril was initially
> thought to be something simple):
>
> exec { "/opt/pbis/bin/con
On Thu, Jul 05, 2012 at 01:23:47PM -0700, Mike Reed wrote:
>Hello all,
>
>I've been trying to run this exec statement (which to my peril was
>initially thought to be something simple):
>
>exec { "/opt/pbis/bin/config UserDomainPrefix "" " : }
Escape the inside double quotes:
$
Hello all,
I've been trying to run this exec statement (which to my peril was
initially thought to be something simple):
exec { "/opt/pbis/bin/config UserDomainPrefix "" " : }
After the command is run I'm getting the following error:
err: Could not retrieve catalog from remote server: Error 4
On 07/05/2012 08:30 AM, jcbollinger wrote:
Thank you very much for the response, I am going over it in detail and
trying out all of the options you have presented (this may take me a
couple days). I will reply again once I have gone over your message in
more detail.
If that's so then you ar
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:
hostclass :test, :arguments => { :param1 => "blah" } do
end
I call from Puppet DSL:
class {"t
does it mean that after I upgraded Ruby to 1.8.7 version, then I can just
use the rpm for EL6 to install the dashboard, or I have to install from
source?
On Tue, Jul 3, 2012 at 4:24 PM, Michael Stahnke wrote:
> Puppet Dashboard *can* be installed on EL 5 based systems if you've
> updated Ruby to
Hi,
On Thu, 5 Jul 2012 11:34:39 -0700
Hai Tao wrote:
> instead of using hostname wildcard, is there a way to define nodes by their
> IP addresses? for example, I want to put all nodes with 10.0.2.x and
> 10.0.3.0 to a nodes group called "testing". how can I do this?
>
> thanks.
Seems a bit bac
instead of using hostname wildcard, is there a way to define nodes by their
IP addresses? for example, I want to put all nodes with 10.0.2.x and
10.0.3.0 to a nodes group called "testing". how can I do this?
thanks.
--
You received this message because you are subscribed to the Google Groups
"P
On Thu, Jul 05, 2012 at 05:43:10PM +0200, Martin Willemsma wrote:
> Hi,
>
> I want to use a file resource to write a facts.yaml file for
> Mcollective. For some reason it won't provide a valid yaml format if I
> dump my scope to hash and convert to_yaml.
>
> file {
> "/etc/mco
Hey All,
I got moved onto another project and I hadn't been able to get back to this
one until today. I first wanted to thank you all for the information and
suggestions. I'll take a look and see what I can do and I'll be sure to
let everybody know what the outcome is.
I like Nan's suggest
I need a facter because each node have different users. The facter
return a list of local users that not are into whitelist (unique).
whitelist = Array.new
File.readlines("/etc/puppet/whitelist").each { |line|
whitelist << line.chomp
}
On Thu, Jul 5, 2012 at 4:56 PM, jcbollinger wrote:
> Are you sure a Puppet run needs to have already completed before the facts
> are available from the inventory service? That would be surprising. Also
> most unfortunate, inasmuch as it implies that the inventory service would be
> serving sta
John the whitelist is a dynamic file create/update by administrators,
so puppetmaster don't know about whilelist's content.
I pretending to get advantage of fileserver funcionality (instead of
any other remote copy tool like rsync) in order to get centralized
copy of the file whitelist to all nod
On Wednesday, July 4, 2012 1:10:53 AM UTC-5, Tharanga Abeyseela wrote:
>
> Hello folks,
>
> I like to store all my configuration archives (Client file changes) on a
> SVN or GIT repository instead of a local file system. currently i am using
> following config to store all backups (client file
Thanks you john for your answer. I comment you something that work
well for me.
I think get a solution while reading puppet cookbook. It's based on
run stages.
I have site.pp :
import 'sync_files.pp'
Then, sync_files.pp is :
class sync_files {
notify { "sync whitelist file": }
file {
On Wednesday, July 4, 2012 8:20:51 AM UTC-5, Matthew Burgess wrote:
>
> Hi all,
>
> We have a mixed Linux and Windows environment and have so far just
> been using Puppet on our Linux servers. Having configured the
> inventory service, we've got an auditing script that uses the data to
> rep
On Wednesday, July 4, 2012 2:37:06 PM UTC-5, eduardo wrote:
>
> To be more clear about my first intend. it had init.pp like :
>
> file { "/etc/puppet/whitelist":
> ensure => present,
> source => 'puppet:///files/whitelist',
>}
>
> $users_local = split($localus
Hi,
I want to use a file resource to write a facts.yaml file for
Mcollective. For some reason it won't provide a valid yaml format if I
dump my scope to hash and convert to_yaml.
file {
"/etc/mcollective/facts.yaml" :
owner => root,
On Wednesday, July 4, 2012 6:01:02 PM UTC-5, Benjamin Lei wrote:
>
> So I'm trying to exec something, but during the exec a screen will show up
> that I need to "q" out of to finish it. Specifically speaking, I'm trying
> to exec: rvm --force install 1.8.7
Ideally, there would be a command-li
On Thursday, July 5, 2012 5:34:13 AM UTC-5, fpee wrote:
>
> Hello puppet masters, I am cleaning up some puppet modules, using
> puppet-lint. The warning I am getting is:
>
> top-scope variable being used without an explicit namespace
>
> I can turn this particular check off, but in doing my re
Use the file resource to put your jar somewhere useful, and then have the file
resource notify the tomcat daemon's service resource to restart/reload the
daemon.
http://docs.puppetlabs.com/references/stable/type.html#file
http://docs.puppetlabs.com/references/stable/type.html#service
http://docs
Hi ,
I am new to Puppet and I just started testing it on my Debian OS, I was
wondering if it's possible to create an artifact that allows auto-deploying
jar file without using SSH & SCP?
I Found some Threads explaining how to deploy web application on Tomcat
Server, but i need to deploy a si
Hi ,
I am new to Puppet and I just started testing it on my Debian OS, I was
wondering if it's possible to create an artifact that allows auto-deploying
jar file without using SSH & SCP?
I Found some threads explaining how to deploy web application on Tomcat
Server, but i need to deploy a
Hi Puppeteers,
I wonder if anyone else has seen or fixed this issue - I find that when I
provision new servers, after the first run I have to manually re-run
'apt-get install puppet', as it gets removed. Nothing in the puppet log,
however in the aptitude log there is an entry like the below (t
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
Hey Matt,
I'm not exactly sure how you have things setup now, but the operating
system fact is baked into factor and will be available on the first
run. Rather than having the ENC supply your default classes, you could
do so in your site.pp. Here's how I do it:
stage { 'first': before => Stage['m
fwiw, I put this at the top of my global site.pp (one of 3 lines in
the file).
# Globally set exec path so we don't have to specify it each time we
use exec.
Exec { path => [ '/bin/', '/sbin/' , '/usr/bin/', '/usr/sbin/' ] }
hth,
Adam
--
You received this message because you are subscribed to
the manifest is now attached to the ticket
On Friday, June 22, 2012 2:23:31 PM UTC-5, Josh Cooper wrote:
>
> Thanks Greg. Can you attach the manifest you are using (with the
> arguments) to the ticket?
>
> On Fri, Jun 22, 2012 at 12:20 PM, Greg Swift wrote:
> > attached to the ticket. I won't
On Tuesday, July 3, 2012 4:43:24 PM UTC-5, eduardo wrote:
>
> Thanks your answers.
> I don't figure out how avoid execute because i have a massive input
> account by ENC json setting all users and membership of each one of
> them. I had to make uniq entries array to avoid Duplicate definitio
Hello puppet masters, I am cleaning up some puppet modules, using
puppet-lint. The warning I am getting is:
top-scope variable being used without an explicit namespace
I can turn this particular check off, but in doing my research I'm
finding all sorts of messages saying to avoid using +=, to
Did you generate the necessary certs to access the puppetmaster facts with
the dashboard?
http://docs.puppetlabs.com/dashboard/manual/1.2/configuring.html#generating-certs-and-connecting-to-the-puppet-master
On Thursday, July 5, 2012 3:52:15 AM UTC+2, Dennis Jacobfeuerborn wrote:
>
> Hi,
> I've
On 07/03/2012 03:15 PM, jcbollinger wrote:
> On Monday, July 2, 2012 11:14:25 PM UTC-5, Ryan Coleman wrote:
>
> Binaries like curl and test must be fully qualified (ex. /bin/rm) or
> you must pass the path attribute to your exec resource with a search
> path like '/bin:/usr/bin' as the
On Thu, Jul 5, 2012 at 2:52 AM, Dennis Jacobfeuerborn
wrote:
> Hi,
> I've just set up a puppet server using passenger plus the dashboard and
> these parts all work fine but now I have enabled the inventory and added
> this to the auth.conf:
>
> path /facts
> auth any
> method find, search
> allow
61 matches
Mail list logo