Thanks Frank for pointing abour the licence key.
I made few more changes in my newrelic_repo file. i added
/etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic entry and
//etc/newrelic/nrsysmond.cfg which is present at master. now both these
files will be copied into my agent. now I dont have to pass the licence key
for new relic agent. when I run puppet agent --test on puppet client I am
getting this result
[root@WA19487ORACLE01 rpm-gpg]# puppet agent --test
info: Retrieving plugin
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
info: Caching catalog for wa19487oracle01
info: Applying configuration version '1362568453'
notice:
/Stage[main]/Newrelic::Newrelic_repo/File[/etc/newrelic/nrsysmond.cfg]/ensure:
defined content as '{md5}0e5a51a23ae986ec7253c12902d66e92'
notice: /Stage[main]/Newrelic::Install/Package[newrelic-sysmond]/ensure:
created
notice: Finished catalog run in 6.58 seconds
New relic package is deployed on my puppet cleint machine successfully and
I am able to see agent nodes in new relic dashboard.
Once again thanks for your help..
Thanks
Sachin
On Wed, Mar 6, 2013 at 3:44 PM, Felix Frank <[email protected]
> wrote:
> Hi,
>
> this looks pretty good, although I cannot yet see how your module makes
> use of the license key. Will probably need more work.
>
> On 03/06/2013 11:05 AM, [email protected] wrote:
> > err: /Stage[main]/Newrelic::Install/Package[newrelic-sysmond]/ensure:
> > change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e
> > 0 -y install newrelic-sysmond' returned 1: warning: rpmts_HdrFromFdno:
> > Header V3 DSA/SHA1 Signature, key ID 548c16bf: NOKEY
> >
> >
> > GPG key retrieval failed: [Errno 14] Could not open/read
> > file:///etc/pki/rpm-gpg/RPM-GPG-KEY-NewRelic
>
> As to the problem at hand, the newrelic_repo class should also make sure
> that the repo key (GPG) from newrelic is imported to yum so it will
> accept their packages.
>
> Basically, you want to teach puppet to do all the steps outlined here:
>
> https://newrelic.com/docs/server/server-monitor-installation-redhat-and-centos
> ...in the correct order. It can be tricky to get certain operations
> right (especially, enable puppet to tell if they have been completed in
> an earlier run).
>
> Good luck!
>
> Felix
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/TKlD60JvPzc/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.