Skip to content

copy additional files during update policy run to maintain autonomy of client if server is missing #5676

Closed Answered by craigcomstock
craigcomstock asked this question in Q&A
Discussion options

You must be logged in to vote

I used the referred to hooks in masterfiles policy framework and had success.

I am using a cfbs Build project so in my cfbs.json I added a json file:

custom_update.json:

{
  "variables": {
    "default:def.update_inputs": {
      "value": [
        "services/foo/custom_update.cf"
      ]
    },
    "default:def.control_common_update_bundlesequence_end": {
      "value": [
        "foo_update_policy"
      ]
    }
  }
}

and then added it as a step to an already existing cfbs module:

        "json ./custom_update.json def.json",

I had to remember to use bodies from the update policy, mostly update_policy.cf and update/lib.cf and NOT the standard ones from masterfiles/lib/*.

So remote_dcp b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nickanderson
Comment options

Answer selected by craigcomstock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants