If you need to save some time, have a look at theforeman.org - which should
takes care for most of the work for you.
Ohad
On Fri, Jul 30, 2010 at 12:19 PM, Daniel Pittman wrote:
> "parag(PK)" writes:
>
> > Can it be possible to boot up a bare metal client ,by downloding the
> > whole OS from se
"parag(PK)" writes:
> Can it be possible to boot up a bare metal client ,by downloding the
> whole OS from server .when the client is powered on .
Yes. Feel free to research PXE booting, debootstrap, debconf preseeding,
kickstart, satellite, jumpstart, FAI, and the other related technol
Rob, wow!
On Jul 29, 10:48 am, Rob McBroom wrote:
> I just added a bunch of stuff starting here:
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Simple+Examples
thanks for sharing this; now this page is a real treasure; I learned a
lot about augeas;
Andrei
--
You received th
James Turnbull writes:
> Richard Crowley wrote:
>> On Thu, Jul 29, 2010 at 3:23 PM, Greg Graf wrote:
[...]
>> I saw the same thing happen with a few for-loops and had to wrap them
>> up in /bin/sh -c '...' for 2.6. Now that I look for it, I can't find
>> anything about this behavior change in
On Thu, Jul 29, 2010 at 10:02 PM, parag(PK) wrote:
> Can it be possible to boot up a bare metal client ,by downloding the
> whole OS from server .when the client is powered on .
Yes.
Nearly all unix operating systems provide a technology to provision
from bare metal through the networt.
Can it be possible to boot up a bare metal client ,by downloding the
whole OS from server .when the client is powered on .
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com
I'm running into certificate signing problem with puppet 0.25.5
Master is running on Ubuntu server 10.04
I think the problem is with the master's puppetca. After the master
signs the certificate request from the client, there is an error in
the master's log:
[2010-07-29 15:25:39] ERROR OpenSSL::
On Thu, Jul 29, 2010 at 4:33 PM, James Turnbull wrote:
> Jeff
>
> Fancy adding that to the Language Tutorial?
>
> James
Definitely. I'll update the documentation this evening.
--
Jeff McCune
http://www.puppetlabs.com/
--
You received this message because you are subscribed to the Google Grou
Richard Crowley wrote:
> On Thu, Jul 29, 2010 at 3:23 PM, Greg Graf wrote:
>> Hello,
>>
>> We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified
>> test):
>>
>> class cdtest {
>> exec {'cdtest': command => 'cd' }
>> }
>>
>> # puppet agent --test
>> info: Caching catalog for se
Greg Graf said:
> Hello,
>
> We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified
> test):
>
> class cdtest {
> exec {'cdtest': command => 'cd' }
> }
>
> # puppet agent --test
> info: Caching catalog for servername
> info: Applying configuration version '1280441519'
> err:
Jeff McCune wrote:
> On Thu, Jul 29, 2010 at 9:45 AM, Ryan Y. Coleman wrote:
>> I would like to stage them such that pre occurs first, followed by deploy,
>> finished by configure.
>>
>> The documentation suggests you create new stages as resources. Does this
>> mean that in each class I create
On Thu, Jul 29, 2010 at 3:23 PM, Greg Graf wrote:
> Hello,
>
> We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified
> test):
>
> class cdtest {
> exec {'cdtest': command => 'cd' }
> }
>
> # puppet agent --test
> info: Caching catalog for servername
> info: Applying configurat
On Thu, Jul 29, 2010 at 9:45 AM, Ryan Y. Coleman wrote:
>
> I would like to stage them such that pre occurs first, followed by deploy,
> finished by configure.
>
> The documentation suggests you create new stages as resources. Does this mean
> that in each class I create the stage resource like
Hello,
We're running 2.6 on Ubuntu 10.04 and here's what I'm seeing (simplified test):
class cdtest {
exec {'cdtest': command => 'cd' }
}
# puppet agent --test
info: Caching catalog for servername
info: Applying configuration version '1280441519'
err: /Stage[main]/Cdtest/Exec[cdtest]/returns:
On Thu, Jul 29, 2010 at 9:45 AM, Ryan Y. Coleman wrote:
> Hello All, I'm hoping to figure out how to use stages to reduce how many
> require statements are used in a particular module.
I'm investigating run-stages as well. I haven't sorted out a working
example yet, but will report back as soon
On Thu, Jul 29, 2010 at 12:32 PM, Christopher Johnston
wrote:
> Is there a way in puppet to make the client render a template from a module
> and have it spit the contents of the template to stdout or to a file so it
> can be looked at before deploying?
> -Chris
You could just use it in a file re
I have a resource I'd like to manage via augeas (/etc/conf.d/net; it's a bash
variables file) but I"m having problems figuring out how to set the values so
that all of the values in the array go in.
I would like it to look like this:
# cat /etc/conf.d/net
config_eth4=("192.168.128.2/24")
config_et
I am using version 2.6 and it would be nice if you could use a puppet
url for the package source, but that does not appear to work (docs say
it has to be a local file).
My other choices seem to be an nfs mount, or a local repo server.
Thanks
On Jul 29, 11:23 am, Patrick Mohr wrote:
> On Jul 29,
On Thu, Jul 29, 2010 at 2:31 PM, Yushu Yao wrote:
>
> If I would like to create a new back-end to conary (which does the same like
> yum or apt). What is the best way to start?
You'd write a package provider for conary, the "back-end" you
mentioned is specifically called a provider in puppet.
ht
Hi Experts,
Replying to myself now:
If I would like to create a new back-end to conary (which does the same like
yum or apt). What is the best way to start?
-Yushu
+-+
| Yushu Yao
| Ph:1-510-486-4690
|
| Lawrence Berkeley National Lab
| Mailstop 5
On Thu, Jul 29, 2010 at 2:13 PM, bmort wrote:
> ...
> debug: importing '/etc/puppet/modules/passenger/manifests/init.pp'
> info: Autoloaded module passenger
> Could not find resource type apache2::module at /etc/puppet/modules/
> passenger/manifests/init.pp:23 on node freebeerontuesdays.com
Have
Let me start by saying, I am a puppet rookie.
I am trying to get a passenger module working and receive the
following messages. I am trying to figure understand where the
'resource type ' should be? Or, defined? Is it another module that I
should included under puppet/modules ?
the message:
__
On Thu, Jul 29, 2010 at 2:04 PM, R.I.Pienaar wrote:
>
> I think so :) ::topclass isnt about scope its about resolution? I never
> considered it would have scope implications.
Right, forgot about that case.
So what about another keyword in addition to require and include
(feels like we're runnin
On Thu, Jul 29, 2010 at 2:00 PM, Jeff McCune wrote:
> And... Believe it or not, it actually already does almost exactly what I
> want it to do in 2.6, except I think I found a bug in 2.6.
>
>
Hrm, it appears to be just a tweak to the display...
include leaf and include ::leaf both result in the
- "Jeff McCune" wrote:
>
> I think this is something that is really becoming an issue with the
> increasing number of modules published to the Forge. Modules need some
> way to satisfy their dependencies on other modules, and the current
> behavior of include just doesn't seem to cut it.
>
On Thu, Jul 29, 2010 at 12:58 PM, Nigel Kersten wrote:
> > How do you "know" what the scope is of those included classes will end
> > up as? Are you not including the "edge" classes multiple times?
>
> Nope. That would be insane due to what sparked this thread off :)
I think this is something
On Thu, Jul 29, 2010 at 12:28 PM, R.I.Pienaar wrote:
>
> - "Nigel Kersten" wrote:
>
>> On Thu, Jul 29, 2010 at 12:11 PM, R.I.Pienaar wrote:
>> >
>> > - "Jeff McCune" wrote:
>> >
>> >> On Thu, Jul 29, 2010 at 12:07 PM, R.I.Pienaar wro>
>> >> > - "Jeff McCune" wrote:
>> >> >
>> >> >
Maybe I am missing one of your requirements, but I keep my puppet
master files somewhere other than /etc/puppet and /var/lib/puppet, and
I just use the --confdir option to puppetmasterd.
$ grep PUPPETMASTER_EXTRA_OPTS /etc/sysconfig/puppetmaster
PUPPETMASTER_EXTRA_OPTS="--confdir /tr01/puppet"
-
- "Nigel Kersten" wrote:
> On Thu, Jul 29, 2010 at 12:11 PM, R.I.Pienaar wrote:
> >
> > - "Jeff McCune" wrote:
> >
> >> On Thu, Jul 29, 2010 at 12:07 PM, R.I.Pienaar wro>
> >> > - "Jeff McCune" wrote:
> >> >
> >> >> I make the recommendation that classes should include the
> clas
On Thu, Jul 29, 2010 at 12:11 PM, R.I.Pienaar wrote:
>
> - "Jeff McCune" wrote:
>
>> On Thu, Jul 29, 2010 at 12:07 PM, R.I.Pienaar wro>
>> > - "Jeff McCune" wrote:
>> >
>> >> I make the recommendation that classes should include the classes
>> >> they depend on, but this appears to be p
Hello All,
In all the examples that I see you configure one repo per file;
i.e:
yumrepo { "testing.com-repo":
baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/";,
descr => "Testing.com's YUM repository",
enabled => 1,
gpgcheck => 0,
}
But how do I specify multiple entries to the
- "Jeff McCune" wrote:
> On Thu, Jul 29, 2010 at 12:07 PM, R.I.Pienaar wro>
> > - "Jeff McCune" wrote:
> >
> >> I make the recommendation that classes should include the classes
> >> they depend on, but this appears to be problematic if the class
> doing the
> >> include sets resource
On Thu, Jul 29, 2010 at 11:51 AM, Jeff McCune wrote:
> On Thu, Jul 29, 2010 at 12:37 PM, Nigel Kersten wrote:
>> On Thu, Jul 29, 2010 at 10:48 AM, Jeff McCune wrote:
>>
>>> Perhaps it might be useful to set resource defaults only for the local
>>> scope, and not for any classes which get include
On Thu, Jul 29, 2010 at 12:37 PM, Nigel Kersten wrote:
> On Thu, Jul 29, 2010 at 10:48 AM, Jeff McCune wrote:
>
>> Perhaps it might be useful to set resource defaults only for the local
>> scope, and not for any classes which get included into this scope.
>> How do you feel about this change to t
On Thu, Jul 29, 2010 at 12:07 PM, R.I.Pienaar wro>
> - "Jeff McCune" wrote:
>
>> I make the recommendation that classes should include the classes
>> they depend on, but this appears to be problematic if the class doing the
>> include sets resource defaults, particularity when setting a
>> re
Al @ Lab42 wrote:
> This is actually a question for James, but I think it's interesting
> for many out there.
> When the new book about Puppet is going to be released? Will it cover
> 2.6?
It's been delayed because my move and some issues with the publisher.
Hopefully by the end of the year. It wi
On Thu, Jul 29, 2010 at 10:48 AM, Jeff McCune wrote:
> Perhaps it might be useful to set resource defaults only for the local
> scope, and not for any classes which get included into this scope.
> How do you feel about this change to the language?
So this would mean that you'd only be able to se
Is there a way in puppet to make the client render a template from a module
and have it spit the contents of the template to stdout or to a file so it
can be looked at before deploying?
-Chris
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To
On Jul 29, 2010, at 9:45 AM, Rustler wrote:
> This code is working - but due to the file declaration it keeps
> downloading the rpm even after the package gets installed.
>
> 1. How do I stop the rpm from downloading after the package is
> installed?
Best method:
*) If at all possible you shou
- "Jeff McCune" wrote:
> I make the recommendation that classes should include the classes
> they depend on, but this appears to be problematic if the class doing the
> include sets resource defaults, particularity when setting a
> relationship in a default like require, before, subscribe an
That's what I thought, but it doesn't work. So there's nothing wrong
with what I'm doing? Perhaps I should file a bug report...
Centos 5.5, Puppet 2.6:
# ls -ld /etc/puppet
lrwxrwxrwx 1 root root 21 Jul 29 17:56 /etc/puppet -> /usr/local/etc/
puppet
# ls -ld /var/lib/puppet
lrwxrwxrwx 1 root
Hello,
I've been thinking about how best to handle the situation where a
single class is included multiple times from multiple classes who
themselves set resource defaults. This situation poses an interesting
problem in Puppet because of dynamic scoping rather than lexical
scoping and appears to
This code is working - but due to the file declaration it keeps
downloading the rpm even after the package gets installed.
1. How do I stop the rpm from downloading after the package is
installed?
class svn {
$TMP = "/tmp"
$RPM = "CollabNetSubversion-client-1.6.12-1.i386.rpm"
Hello All, I'm hoping to figure out how to use stages to reduce how many
require statements are used in a particular module.
I'm using the brief examples in the documentation as a reference but I can't
grep how to implement the staging.
http://docs.puppetlabs.com/references/2.6.0/metaparameter
>
> I am using nested zfs filesystems:>zfs list -o name,zoned,mountpoint
>
I used the following script to create a zone on zfs nested
filesystem and this worked
node default {
zone { "nested":
realhostname => "nested",
autoboot => "true",
path => "/nested/mount
On Jul 28, 2010, at 11:39 AM, Andrei Pozolotin wrote:
> and those of us who are no longer in the dark, please add there your
> working examples - for enlightenment, you know :-)
I just added a bunch of stuff starting here:
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas#Simple+
Hi
I'd like to be able to test if stored config is enabled and active,
and if not then react (eg. notice or die).
Is there any way of doing this?
Thanks
Dom
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to
Rob, hi
On Jul 29, 8:45 am, Rob McBroom wrote:
> I wonder about wrapping things in a define for something as simple as
> `sysctl.conf` though. > By doing that, every individual line will spawn it’s
> own Augeas resource.
you are right; ideally I want this:
a) have "sysctl:conf" calls scattere
Dear puppet community,
I am having problems using a module puppetlabs-vcsrepo from the forge.
I'm getting the error:
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:
Invalid resource type vcsrepo at /etc/puppet
Derek,
I am using nested zfs filesystems:
>zfs list -o name,zoned,mountpoint
NAME ZONED MOUNTPOINT
rootpool off /rootpool
rootpool/ROOToff legacy
rootpool/ROOT/s10x_u7off /
rootpool/ROOT/s10x_u7/v
On Jul 28, 2010, at 11:39 AM, Andrei Pozolotin wrote:
> Hello Puppeteers;
>
> for those of us who are still suffering in the darkness of
> Puppet_Augeas,
> I put a couple of working examples here:
>
> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas
Nice. I learned a few thing
On Jul 28, 2010, at 6:39 PM, Christopher Johnston wrote:
> To solve your pathing issue you could create a define to autocomplete the
> path for you.
I got that part figured out.
I just set “templatedir” in the puppetmaster section of my `puppet.conf` to be
the same as the path in my `fileserve
Put me down for a copy...
On Jul 29, 5:45 am, "Al @ Lab42" wrote:
> This is actually a question for James, but I think it's interesting
> for many out there.
> When the new book about Puppet is going to be released? Will it cover
> 2.6?
>
> All the best
> Al
--
You received this message because
On Wed, 28 Jul 2010, Tom wrote:
> "Note that you can set =??manage_internal_file_permissions=?? to false to
> disable this behaviour."
>
> So that's what I was trying to do - use
> "manage_internal_file_permissions" to disable it. But that doesn't
> seem to work either, does it? You can't use th
This is actually a question for James, but I think it's interesting
for many out there.
When the new book about Puppet is going to be released? Will it cover
2.6?
All the best
Al
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this g
Hi Doug,
just to give you a 'me too'. Please file a bug, I'll
vote for it.
-Thorsten
On 29 Jul 2010, at 00:13, Douglas Garstang wrote:
> Has anyone gotten parameterised classes to work in puppet 2.6 yet?
>
> No luck for me... Seems to be totally broken but I haven't had a
> chance to file a
56 matches
Mail list logo