Uploaded image for project: 'Beaker'
  1. Beaker
  2. BKR-1641

Add chmod and modified_at host methods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Night's Watch
    • Sub-team:
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      In order to be platform flexible when running tests we need to have methods to be able to run chmod and update the modified date on files on hosts.

      These requirements were found in Facter acceptance tests.
      -chmod is used for adding execution permission on custom/external facts
      -modified_at is used for testing the cache functionality

       

      At the moment these were used running linux based commands (chmod and touch) that are not compatible with windows cmd or powershell.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastian.miclea Sebastian Miclea
              Reporter:
              sebastian.miclea Sebastian Miclea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support