Re: [Puppet Users] Re: checking is package is installed ?
Hi, If you want to check if a server is compliant with a defined end state, you can set noop=true in the resources, or just run puppet in noop mode. Regards El 30/01/2014 16:51, "Matthew Burgess" escribió: > > On 30 January 2014 15:41, Andreas Dvorak wrote: > >> Hi, >> >> I think the explaination of Gareth is wrong. >> > > No, he's exactly right. And please be careful with your spelling...it's > 'absent', not 'absend'. Your puppet manifests are not scripts/sets of > instructions. They define what end-state you want the node that applies > the resource to be in when the agent has finished running. i.e. by > specifying 'absent' in your package resource you're not explicitly telling > puppet to uninstall the package. The package may already not be present, > in which case puppet won't do anything at all (it has nothing to do). If > the package is present though, puppet will indeed uninstall it. > > > Kind Regards, > > Matt. > > -- > 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/CAKUTv3KpqcVvX%2B35ynQmJqHFovLRWswyUpWdRmqcYnVuEb9dxQ%40mail.gmail.com > . > 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAF_B3ddHY20pPZA8q3eQrT29ijKKHop3H9Vx3RTXM%3Drqc0dn-A%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: checking is package is installed ?
On 30 January 2014 15:41, Andreas Dvorak wrote: > Hi, > > I think the explaination of Gareth is wrong. > No, he's exactly right. And please be careful with your spelling...it's 'absent', not 'absend'. Your puppet manifests are not scripts/sets of instructions. They define what end-state you want the node that applies the resource to be in when the agent has finished running. i.e. by specifying 'absent' in your package resource you're not explicitly telling puppet to uninstall the package. The package may already not be present, in which case puppet won't do anything at all (it has nothing to do). If the package is present though, puppet will indeed uninstall it. Kind Regards, Matt. -- 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/CAKUTv3KpqcVvX%2B35ynQmJqHFovLRWswyUpWdRmqcYnVuEb9dxQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: checking is package is installed ?
Hi, I think the explaination of Gareth is wrong. absend will uninstall a package I am using absend to uninstall package and here is a web site about that. http://www.puppetcookbook.com/posts/remove-package.html Best regards Andreas -- 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/b93a1321-01ea-4c20-b15e-ac07a35e5bd3%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: checking is package is installed ?
Hi, I think the explaination of Kaustubh is wrong. absend will uninstall a package I am using absend to uninstall package and here is a web site about that. http://www.puppetcookbook.com/posts/remove-package.html Best regards Andreas -- 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/c66eb2b4-4dc2-475e-8554-42c260f6ace8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.