FAQ
Thanks i got the solution mathew
On Wednesday, 13 February 2013 11:16:13 UTC+5:30, yarlagadda ramya wrote:

*Hi all,

I wrote a manifest for downloading linux.x64_11gR2_database_1of2.zip and
copying that to another directory and unzipping there..its getting
downloaded but copying and unzipping is not happening..am getting this
error..
*
notice: /Stage[main]//Exec[download_url]/returns: executed successfully
err: /Stage[main]//Exec[copy_unzip]/returns: change from notrun to 0
failed: /usr/bin/unzip -C /db/oracle /db/combo.zip returned 9 instead of
one of [0] at /root/learning-manifests/combozip.pp:13
notice: Finished catalog run in 0.19 seconds

the manifest that i wrote is:
$URL = "
http://192.168.24.171:8080/softwares/linux.x64_11gR2_database_1of2.zip"
$Software = "/db"
$Server = "/db/oracle"

exec { "download_url":
command => "/usr/bin/wget $URL",
cwd => "$Software",
}

exec {"copy_unzip":
command => "/usr/bin/unzip -C /db/oracle
/db/linux.x64_11gR2_database_1of2.zip",
cwd => "$Server",
}

Exec['download_url'] -> Exec['copy_unzip']

Please do help me with this.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 5 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedFeb 13, '13 at 5:46a
activeFeb 13, '13 at 9:04a
posts5
users3
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase