consult the README -- the files with JDK tarbal need to be in files/
On Fri, Nov 7, 2014 at 1:55 AM, Ruijing Guo <[email protected]> wrote: > Why I cannot install JDK by puppet? > > > [guor4@localhost bigtop]$ sudo puppet apply --modulepath=. -e "include > bigtop_toolchain::jdk6" > err: > /Stage[main]/Bigtop_toolchain::Jdk6/File[/tmp/jdk-6u45-linux-amd64.rpm]: > Could not evaluate: Could not retrieve information from environment > production source(s) > puppet:///modules/bigtop_toolchain/jdk-6u45-linux-amd64.rpm at > /mnt/hgfs/Shared/bigtop/bigtop_toolchain/manifests/jdk6.pp:72 > notice: /Stage[main]/Bigtop_toolchain::Jdk6/Exec[/bin/rpm -Uvh > /tmp/jdk-6u45-linux-amd64.rpm]: Dependency > File[/tmp/jdk-6u45-linux-amd64.rpm] has failures: true > warning: /Stage[main]/Bigtop_toolchain::Jdk6/Exec[/bin/rpm -Uvh > /tmp/jdk-6u45-linux-amd64.rpm]: Skipping because of failed dependencies > notice: Finished catalog run in 0.03 seconds > [guor4@localhost bigtop]$ sudo puppet apply --modulepath=. -e "include > bigtop_toolchain::jdk" > err: /Stage[main]/Bigtop_toolchain::Jdk/File[/tmp/jdk-7u60-linux-x64.gz]: > Could not evaluate: Could not retrieve information from environment > production source(s) > puppet:///modules/bigtop_toolchain/jdk-7u60-linux-x64.gz at > /mnt/hgfs/Shared/bigtop/bigtop_toolchain/manifests/jdk.pp:23 > notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf > /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Dependency > File[/tmp/jdk-7u60-linux-x64.gz] has failures: true > warning: /Stage[main]/Bigtop_toolchain::Jdk/Exec[/bin/tar -xzvf > /tmp/jdk-7u60-linux-x64.gz; ln -s jdk1.7.0_60 jdk7-latest]: Skipping > because of failed dependencies > notice: Finished catalog run in 0.03 seconds > > -- > Thanks, > -Ruijing
