puppetlabs/java using a Debian package

asked 2016-02-10 18:21:01 -0500

jkerr gravatar image

Using puppet Enterprise and working with the puppetlabs/java module. My agent node is Ubuntu 14.04 I am attempting to install OpenJDK 8. I created a debian package with make-jpkg (oracle-java8-jdk8u71amd64.deb). Using the PE console, I am unclear as to what to set the "package" parameter to in order for the module to recognize the created deb package. Suggestions on what to set the parameters to are appreciated. I placed the package in a files directory in the java module and set "package" to puppet:///modules/java/oracle-java8-jdk8u71amd64.deb. I also tried setting "package" to an absolute path to the deb package on the master. Both yield:

Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for linpup01.thinktank.lan Info: Applying configuration version '1455148386' Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install /etc/puppetlabs/code/environments/production/modules/java/files/oracle-java8-jdk8u71amd64.deb' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package /etc/puppetlabs/code/environments/production/modules/java/files Error: /Stage[main]/Java/Package[java]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install /etc/puppetlabs/code/environments/production/modules/java/files/oracle-java8-jdk8u71amd64.deb' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package /etc/puppetlabs/code/environments/production/modules/java/files

edit retag flag offensive close merge delete