old_contents: """
  MIMS Configuration File
  """
  ## Copyright 2017 Marshall E. Giguere
  ##
  ##   Licensed under the Apache License, Version 2.0 (the "License");
  ##   you may not use this file except in compliance with the License.
  ##   You may obtain a copy of the License at
  ##
  ##       http://www.apache.org/licenses/LICENSE-2.0
  ##
  ##   Unless required by applicable law or agreed to in writing, software
  ##   distributed under the License is distributed on an "AS IS" BASIS,
  ##   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ##   See the License for the specific language governing permissions and
  ##   limitations under the License.
  
  
  # Mongo DB host options
  MIMS_HOST = 'localhost'
  MIMS_PORT = 27017
  MIMS_DB = 'NHWG'
  
  # Cadet account creation control
  CREATE_CADET_ACCOUNTS = True
  # Minimun age at which Cadets are premitted to have accounts
  MIN_CADET_AGE = 18
  
  # Look Back period - how many days back to start considering expired members
  # for suspend
  LOOKBACK = 45
  
  # Default action for Expired members
  EXPIRED_ACTION = 'suspend'
  
  # Default action for ex-members, no longer on eSerives rolls
  PURGE_ACTION = 'delete'
  
  # Flag to remove purged members from NHWG.Google collection
  DELETE_PURGED=False
  
  # Where to save output
  LogFilePath = "./log/"
  JobFilePath = "./job/"
  
  # if true update the user record in local MongoDB Google collection
  UPDATE_SUSPEND = False
  
  # Welcome message template file path relaitve to ./job
  # May also include a flag to tell gam this is a HTML file by adding "html true"
  # to the tail of file spec.
  WELCOMEMSG = "./email-template.txt"
  
new_contents: """
  MIMS Configuration File
  """
  ## Copyright 2017 Marshall E. Giguere
  ##
  ##   Licensed under the Apache License, Version 2.0 (the "License");
  ##   you may not use this file except in compliance with the License.
  ##   You may obtain a copy of the License at
  ##
  ##       http://www.apache.org/licenses/LICENSE-2.0
  ##
  ##   Unless required by applicable law or agreed to in writing, software
  ##   distributed under the License is distributed on an "AS IS" BASIS,
  ##   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ##   See the License for the specific language governing permissions and
  ##   limitations under the License.
  
  
  # Mongo DB host options
  MIMS_HOST = 'localhost'
  MIMS_PORT = 27017
  MIMS_DB = 'NHWG'
  
  # Cadet account creation control
  CREATE_CADET_ACCOUNTS = True
  # Minimun age at which Cadets are premitted to have accounts
  MIN_CADET_AGE = 18
  
  # Domain to use creating, deleteing, updating accounts or groups
  DOMAIN ='example.com'
  
  # Look Back period - how many days back to start considering expired members
  # for suspend
  LOOKBACK = 45
  
  # Default action for Expired members
  EXPIRED_ACTION = 'suspend'
  
  # Default action for ex-members, no longer on eSerives rolls
  PURGE_ACTION = 'delete'
  
  # Flag to remove purged members from NHWG.Google collection
  DELETE_PURGED=False
  
  # Where to save output
  LogFilePath = "./log/"
  JobFilePath = "./job/"
  
  # if true update the user record in local MongoDB Google collection
  UPDATE_SUSPEND = False
  
  # Welcome message template file path relaitve to ./job
  # May also include a flag to tell gam this is a HTML file by adding "html true"
  # to the tail of file spec.
  WELCOMEMSG = "./email-template.txt"
  
subject: Update mims_conf.py