On Wed, Jul 22, 2009 at 8:35 AM, sephs...@directionless.org 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
Delivered from mobile device.
On Jul 22, 2009, at 8:40 AM, Nigel Kersten nig...@google.com wrote:
On Wed, Jul 22, 2009 at 8:35 AM, sephs...@directionless.org 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
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 package
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] ],
}
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 joseph.e.mcdon...@gmail.com
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
Joe McDonagh joseph.e.mcdon...@gmail.com 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
seph wrote:
Joe McDonagh joseph.e.mcdon...@gmail.com 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
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 joseph.e.mcdon...@gmail.com writes:
IDK if you saw my previous e-mail, but did you get this from
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 joseph.e.mcdon...@gmail.com writes:
IDK if you saw my previous e-mail, but
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 joseph.e.mcdon...@gmail.com writes:
I'm running out of
13 matches
Mail list logo