clint_simmons54
12 months agoNovice I
Modules purestorage.flasharray.purefa_ds & purestorage.flasharray.purefa_pg
Modules purestorage.flasharray.purefa_ds & purestorage.flasharray.purefa_pg & pgsched - all 3 seem to not be idempotent. purefa_ds just appears to run in the values supplied, purefa_pg appears to also just run in the values supplied every time (not sure why it ends with an ok. purefa-pgsched appears to see an incorrect value for snap_enabled in the current and then runs the values in again:
```[WARNING]: current {'days': 6, 'snap_frequency': 86400, 'snap_enabled': False, 'snap_at': 0, 'per_day': 1, 'all_for': 86400}; new: {'days': 6, 'snap_frequency': 86400, 'snap_enabled': True, 'snap_at': 0, 'per_day': 1,
'all_for': 86400}.```
On the array, it shows as true before and after:
```purepgroup list hostgroups-1d1w --schedule
Name Schedule Enabled Frequency At Blackout
hostgroups-1d1w snap True 1d 12am -```