Hi,
this would even work, but I think the approach as a whole is not well in
line with puppet's philosophy. Application deployment is not among its
core strengths.
If you really want to do this by puppet, I suggest you keep it simple:
1. perform all your steps in one monolithic script
2. have pup
You can create some sort of a trigger file. Like this:
file { "/some/folder/file_trigger"
ensure => present,
content => "version01",
…
}
Add "refreshonly => true" to your resources. Then subscribe your resources to
this file. Once the file is changed, your code will be executed.
--
Bes
Hi,
I have created a puppet module that performs below steps:
1. stop application service
2. take backup of existing application
3. download application artifact
4. install the application
5. some configuration stuff
6. start the application service
Since the agent will poll the master every 30m