Your message dated Tue, 16 Feb 2010 16:43:30 +0100
with message-id <[email protected]>
and subject line "creates" and documentation.
has caused the Debian Bug report #524812,
regarding exec type, creates directive does not create
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
524812: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524812
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 0.24.7-2
Severity: normal

  exec {
    "mail [email protected] -s \"kB available on /: `df / | tail -n 1 | 
sed -r 's/ +/   /g' | cut -f4` - `hostname`\"":
      path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"],
      creates => "/var/tmp/partition_usage_20090420";
  }

does not create /var/tmp/partition_usage_20090420 as advertised and executes 
the command every time puppet runs

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24-etchnhalf.1-686-bigmem
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)

Versions of packages puppet depends on:
ii  adduser                3.102             Add and remove users and groups
ii  facter                 1.3.5-1           a library for retrieving facts fro
ii  libopenssl-ruby        1.0.0+ruby1.8.2-1 OpenSSL interface for Ruby
ii  libshadow-ruby1.8      1.4.1-7           Interface of shadow password for R
ii  libxmlrpc-ruby         1.8.2-1           XML-RPC support for Ruby
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  ruby                   1.8.2-1           An interpreter of object-oriented 

Versions of packages puppet recommends:
pn  libaugeas-ruby1.8             <none>     (no description available)
ii  rdoc                          1.8.2-1    Generate documentation from ruby s

-- no debconf information



--- End Message ---
--- Begin Message ---
When using "puppetdoc", there are now two mentions of "creates":

,----[ exec ]
| One useful way to create idempotent commands is to use the checks like
| ``creates`` to avoid running the command unless some condition is met.
`----

,----[ exec/creates ]
| A file that this command creates.  If this parameter is provided, then
| the command will only be run if the specified file does not exist::
| 
|     exec { "tar xf /my/tar/file.tar":
|         cwd => "/var/tmp",
|         creates => "/var/tmp/myfile",
|         path => ["/usr/bin", "/usr/sbin"]
|     }
`----

I consider this sufficient, and close this bug.  However, if you have a
suggestion for a different wording, I'd be happy to receive it.

-- 
Stig Sandbeck Mathisen


--- End Message ---

Reply via email to