On 07/12/2011 06:19 AM, Al @ Lab42 wrote:
command => "mkdir -p $destination_dir ; cd
$destination_dir ; $extract_command $work_dir/$source_filename",
Nice. But I would suggest changing ';' to '&&'. That way, if the
mkdir or cd fail you don't end up
trying to extract the archive i
On Tue, Jul 12, 2011 at 6:26 PM, Dan White wrote:
> This tells me RedHat picked Foreman over Cobbler. It does not tell me WHY.
>
> Their reasons may not apply to my situation.
>
> I am not trying to be difficult, but I find that I cannot accept an opinion
> on a technical issue without technical
On 13 July 2011 13:49, Nathan wrote:
> Hello
>
> I have just installed puppet dashboard from git.
>
> everything seems to load ok except it seems as though background tasks
> are not being run.
>
> You have to start them up yourself. An init script is a good idea to ensure
they get started at boo
On Tue, Jul 12, 2011 at 10:43 AM, Justin Lambert
wrote:
> I have just gotten to playing with this and am doing something wrong,
> probably very basic.
>
> On the puppetmaster (which for my testing is also the client) I have
> create_resources.rb in /var/lib/puppet/lib/puppet/parser/functions.
>
>
SO if I understand you correctly, if am not using ENC I should have a
nodes.pp for each environment?
On Jul 12, 10:19 pm, Michael Knox wrote:
> Hi,
>
> On 13/07/11 2:03 PM, newguy wrote:> Hi guys
> > I have a small question, I have 3 environments in puppet.conf file:
>
> > [development]
> > modu
What is the best way to create a repo?
I like to take baby steps, and test things as I go.
Is this kind of development style possible with puppet?
My hope was to do something like:
Have 1 ec2 vm open that will be my test vm where I will manually install
e.g. mysql or nginx, and then look at wha
Hi,
On 13/07/11 2:03 PM, newguy wrote:
Hi guys
I have a small question, I have 3 environments in puppet.conf file:
[development]
modulepath=/etc/puppet/development/modules
manifests=/etc/puppet/development/manifests/site.pp
I have defined the site.pp path, my question is do I need to make a
no
Hi guys
I have a small question, I have 3 environments in puppet.conf file:
[development]
modulepath=/etc/puppet/development/modules
manifests=/etc/puppet/development/manifests/site.pp
I have defined the site.pp path, my question is do I need to make a
nodes.pp for every environment??
Thanks
Hello
I have just installed puppet dashboard from git.
everything seems to load ok except it seems as though background tasks
are not being run.
According to the code README:
running: # env CPUS=4 RAILS_ENV=production /.../script/delayed_job -p
dashboard -n $CPUS -m start
will start the worker
On Tue, Jul 12, 2011 at 7:53 PM, Rich Rauenzahn wrote:
> We are using puppet to export nagios resources (now we're using file
> resources to represent them) and the number of resources is probably
> in the thousands -- our puppet runs take 6GB (on the client side) and
> then just sort of spin for
We are using puppet to export nagios resources (now we're using file
resources to represent them) and the number of resources is probably
in the thousands -- our puppet runs take 6GB (on the client side) and
then just sort of spin forever (it's been running for a couple of
hours now -- and no, we'r
Have you looked at tags?
http://docs.puppetlabs.com/references/stable/metaparameter.html#tag
http://docs.puppetlabs.com/references/stable/function.html#tag
It allows you to tag parts of your content, and selectively run it
with --tags on the command line.
Classes are already tagged implicitly w
Does puppet have/support the use case where I only want to include
certain classes if the puppet daemon is running, and another set if
classes if puppet is run manually with the runonce option?
I think a good example would be:
* I want to include nagios and nrpe when run via the daemon
* I want to
We use Cobbler to provision and Puppet to manage. Once our server is
provisioned it'll never speak to the Cobbler server again. Lay down
the most basic config you need with Cobbler to allow it to pull the
Puppet agent and config from a repo, and then let Puppet take over.
I have little experience
Can't seem to make it work
puppet 2.6.8 (client/server)
# puppet kick -f ubuntu4.ttinet
Triggering ubuntu4.ttinet
Host ubuntu4.ttinet failed: Error 400 on SERVER: 'save ' is not an allowed
value for method directive
ubuntu4.ttinet finished with exit code 2
Failed: ubuntu4.ttinet
root@ubuntu4:~#
I am using the create_resource module backported from 2.7 to 2.6 to make
this possible. The module I am using was recommeded by Dan Bode and can be
found at https://github.com/puppetlabs/puppetlabs-create_resources.
I'm sure it is just something in the way I am implementing it.
On Tue, Jul 12, 2
On Tue, 12 Jul 2011 13:43:45 -0700, vella1tj wrote:
>
> package { 'Bindscript20100601.dmg':
> provider => pkgdmg,
> ensure => installed,
> source => 'temp/location/rightnow/Bindscript20100601.dmg',
> }
>
> Seems to work fine I return this once it runs "notice:
> //Package[B
On Tue, Jul 12, 2011 at 1:37 PM, Jacob Helwig wrote:
>
> This shouldn't actually be necessary. The pkgdmg provider should keep
> track of which things it's installed, so it won't keep trying to install
> the .dmg on every run.
>
>
and for further detail, due to OS X not having a real package man
package { 'Bindscript20100601.dmg':
provider => pkgdmg,
ensure => installed,
source => 'temp/location/rightnow/Bindscript20100601.dmg',
}
Seems to work fine I return this once it runs "notice:
//Package[Bindscript20100601.pkg.dmg]/ensure: created"
So it will only run once o
On Tue, 12 Jul 2011 13:19:34 -0700, vella1tj wrote:
>
> Hi, I am trying run a package once and when it completes I want my
> manifest to create a touch file and from that file being placed there
> it will not run again. I have this so far, but have been running into
> syntax problems/invalid param
Hi, is 'something::other' valid in yaml?
Cheers
Den
On 13/07/2011, at 3:43, Justin Lambert wrote:
> I have just gotten to playing with this and am doing something wrong,
> probably very basic.
>
> On the puppetmaster (which for my testing is also the client) I have
> create_resources.rb in /v
Hi, I am trying run a package once and when it completes I want my
manifest to create a touch file and from that file being placed there
it will not run again. I have this so far, but have been running into
syntax problems/invalid parameters.
#Package to install
package { 'Bindscript20100601.dmg
Perhaps someone of this list is interested. Regards
Messaggio originale
Da: SearchEnterpriseLinux.com
Inviato: 12/07/2011, 21:02
A: pinto.e...@gmail.com
Oggetto: Cloud hosting made easy with OpenStack and Puppet
Search
Okay I'll have a stab at some differences for you and some similarities.
Cobbler is written in python and foreman in ruby like puppet. They each do a
similar kind of thing with a similar tool set; dns, pxe, dhcp. Each have a gui.
Cobbler only recently included debian support in their main line a
On Tue, Jul 12, 2011 at 10:53 PM, Scott Smith wrote:
> Doesn't the Foreman use Cobbler for managing PXE and Kickstart?
not at all.
Ohad
>
> -scott
>
>
> On Tue, Jul 12, 2011 at 8:26 AM, Dan White wrote:
>
>> This tells me RedHat picked Foreman over Cobbler. It does not tell me
>> WHY.
>>
>>
Hi. I have a client and server running Puppet 2.7.1 from GEMS
(though the same problem occurs using the Ubuntu Lucid standard
packages). I try to update the client against the server, and it
freezes at this line:
debug: file_metadata supports formats: b64_zlib_yaml marshal pson
raw yaml; usi
Doesn't the Foreman use Cobbler for managing PXE and Kickstart?
-scott
On Tue, Jul 12, 2011 at 8:26 AM, Dan White wrote:
> This tells me RedHat picked Foreman over Cobbler. It does not tell me WHY.
>
> Their reasons may not apply to my situation.
>
> I am not trying to be difficult, but I find
Jacob
Thanks for confirming that.
There might be another related bug: when I changed the ensure =>
mtime, it still failed:
/usr/bin/puppet:19:in `load'
/usr/bin/puppet:19
err:
/Stage[main]/Emb/File[/opt/jetty-distribution-7.4.2.v20110526.tar.gz]/ensure:
change from absent to file failed: Could
Well, it turns out that it's definitely a puppet bug.
The streaming checksumming that's used doesn't actually only look at the
first 512 characters like the static checksumming that's used for
verifying the file on disk does.
http://projects.puppetlabs.com/issues/8385
--
Jacob Helwig
On Tue, 1
Jacob
Thanks. I did that, the checksum is a3f7372d40abae273d2680b650ca4715.
This is the second checksum in the error, what did 1st checksum came
from? The file itself never changed during my tests.
What is the next step?
Thanks
Haitao
On Tue, Jul 12, 2011 at 9:53 AM, Jacob Helwig wrote:
> On
I have just gotten to playing with this and am doing something wrong,
probably very basic.
On the puppetmaster (which for my testing is also the client) I have
create_resources.rb in /var/lib/puppet/lib/puppet/parser/functions.
I wrote a new ENC that will just output a very basic YAML to test thi
Unfortunately, it does not work. That was the first thing I had tried
to try and reproduce the problem in ruby outside a puppet run.
Also, here are the ruby util modules for puppet in 0.25.4:
/opt/ruby-1.8.6-p287/lib/ruby/site_ruby/1.8/puppet/util
autoload
autoload.rb
backups.rb
cacher.rb
checksu
On Tue, 12 Jul 2011 08:41:24 -0700, Haitao Jiang wrote:
>
> This happens to Puppet 2.7.1 (both master and client). I have a file
> resource that I set to ensure => absent, Puppet removed it correctly
> with info line that it has a duplicate entry in the filebucket. I then
> changed the ensure => p
- Original Message -
| Hi all,
|
| Got an issue which is starting to annoy me.
|
| How do people currently select repos from which to install particular
| packages? Currently we have a base centos, (enabled by default), and
| several others that I want to enable and disable for particular
This happens to Puppet 2.7.1 (both master and client). I have a file
resource that I set to ensure => absent, Puppet removed it correctly
with info line that it has a duplicate entry in the filebucket. I then
changed the ensure => present, the agent run gave me following error:
/usr/bin/puppet:19
This tells me RedHat picked Foreman over Cobbler. It does not tell me WHY.
Their reasons may not apply to my situation.
I am not trying to be difficult, but I find that I cannot accept an opinion on
a technical issue without technical information to back it up. Also, this is
for my job, so I
Zach wrote:
You guys got me on the right track... Turns out I was running into
this:
"One of THE MOST DIFFICULT concepts to understand for puppet newbies
is that these two things are identical:
include foo
class { 'foo': }"
In my case, I was declaring things like:
class { "nagios::webserver":
On Jul 11, 11:31 am, Arnaud Gomes-do-Vale
wrote:
> Hi folks,
>
> This is a "best practices" question as much as a technical one.
>
> I am trying to redefine variables when I include a specific class. The
> use case is installing php 5.3 on a few select centos 5 boxes while
> keeping the default
On Tue, Jul 12, 2011 at 2:21 AM, treydock wrote:
> That's what I was thinking would be the case, but since the
> puppetmaster files are also installed in OS X, that must by why a
> puppet user is required. So is there a way to do a "client only"
> install of Puppet in OS X?
Puppet 2.6+ is a sing
There is already a bug open on this issue:
http://projects.puppetlabs.com/issues/6717
So far, I've been manually cleaning out tables periodically, but
that's not going to work long term.
On Jul 12, 1:17 am, Patrick wrote:
> I'm using puppet-dashboard 1.1.0-1 on Ubuntu. I remove old reports usi
You guys got me on the right track... Turns out I was running into
this:
"One of THE MOST DIFFICULT concepts to understand for puppet newbies
is that these two things are identical:
include foo
class { 'foo': }"
In my case, I was declaring things like:
class { "nagios::webserver":
On Jul 7, 2:47 pm, Dan White wrote:
> In "Pro Linux System Administration" Mr. Turnbull discusses Cobbler and Puppet
> In "Pro Puppet" he discusses Foreman and Puppet.
>
> Would anyone out there be willing and able to talk about the differences
> between Cobbler and Foreman as they relate to Pu
On Jul 11, 10:52 am, Zach wrote:
> Hi all,
>
> I'm noticing that all classes I have created are being applied to
> every node, even ones that don't specifically "include" them. There
> is no inheritance occurring that would allow this to happen. I've
> been reading docs and couldn't find anyth
Arnaud Gomes-do-Vale writes:
> class wordpress {
> # apache::lamp includes apache::php
> include apache::lamp
>
> if $::os == 'rhel5' {
> include apache::php53
> }
> # .../...
> }
Including apache::php53 before apache::lamp fixes the issue. I wouldn't
trust this is rock-solid thoug
I recently upgraded my Puppetmaster to 2.7.1, and am now having what
seem to be random puppet run failures on almost all my nodes. All
nodes except the actual puppetmaster are running 2.6.8. Right now I
will get alerted about a failure, then log into that system and do a
manual run, which will su
You might find this define useful (
https://github.com/example42/puppet-modules/blob/master/common/manifests/defines/netinstall.pp
):
define netinstall (
$url,
$extracted_dir,
$destination_dir,
$owner = "root",
$group = "root",
$work_dir = "/var/tmp",
$extract_comman
Hi,
I want to write the class to install the packages from source .
Please suggest me how to achieve the following things .
1. download the source file and extract it .
2. to the make && make install and verify the installation
Regards
CHEBRIAN
--
You received this message because you are s
That's what I was thinking would be the case, but since the
puppetmaster files are also installed in OS X, that must by why a
puppet user is required. So is there a way to do a "client only"
install of Puppet in OS X?
On Jul 12, 1:47 am, Patrick wrote:
> On Jul 11, 2011, at 7:51 PM, treydock wr
Hi,
tu2bg...@gmail.com writes:
> How do people currently select repos from which to install particular
> packages? Currently we have a base centos, (enabled by default), and
> several others that I want to enable and disable for particular
> packages, like being able to use the --disablerepo=*
>
Hi Den,
at least I can tell you that you're not the only one encountering this
issue: http://projects.puppetlabs.com/issues/2247
-Stefan
On Tue, Jul 12, 2011 at 01:13:10AM +, tu2bg...@gmail.com wrote:
> Hi all,
>
> Got an issue which is starting to annoy me.
>
> How do people currently sel
50 matches
Mail list logo