Hello, we run chef11 and an internal repo for RPM:s (satellite).Since we do releases to stage and test every few hours every day of the week we need the nodes to install new packages often.When we found out the RPMS didnt get installed we did some digging.Got this out of shef:chef > recipe_modechef:recipe > package "xmltolk"=> <package[xmltolk] @name: "xmltolk" @noop: nil @before: nil @params: {} @provider: nil @allowed_actions: [:nothing, :install, :upgrade, :remove, :purge, :reconfig] @action: :install @updated: false @updated_by_last_action: false @supports: {} @ignore_failure: false @retries: 0 @retry_delay: 2 @source_line: "(irb#1):1:in `irb_binding'" @elapsed_time: 0 @candidate_version: nil @options: nil @package_name: "xmltolk" @resource_name: :package @response_file: nil @source: nil @version: nil @cookbook_name: nil @recipe_name: nil>chef:recipe > chef_run=> nilchef:recipe > run_chef[2013-05-17T14:17:01+02:00] INFO: Processing package[xmltolk] action install ((irb#1) line 1)[2013-05-17T14:17:06+02:00] DEBUG: package[xmltolk] checking yum info for xmltolk[2013-05-17T14:17:06+02:00] DEBUG: package[xmltolk] installed version: STAGE-3 candidate version: STAGE-4[2013-05-17T14:17:06+02:00] DEBUG: package[xmltolk] is already installed - nothing to dothe recipe itself has:package "xmltolk" doaction [:install]endIf we do an upgrade it works fine, but we want to recipe just to containpackage "xmltolk"Any suggestionsJens SkottTel: +46-8-5142 4396Schibsted Centralen IT
Archive powered by MHonArc 2.6.16.