Dear Felix,
Thanks a ton for your reply and great piece of information.
I will do the needful on my side.
Thanks again,
Regards,
Rakesh K.
On Wed, Feb 20, 2013 at 3:41 PM, Felix Frank <
felix.fr...@alumni.tu-berlin.de> wrote:
> Hi,
>
> On 02/20/2013 06:43 AM, Rakesh Kathpal wrote:
> >
Hi,
On 02/20/2013 06:43 AM, Rakesh Kathpal wrote:
> file { 'install':
> path => "c:\install.bat",
...
> exec {'install_sw':
> file { 'remove':
> ensure => absent,
...
> I am quite sure that there is something
> syntactically wrong my code but donno what? Can some
unfortunately getting a different error now
err: Failed to apply catalog: Cannot alias File[install] to
["c:/install.bat"] at /etc/puppet/modules/rk/manifests/init.pp:8; resource
["File", "c:/install.bat"] already declared at
/etc/puppet/modules/rk/manifests/init.pp:20
thanks a ton.. I will give it try and revert...
On Tue, Feb 19, 2013 at 7:58 PM, Bernd Adamowicz <
bernd.adamow...@esailors.de> wrote:
> You could try:
>
> ** **
>
>
> file { ‘delete-install-bat’:
> ensure => absent,
>
> path => ‘c:\install.bat’,
>
> require => Exec[
You could try:
file { 'delete-install-bat':
ensure => absent,
path => 'c:\install.bat',
require => Exec['install'],
}
Cheers,
Bernd
From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On
Behalf Of Rakesh Kathpal
Sent: Dienstag, 19. Februar 2013 15