Hi Vikas, Thanks for your reply...Below are the steps I followed:
I have copied GIT software to my node (git-2.0.4) and my nodes.pp looks like below: node "dayrhetamp076.enterprisenet.org" { package { 'git': ensure => present, source =>'/etc/puppet/git-2.0.4', (Path of the git software) } } First I tried with not providing Source and later I provided the GIT software path on the machine where it exists.But in both the scenarios I got the following errors: TypeError: Can not open SQL database: unable to open database file Error: /Stage[main]/Main/Node[dayrhetamp076.enterprisenet.org]/Package[git]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list git' returned 1: (process:9133): GLib-CRITICAL **: g_timer_stop: assertion `timer != NULL' failed (process:9133): GLib-CRITICAL **: g_timer_destroy: assertion `timer != NULL' failed Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 285, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 136, in main result, resultmsgs = base.doCommands() File "/usr/share/yum-cli/cli.py", line 434, in doCommands self._getTs(needTsRemove) File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 99, in _getTs self._getTsInfo(remove_only) File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 110, in _getTsInfo pkgSack = self.pkgSack File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 887, in <lambda> pkgSack = property(fget=lambda self: self._getSacks(), File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 669, in _getSacks self.repos.populateSack(which=repos) File "/usr/lib/python2.6/site-packages/yum/repos.py", line 308, in populateSack sack.populate(repo, mdtype, callback, cacheonly) File "/usr/lib/python2.6/site-packages/yum/yumRepo.py", line 187, in populate dobj = repo_cache_function(xml, csum) File "/usr/lib64/python2.6/site-packages/sqlitecachec.py", line 46, in getPrimary self.repoid)) TypeError: Can not open SQL database: unable to open database file Can you please help me out to resolve this? Satish. On Tuesday, August 12, 2014 5:51:44 AM UTC+5:30, Vikas Kumar wrote: > > Hi Satish, > > I would make a local repo and install it from there, just in case my > server isn't connected to internet. If it is, you need not worry about it. > > Just install the package, and tweak the configuration files for your setup. > > Regards, > Vikas > > On Monday, 11 August 2014 19:50:45 UTC+10, Satish Katuru wrote: >> >> Correct me If I am wrong.This means puppet automatically takes the latest >> version of GIT from the Repository and deploy it on the Master Server. >> What about other softwares like java...etc ? >> What is the procedure for other software installation which puppet wont >> take from the repository? >> >>> >>> -- 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9747ac38-4305-40a9-b888-bfe9f6c7a3b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.