[Puppet] Sync parameter to putHieraData added
Change-Id: Ib5210c608e66e2b4317a148f6b4b4a4f5993082f
This commit is contained in:
parent
9e0498cf51
commit
643998d827
@ -118,15 +118,20 @@ Methods:
|
||||
#
|
||||
# This method just adds the data to the inner buffer.
|
||||
# The values related to the keys which are already exists will be updated
|
||||
# method syncHieraData should be called to push all of the data to the
|
||||
# instance
|
||||
#
|
||||
putHieraData:
|
||||
Arguments:
|
||||
data:
|
||||
Contract: {}
|
||||
- data:
|
||||
Contract: {}
|
||||
- sync:
|
||||
# if false then data is not to be sent to an instance immediately
|
||||
Contract: $.bool().notNull()
|
||||
Default: true
|
||||
Body:
|
||||
- $.hiera.putData($data)
|
||||
- $this.hiera.putData($data)
|
||||
- If: $sync
|
||||
Then:
|
||||
- $this.hiera.syncronize($this)
|
||||
|
||||
#
|
||||
# Apply puppet manifest to the particular instance
|
||||
|
Loading…
x
Reference in New Issue
Block a user