Luke Kanies wrote:
> On Jul 21, 2009, at 5:31 PM, Trevor Vaughan wrote:
>> Is there any way to make some things fail softly so that they can be
>> less hard than class-wise fatal?
>
> Hmm, no one's ever asked before.
>
> It seems reasonable that we could mark some resources as non-fatal,
> but
I was thinking of this in a very fine grained way, such as a metaparameter.
The situation that made me think of this is:
class foo {
file { 'super/important':
ensure => 'file',
content => 'something great\n'
}
exec { 'nice to have happen':
command => 'check stuff and set a fil
Hi
> [discussion about soft failing]
hmm I don't see why you'd like to have your environment in a
semi-satisfied state. Either your environment is in the state is
broken or you have to fix it. Everything else is imho just scary...
cheers pete
--~--~-~--~~~---~--
An update on this thread working with Mark at USG:
The example Apache config file with Puppet is not correct. I have
submitted a patch so the example configuration file is correct.
http://projects.reductivelabs.com/issues/2430
In communication with USG, once the options were properly set, th
It's not semi-satisfied in cases where you might be waiting for
cross-system semaphores to complete and you don't want to fire
anything else off until they are.
Trevor
> On Wed, Jul 22, 2009 at 08:26, Peter Meier wrote:
>> Hi
>>
>>> [discussion about soft failing]
>>
>> hmm I don't see why you'd
On Jul 21, 2009, at 1:00 PM, jc.listmail wrote:
>
> Hi-
>
> I've been using Puppet for a few months now and am trying to work my
> recipes into something a little more elegant and efficient.
>
> One of the things I am trying to do is better selection. What I would
> really like to be able to do
On Wed, Jul 22, 2009 at 5:03 AM, Trevor Vaughan wrote:
>
> I was thinking of this in a very fine grained way, such as a metaparameter.
>
> The situation that made me think of this is:
>
> class foo {
> file { 'super/important':
> ensure => 'file',
> content => 'something great\n'
> }
>
>
For the most part, execs is it, but sometimes you might use it for a
file or for a custom type.
I suppose that it could be built into each type as necessary with just
as much effectiveness.
In this case though, we might want to set up logging for the exec only
on specific failure states.
I.e. 2
On Tue, Jul 21, 2009 at 10:14 AM, jcbollinger wrote:
>
>
> On Jul 16, 4:48 pm, S H wrote:
> > Puppet 0.24.8.
> >
> > I'm building a custom type and have run into a bit of a snag. If I try to
> > require another plugin, my type fails to load on the "Retrieving plugins"
> > stage of the client run.
I'd like to use puppet to manage some cron jobs. Unfortunately, I do not
have cron installed on my servers. So, I'd like to use puppet to install
cron. Unfortunately, this doesn't seem to work. Puppet complains about
the lack of provider before it runs down the dependencies. For example,
this ough
On Wed, Jul 22, 2009 at 8:35 AM, seph wrote:
>
> I'd like to use puppet to manage some cron jobs. Unfortunately, I do not
> have cron installed on my servers. So, I'd like to use puppet to install
> cron. Unfortunately, this doesn't seem to work. Puppet complains about
> the lack of provider befor
Delivered from mobile device.
On Jul 22, 2009, at 8:40 AM, Nigel Kersten wrote:
>
> On Wed, Jul 22, 2009 at 8:35 AM, seph wrote:
>>
>> I'd like to use puppet to manage some cron jobs. Unfortunately, I
>> do not
>> have cron installed on my servers. So, I'd like to use puppet to
>> install
As I mentioned in another thread, I'm trying to work through the kinks in
developing my own types/providers. I appear to be doing something very
wrong, but I don't know what.
On my puppetmaster, I've got the following:
-
# modules/test/plugins/puppet/ty
Just wanted to put the word out, if you are interested in running Puppet on
Passenger with Ubuntu Hardy, the updated packages can be found @ the
BitPusher PPA on Launchpad.
https://launchpad.net/~bitpusher/+archive/ppa
--~--~-~--~~~---~--~~
You received this messag
On Wed, Jul 22, 2009 at 9:05 AM, Mark Foster wrote:
> Just wanted to put the word out, if you are interested in running Puppet on
> Passenger with Ubuntu Hardy, the updated packages can be found @ the
> BitPusher PPA on Launchpad.
>
> https://launchpad.net/~bitpusher/+archive/ppa
How do these com
Sorry, package["anacron"] is a bad example, since that package doesn't
actually provide cron. But it behaves identically with
package["cron"].
The issue is as Teyo describes -- the failure occurs before the package
resource is ever executed. I get the same error if the package doesn't
exist, or
seph wrote:
> Sorry, package["anacron"] is a bad example, since that package doesn't
> actually provide cron. But it behaves identically with
> package["cron"].
>
> The issue is as Teyo describes -- the failure occurs before the package
> resource is ever executed. I get the same error if the pa
Still fails for me. Perhaps it changed in some puppet version?
r...@puppet-test:~# puppet -V
0.24.8
r...@puppet-test:~# cat /var/tmp/puppet-cron.pp
package{ "cron":
ensure => "latest",
}
Cron {
require => [ Package["cron"], Service["cron"] ],
}
cron {"puppet cron test"
seph wrote:
> Still fails for me. Perhaps it changed in some puppet version?
>
> r...@puppet-test:~# puppet -V
> 0.24.8
>
> r...@puppet-test:~# cat /var/tmp/puppet-cron.pp
> package{ "cron":
> ensure => "latest",
> }
>
> Cron {
> require => [ Package["cron"], Service["cron"] ]
I'm running on ubuntu. Anyhow, I'm running puppet with only that
file. Nothing more. So if it needs an explicit service definition, it
should complain about it. Anyhow I tried it, same error. The cron thing
fails out before it gets anywhere.
seph
Joe McDonagh writes:
> seph wrote:
>> Still fa
seph wrote:
> I'm running on ubuntu. Anyhow, I'm running puppet with only that
> file. Nothing more. So if it needs an explicit service definition, it
> should complain about it. Anyhow I tried it, same error. The cron thing
> fails out before it gets anywhere.
>
> seph
>
>
> Joe McDonagh writes:
Joe McDonagh writes:
> I think it would be non-trivial to make the provider aware of what
> packages and what services it needs, which it would need to do to tell
> you anything more than the provider can't be found. Is the cron package
> installed after you run the manifest?
This is exactly
On Jul 16, 2009, at 2:48 PM, S H wrote:
> Puppet 0.24.8.
>
> I'm building a custom type and have run into a bit of a snag. If I
> try to require another plugin, my type fails to load on the
> "Retrieving plugins" stage of the client run.
Puppet immediately loads all downloaded ruby files, wi
On Jul 22, 2009, at 8:55 AM, S H wrote:
> As I mentioned in another thread, I'm trying to work through the
> kinks in developing my own types/providers. I appear to be doing
> something very wrong, but I don't know what.
>
> On my puppetmaster, I've got the following:
>
>
seph wrote:
> Joe McDonagh writes:
>
>
>> I think it would be non-trivial to make the provider aware of what
>> packages and what services it needs, which it would need to do to tell
>> you anything more than the provider can't be found. Is the cron package
>> installed after you run the ma
These are the ubuntu packages.
r...@puppet-test:~# dpkg -s puppet | grep Version
Version: 0.24.8-1
r...@puppet-test:~# dpkg -s facter | grep Version
Version: 1.5.1-0.1
seph
Joe McDonagh writes:
> IDK if you saw my previous e-mail, but did you get this from
> ftp.ubuntu.com or rubyge
On Wed, Jul 22, 2009 at 1:59 PM, Luke Kanies wrote:
>
> On Jul 22, 2009, at 8:55 AM, S H wrote:
>
> > As I mentioned in another thread, I'm trying to work through the
> > kinks in developing my own types/providers. I appear to be doing
> > something very wrong, but I don't know what.
> >
> > On m
On Wed, Jul 22, 2009 at 1:56 PM, Luke Kanies wrote:
>
> On Jul 16, 2009, at 2:48 PM, S H wrote:
>
> > Puppet 0.24.8.
> >
> > I'm building a custom type and have run into a bit of a snag. If I
> > try to require another plugin, my type fails to load on the
> > "Retrieving plugins" stage of the cli
Puppetmasterd runs as root, though I suppose I could start it as
puppet
The main thing I am trying to do here is not have the CA directory,
and all its files owned by root
I want all the CA stuff to continue to be owned by the puppet user.
I guess what I mean is that I want to be able to specif
seph wrote:
> These are the ubuntu packages.
>
> r...@puppet-test:~# dpkg -s puppet | grep Version
> Version: 0.24.8-1
>
> r...@puppet-test:~# dpkg -s facter | grep Version
> Version: 1.5.1-0.1
>
> seph
>
> Joe McDonagh writes:
>
>
>> IDK if you saw my previous e-mail, but did you get
I got the same error when it was run from a puppetmaster, I switched to
a simpler local example to debug it.
If you don't have cron installed, does puppet error out, or install it
like it ought?
seph
Joe McDonagh writes:
> I'm running out of ideas, I do this same thing, on the same OS and
>
seph wrote:
> I got the same error when it was run from a puppetmaster, I switched to
> a simpler local example to debug it.
>
> If you don't have cron installed, does puppet error out, or install it
> like it ought?
>
> seph
>
> Joe McDonagh writes:
>
>
>> I'm running out of ideas, I do this
After encountering more problems such as no ability
to compile RubyRRDtool-0.6.0.tgz when no other rrd library
is working,,,
I decided (not happily) to move from my Ubuntu jaunty 9.04
to RHEL5.3 and it solved both problems.
Moty
On Jun 22, 11:48 pm, Moty wrote:
> Hi all
>
> How do I get
On Jul 22, 9:11 am, Nigel Kersten wrote:
> On Wed, Jul 22, 2009 at 9:05 AM, Mark Foster wrote:
> > Just wanted to put the word out, if you are interested in running Puppet on
> > Passenger with Ubuntu Hardy, the updated packages can be found @ the
> > BitPusher PPA on Launchpad.
>
> >https://la
On Wed, Jul 22, 2009 at 1:31 PM, Mark Foster wrote:
>
>
>
> On Jul 22, 9:11 am, Nigel Kersten wrote:
>> On Wed, Jul 22, 2009 at 9:05 AM, Mark Foster wrote:
>> > Just wanted to put the word out, if you are interested in running Puppet on
>> > Passenger with Ubuntu Hardy, the updated packages can b
That works inversely proportionally to the number of "special" boxes you
have for a particular resource and since we have a handful or resources
that work this way, we'd definitely prefer something similar to the
approach we're currently using in 0.22.4.
If we have to though, we do already hav
I've happily used the Brightbox Hardy packages on two different
systems. Quite happy with them, though it's my first time using
Passenger, so I can't really judge. At least some of the sources are
on GitHub, too:
http://github.com/johnl/deb-passenger/tree/master
Julian.
2009/7/22 Nigel Kerste
All:
We're going to need to reevaluate provider/service/freebsd.rb in big
ways.
For example:
service { "cron":
enable => "true",
ensure => "running"
}
Will write /etc/rc.conf.d/cron w/ cron_enable=YES
despite /etc/defaults/rc.conf having cron_enable=YES
Intel
I try to explain how we implemented our workflow.
We developed some strategies to make puppet module development easy to test
and we have a way to rollout our configuration to different environments by
simply taging the versions we think they are stable enough. Basically we use
the power of th
I'm in the process of setting up our puppet environment, and am
creating dummy classes so that I can test/use our node classification
script, however my dummy classes are throwing the following error.
puppetmasterd[3908]: Could not parse for environment production:
Syntax error at 'Stage_cis2' at
On Wed, Jul 22, 2009 at 2:00 PM, al...@leapfrog wrote:
>
> I'm in the process of setting up our puppet environment, and am
> creating dummy classes so that I can test/use our node classification
> script, however my dummy classes are throwing the following error.
>
> puppetmasterd[3908]: Could no
41 matches
Mail list logo