Closed supriyawishesu closed 10 years ago
You need the module ghoneycutt/common https://github.com/ghoneycutt/puppet-module-common
Hi,
I am having this issue
puppet module install --force ghoneycutt-common Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Notice: Installing -- do not interrupt ... Error: No such file or directory - /etc/puppetlabs/puppet/modules/common/spec/fixtures/modules/common Error: Try 'puppet help module install' for usage let me know
On Thu, May 8, 2014 at 1:27 PM, Garrett Honeycutt notifications@github.comwrote:
You need the module ghoneycutt/common https://github.com/ghoneycutt/puppet-module-common
— Reply to this email directly or view it on GitHubhttps://github.com/ghoneycutt/puppet-module-facter/issues/14#issuecomment-42579386 .
Looks like there is an issue with the common module. The way the packages are built they do not ignore directories which is an issue.. I'll rebuild it.
try puppet module install ghoneycutt-common --version 1.1.0
and let me know how it goes
$puppet module install ghoneycutt-common --version 1.1.0 Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Notice: Found at least one version of puppetlabs-stdlib compatible with PE (3.2.1); Notice: Skipping versions which don't express PE compatibility. To install the most recent version of the module regardless of compatibility with PE, use the '--ignore-requirements' flag. Error: Downloaded release for ghoneycutt-common did not match expected checksum Error: Try 'puppet help module install' for usage Let me know
On Thu, May 8, 2014 at 1:35 PM, Garrett Honeycutt notifications@github.comwrote:
try puppet module install ghoneycutt-common --version 1.1.0 and let me know how it goes
— Reply to this email directly or view it on GitHubhttps://github.com/ghoneycutt/puppet-module-facter/issues/14#issuecomment-42580346 .
hmm, try with --ignore-requirements
or just download from github (preferred)
still showing me issue puppet module install ghoneycutt-common --version 1.1.0 --ignore-requirements Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Error: Downloaded release for ghoneycutt-common did not match expected checksum Error: Try 'puppet help module install' for usage
On Thu, May 8, 2014 at 1:37 PM, Garrett Honeycutt notifications@github.comwrote:
hmm, try with --ignore-requirements or just download from github (preferred)
— Reply to this email directly or view it on GitHubhttps://github.com/ghoneycutt/puppet-module-facter/issues/14#issuecomment-42580637 .
Hi,
I am able to download the common module.
Is there any way I can do with your module Hi,
I wrote a shell to find java locations and placed it on custom facts.
The shell script is:
find / -name java -type f | grep -v stage > /tmp/joel
for i in cat /tmp/joel
; do echo $i; $i -version; done
my facts are shown like this in puppet console.java /usr/java/jdk1.7.0_25/jre/bin/java /usr/java/jdk1.7.0_25/bin/java /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64_backup/jre/bin/java /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java /opt/itm/v6.2.2/JRE/lx8266/bin/java /var/lib/alternatives/java /u01/oracle/product/install/p10404530_112030_Linux-x86-64/deinstall/jre/bin/java /u01/oracle/product/11.2/db/jdk/jre/bin/java /u01/oracle/product/11.2/db/jdk/bin/java /u01/app/oracle/product/jdk1.7.0_25/jre/bin/java /u01/app/oracle/product/jdk1.7.0_25/bin/java
My manager asked to specify create a custom facts for each location. How can I do that?
Let me know.
Appreciate your help
On Thu, May 8, 2014 at 1:39 PM, Supriya Uppalapati < supriya.uppalapati@gmail.com> wrote:
still showing me issue puppet module install ghoneycutt-common --version 1.1.0 --ignore-requirements
Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Error: Downloaded release for ghoneycutt-common did not match expected checksum Error: Try 'puppet help module install' for usage
On Thu, May 8, 2014 at 1:37 PM, Garrett Honeycutt < notifications@github.com> wrote:
hmm, try with --ignore-requirements or just download from github (preferred)
— Reply to this email directly or view it on GitHubhttps://github.com/ghoneycutt/puppet-module-facter/issues/14#issuecomment-42580637 .
I'll dig into why the checksum is broken. In the meantime, just download the code from github and put it in your modulepath
---------- Forwarded message ---------- From: Supriya Uppalapati supriya.uppalapati@gmail.com Date: Thu, May 8, 2014 at 1:50 PM Subject: Re: [puppet-module-facter] issue when i am trying to apply facter module (#14) To: ghoneycutt/puppet-module-facter < reply@reply.github.com
Hi,
I am able to download the common module.
Is there any way I can do with your module Hi,
I wrote a shell to find java locations and placed it on custom facts.
The shell script is:
find / -name java -type f | grep -v stage > /tmp/joel
for i in cat /tmp/joel
; do echo $i; $i -version; done
my facts are shown like this in puppet console. java /usr/java/jdk1.7.0_25/jre/bin/java /usr/java/jdk1.7.0_25/bin/java /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64_backup/jre/bin/java /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java /opt/itm/v6.2.2/JRE/lx8266/bin/java /var/lib/alternatives/java /u01/oracle/product/install/p10404530_112030_Linux-x86-64/deinstall/jre/bin/java /u01/oracle/product/11.2/db/jdk/jre/bin/java /u01/oracle/product/11.2/db/jdk/bin/java /u01/app/oracle/product/jdk1.7.0_25/jre/bin/java /u01/app/oracle/product/jdk1.7.0_25/bin/java
My manager asked to specify create a custom facts for each location. How can I do that?
Let me know.
Appreciate your help
On Thu, May 8, 2014 at 1:39 PM, Supriya Uppalapati < supriya.uppalapati@gmail.com> wrote:
still showing me issue puppet module install ghoneycutt-common --version 1.1.0 --ignore-requirements
Notice: Preparing to install into /etc/puppetlabs/puppet/modules ... Notice: Downloading from https://forgeapi.puppetlabs.com ... Error: Downloaded release for ghoneycutt-common did not match expected checksum Error: Try 'puppet help module install' for usage
On Thu, May 8, 2014 at 1:37 PM, Garrett Honeycutt < notifications@github.com> wrote:
hmm, try with --ignore-requirements or just download from github (preferred)
— Reply to this email directly or view it on GitHubhttps://github.com/ghoneycutt/puppet-module-facter/issues/14#issuecomment-42580637 .
Hi, When I am trying to execute facter module I am having this error $cd /etc/puppetlabs/puppet/modules/facter/tests/init.pp $puppet apply init.pp --debug
Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type common::mkdir_p at /etc/puppetlabs/puppet/modules/facter/manifests/init.pp:62 on node dot-pdb-spr-d02.local Wrapped exception: Invalid resource type common::mkdir_p Error: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type common::mkdir_p at /etc/puppetlabs/puppet/modules/facter/manifests/init.pp:62 on node dot-pdb-spr-d02.local
Let me know