class { '::cloudera':
cm_server_host => 'cdh-server.test.com',
install_cmserver => true,
}
I have Java Oracle JDK 8 on my Ubuntu 14.04 machine.
Later, on puppet agent I get this error:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package jdk
Error: /Stage[main]/Cloudera::Java/Package[jdk]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package jdk
Notice: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Skipping because of failed dependencies
Notice: /Stage[main]/Cloudera/Anchor[cloudera::end]: Dependency Package[jdk] has failures: true
Warning: /Stage[main]/Cloudera/Anchor[cloudera::end]: Skipping because of failed dependencies
I'm using the following configuration in site.pp:
class { '::cloudera': cm_server_host => 'cdh-server.test.com', install_cmserver => true, }
I have Java Oracle JDK 8 on my Ubuntu 14.04 machine.
Later, on puppet agent I get this error:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package jdk
Error: /Stage[main]/Cloudera::Java/Package[jdk]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install jdk' returned 100: Reading package lists... Building dependency tree... Reading state information... E: Unable to locate package jdk
Notice: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera::Java/Exec[java-alternatives]: Skipping because of failed dependencies Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-agent]: Skipping because of failed dependencies Notice: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera::Cm/Package[cloudera-manager-daemons]: Skipping because of failed dependencies Notice: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera::Cm/File[scm-config.ini]: Skipping because of failed dependencies Notice: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera::Cm/Service[cloudera-scm-agent]: Skipping because of failed dependencies Notice: /Stage[main]/Cloudera/Anchor[cloudera::end]: Dependency Package[jdk] has failures: true Warning: /Stage[main]/Cloudera/Anchor[cloudera::end]: Skipping because of failed dependencies
Please let me know if I missing something. Thanks