Displaying 6 results from an estimated 6 matches for "puppettmp".
2010 Mar 02
2
Nagios based on David Schmitt's Complete Config : variables are empty
...Config. But I the following error when running puppetd -t -
v :
notice: Starting catalog run
err: //Node[monitoring]/nagios::target/Nagios::Host[]/File[/conf.d/
_host.cfg]/ensure: change from absent to present failed: Could not set
present on ensure: No such file or directory - /conf.d/
_host.cfg.puppettmp at /etc/puppet/modules/nagios/manifests/init.pp:40
notice: Finished catalog run in 3.91 seconds
As far as I understand, the problem comes from :
define host($ip= $fqdn, $short_alias = $fqdn) {
@@file {
"${nagios_cfgdir}/conf.d/${name}_host.cfg":
ensure => present,...
2009 Jan 30
4
modules not processing in order
...xzf /tmp/ipswich.tar.gz]/returns:
executed successfully
err: //Node[puppetslave.example.org]/defaultnode/shared-default/
bigbrother/File[/var/bb/bbc1.9e-btf_linux/bin]/ensure: change from
absent to file failed: Could not set file on ensure: No such file or
directory - /var/bb/bbc1.9e-btf_linux/bin.puppettmp at /var/lib/puppet/
modules/bigbrother/manifests/init.pp:79
warning: //Node[puppetslave.example.org]/defaultnode/shared-default/
bigbrother/Bb-hosts[puppet]/File[/var/bb/bb/etc/bb-hosts]/checksum:
File /var/bb/bb/etc/bb-hosts does not exist -- cannot checksum
notice: //Node[puppetslave.example.org]...
2007 Nov 08
3
Downloading a file into a directory that does not exist
...foo (and thus /etc/foo/bar) does not exist, the operation
fails.
The error message looks like this:
err:
//site_1515/install_file[/etc/foo/bar/baz.txt]/File[/etc/foo/bar/baz.txt
]/ensure: change from absent to file failed: Could not set file on
ensure: No such file or directory - /etc/foo/bar/baz.puppettmp at
/etc/puppet/manifests/functions.pp:48
It looks like this issue has been addressed at least twice before, at:
http://reductivelabs.com/trac/puppet/ticket/86 (" Directory creation
fails if parent directory does not exist ")
http://reductivelabs.com/trac/puppet/ticket/668 (" Using F...
2007 Jan 15
5
file type not autorequiring parent directories.
...clude":
source => "/tmp/dhcpd.include",
}
In this example the /tmp/dhcp/ directory does not exist so i would
expect puppet to create it.
Error returned (puppetd --debug):
Could not set file on ensure: No such file or directory -
/tmp/dhcp/dhcpd.include.puppettmp at
/etc/puppet/manifests/classes/bootserver.pp:35
err:
/boot.xx.clivepeeters.com.au/bootserver/File[/tmp/dhcp/dhcpd.include]/ensure:
change from absent to file failed: Could not set file on ensure: No such
file or directory - /tmp/dhcp/dhcpd.include.puppettmp at
/etc/puppet/manifests/classes/b...
2007 Jul 30
1
Module question: resources evaluated once or repeatedly?
...tions? Systems that aren''t even supposed to have Amanda installed:
Jul 30 12:05:06 ch226-23 puppetd[2535]:
(//File[/etc/amanda/daily/disklist.systems]/ensure) change from absent
to file failed: Could not set file on ensure: No such file or directory
- /etc/amanda/daily/disklist.systems.puppettmp at
/etc/puppet/modules/amandaconfig/manifests/init.pp:33
Jul 30 12:06:05 ch226-22 puppetd[2570]:
(//File[/usr/local/sbin/mkdisklist.archival]/source) replacing from
source puppet:///amandaconfig/mkdisklist.archival with contents
{md5}4eb027751e0987d3a4fbdfd466aa5d05
I''m currently atte...
2009 Oct 18
6
How to handle failures of resources
Welcome all,
Resources can depend one from each other, and failure of a required
resource prevent the dependants from being run.
But how to trap these failures and handle them? Is there any way to
e.g. set a variable $error_happened to "true" if some promise
about the resource couldn''t be kept? Maybe even there is a way to
capture the error string?
Some