Created
February 12, 2015 21:12
-
-
Save jprovaznik/f24f64e08ebbf20a4843 to your computer and use it in GitHub Desktop.
yum-update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for updating all packages (not tested, just an idea, or use some bash script instead of puppet for invoking the command) | |
+ ControllerUpdateConfig: | |
+ type: OS::Heat::SoftwareConfig | |
+ properties: | |
+ group: puppet | |
+ options: | |
+ enable_hiera: True | |
+ enable_facter: False | |
+ inputs: | |
+ outputs: | |
+ - name: result | |
+ config: 'exec { "update": command => "yum -y update"}' | |
+ | |
+ ControllerUpdateDeployment: | |
+ type: OS::Heat::StructuredDeployment | |
+ properties: | |
+ name: puppet_update | |
+ server: {get_resource: Controller} | |
+ config: {get_resource: ControllerUpdateConfig} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment